Forum Replies Created

Viewing 15 posts - 2,701 through 2,715 (of 5,841 total)

  • RE: SQL SERVER 2012 MAINTANANCE TASK- BEST PRACTICE

    ratheesh4sql (3/2/2013)


    Hi,

    Thank you very much for your reply....

    Using the Ola.Hallengren.com scipts..am not able to take the full backup of my Always on Seconday database.

    Can u suggest me to schedule...

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

  • RE: UDF Help

    You have known me long enough Jeff to know I wouldn't run that test into SSMS output! 😉

    My laptop being so powerful has actually forced me to do...

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

  • RE: UDF Help

    I recommend against using statistics time on to capture timing metrics too.

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

  • RE: UDF Help

    Jeff Moden (3/1/2013)


    TheSQLGuru (2/28/2013)


    I would honestly expect (but not certain here) that a scalar UDF that just puts it's output into a variable would be more efficient than iTVF that...

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

  • RE: SQL SERVER 2012 MAINTANANCE TASK- BEST PRACTICE

    ratheesh4sql (3/1/2013)


    Hi All,

    Can u anyone suggest me for best practice maintenance task in sql server 2012.

    I am planning to do the following in my Always on server- Production database.

    1. Full...

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

  • RE: SQL Database code comparison

    ApexSQL and Red-Gate both have very good schema (and data) change management products. I there are some free alternatives out there but in this case believe you get what...

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

  • RE: Low Performance - High CPU Problem and others...

    GilaMonster (1/31/2013)


    There isn't a magic bullet. You need to sit down and tune the queries. If you have no idea where to start, consider hiring someone who does.

    This thread has...

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

  • RE: TempDB optimization

    Zeal-DBA (2/27/2013)


    hello,

    in ma current configuration i have one data file and one log file of a tempdb database.

    as a process of tempdb optimization i am going to add 16 Data...

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

  • RE: UDF Help

    Lynn Pettis (2/28/2013)


    Comes down to if the scalar function is being called once per query or once per row in the query.

    There really is more to it than just the...

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

  • RE: UDF Help

    Alan.B (2/28/2013)


    Jeff Moden (2/25/2013)


    Alan.B (2/25/2013)


    If i am understand right. Function can return only one value. am i right?

    Scalar functions return one value, table valued functions return a table variable.

    Inline...

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

  • RE: Page life expectancy diving to sub-10 on a 128 GB server

    A few guesses (based on very limited information provided and a few answered questions):

    1) You have much faster IO now and it is able to "swap out data" in RAM...

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

  • RE: UDF Help

    . . .it about as joyous as an aggregated view calling an aggregated view.

    You can do THAT TOO in SQL Server?!? Jeez, what a suck-@ss product! :w00t:

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

  • RE: UDF Help

    You may THINK you want to do a Scalar UDF, but you probably don't. I wrote a chapter for the SQL Server MVP Deep Dives 2 book entitled "Death...

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

  • RE: What, if any, is the best type of replication for implementing on hundreds of databases on one server?

    1) Your server would likely die a horrible death if you set up replication on 500 databases, unless they were mostly read-only.

    2) Likewise for database mirroring (even asynchronous).

    3) I built...

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

  • RE: Avoid DEADLOCK for concurrent DELETE

    recommendations:

    1) see here:

    http://blogs.msdn.com/bartd/archive/2006/09/09/Deadlock-Troubleshooting_2C00_-Part-1.aspx

    Note there are 2 additional parts to this blog series.

    2) as someone else said, you will likely need to batch up the DELETE.

    3) you...

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

Viewing 15 posts - 2,701 through 2,715 (of 5,841 total)