Viewing 15 posts - 43,231 through 43,245 (of 49,552 total)
Patrick Russell (11/10/2008)
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
November 10, 2008 at 10:43 am
Marker (11/10/2008)
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
November 10, 2008 at 10:33 am
Lynn Pettis (11/10/2008)
Knowing Gail, I'm sure she has the queries you need to identify long running transactions. I'd have to do some research for those.
On SQL 2000 the only...
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
November 10, 2008 at 10:29 am
Garadin (11/10/2008)
Correlated subqueries CAN (I believe the optimizer sometimes converts them to joins / derived tables for you) be run Row by Row, which is very slow.
More correctly,...
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
November 10, 2008 at 10:28 am
Loner (11/10/2008)
The tempdb is set to automatically grow by 10% and unrestricted file grow.
What's the initial size? If you're using TempDB heavily, it must be changed from the default (2MB?)...
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
November 10, 2008 at 9:46 am
Firstly, read through these two articles:
http://www.sqlservercentral.com/articles/64582/
http://sqlinthewild.co.za/index.php/2008/07/23/recovery-model-and-transaction-logs/
What recovery model is this DB in (I'm guessing full) and how often do you backup the transaction log?
What is considered acceptable data loss for...
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
November 10, 2008 at 9:38 am
Can you post the query, the table with index definitions and the execution plan without the hint (saved as a .sqlplan file, zipped and attached to your post.)
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
November 10, 2008 at 9:27 am
See if you can open the file in a text editor. I've seen MySQL 'backups' in the past been nothing more than scripts to create and populate the DB. They...
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
November 10, 2008 at 9:26 am
TheSQLGuru (11/10/2008)
Gail, your index choices and join choices were 'too good'! 🙂
I was trying to see how many sorts I could get in a single query. Answer,...
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
November 10, 2008 at 9:15 am
Seeing the code makes all the difference. It's not technically parameter sniffing.
That form of catch-all query does not perform well. Firstly the optimiser can't make accurate predictions with all of...
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
November 10, 2008 at 9:13 am
Patrick Russell (11/7/2008)
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
November 10, 2008 at 6:22 am
Any indexes on those tables?
Is the distinct necessary?
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
November 10, 2008 at 6:20 am
Do they have a reason for this decision?
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
November 10, 2008 at 6:18 am
China Satya Rao T (11/10/2008)
In the execution plan, the cost of table variable population is 0.1%In the main query, cost of table scan on table variable is 0%
The cost of...
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
November 10, 2008 at 6:09 am
Why does it have to be a single table?
Have you considered table partitioning (SQL 2005 feature)
How wide are the rows?
What indexes do you have and what are the common queries?
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
November 10, 2008 at 3:16 am
Viewing 15 posts - 43,231 through 43,245 (of 49,552 total)