Viewing 15 posts - 8,011 through 8,025 (of 49,552 total)
Lynn Pettis (8/25/2014)
Oh dear, the backup process for the production database is changing the recovery model of the development database. Help me.
I've seen that in production systems. Multiple times.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 25, 2014 at 2:29 pm
Maxer (8/25/2014)
So I wonder why my profiler trace isn't showing that activity, maybe a function of table size or something? (Or I am missing some columns)
Probably the events your capturing.
Also,why...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 25, 2014 at 10:19 am
Yup, the guy's right.
Please note that DBCC IndexRebuild is deprecated, has been so since SQL 2005. Use ALTER INDEX.
As for examining the code of DBCC Index Rebuild, you'd have...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 25, 2014 at 10:09 am
Grant Fritchey (8/25/2014)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 25, 2014 at 8:41 am
er.mayankshukla (8/25/2014)
Why unique clustered is only allowed with drop_existing as ON.
It isn't. You can drop a unique clustered index. You can create a unique clustered index without the DROP_EXISTING clause.
Besides,...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 25, 2014 at 7:42 am
Sapen (8/25/2014)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 25, 2014 at 7:39 am
Can't see anything wrong.
Make sure that the statement before the CTE (if there is one) is terminated with a ;
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 25, 2014 at 3:58 am
What error are you getting?
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 25, 2014 at 3:47 am
er.mayankshukla (8/25/2014)
Well It means that whenever I fire Drop and create index command with drop_existing option.Sql engine waits to check for create command after drop command.
No. If you run a...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 25, 2014 at 2:38 am
er.mayankshukla (8/25/2014)
What if I Only fire a drop Clustered Index command and NO Create command ?
Then every single nonclustered index on the table will be rebuilt, they have to be...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 25, 2014 at 2:23 am
WhiteLotus (8/24/2014)
How do I know which query or StoreProc that has crap code because there are hundreds of StoreProc?
You don't.
This is one of the flaws at looking at just perfmon...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 25, 2014 at 1:01 am
Jeff Moden (8/23/2014)
Cathy DePaolo (8/22/2014)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 24, 2014 at 2:30 pm
Lowell (8/22/2014)
i believe it's a design structure built into SQL, where in place updates are never truly performed.
False.
Inplace updates are indeed performed. Any update which is not a key column...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 23, 2014 at 3:17 am
Because a change to a key column (key of an index) means that the row must move from one page to another (indexes are logically ordered by their keys). If...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 23, 2014 at 3:16 am
That was the post, I didn't remember exactly and couldn't be bothered looking.
I've said many times that indexes won't help poor *query* design and that indexes shouldn't be created where...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 23, 2014 at 3:06 am
Viewing 15 posts - 8,011 through 8,025 (of 49,552 total)