Forum Replies Created

Viewing 15 posts - 886 through 900 (of 5,841 total)

  • RE: question on indexes

    Phil Parkin (7/13/2016)


    muth_51 (7/13/2016)


    Table has cluster index with default setting fill factor. The table has around 15 indexes including clustered. I just went through all indexes and some are set...

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

  • RE: TempDB Keeps Filling Up After Log Truncation

    Glad you found a root cause, and were smart enough to look for other similar situations!

    Sounds like a use case for http://www.red-gate.com/products/dlm/dlm-dashboard/ :w00t:

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

  • RE: question on indexes

    Does this table have a clustered index or not? Can you provide the full create table script for the table (including all indexes)?

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

  • RE: A problem of concurrency on a small table

    One thing you kind of have control over is indexing. If a FK'd table is being updated and that is locking your other table and the update is doing a...

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

  • RE: Tempdb datafiles is getting full and not able shrink

    1) What build of 2014 are you on?

    2) Version store is in play. Did you add in Always On by any chance? Was some form of snapshot isolation used in...

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

  • RE: A problem of concurrency on a small table

    1) Please provide the FULL definitions of the table. All indexes, data types, etc. included.

    2) It is possible that the app (which you don't have control over) is simply...

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

  • RE: Sequence generation

    Alan.B (7/12/2016)


    TheSQLGuru (7/12/2016)


    Alan: your PK breaks inserts of >1 row with the same datetime value, which is going to happen both with multi-row batch inserts as well as concurrent access...

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

  • RE: SQL Prove Memory Pressure - High Buffer Cache Hit Ratio but Low Page Life Expectancy

    sqld-_-ba (7/12/2016)


    @RVarn , there is no external pressure . this is a SQL-only box (no apps), with 32GB ram on OS and 28GB max mem for SQL

    There is no 'internal...

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

  • RE: Sequence generation

    Jeff: I would almost never want to pay the cost to do a SORT/ROW_NUMBER() in SQL Server to present that data. That is cost that just keeps on hitting you...

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

  • RE: SQL Prove Memory Pressure - High Buffer Cache Hit Ratio but Low Page Life Expectancy

    sqld-_-ba (7/12/2016)


    Our production server (VM + SAN) has 32 GB of RAM, the database size is ~80GB. The application uses TempDB heavily - disk is hit ~100 MBps both reads...

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

  • RE: TempDB Keeps Filling Up After Log Truncation

    chris_barnhart (7/12/2016)


    Thanks for the advice...we have a contractor on the way, but not until Monday.

    Need a different consultant in the short-term then, IMNSHO! 😎

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

  • RE: TempDB Keeps Filling Up After Log Truncation

    1) Since systems are being taken offline and jobs are failing I STRONGLY urge you to get a professional consultant on board to stop the bleeding and get the trains...

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

  • RE: Sequence generation

    Note that you only need the ROW_NUMBER() stuff if you are inserting multiple rows in one batch. If you are like almost all of the clients I come across and...

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

  • RE: Sequence generation

    I don't know of an "automated" way to do this - i.e. a system or generated thing that will handle this for you. Number 1 is easy - you simply...

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

  • RE: SQL Server Latches and indication of performance issues

    1) Latches are rarely a true source of performance problems on SQL Server and outside of PFS/SGAM tempdb allocation issues and perhaps a few other circumstances they tend to be...

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

Viewing 15 posts - 886 through 900 (of 5,841 total)