Forum Replies Created

Viewing 15 posts - 901 through 915 (of 5,841 total)

  • RE: Basic Availability Group on SQL Server 2014 Standard

    paul.s.vidal (7/11/2016)


    I was researching and i find out that the mirroring offers exactly the same as oracle Dataguard.

    But also found that is going to be deprecated soon, but is still...

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

  • RE: Finding and Eliminating Duplicate or Overlapping Indexes

    Ed Pollack (7/11/2016)


    Hi Deepak,

    Those indexes are not considered overlapping/duplicate indexes as they do not share sorting functionality. For the sorting columns, order matters. The first index begins with...

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

  • RE: Finding and Eliminating Duplicate or Overlapping Indexes

    chudman (7/10/2016)


    Thanks, Kevin,

    I am not trying to be snarky or nit-picking. I am really curious. I have come across this a couple of times recently in third-party databases,...

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

  • RE: Finding and Eliminating Duplicate or Overlapping Indexes

    chudman (7/10/2016)


    This response is directed at Kevin

    I am curious how an non-clustered index that matches the clustered index could be more efficient. Can you elaborate on that,please?

    Thanks

    Jeff Bennett

    Saint Louis,...

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

  • RE: Finding and Eliminating Duplicate or Overlapping Indexes

    Important stuff in your article. Probably 75+% of the new clients I see in my consulting business have duplicate or overlapping indexes - most often created via DTA use.

    I think...

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

  • RE: Stored Procedure execution

    Raghavender (7/8/2016)


    ChrisM@Work (7/7/2016)


    Raghavender (7/7/2016)


    in the stored procedure if we change the substring in condition to like its working if we set the compatibility level to 120, where as with substring...

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

  • RE: Clustered index on non-primary key columns

    SQL!$@w$0ME (7/8/2016)


    Grant Fritchey (7/8/2016)


    So the majority of your queries, or the most frequently called queries use all these columns when filtering:

    [Col1] ASC,

    [Col2] ASC,

    [Col3] ASC,

    [Col4] ASC

    Majority of the queries use all...

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

  • RE: Clustered index on non-primary key columns

    We can go back-and-forth with he-said-she-said's for weeks and not cover all the permutations or pros and cons of indexing. That's specifically why I didn't even start down that road....

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

  • RE: About Adhoc Optimitation on real scenario

    There are cases where the number of cached plans can actually become a bottleneck in that the hashing and specifically hash lookups can take too long or create their own...

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

  • RE: Help me thrash the CPU

    I don't think you need to do big calculations. You just need to do repeated stuff with no delay.

    http://blog.sqlauthority.com/2013/02/22/sql-server-t-sql-script-to-keep-cpu-busy/

    http://stackoverflow.com/questions/24810905/trying-to-create-an-sql-query-that-will-max-all-cpus-to-100

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

  • RE: Log Shipping Across Different Domains

    You can go in and directly modify all of the log shipping tables and jobs if you want. But personally in this situation I simply use scripts and windows scheduled...

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

  • RE: Clustered index on non-primary key columns

    SQL!$@w$0ME (7/7/2016)


    Hello Folks,

    Is it a good practice to create clustered index on non-primary key columns since the primary key column is not queried at all. Please share your thoughts or...

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

  • RE: Stored Procedure execution

    Raghavender (7/7/2016)


    in the stored procedure if we change the substring in condition to like its working if we set the compatibility level to 120, where as with substring in condition...

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

  • RE: Maintaining Sequence of OUTPUT rows during INSERT

    The Dixie Flatline (7/7/2016)


    I am insulted that you would dare accuse me of such a travesty!! :w00t:

    Just kidding.

    We aren't updating the same table after an insert. ...

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

  • RE: Stored Procedure execution

    Grant Fritchey (7/7/2016)


    So, my suggestion is, leave the compatibility at 120 and just add the traceflag to force it to use the older cardinality estimator.

    This one you can solve for...

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

Viewing 15 posts - 901 through 915 (of 5,841 total)