Forum Replies Created

Viewing 15 posts - 17,461 through 17,475 (of 49,552 total)

  • RE: Index Usage - Lookups

    Yes. Either a index seek + key lookup or a clustered index scan, depending on the % of rows that the query will retrieve

    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: delete backups after restore

    Why delete it? Does restoring mean that you'll never need to restore that backup again? What happens if the production DB fails and you need to restore full and 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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Index Usage - Lookups

    SQLSACT (7/23/2012)


    I thought that a Lookup operation could only happen on a Heap Table where the NonClustered index has to do a RID lookup when the Index doesn't cover 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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: DBCC CheckDB fails, then succeeds

    Without seeing messages, no way to say.

    http://technet.microsoft.com/en-us/magazine/2009.04.sqlqa.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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Index Usage - Lookups

    The clustered index doesn't do the lookups. It's the target of the lookups. That tells you how many lookups were done to the clustered 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: Starting SQL services - Best practise

    dbasql79 (7/23/2012)


    Correct me if i am wrong, SQL Server Configuration Manager would be checkpointed by CheckPoint Manager in Failover clustering. so will it be a point to consider in 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: Starting SQL services - Best practise

    SQLCrazyCertified (7/23/2012)


    So, I would say best practice is to stop/start SQL from Configuration Manager.

    Nope. You can stop/start SQL from config manager, NET commands, client app (eg SSMS), services, etc with...

    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: Suspect Database

    If it's suspect (as opposed to just corrupt), it won't return to normal without running CheckDB with repair allow data loss (the only option valid when the DB is suspect)....

    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: Starting SQL services - Best practise

    Starting the service can be done from anywhere. Services, config manager, NET START, etc.

    It's changing the service credentials that must only be done from config manager because config manager knows...

    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: Suspect Database

    Got backups? It's very likely that restoring from backup will be the best solution here.

    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 Hangs

    Stamey (7/23/2012)


    Is CheckDB cumulative, in that whatever it did before is saved and it continues where it left off?

    No.

    I ask because it ran for 8 hours the previous day...

    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: SQL 2008 Performance is slowing down

    drnorbert (7/22/2012)


    Also I always shrink and reorganize files.

    Well there's part of the problem. 🙂

    Don't shrink. SQL's not like Access where the files have to be regularly shrunk in order for...

    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: Logical Reads in sys.dm_exec_sessions

    Why would you expect 0 logical reads? Unless the table is completely empty, the query is going to have to read something from the data cache.

    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: The transaction log for database is full

    Vikrant S Patil (7/22/2012)


    agree, and that is why we had the truncate log on checkpoint option in SQL 2000.

    That option is a left over from SQL 7 or earlier, not...

    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: The transaction log for database is full

    Vikrant S Patil (7/22/2012)


    Logging mechanism is the same with both Full and Simple recovery model, it is a bit different with Bulk-logged recovery model for some of the operations like...

    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 - 17,461 through 17,475 (of 49,552 total)