Click here to Skip to main content
15,887,214 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
pemmons7601316-Oct-22 4:09
pemmons7601316-Oct-22 4:09 
GeneralRe: Question on performance... Pin
Sander Rossel16-Oct-22 4:57
professionalSander Rossel16-Oct-22 4:57 
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 
My feeling is that the database schema needs redesign - specifically, adding indexes and keys.

If you have an field which is supposed to be unique, define it as a unique key in the database table. The database will then ensure that the field is unique in the table, with no extra work required.

Indexes are used to maintain the sort order of the records in a table. Searching an index is much faster than searching an unindexed table, and best of all - multiple search criteria may be stored as multiple indexes.

IOW, let the database engine do what it's best at.

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
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 
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 

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.