Viewing 15 posts - 16 through 30 (of 192 total)
Do you have autogrowth turned on? If so, how much do you increase your log by?
June 11, 2010 at 3:56 pm
It is impossible to answer definitively without more information.
If I were to hazard a few guesses.
1. You may be reading and writing to tables in different schemas. Qualify your...
June 11, 2010 at 3:52 pm
Off the top of my head, I monitor:
Blocking above a time threshold
hanging spids
failed jobs
disk space
File sizes/free space
deadlocks
best practice (i.e. indexes created on correct filegroup, etc)
January 19, 2010 at 9:59 am
This seems to work:
Declare @var Varchar(10)
SET @Var = null
SELECT
LEFT(USER_NAME(o.uid),10) AS Schema_Owner
, LEFT(OBJECT_NAME(i.id),50) AS TableName
, i.rowcnt Row_Count
, CONVERT(numeric(15,2),(((CONVERT(numeric(15,2), i.reserved)) * 8192 / 1024.0))) AS Reserved_Size_KB
, CONVERT(numeric(15,2),(((CONVERT(numeric(15,2), i.used)) * 8192 / 1024.0)))...
January 13, 2010 at 11:14 am
You set the priority of a job to an extent using Maximum Degree of Paralellism. If you want the refresh job to take a lower priority you can reduce the...
January 13, 2010 at 9:29 am
There are a couple of options that spring to mind:
You could use UNPIVOT to return one column to count on and 1 column to filter on.
Another option is you could...
January 12, 2010 at 2:06 pm
Updating this active thread.
An even easier solution:
Two Tables, let's call them MyTableA and MyTableB
You also have a view called MyTable.
Consumers of the data read from the view, MyTable, which points...
January 12, 2010 at 1:42 pm
An even easier solution:
Two Tables, let's call them MyTableA and MyTableB
You also have a view called MyTable.
Consumers of the data read from the view, MyTable, which points to the...
January 12, 2010 at 1:30 pm
My guess is your view has a hardcoded null.
This is an odd quirk in SQL Server where a NULL, which is not a value and therefore probably sholdn't have...
July 28, 2009 at 1:24 pm
Jeff Moden (3/13/2009)
Heh... sure... 7 to 8 seconds compared to just over a second. I'm sure your customers will think the same thing while they're waiting. π
LOL Thankfully...
March 14, 2009 at 1:16 am
Thank you, everyone, for the eye-opening research. You guys have contributed some caveats to consider when trying to identify the best solution.
Steve's lead-in was a bit misleading in that...
March 13, 2009 at 11:41 am
Thomas BΓΌhler (3/12/2009)
Nice article. But I miss a solution for handling a custom sorting when using a paging functionality.
Yeah, I deliberately left that bit out because it had been covered...
March 12, 2009 at 9:57 am
Actually, rereading the thread, I see that Peso did post the size of his dataset; 2,000,000 rows.
It would be interesting to determine a relative cut off point where the row_number...
March 11, 2009 at 3:29 pm
jcraddock (3/11/2009)
March 11, 2009 at 3:16 pm
Viewing 15 posts - 16 through 30 (of 192 total)