Forum Replies Created

Viewing 15 posts - 26,791 through 26,805 (of 49,552 total)

  • RE: Plan caching in SQL 2008 ~ Recompilations due to SET option changes

    Well.....

    Test and confirm that I'm not lying to you first. 😉

    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: Plan caching in SQL 2008 ~ Recompilations due to SET option changes

    It shouldn't cause a recompile event. That's for when the query starts executing and something (schema/stats) have changed invalidating the plan. If that set option is one that results in...

    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 find Row number

    What do you mean by 'actual row number'? Tables have no order and there's no automatic row number that you can query.

    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: Identity property problem

    Please post new questions in a new thread. This thread is 3 years old and the person you are addressing hasn't logged in in 3 months.

    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: Plan caching in SQL 2008 ~ Recompilations due to SET option changes

    What events are you tracing for?

    That shouldn't cause a recompile. It should cause a compile and a second plan in cache with the different set option. Set options don't so...

    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: Backing up transaction log

    homebrew01 (4/11/2011)


    I think the total size of you t-log backups should be about the same. One huge daily backup, or many small 20 minute backups.

    A daily log backup will also...

    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: 70-443... a grinder!

    Please note: 3 year old thread. Might be better to ask new questions in a new thread.

    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: What are ther steps need to take when we need to tune the stored procedure

    http://www.simple-talk.com/sql/performance/finding-the-causes-of-poor-performance-in-sql-server,-part-1/

    http://www.simple-talk.com/sql/performance/finding-the-causes-of-poor-performance-in-sql-server,-part-2/

    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: Recover database from suspect Mode

    Ratheesh.K.Nair (4/10/2011)


    Is there anyway to recover without data loss and without restoring.

    No. Those weren't the two best options I gave above. They're the only options. You can repair or...

    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: Recover database from suspect Mode

    Since it was suspect your only two options are:

    1) CheckDB with REPAIR_ALLOW_DATA_LOSS. There's damage to the clustered index (just one page) and that's the only repair level allowed in emergency...

    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 owner and others

    Because nothing needs to log in via the database owner, hence the status is irrelevant. The account must just exist, which is why there are problems if the job/db owner...

    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 owner and others

    The DB will be accessible, but some objects will break. No need to use the sa, leave it disabled. Just change the DB's owner to sa after the DB is...

    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 protect hacker to hack a sql server 2008.

    That's a big topic. Entire books have been written on that subject. May I suggest this one: http://www.amazon.com/Securing-SQL-Server-Protecting-Attackers/dp/1597496251

    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 runs slow, doesn't seem to use TempDB, and waits on RESOURCE_SEMAPHORE

    Yup.

    It's odd that it's a resource semaphore wait though. IO related I would have expected IO latches rather.

    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 runs slow, doesn't seem to use TempDB, and waits on RESOURCE_SEMAPHORE

    llevity (4/8/2011)


    Gail: Thanks for the clarification. The snap for indexes makes sense, but I definitely see a lock requested and granted an an otherwise idle DB only when...

    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 - 26,791 through 26,805 (of 49,552 total)