Click here to Skip to main content
15,887,596 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
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 
GeneralRe: Question on performance... Pin
Sander Rossel15-Oct-22 20:40
professionalSander Rossel15-Oct-22 20:40 
Daniel Pfeffer wrote:
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.
Bit of mansplaining there Wink | ;)

But yeah, I actually checked my indexes and found one with a very high impact on performance.
Removed an unused one too.
I'm not going to add a unique key, as there are around 20 fields that, together, should be unique.
I feel like that would hurt performance more than it would add to it.
That's why I'm checking that manually, because I can search for potentially double data on a specific index, which I need to do anyway to let the user know they're uploading double data (which is now actually allowed, since last month).

Removed some data analysis at this step too.
I'm storing some redundant data so I don't have to analyze it later.
Turns out, with a well placed index, the analysis is instant later on.

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 
AnswerRe: Question on performance... Pin
Marc Clifton16-Oct-22 4:05
mvaMarc Clifton16-Oct-22 4:05 

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.