Forum Replies Created

Viewing 15 posts - 2,116 through 2,130 (of 2,640 total)

  • RE: Executing DTS packages in a Batch file.

    I think you're missing the whole ownership chain. I guess you could use the o/s  "run as"  to impersonate your service account. It's not really a route I'd recoomend though.

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: Find out is SQL Server services are running by TSQL Query

    you might want to try

    master.dbo.xp_servicecontrol 'MSSQLServer'

     

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: tracing deadlock issue

    Ah well .. two ways to decrease deadlocks ..

    make reads dirty

    increase spindles

    The basis to reduce deadlocks, assuming the code isn't aweful, is to speed up transactions, if the disk...

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: Splitting Database into multiple files

    shrinkfile will only attempt to remove unused space from the datafiles .. you need a certain amount of free space in your data files for growth and work space for...

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: tracing deadlock issue

    I'm sort of confused by your claim of 100 deadlocks/min -- for a lightly used database that's very high. How are you measuring your deadlocks?

    To get information on deadlocks enabale...

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: SQL Server in a virtual environment for production

    I'm not sure that microsoft fully support sql server on vm ware - from experience I wouldn't use vm ware in production. 2003R2 comes with virtual servers, maybe that's the...

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: Help needed with tranaction logs error

    you need to backup the transaction log

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: SQL Server Backup cancelled and now hung

    I wouldn't think a backup would roll back as what could it roll back to ? - possibly the transaction log I suppose. You could try stopping and restarting the...

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: Error: Insufficient memory available... Does it help to add /3GB switch in boot.ini file while the box has only 2GB of RAM ???

    you might want to try batching your input.

    are you using sp_xml_preparedocument  , if so this can give memory issues in certain conditions.

    to be honest using adv server with 2gb ram...

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: 8GB RAM and SQL Server

    If you have a dedicated SQL Server then you might want to monitor with a view to increasing the memory given to sql server.

    There's absolutely no point in leaving memory...

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: Lock tracing help.

    if you'd like to send me a private message I'll send you some stuff to help -- too long to post

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: to join or not to (inner)join

    I know this will sound contrite but one of the fundamental facts of performance tuning is that you learn by actually doing it!!

    If you try the two methods you...

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: Shrink File Operation Not Working

    sp_helpfile executed against the database will give filenumbers, tran log is usually 2 with primary filegroup being 1.

    in qa against database use these commands

    checkpoint

    go

    dbcc shrinkfile(fileno)

    go

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: Strange performance issue - SQL 2000 on Win2k3

    nothing strange here, turn your connection pooling back on.

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

  • RE: SQL Server 2000 cluster DR

    with regard to what - a cluster gives you failover so you don't really have DR. if node dies, cluster fails over, rebuild node or get new node, re-introduce to...

    [font="Comic Sans MS"]The GrumpyOldDBA[/font]
    www.grumpyolddba.co.uk
    http://sqlblogcasts.com/blogs/grumpyolddba/

Viewing 15 posts - 2,116 through 2,130 (of 2,640 total)