Viewing 15 posts - 48,361 through 48,375 (of 49,552 total)
It depends how expensive the query is before what kind of improvement you see. Generally I only tune queries that have high duration, reads or CPU. If the query is...
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
October 19, 2007 at 12:48 am
Very strange. I scripted a trace from profiler which does filter and it looks almost exact. The only difference is that the trace I scripted out is 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
October 19, 2007 at 12:43 am
Andy Warren (10/18/2007)
Grant, I disagree with you on the certification part. I think it would cost money, but it would be self supporting. Picture 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
October 18, 2007 at 10:56 am
Swartkruit (10/18/2007)
Hi All,As you can see I'm trying to filter on duration where duration > 1000
WHAT AM I DOING WRONG?
I don't know. What are you seeing that you don't think...
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
October 18, 2007 at 10:40 am
I've seen with a client that used jdbc. I haven't found an easy way of identifying the commands run. From what I have found, the sp_cursorprepexec has the statement in...
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
October 18, 2007 at 2:09 am
Please don't make multiple posts on the same topic. Most of us read all the forums
Refer: analysing Profiler trace
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
October 18, 2007 at 1:56 am
Analysing exec plans is a complex topic. I've started a series on reading exec plans on my blog, but is still early days.
As a high level overview, what you'll 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
October 18, 2007 at 1:22 am
Catcha (10/17/2007)
I have been told to use
[font="Courier New"]DBCC DROPCLEANBUFFERS
DBCC FREEPROCCACHE
SET STATISTICS IO on
SET STATISTICS TIME on[/font]
to compare the performance of query and compare the Logical Read and...
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
October 18, 2007 at 12:36 am
You say you've used profiler. Have you identified the queries with high CPU time? If not, analyse the trace (I'd suggest load it into a table and use queries) and...
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
October 17, 2007 at 10:23 am
Mark Chimes (10/16/2007)
The date range is derived from user input and is stored in the Order table, so while it does not appear in any of the above...
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
October 17, 2007 at 12:15 am
Could you possibly post the schema of those tables, some sample data and your desired output please? Without those we're kinda working blind.
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
October 16, 2007 at 12:12 am
Ok, I'm still a bit vague, but will try.
You want all stockcount entries that don't have matching entries in FunctionStock for a particular date?
What's the join between FunctionStock and StockCount?...
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
October 16, 2007 at 12:09 am
The optimiser will sometimes use a technique called index intersection, where it will seek multiple indexes to satisfy different conditions, then do the equivalent of inner joins on the resultsets...
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
October 15, 2007 at 11:51 pm
Mark Chimes (10/15/2007)
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
October 15, 2007 at 2:46 am
The only upgrade available is from full MCDBA (requiring 228, 229, one server 2003 exam and an elective) to ITP Database Admin. Even with that upgrade, you'll still have 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
October 15, 2007 at 12:53 am
Viewing 15 posts - 48,361 through 48,375 (of 49,552 total)