Forum Replies Created

Viewing 15 posts - 4,171 through 4,185 (of 5,841 total)

  • RE: RAM utilization on sql server

    You need lots more RAM and probably much faster IO. Do you really have just one disk for this??

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

  • RE: Mirroring Plan not sure will work

    Mirroring, and HA/DR in general, are very advanced and complex topics. I highly recommend you get a professional in to ensure you a) understand what your objectives really are...

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

  • RE: Performance problems, perhaps disk, associated with PAGEIOLATCH_SH

    You can go back and forth here on the forum for days or even weeks trying to isolate/fix the various and sundry causes of problems. Or you can hire...

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

  • RE: Performance problems, perhaps disk, associated with PAGEIOLATCH_SH

    without a lot more information you don't have enough spindles. 42ms/io isn't good for an OLTP system and is marginal for olap.

    you might be able to tune poorly performing...

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

  • RE: Dealing with a large number of columns

    How about stop doing count and simply do exists.

    Not sure why you would need the views to make that efficient...

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

  • RE: Deleting records from a huge table

    I agree that it would seem that SELECT/INTO is troublesome for getting consistent data but so would any SELECT unless WITH(TABLOCK) were used.

    That doesn't sound right. I thought SELECT...

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

  • RE: Deleting records from a huge table

    Jeff, here was my test:

    MMREFW21099: fat table, no indexes, 72667 rows

    CompanyID: column on that table with 48 rows with value '20067255'

    with clean buffer cache I had 2 window open...

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

  • RE: Deleting records from a huge table

    mar1jxm (2/11/2010)


    Here is what we do with our huge tables.

    Select *

    INTO Table2

    FROM TABLE1

    WHERE YourStatement (something like Account_Start_Date < '01/01/1980'

    Drop table Table1

    EXEC sp_rename 'Table2', 'Table1'

    Runs much faster than Delete because there...

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

  • RE: Deleting records from a huge table

    1) create smallest index necessary to cover your where clause. If you have lots of fields in the where clause, pick a small column or two that provide the...

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

  • RE: Forecasting with SQL

    sknox (2/9/2010)


    Martin Vrieze (2/9/2010)


    When these forecasting tools are used to base critical business decisions that impact people's lives and livelihoods, PLEASE be sure and leave this type of work to...

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

  • RE: How to tuning large queries

    seppalapalli (2/6/2010)


    Hi,

    I need to execute a query but it takes lot of time to execute.

    How can i decrease the exceution time.

    Let me remote...

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

  • RE: Need help with performance problems

    rohdester (2/6/2010)


    We have a SQL 2005 instance running on a dedicated server. And the last week or so we have experienced huge performance problems. Our web requests have piled up...

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

  • RE: Stored Procedure

    I wonder if the OP realizes that he/she is open to still putting in a record that already exists without proper transactioning/locking, especially if they do it in a disconnected...

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

  • RE: Query is timing out :( help plz

    You posted over 150 lines of stuff in the original post. Forums are useful for helping out with targeted, fairly straight forward/simple problems and are 'worked' by people who...

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

  • RE: How to eliminate a cursor

    colin.Leversuch-Roberts (2/4/2010)


    I think that sometimes the desire to achieve a goal masks the requirement. I've seen many hours spent trying to replace cursor statements on pieces of code which run...

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

Viewing 15 posts - 4,171 through 4,185 (of 5,841 total)