Forum Replies Created

Viewing 15 posts - 37,621 through 37,635 (of 49,552 total)

  • RE: Another query running badly on SSC

    Mel, can you try rebuilding that index, see if it makes a difference.

    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 Maintance Plan Optimization Option and Integrity Option

    I didn't mean on your production server. Do it on a dev/test machine. Do it on a local installation of SQL if you have one.

    There are standard command that are...

    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 select a column named 'Key'?

    SELECT FROM SomeTable

    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?

    Oh this is fun....

    Got back from shopping, booted my computer and SQL wouldn't start. Checked the error log.

    The log scan number (47:112:1) passed to log scan in database 'model' 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: Convert inner join to SQL Subquery

    Lowell (7/15/2009)


    there's a lot of inner joins...which part do you weant to change into a subquery?

    and why?

    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: Another query running badly on SSC

    I'm not normally a fan of hints, but what happens if you force that index?

    SELECT *

    FROM dbo.EmailRecipients er WITH (INDEX= SSC_SentDate)

    INNER JOIN Emails e ON er.EmailID = e.EmailID

    WHERE er.SentDate 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: Database Maintance Plan Optimization Option and Integrity Option

    Why don't you use profiler? Start a trace and then run the maint plan jobs. The trace will show you exactly what they're doing.

    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: Unable to Shrink Log file

    Do you have any transactional replication configured?

    Can you run DBCC OPENTRAN and post the results?

    The distribution DB doesn't appear to have a problem with the log, just AX30_SP6_LIVE

    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

    Krasavita (7/15/2009)


    How, do you know that?

    How do I know what?

    The database integrity task is a DBCC CheckDB, so it will detect any torn pages, among other corruptions if present.

    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: Help us tune a query

    Jeff Moden (7/15/2009)


    GilaMonster (7/15/2009)


    Jeff Moden (7/14/2009)


    Something else is going on as well. Look at the difference in durations on your machine compared to mine.

    Look at the difference...

    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 mirroring

    susan.susan28 (7/15/2009)


    Yes i need sysnchronous without witness but when the principal is down how the mirror side we can make as principal and accessible to the application.Becuase when i stop...

    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 mirroring

    Asynchronous mirroring is only available on Enterprise edition. So on Standard your only option is synchronous with witness or synchronous without witness.

    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: Help us tune a query

    Mel Harbour (7/15/2009)


    Note that I've adjusted the forum setup to avoid having to zip up these sqlplans.

    Excellent. Thank you for that.

    I'll look over this and suggest any possible...

    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 mirroring

    You cannot do auto-failover without a witness 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: database mirroring

    susan.susan28 (7/15/2009)


    I am trying to setup database mirroring.Mirroring started and manual failover is possible.but when i shutdown the principal server ,mirror server is not changing to principal.

    Which mode do 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

Viewing 15 posts - 37,621 through 37,635 (of 49,552 total)