Forum Replies Created

Viewing 15 posts - 4,561 through 4,575 (of 5,841 total)

  • RE: Query speed and server memory

    1) did you check to make sure that no agent jobs were running, like backups, checkdb, index maint, etc?

    2) what else was happening on the server? on the IO...

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

  • RE: OPTION (Max Recursion)

    to the OP: if you DO test your system out on SQL 2008 with HierarchyIDs, please post back (or even better write an article) about the experience, performance, etc....

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

  • RE: High % Disk Time but low Avg. Disk Queue Length

    I am also running a load through DTA as I believe there to be a bunch of missing indexes.

    do NOT just accept what the DTA gives you and move on....

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

  • RE: Database Engine Tuning Advisor - Odd Results - Any Ideas On How To Fix?

    >>There has to be a better way.

    not sure why you think that. Actually there is a better way - a knowledgeable and experienced tuner doing his/her job. The...

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

  • RE: Query execution speed half on anything other than x5570 core 0

    I second the priority boost comment. I also note max memory is defaulted - not best practice, but likely not a culprit here.

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

  • RE: Unique Index Causing Slow Read Performance

    >>but change this one index and it all goes down the gurgler for no apparent reason.

    Maybe it simply isn't apparent to you. You have changed the information and options...

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

  • RE: How To Get Table Row Counts Quickly And Painlessly

    SQLRocker (9/4/2009)


    SSMS 2008 does a good job in displaying the row count next to the table itself.

    DBArtisan has been doing this for about a decade now, but it is the...

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

  • RE: How To Get Table Row Counts Quickly And Painlessly

    Paul White (9/4/2009)


    I think Peter may be working his way through from post #1!

    :laugh:

    edit: "ORDER BY 1" :sick:

    HAH!! 😎

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

  • RE: How To Get Table Row Counts Quickly And Painlessly

    select count(*) from #mytemptable 😀

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

  • RE: Strange Process Wait on a small table for a Select statement

    Per this document (which is the BIBLE for performance tuning) "SQL Server 2005 Waits and Queues SQL Server Best Practices Article", LCK_M_S means:

    "Occurs when a task is waiting to acquire...

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

  • RE: Unique Index Causing Slow Read Performance

    1) it doesn't have to be a bug if the optimizer for 2000 derives a suboptimal query plan for a complex query involving 15 tables in a mishmash of views....

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

  • RE: User Defined Date Function

    Dave Ballantyne (9/1/2009)


    john.imossi (9/1/2009)

    This runs but it returns no data, I'm surprised it will run at all to be hoenst. When I used to create something similar to this...

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

  • RE: Stored Procedure performing a lot slower than TSQL

    Try dynamic sql in the sproc. That will get you hard-coded values for every execution just like if you ran it in SSMS window with explicit values. You...

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

  • RE: Query execution speed half on anything other than x5570 core 0

    1) check the sql log just after startup for NUMA messages. If you don't see them then it isn't doing it I think, at least soft numa. I...

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

  • RE: Strange Process Wait on a small table for a Select statement

    1) what is the transaction isolation level of both connections?

    2) recall that dbcc inputbuffer only shows the LAST executed command - there could well be previous commands in the same...

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

Viewing 15 posts - 4,561 through 4,575 (of 5,841 total)