Viewing 15 posts - 16 through 30 (of 75 total)
Actually, the included columns make the leaf index entries larger. Therefore, fewer entries per page, which translates to more B-tree above. So there is a size cost for the entire...
David Lathrop
DBA
WA Dept of Health
November 23, 2010 at 1:01 pm
Nice article.
Consider adding the checksum column as an INCLUDE column to the PK index on the table. Your milage may vary because:
1) The lookup transformation component only needs to read...
David Lathrop
DBA
WA Dept of Health
September 3, 2010 at 5:23 pm
I'm just getting into this myself, but here is what I understand:
1) Yes, each instance has its own service master key, and each of them needs to get backed up...
David Lathrop
DBA
WA Dept of Health
July 23, 2010 at 3:35 pm
There have been other QoD's that contained "mistyped" code that would cause unintended results. This one is just different because the SQL syntax analyzer catches an error and writes an...
David Lathrop
DBA
WA Dept of Health
June 14, 2010 at 1:16 pm
I would vote for a comment on the ADD CONSTRAINT that it had an intentional syntax error. Sort of like editors adding "[sic]" in a quote to let people know...
David Lathrop
DBA
WA Dept of Health
June 11, 2010 at 11:42 am
In addition to duration, I would look at start and stop times of each call. The duration is just the amount of time within SQL Server. If there is something...
David Lathrop
DBA
WA Dept of Health
June 9, 2010 at 6:26 pm
Definitely break that delete into multiple smaller batches/transactions if at all possible. Also, make it "restartable" by simply rerunning the script/query, in case something like this happens again.
Any transaction...
David Lathrop
DBA
WA Dept of Health
June 9, 2010 at 6:05 pm
Oops, I checked. The two part schema.object form of name is considered "fully qualified" for plan caching; you don't need to prefix names with the database.
Sorry for sharing my confusion....
David Lathrop
DBA
WA Dept of Health
June 9, 2010 at 5:28 pm
Full three part naming helps the query optimizer recognize and reuse queries in the execution plan cache. Queries with unqualified names, including those in stored procedures, have to be fully...
David Lathrop
DBA
WA Dept of Health
June 9, 2010 at 3:50 pm
Yes, you should definitely avoid using the sp_ prefix. Not just the performance hit, since it always checks the master and resource databases first. Also, the next version of SQL...
David Lathrop
DBA
WA Dept of Health
June 9, 2010 at 3:29 pm
Actually, you've got it backwards! It's "what's the value to the community?" of having the MVP designation?
A noobie looking at a blog or forum may not know who is...
David Lathrop
DBA
WA Dept of Health
June 9, 2010 at 3:15 pm
About 90% of people who think they are doing "data modeling" are actually doing "database design." Which is it you are trying to do?
A commercial tool which I have used,...
David Lathrop
DBA
WA Dept of Health
May 18, 2010 at 4:33 pm
You may also be running afoul of a "new" Windows security feature, if your Enterprise edition is a more recent SP than the original Standard edition install. So I would...
David Lathrop
DBA
WA Dept of Health
May 18, 2010 at 4:16 pm
Yes, the database owner is one of the more important things to watch out for.
If you do detach and reattach databases (especially system databases) to move them, make sure you...
David Lathrop
DBA
WA Dept of Health
December 30, 2009 at 6:30 pm
As of SQL Server 2005, you can use ALTER DATABASE and just take the database OFFLINE during the move. See BOL under "Moving Database Files." This section has separate instructions...
David Lathrop
DBA
WA Dept of Health
December 30, 2009 at 4:43 pm
Viewing 15 posts - 16 through 30 (of 75 total)