Forum Replies Created

Viewing 15 posts - 4,051 through 4,065 (of 5,841 total)

  • RE: Avg.Disk Queue length

    MANU-J. (4/8/2010)


    Queuing isn't the best indicator, but Avg Disk Sec/Read and Avg Disk Sec/Write could be used.

    Usual recommendations for those counters are 10-50ms.

    MJ

    I posted that 6 hours ago....

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: How to improve this sp performance? Thanks.

    1) the function could be a big problem here. Not sure of the code for it

    2) I doubt the index on your temp table is helpful

    3) why use a...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Avg.Disk Queue length

    see my other post on a similar thread as this. ADQL is useless, use avg disk sec/read and /write. Or the sys.dm_io_virtual_file_stats DMV - even better.

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: more than 250 indexes on a table

    CirquedeSQLeil (4/7/2010)


    I would focus your time on the indexes and not so much the statistics. Tune your indexes and combine them where appropriate.

    In 2000 there is also no script...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Calculating Avg.Disk Queue length when the storage is on SAN

    ADQL is completely useless as a disk performance metric in the modern age. Use avg disk sec/read and avg disk sec/write instead. Even better, use the SQL Server...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Creating Indices on Temp Tables from Stored Procedures

    CirquedeSQLeil (4/7/2010)


    TheSQLGuru (4/7/2010)


    Paul White NZ (4/7/2010)


    TheSQLGuru (4/7/2010)


    BAH!! I don't need no stinkin' TESTS!! I KNOW my code will run faster than my client's did!!! :w00t: 😀 😎

    Superb.

    And...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Creating Indices on Temp Tables from Stored Procedures

    Paul White NZ (4/7/2010)


    TheSQLGuru (4/7/2010)


    BAH!! I don't need no stinkin' TESTS!! I KNOW my code will run faster than my client's did!!! :w00t: 😀 😎

    Superb.

    And before someone...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Creating Indices on Temp Tables from Stored Procedures

    Jeff Moden (4/7/2010)


    kramaswamy (4/6/2010)


    I think that it could be an interesting summer job for an intern,...

    Heh... summer intern evaluating code for performance problems. I believe that probably won't...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Getting decent sql server performance despite a slow drive

    Marts (4/6/2010)


    Not just you 😉 I keep looking at those orphaned files and want to move them.

    When I created the new expandable log files, I created two per database that...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Getting decent sql server performance despite a slow drive

    If the primary is empty then it doesn't matter where it is. 🙂 Just avoid putting things there to avoid fragmentation as it grows back out.

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Creating Indices on Temp Tables from Stored Procedures

    Good points. In my experience, existing database-hitting code is generally only revisited for 3 reasons:

    1) fix a bug

    2) add a feature

    3) performance becomes unacceptable.

    #3...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Getting decent sql server performance despite a slow drive

    That's what I get for trying to rush out a few posts before taking my daughter to school - missed several points! Thanks for clarifications Paul. 🙂

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Getting decent sql server performance despite a slow drive

    Marts (4/6/2010)


    I can check with my IT guy to see if something can be arranged. Does the tempdb storage need to be quick, or just seperated from other stuff?

    Hmm chkdsk...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Getting decent sql server performance despite a slow drive

    Paul White NZ (4/6/2010)


    Marts (4/5/2010)


    On our current setup without any modifications, I could move the logs and/or the tempdb to the system drive (raid 1), away from the data files....

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Getting decent sql server performance despite a slow drive

    Jeff Moden (4/5/2010)


    Marts (4/5/2010)


    There were a bunch of triggers that used cursors eeep, I changed them to use while loops at least,

    Stop. It's a waste of time to do...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

Viewing 15 posts - 4,051 through 4,065 (of 5,841 total)