Forum Replies Created

Viewing 15 posts - 2,251 through 2,265 (of 5,841 total)

  • RE: varchar to int scenario

    Read my comment - it says why. I didn't want you trying to bring back a billion rows and crashing the machine you were running the query from. ...

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

  • RE: varchar to int scenario

    sqlguy-736318 (1/12/2014)


    I have an incident table with a column named ticketnumber. Ticketnumber has a varchar data type but I want to select the rows that have a ticketnumber int...

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

  • RE: SQL Server Troubleshooting

    PrometheusRising (1/10/2014)


    All of us have probably encountered generic error messages while looking through the SQL Server logs. I was wondering if anyone had written, in a single white paper,...

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

  • RE: Query slows down by a factor of 250 to 450 when increasing maximum server memory setting

    1) Have you done a wait stats and file IO stall analyses during both sets of runs?

    2) Do you have vCPU Hot Plug enabled in VMware?

    3) Reference this to check...

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

  • RE: Huge Exception Log

    Read up on sp_cycle_errorlog in BOL and see if it will help you here.

    There are unix-type tools out there you can run on windows that will allow you to take...

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

  • RE: Measuring Page Life Expectancy

    PLE is not a very useful metric on modern hardware. And the 5 minute guideline is exceptionally inappropriate these days. I would look elsewhere for your baselining/tuning needs.

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

  • RE: Strange Query Optimizer Behavior

    I had totally forgotten about the fact that you cannot change the query code. With that limitation, combined with the fact that the queries can use a wide array...

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

  • RE: Multiple instances tempDB on the same local disk in sql2012 cluster

    I didn't verify the statement that this IS available in SQL 2012, but if it turns out to not be I do know there has been an (unsupported) workaround for...

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

  • RE: Strange Query Optimizer Behavior

    Ernest Libertucci (1/8/2014)


    Actual plans.

    Looks like this is just cost-based optimization, which is interesting but somewhat surprising.

    1) It is the 15% mismatch between estimated and actual rows that is getting you...

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

  • RE: Strange Query Optimizer Behavior

    1) 68GB is pretty damn fat for just 200M+ rows!!

    2) Those are estimated plans. Not helpful for what I need to see. Can you provide actuals?

    3)...

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

  • RE: Meomory

    How are you determining that SQL Server is not using all the memory you think it should be using?

    Run DBCC memorystatus and search online for the documentation for...

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

  • RE: Strange Query Optimizer Behavior

    Backend is EMC SAN so I'd be surprised if IO is the issue, although it is reading a good amount of data (each test query returns several million rows into...

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

  • RE: Strange Query Optimizer Behavior

    1) Please post sample actual queries for both.

    2) Please attach actual query plans for both too.

    3) 3 minutes to scan 200M rows is HORRIBLE performance, even if the...

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

  • RE: Package runs fine in BIDS but fails through agent

    So the migrated package runs fine in 2012 BIDS? Or the pre-migrated 2008R2 package runs fine in 2008R2 BIDS?

    Is that the full error message?

    What are you validation...

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

  • RE: TEMPDB in sqlserver 2012

    Suresh.. (1/7/2014)


    How can I clear the used space for TEMPDB database in sql server 2012 w/o restarting the sql service and w/o shrinking it.

    Currently my tempDB is 20 GB in...

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

Viewing 15 posts - 2,251 through 2,265 (of 5,841 total)