Click here to monitor SSC
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

Development Source Data Expand / Collapse
Posted Wednesday, September 5, 2012 7:19 PM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Monday, September 7, 2015 7:27 PM
Points: 36, Visits: 398
Is there a best practice for what source data to use during development.

I could use data from the source development environment, but this poses the problem that it may have architectural differences to production, or have data anomalies not in production (or lack data anomalies in production) and not show the same changes to data that occurs in the production environment.

I could use the production environment, but it introduces risk.

I could take a backup of source data, and work from the back up, but this isn't always practical with large databases and wouldn't allow me to see changes.

Currently I have a tendency to use a backup to understand a new data source initially and then work with production data so there are no surprises.

I'm wondering how others approach though
Post #1354981
Posted Thursday, September 6, 2012 12:25 PM



Group: General Forum Members
Last Login: Today @ 3:25 AM
Points: 7,933, Visits: 14,355
For me, testing in production is only considered an option in extreme cases and never would be part of a normal development lifecycle plan. I like to restore production backups into my dev environments periodically. In some cases I have had to develop a data-scrub process to run post-restore to maintain PCI compliance. For VLDBs sometimes a periodic restore was not practical. In those cases I would cherry-pick specific tables to refresh from prod (scheduled SSIS or bcp job to output a table to a file that I could use the next day for testing) during a maintenance window to get fresh data to test with.

There are no special teachers of virtue, because virtue is taught by the whole community. --Plato
Post #1355553
Posted Friday, September 7, 2012 7:27 AM
SSChasing Mays

SSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing Mays

Group: General Forum Members
Last Login: Monday, November 21, 2016 4:20 AM
Points: 640, Visits: 1,497
We keep both development and testing environments and restore copies of live back to both as above.
Regularly restoring a copy of live to dev or test is also a good check that your backups are successful.
Post #1355969
Posted Friday, September 7, 2012 8:58 AM



Group: Administrators
Last Login: Today @ 9:45 AM
Points: 34,362, Visits: 18,570
I've tended to use copies of production, but sometimes obfuscated for security purposes.

My company (Red Gate Software) makes a data generator that can build data for you, in all shapes and sizes.

Follow me on Twitter: @way0utwest

Forum Etiquette: How to post data/code on a forum to get the best help
Post #1356038
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse