Forum Replies Created

Viewing 15 posts - 24,241 through 24,255 (of 49,552 total)

  • RE: Non clustered index not getting used for sorting on a large SQL 2005 table.

    Table definition (create table statement), index definitions (create index) and execution plan 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: Passed 70-448!

    ajit_padhan (8/11/2011)


    Could you please fwd if you have any dumps of 70-448. If so it would be great if you can send the doc to my apadhan@rediffmail.com id.

    Dumps are cheating....

    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: Can I move sorting and avoid Order By with Clustered Index on an empty table?

    drew.georgopulos (8/10/2011)


    thanks very much

    i was trying to avoid the overhead i thought i saw in the execution plan, but something you said piqued my curiosity:

    could it be possible 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
  • RE: log growth

    If the data file has enough free space in it to accommodate the new data, it won't have to grow. Since you say the mdf is larger than the ldf,...

    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: Estimating LDF file size

    No.

    Please go and read the article that I linked for you over at SQL Team.

    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: NOLOCK due to data movement

    With a read only database no locks are taken anyway.

    Please run this and post the results.

    DBCC CHECKDB (<Database Name>) WITH NO_INFOMSGS, ALL_ERRORMSGS

    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: Can I move sorting and avoid Order By with Clustered Index on an empty table?

    You can't depend on a clustered index to return data in a specific order without the order by. With the order by and the index, SQL will be able 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
  • RE: online = on index option

    Ninja's_RGR'us (8/10/2011)


    Ok, building a table... I just thought this would make a darn good point in the conversation for people reading this thread :Whistling:

    It's 10pm here. Not doing any...

    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: online = on index option

    Ninja's_RGR'us (8/10/2011)


    ...and which one does auto_update stats run?

    None of them. All of those are manual stats updates

    As for 'which behaviour does auto update have', well, is the SQL Server there...

    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 Differential without Full Backup

    What happened to the full backups? A differential backup cannot have run unless a full had already run, so there must be one somewhere.

    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 Differential without Full Backup

    A restore sequence must always start with a full backup. All the differential has is the extents modified since the full. It's not restorable on its own.

    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: Yeah! my first real corrupt DB

    Ninja's_RGR'us (8/10/2011)


    Paul Randal (8/9/2011)


    There are hundreds of cases I didn't talk about in that presentation - but glad you liked it!

    Sounds like memory corruption of a log block changing 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: Getting current date as part of an Stored Procedure

    Err, dunno, what are you trying to calculate?

    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: online = on index option

    Ninja's_RGR'us (8/10/2011)


    sp_updatestats AND updatestats X keep the current sampling rate

    UPDATE STATISTICS TestingRangeQueries idx_TestingStats WITH SAMPLE 50 PERCENT

    DBCC SHOW_STATISTICS(TestingRangeQueries, idx_TestingStats) WITH STAT_HEADER

    -- Rows = 1000000, Rows Sampled = 498191. Close...

    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: Getting current date as part of an Stored Procedure

    doug 40899 (8/10/2011)


    Ok so I was told just a moment ago that both hour and minute would need to be included in my SP. What's the syntax for that?

    With 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

Viewing 15 posts - 24,241 through 24,255 (of 49,552 total)