Click here to Skip to main content
15,916,692 members
Home / Discussions / C#
   

C#

 
Questioninsert in a stored procedure Pin
swjam12-Nov-08 1:46
swjam12-Nov-08 1:46 
AnswerRe: insert in a stored procedure Pin
Ashfield12-Nov-08 2:13
Ashfield12-Nov-08 2:13 
AnswerRe: insert in a stored procedure Pin
Simon P Stevens12-Nov-08 3:07
Simon P Stevens12-Nov-08 3:07 
AnswerRe: what do i put in the primary key value in my insert clause? Pin
swjam12-Nov-08 4:07
swjam12-Nov-08 4:07 
GeneralRe: what do i put in the primary key value in my insert clause? Pin
J4amieC12-Nov-08 4:58
J4amieC12-Nov-08 4:58 
QuestionDijkstra shortest path Help Pin
dudz198712-Nov-08 1:31
dudz198712-Nov-08 1:31 
AnswerRe: Dijkstra shortest path Help Pin
Simon P Stevens12-Nov-08 2:59
Simon P Stevens12-Nov-08 2:59 
Questionaccess store procedure Pin
George_George12-Nov-08 1:30
George_George12-Nov-08 1:30 
Hello everyone,


I am writing an API which accepts request and conver the request to call to database store procedures. There may be a lot of simultaneous requests to a store procedure (the store procedure may just query for data, or may update database). My concerns is I do not want to hit database too hard and at the same time achieve the best performance.

What is the traditional solution to this problem? Using thread pool and keep connection to database alive? Or do nothing and trust database store procedure to do its own optimization?


thanks in advance,
George
AnswerRe: access store procedure Pin
Simon P Stevens12-Nov-08 2:57
Simon P Stevens12-Nov-08 2:57 
GeneralRe: access store procedure Pin
George_George12-Nov-08 21:32
George_George12-Nov-08 21:32 
GeneralRe: access store procedure Pin
Simon P Stevens12-Nov-08 21:43
Simon P Stevens12-Nov-08 21:43 
GeneralRe: access store procedure Pin
George_George13-Nov-08 0:01
George_George13-Nov-08 0:01 
GeneralRe: access store procedure Pin
Simon P Stevens13-Nov-08 0:59
Simon P Stevens13-Nov-08 0:59 
GeneralRe: access store procedure Pin
George_George14-Nov-08 1:21
George_George14-Nov-08 1:21 
Questionhow to use the toolbar button tag property during a toolbar click event Pin
swjam12-Nov-08 1:30
swjam12-Nov-08 1:30 
AnswerRe: how to use the toolbar button tag property during a toolbar click event Pin
V.12-Nov-08 1:55
professionalV.12-Nov-08 1:55 
QuestionC# exception definition Pin
George_George12-Nov-08 0:34
George_George12-Nov-08 0:34 
AnswerRe: C# exception definition Pin
Ravi Bhavnani12-Nov-08 1:03
professionalRavi Bhavnani12-Nov-08 1:03 
GeneralRe: C# exception definition Pin
George_George12-Nov-08 1:25
George_George12-Nov-08 1:25 
GeneralRe: C# exception definition Pin
Ravi Bhavnani12-Nov-08 7:27
professionalRavi Bhavnani12-Nov-08 7:27 
GeneralRe: C# exception definition Pin
George_George12-Nov-08 20:55
George_George12-Nov-08 20:55 
AnswerRe: C# exception definition Pin
Simon P Stevens12-Nov-08 2:01
Simon P Stevens12-Nov-08 2:01 
GeneralRe: C# exception definition Pin
George_George12-Nov-08 17:54
George_George12-Nov-08 17:54 
GeneralRe: C# exception definition Pin
Simon P Stevens12-Nov-08 21:39
Simon P Stevens12-Nov-08 21:39 
GeneralRe: C# exception definition Pin
George_George13-Nov-08 0:05
George_George13-Nov-08 0: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.