Forum Replies Created

Viewing 15 posts - 4,846 through 4,860 (of 5,841 total)

  • RE: Shifting TEMPDB database to another folder in same server.

    Well, some manuals (especially these days) aren't very good. But the 'softies really did a nice job with SQL Server's BOL! Most people don't know that. I...

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

  • RE: Partitining an existing table

    1) As someone else mentioned, partitioning IS and advanced topic. You really should get a a professional to assist you in this endeavour.

    2) It is possible that...

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

  • RE: Shifting TEMPDB database to another folder in same server.

    I post this for the benefit of others who may search the forums: PLEASE check Books Online before posting questions! It is a WONDERFUL resource! I put...

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

  • RE: FILLFACTORS OF INDEXES

    Peso (12/17/2008)


    It depends on what you are indexing, of course.

    A primary key can have 100% since all records are unique.

    An IDENTITY can also have 100% since the values are sequential.

    An...

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

  • RE: Context Switches/sec

    1) what else is running on the server?

    2) what is maxdop setting at the sql server level and are you seeing a lot of parallel queries?

    3) Have you run track_waitstats_2005?...

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

  • RE: Useful Dates: The Many Uses of Date Tables

    I had zoned out when I posted that this date table is more granular than day. :hehe:

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

  • RE: Useful Dates: The Many Uses of Date Tables

    CheeseMan316 (12/17/2008)


    mike.byrnes (12/17/2008)


    If my calculations are correct, then if each year took 5Mb then 200 years would be 1 Gb worth of data, not 100Mb.

    I guess I was incorrect that...

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

  • RE: Useful Dates: The Many Uses of Date Tables

    Jeff, I am very interested in your findings! Perhaps this is one of those "step outside the box" situations where we all come out with something very useful and...

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

  • RE: interpreting and resolving issues related to high number of logical reads

    Could be worth a try to run the query using the OPTION (RECOMPILE) directive on production to see if it changed the plan.

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

  • RE: interpreting and resolving issues related to high number of logical reads

    Are you 100% certain that all objects involved in the query are 100% identical?

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

  • RE: Certain Number of rows before SQL will use an index ?

    Thanks for the repro Gail! Clearly either my memory is faulty (wouldn't be the first time and it seems to be happening more and more since the birth of...

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

  • RE: Certain Number of rows before SQL will use an index ?

    GilaMonster (12/9/2008)


    TheSQLGuru (12/9/2008)


    Ballpark the optimizer will switch to scan when it estimates you are asking for somewhere between 8 and 15% of the total number of rows in the table.

    Depends...

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

  • RE: Certain Number of rows before SQL will use an index ?

    The optimizer is cost-based. An index seek/bookmark lookup of a given depth takes X cost per row. A table (or clustered-index range) scan takes Y cost per page....

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

  • RE: Certain Number of rows before SQL will use an index ?

    lookup the INDEX= hint for the FROM clause in BOL. You can force a query to use a particular index. Now you can compare the query cost (show...

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

  • RE: auto locking

    Lav, based on the nature of the questions you are asking I highly recommend you read a book or two on SQL Server 2005 development before continuing with your project....

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

Viewing 15 posts - 4,846 through 4,860 (of 5,841 total)