Forum Replies Created

Viewing 15 posts - 26,056 through 26,070 (of 49,552 total)

  • RE: Low buffer cache hit ratio AND low Pages / Second

    Pages/sec are reads from the page (swap) file, not reads from any file on disk. If SQL is reading pages into its data cache, its reading them from 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: Low buffer cache hit ratio AND low Pages / Second

    MysteryJimbo (5/18/2011)


    What is your current page life expectancy? A minimum of 600 is the generally accepted limit. If you have plenty of memory it could be much higher.

    600...

    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: Looking for a data compare/copy product

    Grant Fritchey (5/18/2011)


    In general, except for data, most of the time the flow of structural changes is not from production down to a dev or test environment, but the other...

    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: rename a table

    Don't see why not. Have you tried?

    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 Kill

    I was. :hehe:

    Also check see if you have any locks owned by spid -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: Are the posted questions getting worse?

    *screams*

    When will people stop recommending Emergency mode repair as the default action with a suspect DB. That's about the 4th time I've seen that garbage this week.

    Forget shrink database, I...

    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 Suspect mode@ rajesh

    SUPER SQL STAR (5/18/2011)


    To repair the database, run the following queries in Query Analyzer:

    EXEC sp_resetstatus ‘yourDBname’;

    ALTER DATABASE yourDBname SET EMERGENCY

    DBCC checkdb(‘yourDBname’)

    ALTER DATABASE yourDBname SET SINGLE_USER WITH ROLLBACK IMMEDIATE

    DBCC CheckDB...

    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: Error Msg 823, Level 24, State 2, Line 1

    ananthtecho (5/17/2011)


    We have been recieving the error below in one of our server during restoring a database. Has anyone experienced the same problem? If yes can you please share 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: Error Msg 823, Level 24, State 2, Line 1

    prettsons (5/18/2011)


    Check this article it will help you to resolve this error: http://ezinearticles.com/?Assertion-Or-MDF-Corruption-When-You-Import-Data-in-SQL---Server-2000&id=2228557

    Advertising disguised as a technical article. Completely irrelevant here. Full of errors.

    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?

    Grant Fritchey (5/17/2011)


    True, but this one time, I'm taking the supposed high road. I've posted that I have sessions. I'm done. Vote or not. I'm in or not. I'd love...

    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: Is this query right for finding fragmented indexes?

    sqlbuddy123 (5/17/2011)


    DBID () func in the DMV will return in a error for 80 comp Mode dbs. It doesn't return complete information for 80 comp mode databases. May be it's...

    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 Kill

    Oh, forgot to ask. Is this a distributed transaction? (some reference to a remote server)?

    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: Moving Secondary file in user database.

    ModestyBlaise84 (5/17/2011)


    Detach/attach seemed more ‘natural’ to me, but would like to understand why you advised different?

    Doesn't change the DB id, doesn't potentially mess up service broker, CDC or any of...

    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: Moving Secondary file in user database.

    srinath.vanama (5/17/2011)


    Thanks allot for your kind co-operation,

    I tried to move the secondary file through ALTER DATABASE MODIFY command, after copying the .ndf file to the destination folder am not able...

    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: Moving Secondary file in user database.

    Use Alter database Modify file to change the file name

    Take the DB offline

    Move the file

    Bring the DB back online

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