Click here to Skip to main content
15,906,816 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
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 
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 
I've concluded that most blanket statements are offered by those without any real knowledge. The true answer is, it depends. Tech changes, things get optimized, and so on and so forth. Even outside of that, anyone who knows anything about SQL knows two things: it depends on the data and the amount of joins in the query and it also depends on the indexes.

In my experience a join can very very expensive, but it also can be quick. They're usually the most expensive on a database that's designed like garbage.

Also, forgetting all other factors and just focusing on speed alone, sometimes it requires less bandwidth to send along the pipe one demoralized table to a client rather than several normalized ones. Not to mention the fact, dealing with drilling down on the B table for instance would require two queries at the very least avoid sending along two entire tables to the client so it can be processed that way.

The truth is simple, if the app runs like crap, and you identified the bottleneck being either the DB or the processing of what comes out of it, then he doesn't know much. The proof is in the pudding my friend. The CPU cycles don't lie.
Jeremy Falcon

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 
GeneralRe: Table join performance - the saga continues... Pin
charlieg9-Sep-16 2:20
charlieg9-Sep-16 2:20 
GeneralRe: Table join performance - the saga continues... Pin
Richard Deeming9-Sep-16 2:27
mveRichard Deeming9-Sep-16 2:27 
GeneralRe: Table join performance - the saga continues... Pin
Middle Manager9-Sep-16 2:52
Middle Manager9-Sep-16 2:52 
GeneralRe: Table join performance - the saga continues... Pin
James Curran9-Sep-16 4:21
James Curran9-Sep-16 4:21 

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.