Click here to Skip to main content
15,897,166 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
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 
GeneralRe: Table join performance - the saga continues... Pin
Marc Clifton8-Sep-16 14:05
mvaMarc Clifton8-Sep-16 14:05 
Jeremy Falcon wrote:
to send along the pipe one demoralized table


Now I'm denormalized. Wink | ;)

Jeremy Falcon wrote:
The true answer is, it depends.


Very true. It's just that he and I start with different baselines. I start with "let's assume the DB can optimize this right, given good table design, indices, etc." and if there's an issue, I look at how to optimize the query, and if that means a demoralized table Smile | :) then ok, but I had better have a good reason.

The CTO starts with a different baseline, on the assumption that joins are always costly. The result is pushing processing onto the script language, of all things. Not much optimization can occur there, though frankly, the code is so krufty, I imagine there actually is a ton of optimization that could happen there, even without getting into the bowels of Django.

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

JokeRe: Table join performance - the saga continues... Pin
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 
GeneralRe: Table join performance - the saga continues... Pin
Ryan Peden9-Sep-16 4:26
professionalRyan Peden9-Sep-16 4:26 

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.


Straw Poll

Were you affected by the geomagnetic storms this past weekend?
Communication disruptions, electrified pipes, random unexplained blue-screens in Windows - the list of effects is terrifying.
  Results   10 votes