Click here to Skip to main content
15,886,806 members

The Weird and The Wonderful

   

The Weird and The Wonderful forum is a place to post Coding Horrors, Worst Practices, and the occasional flash of brilliance.

We all come across code that simply boggles the mind. Lazy kludges, embarrassing mistakes, horrid workarounds and developers just not quite getting it. And then somedays we come across - or write - the truly sublime.

Post your Best, your worst, and your most interesting. But please - no programming questions . This forum is purely for amusement and discussions on code snippets. All actual programming questions will be removed.

 
GeneralRe: Production reports from a test database - is this really best practice? Pin
johnsyd7-Mar-16 21:59
johnsyd7-Mar-16 21:59 
GeneralRe: Production reports from a test database - is this really best practice? Pin
johnsyd7-Mar-16 22:04
johnsyd7-Mar-16 22:04 
GeneralRe: Production reports from a test database - is this really best practice? Pin
dan!sh 7-Mar-16 22:45
professional dan!sh 7-Mar-16 22:45 
GeneralRe: Production reports from a test database - is this really best practice? Pin
Duncan Edwards Jones7-Mar-16 22:02
professionalDuncan Edwards Jones7-Mar-16 22:02 
GeneralRe: Production reports from a test database - is this really best practice? Pin
johnsyd7-Mar-16 22:16
johnsyd7-Mar-16 22:16 
GeneralRe: Production reports from a test database - is this really best practice? Pin
Nagy Vilmos7-Mar-16 22:57
professionalNagy Vilmos7-Mar-16 22:57 
GeneralRe: Production reports from a test database - is this really best practice? Pin
johnsyd7-Mar-16 23:05
johnsyd7-Mar-16 23:05 
GeneralRe: Production reports from a test database - is this really best practice? Pin
Nagy Vilmos7-Mar-16 23:25
professionalNagy Vilmos7-Mar-16 23:25 
If you are using a standard database product then mirroring is your friend; Oracle, SQL Server & Mongo all support mirroring. I have set up systems where there is a real time mirror of production onto a reporting DB. All updates are there and there is no problem for the eejits who say they need up to the minute data.
Then you can allow the geeks and freaks in MIS to build whatever mad reports they like. I have even seen on Oracle a reporting user create views of the [mirrored] production data in the most vile unnormalised way imaginable, but it gave the weirdo the data they wanted.

The only rules are reporting is from a copy of production rather than production itself, and that the integrity of the data is maintained.
veni bibi saltavi

GeneralRe: Production reports from a test database - is this really best practice? Pin
Bernhard Hiller8-Mar-16 4:38
Bernhard Hiller8-Mar-16 4:38 
GeneralRe: Production reports from a test database - is this really best practice? Pin
johnsyd8-Mar-16 9:36
johnsyd8-Mar-16 9:36 
GeneralRe: Production reports from a test database - is this really best practice? Pin
Bernhard Hiller8-Mar-16 21:33
Bernhard Hiller8-Mar-16 21:33 
GeneralRe: Production reports from a test database - is this really best practice? Pin
johnsyd8-Mar-16 23:22
johnsyd8-Mar-16 23:22 
GeneralRe: Production reports from a test database - is this really best practice? Pin
JohnLBevan9-Mar-16 0:14
professionalJohnLBevan9-Mar-16 0:14 
GeneralRe: Production reports from a test database - is this really best practice? Pin
johnsyd9-Mar-16 2:53
johnsyd9-Mar-16 2:53 
GeneralRe: Production reports from a test database - is this really best practice? Pin
Harrison Pratt9-Mar-16 1:58
professionalHarrison Pratt9-Mar-16 1:58 
GeneralRe: Production reports from a test database - is this really best practice? Pin
mbb019-Mar-16 2:58
mbb019-Mar-16 2:58 
GeneralRe: Production reports from a test database - is this really best practice? Pin
Gerry Schmitz9-Mar-16 5:07
mveGerry Schmitz9-Mar-16 5:07 
GeneralRe: Production reports from a test database - is this really best practice? Pin
Adroittech9-Mar-16 18:00
professionalAdroittech9-Mar-16 18:00 
GeneralRe: Production reports from a test database - is this really best practice? Pin
rajni k9-Mar-16 19:01
professionalrajni k9-Mar-16 19:01 
GeneralRe: Production reports from a test database - is this really best practice? Pin
PIEBALDconsult10-Mar-16 5:59
mvePIEBALDconsult10-Mar-16 5:59 
GeneralPowered by OSCommerce Pin
PIEBALDconsult2-Mar-16 17:02
mvePIEBALDconsult2-Mar-16 17:02 
GeneralRe: Powered by OSCommerce Pin
RUs1232-Mar-16 22:31
RUs1232-Mar-16 22:31 
GeneralRe: Powered by OSCommerce Pin
Bernhard Hiller3-Mar-16 21:10
Bernhard Hiller3-Mar-16 21:10 
GeneralRe: Powered by OSCommerce Pin
brunoha9-Mar-16 9:14
brunoha9-Mar-16 9:14 
GeneralOh, that ol' Cthulhu sure is sneaky... Pin
PIEBALDconsult17-Feb-16 10:42
mvePIEBALDconsult17-Feb-16 10:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.