Click here to Skip to main content
15,886,919 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
Sander Rossel16-Oct-22 8:22
professionalSander Rossel16-Oct-22 8:22 
GeneralRe: Question on performance... Pin
Marc Clifton17-Oct-22 5:43
mvaMarc Clifton17-Oct-22 5:43 
AnswerRe: Question on performance... Pin
raddevus16-Oct-22 5:13
mvaraddevus16-Oct-22 5:13 
GeneralRe: Question on performance... Pin
Sander Rossel16-Oct-22 8:20
professionalSander Rossel16-Oct-22 8:20 
AnswerRe: Question on performance... Pin
abmv16-Oct-22 5:19
professionalabmv16-Oct-22 5:19 
AnswerRe: Question on performance... Pin
Cpichols17-Oct-22 1:32
Cpichols17-Oct-22 1:32 
AnswerRe: Question on performance... Pin
charlieg17-Oct-22 2:27
charlieg17-Oct-22 2:27 
AnswerRe: Question on performance... Pin
MikeCO1017-Oct-22 3:03
MikeCO1017-Oct-22 3:03 
Interesting. We have issues with CSV upload but it is in the upload failing itself, which is being used due to the lack of an API from an outside vendor. It's AWS to local. That's a topic in itself with a long, dumb winding road with a large vendor. Haven't had issues with Azure connects, though.

My first question is process: It sounds like you have control over both ends of this? If so, why a CSV rather than a direct upsert? Five seconds feels like an eternity (it does really feel that way today!) but CSVs to DB with validation takes a while. Our environment is different, using Postgres on a nix with a triggered background cron and our line count is only in the hundreds per upload, so numbers don't compare. What's an import "table" and why does it exist, or is that just wording for a real destination table?

This caught my eye:
Quote:
Not so much an issue in my development environment, but apparently a bottleneck in production.
You mean the time just isn't an issue or does it run faster? Not sure why 5 seconds would create a "bottleneck" in production with five uploads a day? The timeout is generated on your end, right? Bump it up or calc it on estimated process time. If it ultimately works, let it run, no? Yeah, it's annoying looking at a spinner for a bit, but even if it's 30 seconds five times a day, no one is that busy.

Sorry, haven't worked with SQL Server in years but we do find the more you can put into a longer SQL query, the better the performance vs outside processing. Again, with SQL Server caveat above, I'd also index the heck out of it with 2 mil records.
AnswerRe: Question on performance... Pin
Max Santos17-Oct-22 3:47
Max Santos17-Oct-22 3:47 
AnswerRe: Question on performance... Pin
GuyThiebaut17-Oct-22 5:54
professionalGuyThiebaut17-Oct-22 5:54 
AnswerRe: Question on performance... Pin
WildlingCoder17-Oct-22 6:38
professionalWildlingCoder17-Oct-22 6:38 
AnswerRe: Question on performance... Pin
JasonSQ17-Oct-22 8:44
JasonSQ17-Oct-22 8:44 
AnswerRe: Question on performance... Pin
englebart17-Oct-22 17:02
professionalenglebart17-Oct-22 17:02 
Generalworldle 267 Pin
jmaida15-Oct-22 8:59
jmaida15-Oct-22 8:59 
GeneralWordle 484 Pin
Vivi Chellappa15-Oct-22 8:41
professionalVivi Chellappa15-Oct-22 8:41 
GeneralRe: Wordle 484 Pin
Peter_in_278015-Oct-22 11:27
professionalPeter_in_278015-Oct-22 11:27 
GeneralRe: Wordle 484 3/6 Pin
jmaida16-Oct-22 12:33
jmaida16-Oct-22 12:33 
GeneralRe: Wordle 484 Pin
StarNamer@work15-Oct-22 13:21
professionalStarNamer@work15-Oct-22 13:21 
GeneralRe: Wordle 484 Pin
Amarnath S15-Oct-22 14:19
professionalAmarnath S15-Oct-22 14:19 
GeneralRe: Wordle 484 Pin
megaadam15-Oct-22 15:51
professionalmegaadam15-Oct-22 15:51 
GeneralRe: Wordle 484 Pin
OriginalGriff15-Oct-22 18:44
mveOriginalGriff15-Oct-22 18:44 
GeneralRe: Wordle 484 Pin
Sandeep Mewara15-Oct-22 19:16
mveSandeep Mewara15-Oct-22 19:16 
GeneralRe: Wordle 484 Pin
Sander Rossel15-Oct-22 20:28
professionalSander Rossel15-Oct-22 20:28 
GeneralRe: Wordle 484 Pin
pkfox16-Oct-22 4:59
professionalpkfox16-Oct-22 4:59 
GeneralI'm failing terrible on this... Pin
0x01AA15-Oct-22 8:07
mve0x01AA15-Oct-22 8:07 

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.