Click here to Skip to main content
15,905,683 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: For Chris and other iPhoners Pin
Marc Clifton8-Sep-16 14:07
mvaMarc Clifton8-Sep-16 14:07 
GeneralRe: For Chris and other iPhoners Pin
den2k888-Sep-16 20:53
professionalden2k888-Sep-16 20:53 
GeneralRe: For Chris and other iPhoners Pin
CPallini8-Sep-16 21:24
mveCPallini8-Sep-16 21:24 
GeneralRe: For Chris and other iPhoners Pin
Mark_Wallace8-Sep-16 21:30
Mark_Wallace8-Sep-16 21:30 
GeneralRe: For Chris and other iPhoners Pin
den2k888-Sep-16 21:41
professionalden2k888-Sep-16 21:41 
GeneralRe: For Chris and other iPhoners Pin
Fueled By Decaff9-Sep-16 0:03
Fueled By Decaff9-Sep-16 0:03 
GeneralRe: For Chris and other iPhoners Pin
Pom Pey39-Sep-16 0:54
Pom Pey39-Sep-16 0:54 
GeneralTable join performance - the saga continues... Pin
Marc Clifton8-Sep-16 11:06
mvaMarc Clifton8-Sep-16 11:06 
So I avoided getting into an argument with the CTO about the performance of table joins. The nice thing about communication channels like Slack is that you simply don't need to reply.

His contention is that table joins are "hugely expensive", particularly for reporting. My contention is of course that a well designed database will not have this issue.

I came across this[^] interesting discussion.

But the bottom line is, I wonder why he has this attitude, particularly when his reports are dog slow, and the page request to the server times out if you ask for a report that spans more than a day (maybe a week.) Looking at the code, no wonder, because the reports seem to be generated almost entirely in Python, without leveraging table joins on the server itself at all!

Granted, there are certainly times when a very specialized report might benefit from denormalization, but for Pete's sake, these are basic transaction detail and transaction total queries.

There are so many things I disagree with the CTO about. I must have reached some level of emotional maturity before taking this job because I'm able to not get into an argument, I just say "whatever, dude" and move along.

Marc
Imperative to Functional Programming Succinctly

Contributors Wanted for Higher Order Programming Project!

Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny

GeneralRe: Table join performance - the saga continues... Pin
Foothill8-Sep-16 12:01
professionalFoothill8-Sep-16 12:01 
GeneralRe: Table join performance - the saga continues... Pin
David O'Neil8-Sep-16 13:26
professionalDavid O'Neil8-Sep-16 13:26 
GeneralRe: Table join performance - the saga continues... Pin
Raybarg12-Sep-16 22:12
professionalRaybarg12-Sep-16 22:12 
GeneralRe: Table join performance - the saga continues... Pin
Jeremy Falcon8-Sep-16 12:42
professionalJeremy Falcon8-Sep-16 12:42 
GeneralRe: Table join performance - the saga continues... Pin
Marc Clifton8-Sep-16 14:05
mvaMarc Clifton8-Sep-16 14:05 
JokeRe: Table join performance - the saga continues... PinPopular
Foothill8-Sep-16 14:18
professionalFoothill8-Sep-16 14:18 
GeneralRe: Table join performance - the saga continues... Pin
Jeremy Falcon8-Sep-16 15:12
professionalJeremy Falcon8-Sep-16 15:12 
GeneralRe: Table join performance - the saga continues... Pin
Foothill8-Sep-16 16:04
professionalFoothill8-Sep-16 16:04 
GeneralRe: Table join performance - the saga continues... Pin
David Crow8-Sep-16 17:13
David Crow8-Sep-16 17:13 
GeneralRe: Table join performance - the saga continues... Pin
Mycroft Holmes8-Sep-16 14:57
professionalMycroft Holmes8-Sep-16 14:57 
GeneralRe: Table join performance - the saga continues... Pin
RossMW8-Sep-16 19:38
professionalRossMW8-Sep-16 19:38 
GeneralRe: Table join performance - the saga continues... Pin
Vark1119-Sep-16 2:18
Vark1119-Sep-16 2:18 
GeneralRe: Table join performance - the saga continues... Pin
Richard Deeming9-Sep-16 2:23
mveRichard Deeming9-Sep-16 2:23 
GeneralRe: Table join performance - the saga continues... Pin
Vark1119-Sep-16 2:17
Vark1119-Sep-16 2:17 
GeneralRe: Table join performance - the saga continues... Pin
JohnLBevan8-Sep-16 21:56
professionalJohnLBevan8-Sep-16 21:56 
GeneralRe: Table join performance - the saga continues... Pin
Brady Kelly8-Sep-16 22:19
Brady Kelly8-Sep-16 22:19 
GeneralRe: Table join performance - the saga continues... Pin
Jörgen Andersson9-Sep-16 1:43
professionalJörgen Andersson9-Sep-16 1:43 

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.