Forum Replies Created

Viewing 15 posts - 43,636 through 43,650 (of 49,552 total)

  • RE: Dead Lock----Urgent

    Enable traceflag 1204 (DBCC TRACEON (1204,-1) or add -T1204 to SQL's startup parameters). That will write the deadlock graph into the error log

    The deadlock graph will show you exactly...

    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: optimization job

    SQL ORACLE (10/20/2008)


    Otherwise, you may include DBCC SHRINKDB command in your optimization.

    If you don't mind the indexes been more fragmented afterwards than they were before the rebuild, then yes, 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: Query about the database developer certs for 2005 and 2008

    Not much. My .net skills are almost non-existent and I didn't have much trouble with the exam.

    Make sure you're familiar with creating assemblies in SQL (CREATE ASSEMBLY ....). Make 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: Truncate log for Mirrored Database

    Then you should be set. That column value indicates that the log space is not been reused because a log backup is required. Once the log backup runs (check and...

    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: Truncate log for Mirrored Database

    rishgup (10/20/2008)


    I have scedule transaction log back every weekend. nut still no use. Trans log file is growing day by day.

    You need to backup the log a lot more than...

    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: Query about the database developer certs for 2005 and 2008

    I haven't done that course, but I have written the exam. I don't recall any of the .net languages showing up, though you do have to be familiar with creating...

    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: Query about the database developer certs for 2005 and 2008

    Which course/exam in particular?

    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: Clarification of NoLock

    ggraber (10/20/2008)


    That is quite a generalization. If you are reporting off of transactional data, it is a good idea to use NOLOCK because you don't want to lock up 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: indexing foreign key columns

    Maybe. Try an index there and see if SQL uses it.

    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: Restore - too recent to apply to the database?

    Where do you want to put the server name?

    Run the query on the server that the backups were made on and replace the placeholder

    AND sysdb.name = 'MY_DB_NAME'

    with your actual DB...

    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: Question on triggers

    Yup. Row versioning is used by the DB engine internally, even if Snapshot isolation isn't enabled in any DB. Other things that use row versions:

    Online index rebuilds

    MARS

    http://www.sqlmag.com/Articles/ArticleID/93465/93465.html

    You'll need a SQLMag...

    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: Snap Shot Database in Suspect

    Except that you can't repair a snapshot, as it's a read-only partial copy of a DB.

    Books Online


    When a page getting updated on the source database is pushed to a snapshot,...

    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: Restore - too recent to apply to the database?

    Adi Cohn (10/20/2008)


    From your attachment it looks as if there was another full backup that was done between the full backup that you did and the first 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: Restore - too recent to apply to the database?

    oliver.morris (10/20/2008)


    Adi,

    Thanks for your reply. Over the weekend I tried to restore the database, I wanted to restore it to say a couple of hours earlier so I clicked 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: Restore - too recent to apply to the database?

    oliver.morris (10/20/2008)


    The error I reported was from when I tried to restore yesterday which is why the numbers are not the same as the ones above. I will try to...

    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 - 43,636 through 43,650 (of 49,552 total)