Forum Replies Created

Viewing 15 posts - 28,801 through 28,815 (of 49,552 total)

  • RE: Primary Key Index and Primary Key with Clustered Index

    Please post your question in a new thread and include the query, table definitions, index definitions and execution plan.

    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: Replicating and Recovery Model

    Pei Zhu-415513 (12/20/2010)


    If the database is simple/or bulk logged database, will the minimally logged activities such as rebuild indexes be replicated to subscribers?

    Those aren't replicated regardless of the recovery model.

    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: variable assignment degrades performance

    vino5786 (12/20/2010)


    through stored procedures...

    Then there's no problem here. When you put this into a stored proc, make those parameters of the proc and you'll get the same behaviour as 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: Backup job failed

    gmamata7 (12/20/2010)


    The database is backing up to local disk (clustered disk) only. But the job step requires the backup path should be in the format of network share.

    What are 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: Adding Files to Tempdb

    Look up ALTER DATABASE. It's done the same as for any user databases.

    p.s. typically secondary data files have the .ndf extension, not .mdf. That's just convention though.

    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: variable assignment degrades performance

    How is this query getting called from your front end application?

    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: updating a column

    The Row_Number function will do what you want. First write a select that returns the data you what, then use that in the from clause of the update.

    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: Backup job failed

    Probably a temporary network glitch. SQL won't retry if the network drops. That's one reason the usual recommendation is to backup locally then copy the backup files across the network....

    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: Principal databases in "In Recovery" mode

    Did someone restart the principal? In recovery means SQL's doing crash recovery on the database, it shouldn't take long in most cases. Check the SQL error log for any messages...

    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 dirty pages to checkpoints really write ?

    Low Rider (12/19/2010)


    Now looking at the second line what exactly is the kind of data is being written to the disk withouth 1st going to the t-log.

    None. No dirty data...

    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: Health insurance Medical insurance Illinois health insurance

    Spam. Reported. No replies please.

    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 Wait Time

    That command clears the sys.dm_os_wait_stats DMV. It does not clear the current waits in sys.dm_exec_requests.

    You haven't said, but I'm willing to guess those are system processes, hence ones 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: Replicating and Recovery Model

    http://sqlinthewild.co.za/index.php/2008/12/05/a-new-sql-myth/

    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: sort only database table

    Don't understand what you're asking. Please clarify.

    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 2005 Performance Issues, Checklist to follow and implement?

    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

Viewing 15 posts - 28,801 through 28,815 (of 49,552 total)