Forum Replies Created

Viewing 15 posts - 12,556 through 12,570 (of 49,552 total)

  • RE: Is it possible to restrict the number of CPUs that SQL Server can use on a server ?

    Yes. Set the CPU affinity.

    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: Data corrupted, any advice?

    psingla (6/27/2013)


    if i were you then i would have taken the backup first then

    tried

    DBCC CHECKDB (<db>, REPAIR_ALLOW_DATA_LOSS)

    Note:note sure this will work on 2000 or not?

    Got nothing to do...

    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: Data corrupted, any advice?

    Don't even try to upgrade that, the upgrade will very likely fail due to the severe corruption and you may well end up with a completely unusable database and complete...

    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 System Databases

    I didn't say change the file names in SQL. I said change the names of the files to match what you told SQL they would be.

    Open explorer, browse to where...

    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 System Databases

    suneet.mlvy (6/27/2013)


    but for log you can detach database then rename log file and again attach database then new log is created.

    You can't detach system databases and rebuilding the log as...

    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 System Databases

    Rename the files to match the names you gave SQL. No detach or offline or anything like that is necessary since SQL's not running, just change the file names. Hope...

    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: datatype doubts

    Timestamp, despite it's name, has nothing at all to do with times. It's a binary value, automatically incremented whenever the record is updated. It's a row version indicator, not 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: Are the posted questions getting worse?

    Apologies if any arrogance is showing through this morning.

    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: sysobjects corruption

    psingla (6/26/2013)


    BTW sysobjects view exists in 2005+ versions also.

    The view does, but it's a view and not a table and since a view does not store data, sysobjects cannot become...

    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: sysobjects corruption

    psingla (6/26/2013)


    but how you came to know this is SQL 2000?I haven't worked on 2000...

    Because it's posted in the SQL 2000 forum, because the error messages are in the SQL...

    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 Server not using available memory

    First things first, with multiple instances, you do not want max server memory at default, it's going to cause problems.

    Figure out what memory to leave for the OS (I'm sure...

    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: sysobjects corruption

    psingla (6/26/2013)


    If it is a very big database then you can restore only page (1:1610) to save restoration time

    No, he can't.

    Firstly because it's a SQL 2000 database and page restore...

    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: Why is my TLOG growing

    If you are absolutely certain you don't need point in time recovery, that restoring to the last full/diff backup is fine, simple recovery.

    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: Page Restore

    Hex editor works.

    Pick a page you want to corrupt, identify an allocated page using DBCC IND for a table and cacluate the offset as (page Number)*8192 bytes

    Take the DB offline,...

    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: sysobjects corruption

    Restore from a clean backup, your database is irreparably corrupt.

    Once done, check your IO subsystem for 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

Viewing 15 posts - 12,556 through 12,570 (of 49,552 total)