Forum Replies Created

Viewing 15 posts - 1,486 through 1,500 (of 5,841 total)

  • RE: Poor read-only AlwaysOn replica performance

    Innerise (7/8/2015)


    Perry - those links suggest that making the latest statistics available on a readable secondary (via the secondary replica creating and maintaining temporary statistics for secondary databases in tempdb)...

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

  • RE: HELP CONVERTING COMMA-DELIMITED COLUMN TO ROWS

    http://www.sqlservercentral.com/articles/Tally+Table/72993/

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

  • RE: Poor read-only AlwaysOn replica performance

    Innerise (7/7/2015)


    Hi All

    We have a 2-node SQL Server 2012 AlwaysOn setup, in synchronous mode with readable replica databases. We have a particular reporting query that we're running against one of...

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

  • RE: Argument daily transaction log shrink

    Her process is patently ridiculous. Period. She should be working to find/correct the "cause" of the "huge" tlogs. But if they get large for a given reason that is valid...

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

  • RE: Stored Procedure with interesting behavior

    a4apple (7/6/2015)


    Hello everyone,

    I have a stored procedure which is nested. I have local variables defined to avoid parameter sniffing in both the procedures too.

    Proc A calls PROC B, PROC C,...

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

  • RE: failing on update w/ unique index error. but the index in the error is not unique

    Check the table trigger(s)

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

  • RE: Help with an update query

    We will be much more willing to help you if you script create table statements and inserts for us that set the data up the way you show it. That...

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

  • RE: Tuning the query for performance

    You have functions around columns in the WHERE clause. No matter what else, you can't efficient until those are removed.

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

  • RE: Migrate Logins From a Copy of the Master Database

    Very odd situation, but this script will create login scripts from existing logins in ACTUAL master. The only question is can you access the tables the script hits from a...

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

  • RE: AlwaysOn vs Mirroring

    A secondary cannot possibly have a 14-byte pointer for reading data (NULL or populated) without the primary first having such alteration made to the row. The primary MUST reflect the...

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

  • RE: AlwaysOn vs Mirroring

    snuthalapati (6/10/2015)


    What are the advantages of AO over Mirroring.I know high availability, more replicas and backup can be taken in secondary as well.

    If we have more than 100 databases on...

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

  • RE: SELECT INTO vs INSERT INTO on Columnstore

    I think you missed a VERY important type of test in your examples: 1M row inserts at a time, in discreet transactions. Please try that (primarily for the insert to...

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

  • RE: SQL server Trigger

    sql_novice_2007 (6/8/2015)


    Hi,

    I have a delete trigger on one table. When I delete a single row in this table that deleted record will be recorded to a history table.

    But sometimes my...

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

  • RE: Running totals with OVER clause

    Never thought of this way of doing it. Absolutely clever - this one goes into my bag of tricks. Love this forum - learn something new every day.

    Glad you liked...

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

  • RE: Running totals with OVER clause

    Jason A. Long (6/1/2015)


    TheSQLGuru (6/1/2015)


    Thanks for that Jason!

    No problem. Thanks for kicking me in the back side to get it done... With the data partition and the select output. 😀

    When...

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

Viewing 15 posts - 1,486 through 1,500 (of 5,841 total)