Forum Replies Created

Viewing 15 posts - 28,246 through 28,260 (of 49,552 total)

  • RE: not able to find objectid in execution plan

    Again, are you sure you're checking in the right database? ObjectID are database specific, profiler will pick up plans for the entire instance.

    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 on Queries for Performance

    sql_butterfly (1/22/2011)


    2. Is this correct:

    SELECT * FROM TableA

    WHERE ColA <> 64

    Think about it, if you want...

    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: Slow Performance for Table with just 600000 Row

    600 000 rows is a lot of data to read off disk and send over the network.

    Why 600 000 rows? What are you going to do with 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: Check Catalog Msg 3854...

    Do you still have the SQL 2000 DB?

    I have a feeling that this requires script, export, recreate to fix.

    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: not able to find objectid in execution plan

    Are you checking the object_id in the right database? Object_id is just to identify the procedure and, if you have the text you already know what the procedure is. It's...

    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: Execution Plans - How long will they stay?

    sqldba_icon (1/22/2011)


    No i did not, i cant clear because i am using sql 2005 edition and it will clear cache for all.

    You're testing on a dev or test 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: Are the posted questions getting worse?

    Tom.Thomson (1/22/2011)


    But, I guess someone will ask so it may as well be me, which sport is it a black belt for?

    Steve does karate iirc

    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: Execution Plans - How long will they stay?

    Did you clear the proc cache before testing? If not, the proc could have been there from earlier executions

    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 equivalent to SQL 2008

    I believe the DMVs you need are sys.database_principals and sys.role_members

    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: Foiled By SQL Azure Again

    Duplicate post. No replies to this thread please. Direct replies to:http://www.sqlservercentral.com/Forums/Topic1051921-2571-1.aspx

    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: difference between row_number and top in sql server

    Easier question would be what are the similarities, because the answer to that would be "None"

    Row number assigns sequential numbers to a column in a resultset, based on what 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: Execution Plans - How long will they stay?

    What does the usecounts column say? If it says 3 then the procedure was executed 3 times. If it says 1 then the procedure was executed 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: Execution Plans - How long will they stay?

    sqldba_icon (1/21/2011)


    My goal is to findout how many different plans are genrated for each procedure.

    One and only one. A procedure can only have one plan in cache at a time...

    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: NESTED PROCEDURE ROLLBACK

    As Gus said "If you issue a rollback command, it will roll back the WHOLE transaction, including both the nested procedure and the outer procedure." That's true regardless of where...

    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: Introduction to Indexes: Part 3 – The nonclustered index

    rik gretzinger (1/21/2011)


    I'm sorry but may be it is because I am 'old school'. I have been working with SQL Server for over 15 years. It used 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 - 28,246 through 28,260 (of 49,552 total)