Forum Replies Created

Viewing 15 posts - 4,666 through 4,680 (of 5,841 total)

  • RE: query running now for over 3 hours

    A spid can show as blocking itself - a 'feature' added in SQL 2005. IIRC it happens when a block of memory is latched and it blocks continued execution...

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

  • RE: Date functions causing queries to take longer

    I would calculate the date you need with that math first and put it into a variable and use that. You will also need an OPTION RECOMPILE to ensure...

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

  • RE: Queuing, locking and synchronization in sql server 2005

    All of the locking and such will be automatically handled by sql server. Indexing will be key to efficient delete of the maintable rows, which will be critical to...

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

  • RE: GUID or Int is the best for primary key columns?

    Where possible (which is the vast majority of the cases even if you need uniqueness across multiple machines - just use a compound key) I recommend to my clients that...

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

  • RE: Can lots of User Connections cause high CPU use

    >>How I wish there was a sp_configure GO_MUCH_FASTER 1 setting to play with.

    This configuration exists - and is known as hiring TheSQLGuru to give your system a performance review. ...

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

  • RE: 4 table join on a linked server taking too long... Is there a best practice in this sitch?

    Depending on the size of the data, copying it all local and then doing the query could be significantly faster. This is especially true if you can restrict the...

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

  • RE: Slow performance

    jvElecenter (7/1/2009)


    Hi there

    I know I give few info and I am asking a lot.

    We are not running big queries. There are no deadlocks.

    Database is running on disk, transaction log is...

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

  • RE: instant file initialization

    +1 to Gail's comment about zeroing out large files.

    Also, you stated 10TB of SATA drives - that is going to suck for performance. SATA drives are not nearly as...

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

  • RE: instant file initialization

    I agree with the others re IFI - if ultra-high security isn't a requirement I advise my clients to enable it.

    I have had some clients on NetApp SAN's for SQL...

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

  • RE: Indexes with Include

    >> negative faith

    New term - I think I may like it! Although perhaps antifaith could be better. 🙂

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

  • RE: Indexes with Include

    1) I would imagine (hope) that the optimizer would choose the 'most-compact' covering index in the case where multiple indexes cover a query.

    2) DTA and the missing index subsystem really...

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

  • RE: HOW TO OPTIMEZES THE QUERY

    1) forums such as this are for targeted, short problems where people that are volunteering their time can provide a solution in a matter of minutes. What you posted...

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

  • RE: REBUILD INDEX DOES NOT REMOVE FRAGMENTATION

    1) IIRC, Microsoft's recommendation is to not even bother defragging tables with less than 1000 pages

    2) For sizeable tables, if you don't have sufficient free space in the database of...

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

  • RE: SORT_IN_TEMPDB index option

    Pretty poor that this value ISN'T stored and reused if you ask me - or even if you don't!! 😛

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

  • RE: 9 Things to Do When You Inherit a Database

    tom.groszko (6/22/2009)


    You said nothing about checking security. I still find SQL servers with a default blank password. Everybody who ever worked there has full access to the server.

    Tom Groszko

    'Fixing' security...

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

Viewing 15 posts - 4,666 through 4,680 (of 5,841 total)