Forum Replies Created

Viewing 15 posts - 2,416 through 2,430 (of 49,552 total)

  • RE: Troubleshooting High Cpu per session

    As in, at the OS level check and make sure that the SQL Server executable is the process using that 50% CPU.

    Have you done that?

    Is SQLServr.exe the process using...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Troubleshooting High Cpu per session

    Start with the obvious. Is it SQL Server using the CPU?

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Transfer SQL 2008r2 DBs to SQL 2016

    LaVerne Sanders (9/12/2016)


    Just one more question. My SQL 2008rs is still on service pack 1. Should it be SP2 before I start this process? Thanks.

    If you plan an...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Best way for dynamic partitioning of table sql server

    jpandrade (9/12/2016)


    surely the use of a partitioned table based on something like a month would provide a more efficient response in data retrieval. esp if your queries are based on...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Insufficient memory error when executing the script.

    No, and this is not a SQL Server error. It's an error from the client tool, Management Studio. Management Studio's a 32 bit app, so 4 GB memory limit, it...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Transfer SQL 2008r2 DBs to SQL 2016

    The upgrade advisor part does, you should still run upgrade advisor and fix anything that breaks, and you absolutely MUST do performance tests on SQL 2016 due to the changes...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Logshipping between 2008 and 2012

    Molap (9/27/2013)


    Backup DatabaseA on SQL2008

    Copy the backup to SQL2012

    Restore the database with recovery (I can not restore with standby because it needs to go through an upgrade to 2012)

    Backup the...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Maintenence Plans - Quick Question

    Sure. Google "Sys.dm_db_index_physical_stats", the MSDN documentation page will give you full details of what it returns and what parameters it takes.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Maintenence Plans - Quick Question

    Maintenance, yes. Maintenance plans, not so much. Don't use them for index maintenance (they're stupid)

    Look up Ola Hallengren's maintenance scripts: http://ola.hallengren.com/

    You should have backups (don't forget to clean up old...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Are the posted questions getting worse?

    rodjkidd (9/12/2016)


    Gail, how goes your marathon of presenting at SQL Sats? Have you done them all or do you still have one left?

    Two down, one to go (and a seminar...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Partition switch giving error

    Yup, you have to set the next filegroup to be used after each split, even if all the partitions are going to the same filegroup.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Shrink Transaction Log File on Mirrored Database

    JoeS 3024 (9/10/2016)


    Is it still recommended to change the recovery model to Simple?

    It's never been recommended to switch to simple to shrink the log, and if you do that...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: query slow with variable, fast with constant .. using option (recompile) inside if exists

    Hints apply to the whole query, so recompile, if you need it, would go at the end of the outer query. You can also consider OPTION(OPTIMIZE FOR ...)

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: difference between sql server 2014 x64 and sql server x86

    Install x64.

    The x86 is legacy and there's no good reason to use it any longer. SQL 2016 doesn't even have a x86 version.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: sql server 2016 certification

    There's no guarantee that books will come out. Depends on the publishers, whether they find authors willing to write to the tight deadlines and low payments that exam study books...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 15 posts - 2,416 through 2,430 (of 49,552 total)