Viewing 15 posts - 7,456 through 7,470 (of 49,552 total)
It's entirely possible for the stats to be perfectly accurate and the plan terrible. As in this case, there's more to estimation than just the stats.
Figuring out whether the plan...
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 20, 2014 at 6:59 am
Firstly, determine whether it's a problem that needs something to be done about.
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 20, 2014 at 6:26 am
Cardinality estimator assumes that, when there are multiple predicates, they are completely independent (if one affects half the table and the other affects 10% of the table then the combination...
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 20, 2014 at 5:55 am
Without seeing the execution plan, not really.
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 20, 2014 at 5:16 am
Shrinking the log shouldn't, by itself, cause performance problems.
Once you've monitored for a while (few days, week), run some queries on the saved data, see what the max used space...
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 20, 2014 at 4:09 am
Jacek Falkiewicz (10/20/2014)
Maybe it is worthy to try opposite scenario: change to full, full backup, log backup and shrink at the end.
Completely pointless and a waste of time.
The reason 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
October 20, 2014 at 3:39 am
charipg (10/20/2014)
SELECT [name],...
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 20, 2014 at 2:20 am
Jacek Falkiewicz (10/20/2014)
Is it simple model? Simple model is without log file.
Nope. Simple recovery uses the log just like full/bulk logged does.
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 20, 2014 at 2:19 am
I seem to recall they were never released. I know there was at least one version where the symbols weren't released, think it was R2.
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 20, 2014 at 2:18 am
Maddave (10/17/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
October 17, 2014 at 9:57 am
Did anything happen between when you ran CheckDB and when you ran CheckTable? Anything like an index rebuild or similar?
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, 2014 at 9:28 am
Not alone, no.
Is this related to http://www.sqlservercentral.com/Forums/Topic1625741-2799-1.aspx?
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, 2014 at 9:00 am
Safety net.
Autogrow allows for the log to not fill up if something happens to prevent log reuse. Something like an active transaction, unusually large data modification (eg archiving), failed log...
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, 2014 at 8:56 am
If you're running the Profiler GUI, absolutely, and you're lucky if that's all it does.
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, 2014 at 7:32 am
Views are just saved select statements. They have no data storage.
When you query a view, all SQL does is query the tables that the view references to get the data...
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, 2014 at 7:24 am
Viewing 15 posts - 7,456 through 7,470 (of 49,552 total)