Click here to Skip to main content
15,885,695 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.

 
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 
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 
This is a huge area with all sorts of possible ways of solving it.

I currently work on a rather huge codebase, part of which performs automated imports and exports in a batching system.
That would probably be overkill for what you are wanting.

There isn't a one solution for everything in this sort of case - however a staging table is always a good place to start - import the data into a staging table then you can decide on a strategy from there.

The strategy might involve selectively picking records that are then fed into your main table's or even allowing the user to choose the data.

The advantage of a staging table is that you can isolate any issues within the staging table as well as be able to query it and analyse data from there without affecting your main tables.

As for timings - for something like an import there should really be no guarantees of how many seconds it takes because there are so many variables out of your control(connection speed, number of records, record sizes etc.)

What you can do is provide some sort of progress bar to let the user know what stage things are at(I actually deliberately slow the progress bar in some applications so that users get a sense of something happening rather than something flashing on and off the screen).
“That which can be asserted without evidence, can be dismissed without evidence.”

― Christopher Hitchens

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 
GeneralThe adjective for metal is metallic... Pin
Sander Rossel15-Oct-22 2:50
professionalSander Rossel15-Oct-22 2:50 
GeneralRe: The adjective for metal is metallic... Pin
PIEBALDconsult15-Oct-22 3:03
mvePIEBALDconsult15-Oct-22 3: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.