Forum Replies Created

Viewing 15 posts - 9,016 through 9,030 (of 22,214 total)

  • RE: Estimated Total Subtree Cost

    That is the number used to compare to the cost threshold for parallelism. That fact doesn't change where the numbers come from. The optimizer assigns them based on internal processes,...

  • RE: Update Statistics Error

    I'd suggest following the recommendations in the error message and run DBCC CHECKDB. Depending on where the statistics are, and if there are any other underlying problems, you may be...

  • RE: Estimated Total Subtree Cost

    Yep. It's cumulative, so a plan with zero value ads zero to the number. Understand though, just because an operator says it has zero cost doesn't mean it actually did...

  • RE: Estimated Total Subtree Cost

    Those values accumulate as you go through the plan, each one reflecting the ones before it in the plan in the physical processing order (right to left).

  • RE: select latest records

    But, question, why no primary key? The vast majority of tables absolutely should have a primary key. Just as the vast majority of tables should have a clustered index (and...

  • RE: select latest records

    I've got a number of examples on how to "get latest" rows in this article on versioned data.[/url]

  • RE: Database in Recovery mode

    Since you are completely on your own on this, again, I suggest getting a copy of my book. Links are down in my signature.

    After you get backups in place... that...

  • RE: Database in Recovery mode

    praneethydba (1/21/2014)


    HI,

    Still in Recovery. I am Panic.

    My company is running this database from past 8 years and no indexing, no Primary/clustered index, No jobs etc.

    So I want to streamline all...

  • RE: backup

    Ed Wagner (1/21/2014)


    Grant Fritchey (1/21/2014)


    Hey Ed, make sure you use FORMAT in addition to the INIT statement. INIT doesn't rewrite the header, so if you ever do modify the backup...

  • RE: backup

    Hey Ed, make sure you use FORMAT in addition to the INIT statement. INIT doesn't rewrite the header, so if you ever do modify the backup being done in some...

  • RE: Run Script in each databases in sql server

    Just use sp_msforeachdb. That's what it's for. But, if you really, really don't want to use it, set up a cursor to cycle through the databases (that's all that query...

  • RE: backup

    Or use INIT and FORMAT with the backup command to make it always be a single file instead of a series of files stacked together.

  • RE: Deadlock Query

    Since you're posting this in the 2008 forum, I'm going to assume you're on a 2008 or better server. You can look at they system_health extended event session. It's running...

  • RE: problem with default constraint

    Please supply a bunch more detail, especially the code you wrote and what you expected it to do for you.

  • RE: SQL Server Backup Huge

    A full backup includes the part of the transaction log that hasn't been marked as getting removed, so if you had a huge jump in the size of the log...

Viewing 15 posts - 9,016 through 9,030 (of 22,214 total)