Click here to Skip to main content
15,914,943 members
Home / Discussions / Database
   

Database

 
GeneralSQL Server Express Install Pin
RChin21-Apr-05 6:41
RChin21-Apr-05 6:41 
GeneralRe: SQL Server Express Install Pin
Jerry Hammond22-Apr-05 2:50
Jerry Hammond22-Apr-05 2:50 
GeneralRe: SQL Server Express Install Pin
RChin22-Apr-05 6:25
RChin22-Apr-05 6:25 
GeneralUsing mysql database Pin
Sasuko21-Apr-05 6:21
Sasuko21-Apr-05 6:21 
GeneralTable design for storing email address Pin
Raghunandan S20-Apr-05 17:30
Raghunandan S20-Apr-05 17:30 
GeneralRe: Table design for storing email address Pin
Anonymous21-Apr-05 10:39
Anonymous21-Apr-05 10:39 
GeneralExtract Create Index Script Pin
-Dr_X-20-Apr-05 11:40
-Dr_X-20-Apr-05 11:40 
GeneralSQL execution path question Pin
Judah Gabriel Himango20-Apr-05 9:12
sponsorJudah Gabriel Himango20-Apr-05 9:12 
We have a stored procedure written in T-SQL that scans several tables and views, then returns the resulting data.

Executing this stored procedure for the first time on a database with lots of data in it (say, 50000 unique rows at least) will take a LONG time to execute; something like 60 seconds or more. Successive calls to the stored procedure take only 2-3 seconds.

We believe this is due to SQL generating an execution path for the stored procedure. Unfortunately, SQL seems to be throwing away the execution path for this stored procedure: after a few hours (or maybe a day) of executing at speeds of 2-3 seconds, it'll suddenly take 60 seconds or more for no apparent reason again.

I'm curious, does this sound like SQL execution path caching problem? Or is there something else lurking in the DB causing this issue?

Tech, life, family, faith: Give me a visit.
I'm currently blogging about: He has a funny face. And he's my son.
Judah Himango


GeneralRe: SQL execution path question Pin
Andy Brummer20-Apr-05 9:53
sitebuilderAndy Brummer20-Apr-05 9:53 
GeneralRe: SQL execution path question Pin
Colin Angus Mackay20-Apr-05 9:55
Colin Angus Mackay20-Apr-05 9:55 
GeneralRe: SQL execution path question Pin
-Dr_X-21-Apr-05 5:59
-Dr_X-21-Apr-05 5:59 
GeneralInserting at a specific row Pin
Esmo200020-Apr-05 8:29
Esmo200020-Apr-05 8:29 
GeneralRe: Inserting at a specific row Pin
Colin Angus Mackay20-Apr-05 9:06
Colin Angus Mackay20-Apr-05 9:06 
GeneralA sytax question Pin
Esmo200020-Apr-05 8:05
Esmo200020-Apr-05 8:05 
GeneralRe: A sytax question Pin
Colin Angus Mackay20-Apr-05 9:08
Colin Angus Mackay20-Apr-05 9:08 
GeneralExecuting an UPDATE for each record returned by a SELECT Pin
Luis Alonso Ramos20-Apr-05 6:09
Luis Alonso Ramos20-Apr-05 6:09 
GeneralRe: Executing an UPDATE for each record returned by a SELECT Pin
Colin Angus Mackay20-Apr-05 7:23
Colin Angus Mackay20-Apr-05 7:23 
GeneralRe: Executing an UPDATE for each record returned by a SELECT Pin
Luis Alonso Ramos20-Apr-05 8:11
Luis Alonso Ramos20-Apr-05 8:11 
GeneralRe: Executing an UPDATE for each record returned by a SELECT Pin
Colin Angus Mackay20-Apr-05 9:39
Colin Angus Mackay20-Apr-05 9:39 
GeneralRe: Executing an UPDATE for each record returned by a SELECT Pin
Luis Alonso Ramos20-Apr-05 13:02
Luis Alonso Ramos20-Apr-05 13:02 
GeneralRe: Executing an UPDATE for each record returned by a SELECT Pin
Colin Angus Mackay20-Apr-05 20:29
Colin Angus Mackay20-Apr-05 20:29 
GeneralData Source for Reporting Services Pin
azam31620-Apr-05 3:15
azam31620-Apr-05 3:15 
GeneralRe: Data Source for Reporting Services Pin
NewSilence23-Apr-05 13:17
NewSilence23-Apr-05 13:17 
GeneralRe: Data Source for Reporting Services Pin
azam31625-Apr-05 4:51
azam31625-Apr-05 4:51 
GeneralHey guys, Pin
Wilbur J. Pereira20-Apr-05 2:26
Wilbur J. Pereira20-Apr-05 2:26 

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.