Viewing 15 posts - 12,316 through 12,330 (of 49,552 total)
Please read the article I posted as well as the blog post that Sean referenced.
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
July 18, 2013 at 1:35 pm
Please post table definitions, index definitions and execution plan, as per http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
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
July 18, 2013 at 1:28 pm
jallmond (7/18/2013)
So "logically" I have begun a transaction, but I am not actually burning any log. Clear as mud?
The transaction has been initiated but no log records reflecting that...
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
July 18, 2013 at 1:27 pm
Off the top of my head, no. Don't think I ever got around to writing one. Might have been part of Paul Randal's myth a day series.
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
July 18, 2013 at 12:56 pm
Sean Lange (7/18/2013)
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
July 18, 2013 at 12:48 pm
Err... there's no such thing as a 'logical' or 'physical' transaction. There are just transactions.
sys.dm_tran_active_transactions reports at an instance level, so if you're trying it ID transactions within a single...
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
July 18, 2013 at 12:27 pm
If DBCC OPENTRAN is showing a session, then that session has an open transaction. If it's AWAITING COMMAND, that just means that the transaction has been started and not committed.
The...
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
July 18, 2013 at 12:24 pm
Well index rebuilds are unlikely to make noticable improvements in performance, so maybe the question should rather be 'what can be done'
Tune the query to use indexes, modify/add indexes to...
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
July 18, 2013 at 9:41 am
Too small to bother with.
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
July 18, 2013 at 9:36 am
The reason you're getting odd results is that BEGIN TRANSACTION alone is not enough to actually start a transaction. The transaction will start when the next command is run.
So
BEGIN TRANSACTION
SELECT...
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
July 18, 2013 at 9:34 am
Ignore the non-leaf levels unless they're absolutely huge.
Let me guess, those nonclustered indexes are tiny, just a couple of pages?
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
July 18, 2013 at 8:14 am
John Mitchell-245523 (7/18/2013)
(3) The statistics update automatically triggered by ALTER INDEX REBUILD is based on a limited scan of the data, whereas UPDATE STATISTICS is based on a full scan.
Other...
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
July 18, 2013 at 8:12 am
balasach82 (7/18/2013)
1. How to reduce this fragmentation in Clustered index at depth 4(in general for all depth rows)
Don't bother trying. The highest level is the root, which is only 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
July 18, 2013 at 7:59 am
Welsh Corgi (7/18/2013)
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
July 18, 2013 at 7:58 am
poratips (7/17/2013)
Do you have any suggestion which might help to decide how many processor could benefit?
Benchmark the servers, see what they currently use, plan future growth, that gives you somewhere...
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
July 17, 2013 at 4:17 pm
Viewing 15 posts - 12,316 through 12,330 (of 49,552 total)