Forum Replies Created

Viewing 15 posts - 7,771 through 7,785 (of 49,552 total)

  • RE: CPU speed, cache size, latency of caches

    I'll second the recommendation to read Glenn's stuff.

    Processor caches are there to reduce the amount of times that a CPU is spinning idle waiting for data from memory. Small caches...

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: How to perform mathematical formula without using case.

    shahi.alokchandra (9/17/2014)


    Actually i am having more then 100000 rows in table and if i use functions then my index might not be called.,that why want to avoid cases and functions.

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Backup is corrupted or not?

    Try to restore it and see if the restore fails.

    Restore HeaderOnly only looks at the header, so only if the header is damaged will it give any indication. Restore VerifyOnly...

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Can't find object from page ID

    I'd suggest you run a full CheckDB. Also review the success/failure of your regular CheckDB jobs, see when they started failing.

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Database '' is not valid to be included in the maintenance plan.

    monrroym (9/17/2014)


    Which msdb table holds the specific list of databases to be backed up for the 'backup database task'?

    None. Maint plans are SSIS packages. Follow the advice above 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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: issue with EXEC sp_executesql

    You have created the temp table before running that insert statement?

    Insert doesn't create the destination table....

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Are the posted questions getting worse?

    andrew gothard (9/17/2014)


    It's a bit wasteful on RAM, holding all your hot index pages twice, as well as any you're not using in RAM anyway. Puzzled as to how...

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: issue with EXEC sp_executesql

    INSERT INTO #DestinationTable

    EXEC sp_executesql ...

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: DBCC checkdb failed on VLDB

    enriquemallon (9/17/2014)


    First problem is that it appears that the master database has either been moved, or deleted, or the folder has had all rights removed from the SQL Server's account.

    If...

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: DBCC CHECKDB

    Bear in mind that in your case the pages were zeroed out (overwritten with zeroes), so unless a tool is capable of undoing that (which last I heard required 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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: How to perform mathematical formula without using case.

    What's wrong with CASE? Yes, you can, but it becomes significantly less readable than the equivalent using CASE.

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Removing database owner

    zedtec (9/16/2014)


    Ok if the database owner is a valid AD user and is deleted from AD will there be any restrictions in this scenario?

    That's the scenario I described...

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Add TempDB data files

    jralston88 (9/16/2014)


    We also had discussions about where to place the data files, each on separate phyical drives or just one with separate directories. Right now with one, we've had...

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Ola Hallengren Index Optimize - Log Growth

    That's about right, maybe on the low side. In full recovery index rebuilds are size-of-data operations, so log usage equal or greater than the size of the index.

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Add TempDB data files

    Let's start with 'why'?

    There is no truth to the myth that only one core can write to a particular file. All threads, no matter where they are running can read/write...

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 15 posts - 7,771 through 7,785 (of 49,552 total)