We have been kicking about an idea where UAT can be tested with near live data (say maximum a week old). I strongly believe that development and QA environments should be in control of their own data, but UAT (the final tier before production) represents a bit of a grey area. So my questions are:
a) is this a good idea? I think so, but have nagging doubts.
b) if so, what are some proven techniques that people have used in the past?
(assuming that OP intended continual, real time schema and data synchronization)
Short Answer:
Rationale
By 'mirror' I'm assuming that you don't mean real-time direct mirroring or replication (UAT testing typically requires painstaking data test cases to be set up which would get overwritten).
Here's how we do it in a corporate environment, FWIW (Our environments are Dev -> QA -> UAT -> Prod)
At defined intervals, at usually approximately 1 month intervals
Some other considerations
Just a note on the 'script' cycle to synchronise schemas - in our environments:
Here is something that we did for the last company that I worked for. We had many state government projects and contracts. Here is an example of our level of environments that we utilized on some projects. In the example below the QA was for us, the UAT was for the client and Pre-Prod was another environment that we created sometimes, but not always; just depending on the project.
DEV ==> QA==> UAT==> PRE-PROD ==> PROD
Once all data was verified we copied down from Prod down to UAT and QA of just about everything, including anything DB related.
We also had a tool that was written for some aspects without having to always use SQL. We had a web based program, and I cannot recall what it was written in. We called it CTM - Control Table Management. In there we could roll certain changes in tables like updates, corrections, drop-down menus, spelling and grammatical errors, and really just any misc. anything. There were radio buttons to commit the changes and boxes to check which environments you wanted to roll the changes to.
Hope this is a help to anyone out there or give people some ideas. :-)
Thanks,
John
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With