Forum Replies Created

Viewing 15 posts - 32,956 through 32,970 (of 49,552 total)

  • RE: Total of task cost of a query plan more than 100%

    It happens, as well as cases where the percentages add up to less than 100%. I forget the exact explaiantion that was given but, iirc it has to do with...

    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 restore Transaction_Log File

    You don't.

    There's no way, from the native tools, to undo changes once committed. That's what a backup is for.

    You could try a 3rd party log reader tool. They cost 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: Query runs slower in SP

    Bhuvnesh (5/11/2010)


    GilaMonster (5/11/2010)


    Does it use the nc index then join back to the cluster/heap to delete?

    You mean to say Key Lookup ?

    No, I did not. This is a delete...

    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 runs slower in SP

    kastros.george (5/11/2010)


    That was the problematic statement... I cant see how sql can generate 2 execution plans that have such huge differences in Disk reads....

    I can see a number of reasons:

    Does...

    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 runs slower in SP

    kastros.george (5/11/2010)


    Option keepplan also fixed the problem...

    No, that just hid the symptoms. If the plan had been forced out of the cache due to memory pressure, DB maint operation, schema...

    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: Hi All

    You can't with the native tools. Best you can do with the native tools is a file backup (backup of a single database file). Check the requirements and limitations on...

    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: Who will the Exceptional DBA in 2010?

    Last year I'd say about 2/3 were self-nominations. Some of them were .... um... entertaining.

    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: Performance Issue

    Please post query, table definitions, index definitions and execution plan, as per http://www.sqlservercentral.com/articles/SQLServerCentral/66909/

    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 runs slower in SP

    kastros.george (5/11/2010)


    Select * from sys.dm_db_index_physical_stats

    will show you if the index is fragmented Not the Data Pages (with the exception of course of a clustered index), isn't that right ???

    Clustered...

    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 runs slower in SP

    kastros.george (5/10/2010)


    Furthermore for a simple view (joining 2-3 tables) the execution plan will 99% of time be the same.....

    Over-generalisation. Completely depends on the view.

    Anyway the root cause of 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: High {no} availability and UPDLOCK

    Ninja's_RGR'us (5/10/2010)


    Is it possible to take a backup from production, then start a trace on prod. Then a couple hours later do a restore to test server and replay...

    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: High {no} availability and UPDLOCK

    Ninja's_RGR'us (5/10/2010)


    Do you have any articles to recommend? Written one yourself perhaps?

    No and no. Not an area that I've dived deeply into yet.

    What impact can I expect for tempdb...

    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: clustered index - non-clustered index- size?

    The clustered index is the table. If you have a table that's 10GB with a clustered index on it, you have a 10GB structure consisting of the clustered index with...

    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: High {no} availability and UPDLOCK

    Ninja's_RGR'us (5/10/2010)


    GilaMonster (5/10/2010)


    One of the snapshot isolations?

    [set beginner lvl on]

    What?

    [set beginner lvl off]

    I've read about transaction isolations but I don't know what you're asking.

    Snapshot isolation level or read committed 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: clustered index - non-clustered index- size?

    iqtedar (5/10/2010)


    i) is it that clustered indexes can only be created on primary columns?

    No. A clustered index can be created on any column other than a Lob data type...

    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 - 32,956 through 32,970 (of 49,552 total)