Forum Replies Created

Viewing 15 posts - 1,906 through 1,920 (of 5,841 total)

  • RE: Need help

    No problem is a good problem to have!! 😀

    My guess is the log reuse is simply because you have log shipping enabled and are getting a fair amount of activity...

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

  • RE: Need help

    crazy4sql (7/7/2014)


    Thanks Kevin, for taking time to look into this.

    1) I would use things like dbcc sqlperf(logspace) to see the size and percent full of each database's tlog.

    All...

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

  • RE: SQLServer2012 Locking

    neltonk (7/7/2014)


    Hi I have modified the query as directed. The filters in the query are on the columns that are part of the clustered index (primary key) so I am...

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

  • RE: Need help

    crazy4sql (7/6/2014)


    I have a sql server where alwayson is configured between the instances. Recently we migrated a database here which is very small of 500mb but it started blotting waits....

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

  • RE: Stored Procedure Performance

    If I added everything I wanted to my Common TSQL Mistakes talk it would be about 327 hours long!! 🙂 Actually I did give the talk on a webex...

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

  • RE: Mysterious deadlocks on a heap table

    Eirikur Eiriksson (7/5/2014)


    I've come across this problem few times in the recent past and found that Implicit conversion from CHAR/VARCHAR to NCHAR/NVARCHAR and vice versa, will cause Index Scans which...

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

  • RE: Poor performance - SQL server 2012 standard edition

    1) There are about a bajillion things that could be at play here.

    2)

    cost threshold for parallelism to 0.

    THAT is a WAY WAY WAY bad thing to do!!!...

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

  • RE: Mysterious deadlocks on a heap table

    Mark down my vote for a clustered index too - with appropriate fill factor as mentioned. Token is looking VERY much like something that will have values spread throughout...

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

  • RE: Need help with backup statement for a SQL Server 6.5 instance

    Tim Cullen (7/3/2014)


    Disregard-I finally found it. Here's a sample statement:

    DUMP DATABASE model

    TO DISK = '\\[SERVERNAME]\[FOLDERLOCATION]\model_test.BAK'

    WITH INIT

    You may want to set up a "device" to backup to.

    NOTE: you MUST...

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

  • RE: SQLServer2012 Locking

    1) You simply MUST fix the IS NULL OR construct - and do so EVERYWHERE you have it in your code.

    2) On the whole I would say that...

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

  • RE: Select query error

    ALERT!!!! You should NEVER use sp_MSforeachdb!!! http://sqlblog.com/blogs/aaron_bertrand/archive/2010/12/29/a-more-reliable-and-more-flexible-sp-msforeachdb.aspx

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

  • RE: Identifying specific blocker SQL stmt when it is part of an explicit tran

    I wouldn't be surprised to see that sp_WhoIsActive has all the relevant information from that post exposed. @get_full_inner_text, @get_outer_command, @get_locks, @get_additional_info, @find_block_leaders, @get_transaction_info. But if you have another solution...

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

  • RE: TSQL Short-circuit

    ScottPletcher (7/2/2014)


    TheSQLGuru (7/1/2014)

    Very few things in SQL Server land can/will short-circuit.

    I think that's over-stated. Most optimizers will short-circuit when they safely can. Presumably later versions of the...

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

  • RE: Performance Tuning Methodology

    Grant Fritchey (7/2/2014)


    Lynn Pettis (7/2/2014)


    TheSQLGuru (7/2/2014)


    Users - BAHHH!!! Who needs 'em?!? 😀

    Yea, our databases would perform so much better without them! :w00t:

    And the queries would run even faster if...

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

  • RE: Identifying specific blocker SQL stmt when it is part of an explicit tran

    Try sp_whoisactive. Be sure to look at all of it's parameters. INCREDIBLY powerful, and FREE!! Find it on SQLBlog.com, including a 30-day blog post series by creator...

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

Viewing 15 posts - 1,906 through 1,920 (of 5,841 total)