Viewing 15 posts - 18,526 through 18,540 (of 49,552 total)
No.
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
May 14, 2012 at 2:45 pm
The problem there is if that's an identity column, there can be gaps even with the data complete. If any insert is ever rolled back and there's an identity 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
May 14, 2012 at 12:49 pm
deepak_19888 (5/13/2012)
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
May 14, 2012 at 12:30 pm
stevro (5/13/2012)
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
May 14, 2012 at 11:00 am
Take a read through this: http://www.sqlservercentral.com/articles/Recovery+models/89664/
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
May 14, 2012 at 10:57 am
Yes you can and you should. The only time you should be using join hints is when you know exactly why the optimiser isn't choosing the join you want, you...
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
May 14, 2012 at 10:54 am
Row counts is one thing that causes estimation errors, but it's not the only thing. UDFs are another. There are more.
Lots of things other than stats. See if you can...
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
May 12, 2012 at 3:39 am
Doesn't make the slightest difference if you use estimated or actual plan for the relative %. They'll be the same across the two plans and they are still estimates 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
May 12, 2012 at 3:00 am
There are lots of ways to solve this, most incredibly slow.
Google "Gaps and Islands" Itzik Ben Gan
He's done an article recently comparing several methods of identifying gaps in a sequence.
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
May 12, 2012 at 2:31 am
Matthew Darwin (5/12/2012)
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
May 12, 2012 at 2:29 am
Talking about London, heading that way tonight and won't have much time for SSC while I'm there. Could some people keep a watch for corrupt databases, production restores or anything...
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
May 12, 2012 at 2:17 am
Evil Kraig F (5/11/2012)
GilaMonster (5/11/2012)
WayneS (5/11/2012)
GilaMonster (5/11/2012)
Aaah, nerves. The wait is killing me...Must be... London?
No.
First Date then! Good luck!
??!!?? err....?????
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
May 12, 2012 at 2:10 am
No caching mechanisms. You could consider an indexed view, but that's something that you need to carefully analyse to see if it will fit, and there are lots of restrictions.
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
May 12, 2012 at 2:06 am
Contact your microsoft rep. Licences aren't resellable.
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
May 12, 2012 at 2:04 am
princa (5/11/2012)
#1 - the where clause would be applied after result set generated from all tables or view join?
No. The optimiser will try to push the filters as far...
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
May 12, 2012 at 2:03 am
Viewing 15 posts - 18,526 through 18,540 (of 49,552 total)