Click here to Skip to main content
15,925,133 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Please sit down and imagine... Pin
Eddy Vluggen26-Mar-17 3:32
professionalEddy Vluggen26-Mar-17 3:32 
GeneralRe: Please sit down and imagine... Pin
Kornfeld Eliyahu Peter26-Mar-17 3:58
professionalKornfeld Eliyahu Peter26-Mar-17 3:58 
GeneralRe: Please sit down and imagine... Pin
Eddy Vluggen26-Mar-17 4:37
professionalEddy Vluggen26-Mar-17 4:37 
GeneralRe: Please sit down and imagine... Pin
lopatir26-Mar-17 4:45
lopatir26-Mar-17 4:45 
GeneralRe: Please sit down and imagine... Pin
CPallini26-Mar-17 23:19
mveCPallini26-Mar-17 23:19 
GeneralRe: Please sit down and imagine... Pin
PeejayAdams27-Mar-17 0:25
PeejayAdams27-Mar-17 0:25 
GeneralRe: Please sit down and imagine... Pin
Mark_Wallace27-Mar-17 2:29
Mark_Wallace27-Mar-17 2:29 
GeneralRe: Please sit down and imagine... Pin
PeejayAdams27-Mar-17 3:35
PeejayAdams27-Mar-17 3:35 
Well, yes, I agree that we need to be pragmatic and I was maybe being slightly flippant in suggesting that all forms of denormalisation, rather than most, should lead to the slow and painful death of the perpetrator Smile | :)

Mark_Wallace wrote:
If you need a lot of derived values, for example, it can often be less costly to have them handled within the database, rather than build them into a front end, which may radically change, year over year.


I'm not saying that I would never add redundant data but I'd need a rock solid case for doing so. In my experience, redundancy pretty well always ends in tears. Maybe not today, maybe not tomorrow but somewhere down the line ...

Mark_Wallace wrote:
Denormalisation can also provide significant performance boosts, especially where joins begin to resemble spiderwebs built by drunken spiders.


It's very rare for this to be so; the optimiser thrives on foreign keys - it is, in itself, optimised for normalised databases. If joins are becoming spidery and problematic, I'd be looking for the cause of that before I considered reducing their number by denormalising the DB.

Mark_Wallace wrote:
For me, the sole function of a db is to provide needed data as efficiently as possible. Most of the time, that means it's best if it's at least third normal, but "most of the time" isn't "always".You shouldn't close doors to effective pathways.


I completely agree with that! My general rule of thumb is 3/4NF in most cases, 5NF if the thing has to really fly but that is, very much, a rule of thumb and rules should never be immovable.
Slogans aren't solutions.

GeneralRe: Please sit down and imagine... Pin
Mark_Wallace27-Mar-17 0:13
Mark_Wallace27-Mar-17 0:13 
GeneralRe: Please sit down and imagine... Pin
MarkTJohnson27-Mar-17 2:29
professionalMarkTJohnson27-Mar-17 2:29 
GeneralRe: Please sit down and imagine... Pin
Richard Deeming27-Mar-17 8:07
mveRichard Deeming27-Mar-17 8:07 
General365 Pin
Kornfeld Eliyahu Peter25-Mar-17 23:27
professionalKornfeld Eliyahu Peter25-Mar-17 23:27 
GeneralRe: 365 Pin
Daniel Pfeffer26-Mar-17 0:12
professionalDaniel Pfeffer26-Mar-17 0:12 
GeneralRe: 365 Pin
pt140126-Mar-17 2:21
pt140126-Mar-17 2:21 
GeneralRe: 365 Pin
Kornfeld Eliyahu Peter26-Mar-17 2:27
professionalKornfeld Eliyahu Peter26-Mar-17 2:27 
GeneralRe: 365 Pin
pt140126-Mar-17 2:49
pt140126-Mar-17 2:49 
GeneralRe: 365 Pin
Mark_Wallace27-Mar-17 0:15
Mark_Wallace27-Mar-17 0:15 
GeneralThinking outside the box... Pin
OriginalGriff25-Mar-17 5:58
mveOriginalGriff25-Mar-17 5:58 
GeneralRe: Thinking outside the box... Pin
CDP180225-Mar-17 6:09
CDP180225-Mar-17 6:09 
GeneralRe: Thinking outside the box... Pin
raddevus25-Mar-17 6:58
mvaraddevus25-Mar-17 6:58 
GeneralRe: Thinking outside the box... Pin
Midi_Mick25-Mar-17 7:20
professionalMidi_Mick25-Mar-17 7:20 
GeneralRe: Thinking outside the box... Pin
Bryian Tan25-Mar-17 10:42
professionalBryian Tan25-Mar-17 10:42 
GeneralRe: Thinking outside the box... Pin
CDP180225-Mar-17 11:34
CDP180225-Mar-17 11:34 
GeneralRe: Thinking outside the box... Pin
Bryian Tan25-Mar-17 11:42
professionalBryian Tan25-Mar-17 11:42 
GeneralRe: Thinking outside the box... Pin
Mycroft Holmes25-Mar-17 14:19
professionalMycroft Holmes25-Mar-17 14:19 

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.