Forum Replies Created

Viewing 15 posts - 14,581 through 14,595 (of 49,552 total)

  • RE: Can't shrink physical logfile size.

    Grow that log file to something sensible, and make sure that the autogrow settings aren't the default.

  • RE: very high CX packet waits

    If you want all queries to only use one processor, why not pull the other 23 out? That's essentially what you've done by setting maxdop to 1. It is NOT...

  • RE: Shrinking log is bad?

    Yes, it is a bad practice. What are you gaining by shrinking the log each week? You know it's just going to grow back, so it's not as if you...

  • RE: Can't shrink physical logfile size.

    Most likely the active portion of the log is at the end of the file.

    Try a few 'fake' operations (create a table, populate it and then drop it) interspaced...

  • RE: Corrupted Database

    naga.rohitkumar (1/29/2013)


    try this code

    EXEC sp_resetstatus 'yourDBname';

    ALTER DATABASE yourDBname SET EMERGENCY

    DBCC checkdb('yourDBname')

    ALTER DATABASE yourDBname SET SINGLE_USER WITH ROLLBACK IMMEDIATE

    DBCC CheckDB ('yourDBname', REPAIR_ALLOW_DATA_LOSS)

    ALTER DATABASE yourDBname SET MULTI_USER

    That is absolute last resort...

  • RE: Corrupted Database

    Can you run CheckDB on the 2005 database?

    Do you have a backup from before the DB was upgraded to SQL 2008?

  • RE: Stored procedure very slow execution

    sqlnaive (1/29/2013)


    Don't you think once the statistics are upgraded, even if the new query plan is created, it will be optimal ?

    Maybe, maybe not. If all the stats are...

  • RE: One SPID - Split into 127?

    sqldba_newbie (1/28/2013)


    Thanks. If they are in parallel shouldn't atleast 24 of them be running?

    At most 24 will be running at any one time (that's how many cores you have).

  • RE: One SPID - Split into 127?

    sqldba_newbie (1/28/2013)


    GilaMonster (1/28/2013)


    Each operator in the parallel portion of the query plan can parallel up to maxdop/number of cores. They won't all be running, but they can all exist.

    I see...

  • RE: One SPID - Split into 127?

    Each operator in the parallel portion of the query plan can parallel up to maxdop/number of cores. They won't all be running, but they can all exist.

  • RE: what to place in Stored Proc sysname parameter

    No idea. That's not a standard procedure, must be something that your devs wrote. Check the proc, see if there are any comments and ask your colleagues

  • RE: SQL SERVER CPU Usage 100 % even at no traffic time

    Then between the web server and the user app, they're sending enough stuff to SQL to run the CPU up to 100%.

    Check out that book chapter I recommended. It's all...

  • RE: Are the posted questions getting worse?

    Sorry, but that falls into the 10ft bargepole category for me.

    Without the precise error it's a pain. Maybe he's running out of disk space, maybe something is cancelling the job/connection

  • RE: Still 32

    I've been running 64 bit on my home machine for over 5 years now. Some software is installed 64 bit, most as 32 bit. Minimal problems, most were VPN clients...

Viewing 15 posts - 14,581 through 14,595 (of 49,552 total)