Click here to Skip to main content
15,899,549 members
Home / Discussions / Database
   

Database

 
QuestionJoin in MYSQL Pin
bhavnvyas9-Dec-10 22:11
bhavnvyas9-Dec-10 22:11 
AnswerRe: Join in MYSQL Pin
Luc Pattyn9-Dec-10 22:51
sitebuilderLuc Pattyn9-Dec-10 22:51 
GeneralRe: Join in MYSQL Pin
Jörgen Andersson10-Dec-10 0:57
professionalJörgen Andersson10-Dec-10 0:57 
GeneralRe: Join in MYSQL Pin
Luc Pattyn10-Dec-10 1:07
sitebuilderLuc Pattyn10-Dec-10 1:07 
GeneralRe: Join in MYSQL Pin
Kasson10-Dec-10 20:30
Kasson10-Dec-10 20:30 
Questionlarge SQL table update performance Pin
KLPounds9-Dec-10 6:01
KLPounds9-Dec-10 6:01 
AnswerRe: large SQL table update performance Pin
David Mujica9-Dec-10 6:44
David Mujica9-Dec-10 6:44 
GeneralRe: large SQL table update performance Pin
KLPounds9-Dec-10 7:32
KLPounds9-Dec-10 7:32 
the web service is by far the slowest and also most restrictive component.. Right now the client is running between 4 and 8 instances of the app at once.. but when the app is only knocking out combined average 30,000 records an hour(on a good day), we're still talking days to cycle the whole table running 24/7. Each instance of the app is set up to queue up 500-1000 records at a time.. Queue as in queue build an array of IDs that will hit the webservices.. But then it updates record by record in a for-loop. Grabbing 500 IDs, adding them to an arraylist alone is silly slow.. Especially when a DT.Fill can do thousands of records in a couple seconds or less.

Among the "tweaks" I've done for the client is I have created the ability break down and categorize the workload for each instance of the app. This has helped the client some for specific business needs but in the end the entire inventory catalog needs to be updated as frequently as possible.

Given the web services constraints this project has a utopian theoretical max of 150,000 records an hour.. whether it's with 1 instance or with 20 instances.. at a certain threshold the webservice will start denying requests (security measure). I don't ever expect to see 150,000/hr with the current environment.. But I'd like to think that I could achieve a stable 80,000-100,000/hr if I could avoid having the app code from looping and hitting the SQL for each and every record it has queued up.

Too bad .NET doesn't have a BulkUpdate class similar to BulkCopy.. Smile | :)
GeneralRe: large SQL table update performance Pin
David Mujica9-Dec-10 9:25
David Mujica9-Dec-10 9:25 
AnswerRe: large SQL table update performance Pin
jschell9-Dec-10 10:25
jschell9-Dec-10 10:25 
AnswerRe: large SQL table update performance Pin
Mycroft Holmes9-Dec-10 11:34
professionalMycroft Holmes9-Dec-10 11:34 
Questionsyntax error! Pin
Jassim Rahma9-Dec-10 2:57
Jassim Rahma9-Dec-10 2:57 
AnswerRe: syntax error! Pin
Pete O'Hanlon9-Dec-10 4:10
mvePete O'Hanlon9-Dec-10 4:10 
AnswerRe: syntax error! Pin
Eddy Vluggen9-Dec-10 5:02
professionalEddy Vluggen9-Dec-10 5:02 
QuestionOPENXML - SQL Pin
Hum Dum8-Dec-10 17:46
Hum Dum8-Dec-10 17:46 
AnswerRe: OPENXML - SQL Pin
Hiren solanki8-Dec-10 22:53
Hiren solanki8-Dec-10 22:53 
QuestionUpdating a DataSet from a Database Pin
Dominick Marciano8-Dec-10 14:07
professionalDominick Marciano8-Dec-10 14:07 
AnswerRe: Updating a DataSet from a Database Pin
PIEBALDconsult8-Dec-10 17:02
mvePIEBALDconsult8-Dec-10 17:02 
AnswerRe: Updating a DataSet from a Database Pin
Mycroft Holmes8-Dec-10 20:17
professionalMycroft Holmes8-Dec-10 20:17 
AnswerRe: Updating a DataSet from a Database Pin
David Mujica9-Dec-10 3:21
David Mujica9-Dec-10 3:21 
AnswerRe: Updating a DataSet from a Database Pin
Vimalsoft(Pty) Ltd9-Dec-10 4:30
professionalVimalsoft(Pty) Ltd9-Dec-10 4:30 
AnswerRe: Updating a DataSet from a Database Pin
Dominick Marciano10-Dec-10 4:25
professionalDominick Marciano10-Dec-10 4:25 
AnswerRe: Updating a DataSet from a Database Pin
Spectre_00114-Dec-10 2:37
Spectre_00114-Dec-10 2:37 
Questiontable physical size [mysql] Pin
Jassim Rahma8-Dec-10 4:08
Jassim Rahma8-Dec-10 4:08 
AnswerRe: table physical size [mysql] Pin
Eddy Vluggen8-Dec-10 4:57
professionalEddy Vluggen8-Dec-10 4:57 

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.