Viewing 15 posts - 19,441 through 19,455 (of 22,213 total)
There's no real way to know this. If the same database you have in production was on a machine, all by itself, with no users, it might take 1 minute...
October 17, 2008 at 5:55 am
jaggity (10/16/2008)
October 17, 2008 at 5:50 am
Do the execution plans change between the two?
I agree with Matt. It's probably parameter sniffing.
October 17, 2008 at 5:46 am
The easiest way to do it is probably with a backup & restore.
However, if you're making lots of changes over time to the structure or the data, you may want...
October 17, 2008 at 5:37 am
jonathanmreynolds (10/16/2008)
isql.exe -U SA -P XXXXXX -d DBNAME -S SERVERNAME -n -i vsm_his2he.sql -o log.txt
bcp DBNAME.dbo.hotel_expert_room_registry out out1.txt -f param.txt -S...
October 17, 2008 at 5:35 am
You can use a PRINT command to put it out into the Messages window.
October 16, 2008 at 11:59 am
If you do nothing else at all, I'd recommend bumping that up to something like 25 or 30. I've seen it set as high as 50 on servers that still...
October 16, 2008 at 8:45 am
Since you've got parallelism on, what's the threshold set to?
October 16, 2008 at 8:34 am
I'd suggest checking the variable that's being executed as the query, @clk_fund_stmt (and the others). Make sure that's structured correctly. If you're getting nulls, it's originating there.
October 16, 2008 at 5:39 am
There was also a presentation from one of the SQL Server internals guys at the PASS summit a couple of years back called "A Day In The Life of...
October 16, 2008 at 5:26 am
Go back and reread Gail's post. She shows you how to measure which procs are taking the longest & using up CPU. Once you identify the query or queries that...
October 15, 2008 at 10:31 am
GilaMonster (10/15/2008)
Grant Fritchey (10/15/2008)
OK. That's twice. It should stop now.:hehe: 😀 Great minds think alike?
I'll go do something else for a while...
Normally, my response is for the other party to...
October 15, 2008 at 9:00 am
I'm so stupid...
This is 2005 right? Toss trace. Run a query against sys.dm_exec_query_stats. This is a dynamic management view that contains information about the queries currently in cache. You can...
October 15, 2008 at 8:48 am
Oops. There I am typing up the response and looking for your URL and there you are posting it. Ah well. Reinforces the point.
October 15, 2008 at 8:41 am
Viewing 15 posts - 19,441 through 19,455 (of 22,213 total)