Forum Replies Created

Viewing 15 posts - 12,766 through 12,780 (of 49,552 total)

  • RE: Statistics DDL

    Could you be a little more specific as to what you're looking 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: Queries that cause full scan table

    That query will do part of the work. It'll pick up table scans only on tables that don't have a clustered index, i.e. heaps. For tables that do have 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: Questions on Index Rebuilding (not reorganize)

    chewychewy (6/13/2013)


    recently just for test purpose, i actually rebuild a db woth of 100 GB indexes.

    But only used up 16GB transaction log.

    The database was in simple or bulk-logged 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: Questions on Index Rebuilding (not reorganize)

    chewychewy (6/13/2013)


    But Does it really need 150 GB of transaction log size to do the rebuild?

    Probably more than 150. 200 or 250 to be safe.

    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 with Plan Cache Query

    UncleBoris (6/13/2013)


    Out of curiosity -- what does this line "WHERE st.objectid IS NULL" do?

    Filters out rows in the statement text that have object IDs and database IDs, ie...

    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 with stored procedure tuning.

    Union all usually one of the most efficient ways of concatenating result sets. The alternative to LEFT functions is usually to not use the function at all.

    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: Fragmented pages in tables not changing

    Got a shrink operation running, automatic or manual?

    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 a database using a SAN snapshot

    You can do that, in any version of SQL. If you do it and then try to restore logs you'll get an LSN mismatch error and the restore will fail.

    Once...

    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: Phase of Recovery (Log Shipping)

    Same as any other database, roll forward then roll back. With a log shipped database the roll back portion is only done when recovering the database, the roll forward 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: Are the posted questions getting worse?

    nm

    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: "Date Modifed" not changing in ReportServer.mdf file

    Ignore the file modification dates for SQL Server database files. They're not updated every single time a change is made to the DB, that would be useless overhead.

    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 with Plan Cache Query

    It still has a different top, different where, different select list and a different order to the OP's queries.

    Boris, try this, it should be a combination of your two. 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: variable with multiple values from SP

    Post the procedure. It probably just needs a small tweak and not any temp tables.

    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 with Plan Cache Query

    You might want to edit that query, as it has filters and sorting that was no where in either of the queries the OP posted. It's a query on those...

    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 Engine Tuning Advisor

    basavarajyn (6/13/2013)


    When I ran Database Engine Tuning Advisor, it suggests to create a non-clustered index on the column where a clustered index is already present.

    Can somebody give me some...

    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,766 through 12,780 (of 49,552 total)