Click here to Skip to main content
15,887,175 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: Question on performance... Pin
charlieg17-Oct-22 2:19
charlieg17-Oct-22 2:19 
GeneralRe: Question on performance... Pin
BryanFazekas17-Oct-22 1:18
BryanFazekas17-Oct-22 1:18 
AnswerRe: Question on performance... Pin
honey the codewitch15-Oct-22 11:34
mvahoney the codewitch15-Oct-22 11:34 
GeneralRe: Question on performance... Pin
Sander Rossel15-Oct-22 12:44
professionalSander Rossel15-Oct-22 12:44 
AnswerRe: Question on performance... Pin
Mycroft Holmes15-Oct-22 11:56
professionalMycroft Holmes15-Oct-22 11:56 
AnswerRe: Question on performance... Pin
Daniel Pfeffer15-Oct-22 15:12
professionalDaniel Pfeffer15-Oct-22 15:12 
GeneralRe: Question on performance... Pin
jmaida15-Oct-22 15:53
jmaida15-Oct-22 15:53 
GeneralRe: Question on performance... Pin
Daniel Pfeffer15-Oct-22 19:00
professionalDaniel Pfeffer15-Oct-22 19:00 
jmaida wrote:
some sort of self-balancing binary tree as records are added

That's the database engine's worry.

Another thing that would help maintain the database's consistency would be normalizing the database. This uses separate tables to (ideally) ensure that all data is stored only once, using unique keys to link instances. For example, you would have a table containing {country id, country name}, and any other table needing to store a country name would refer to it by the country id. The results of a query must be constructed by reading from multiple tables.

Note that this redesign can be complex, and can in some cases lead to slower retrieval.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.

GeneralRe: Question on performance... Pin
Sander Rossel15-Oct-22 20:40
professionalSander Rossel15-Oct-22 20:40 
GeneralRe: Question on performance... Pin
Daniel Pfeffer15-Oct-22 23:07
professionalDaniel Pfeffer15-Oct-22 23:07 
GeneralRe: Question on performance... Pin
Jörgen Andersson16-Oct-22 20:48
professionalJörgen Andersson16-Oct-22 20:48 
GeneralRe: Question on performance... Pin
Matt Bond17-Oct-22 4:56
Matt Bond17-Oct-22 4:56 
AnswerRe: Question on performance... Pin
RickZeeland15-Oct-22 20:12
mveRickZeeland15-Oct-22 20:12 
GeneralRe: Question on performance... Pin
Sander Rossel15-Oct-22 21:10
professionalSander Rossel15-Oct-22 21:10 
GeneralRe: Question on performance... Pin
RickZeeland15-Oct-22 21:52
mveRickZeeland15-Oct-22 21:52 
AnswerRe: Question on performance... Pin
charlieg16-Oct-22 2:09
charlieg16-Oct-22 2:09 
GeneralRe: Question on performance... Pin
Sander Rossel16-Oct-22 3:57
professionalSander Rossel16-Oct-22 3:57 
GeneralRe: Question on performance... Pin
Jörgen Andersson16-Oct-22 21:11
professionalJörgen Andersson16-Oct-22 21:11 
GeneralRe: Question on performance... Pin
Sander Rossel16-Oct-22 23:23
professionalSander Rossel16-Oct-22 23:23 
GeneralRe: Question on performance... Pin
Jörgen Andersson17-Oct-22 0:43
professionalJörgen Andersson17-Oct-22 0:43 
GeneralRe: Question on performance... Pin
Sander Rossel17-Oct-22 9:49
professionalSander Rossel17-Oct-22 9:49 
GeneralRe: Question on performance... Pin
Ian Fitzgerald19-Oct-22 7:32
Ian Fitzgerald19-Oct-22 7:32 
GeneralRe: Question on performance... Pin
Sander Rossel20-Oct-22 1:09
professionalSander Rossel20-Oct-22 1:09 
GeneralRe: Question on performance... Pin
harold aptroot16-Oct-22 2:49
harold aptroot16-Oct-22 2:49 
GeneralRe: Question on performance... Pin
Sander Rossel16-Oct-22 4:03
professionalSander Rossel16-Oct-22 4:03 

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.