Forum Replies Created

Viewing 15 posts - 286 through 300 (of 335 total)

  • RE: Log File & Performance

    Yes, moving a logfile to a different physical disk will always increase IO, because you're spreading your IO. But howmuch it will improve depends on your databasetype. If it's generating...

    Wilfred
    The best things in life are the simple things

  • RE: production server is out of Disk space?

    OK, after you freed some space, consider:

    - buying a monitoring tool to prevent this type of errors. Or develop your own script, which runs regularly (I can give you some...

    Wilfred
    The best things in life are the simple things

  • RE: Shrinking almost empty datafile not possible

    It's doesn't matter which shrink option I use (truncate, full reorg, migrate data tot other datafiles in same filegroup), SQL won't allow me to use a shrink command (same error...

    Wilfred
    The best things in life are the simple things

  • RE: Shrinking almost empty datafile not possible

    I know. I'm not removing it, just shrinking (see my first post 😉 )

    Wilfred
    The best things in life are the simple things

  • RE: function output depending on parameter

    You only have to define the tablestructure when the resultset is a Multistatement Table-valued Functions, which is not the case. Or do I have to change the resultset in your...

    Wilfred
    The best things in life are the simple things

  • RE: BETWEEN

    statement 2 will always result the same result set: nothing

    To my opinion, the answer is YES

    The explanation was about a misused BETWEEN ... what a @#$!%!#

    Wilfred
    The best things in life are the simple things

  • RE: Overgrown Log Files

    Ask yourself: What's causing this growth?

    Is it a full recovery database without logbackups, or too less logbackups a day?

    If the database is in simple recovery, monitor the average size...

    Wilfred
    The best things in life are the simple things

  • RE: Restore 2005 Database Error

    It's not necessary to shrink the logfile before doing a full backup (if it's your intention to compact the size of your backup). Although a full backup contains all the...

    Wilfred
    The best things in life are the simple things

  • RE: database size increasing

    check:

    1) Do you run a reorganize database on a daily basis? That's blowing up your datafiles with a lot of unused space

    2) Keep logging your tablesizes on a daily base...

    Wilfred
    The best things in life are the simple things

  • RE: How to get data

    If you want to see uncommitted data, change the transaction isolation level:

    SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED

    (your statements here)

    See BOL for more information about this item

    Wilfred
    The best things in life are the simple things

  • RE: Shrinking almost empty datafile not possible

    fyi,

    I moved the nonclustered indexes from [primary] to [index]

    I moved heap tables and clustered indexes from [primary] to [data]

    [primary] now only contains systemobjects (which are not movable)

    Simple recovery is not...

    Wilfred
    The best things in life are the simple things

  • RE: Shrinking almost empty datafile not possible

    Can you do something like this? I'm assuming you would know if "It was determined that a transaction log backup had run at the same time that the shrink was...

    Wilfred
    The best things in life are the simple things

  • RE: how do i get the row count

    You can simplify your statement by doing this construction:

    declare @SQLCMD nvarchar(1000)

    declare @retcode bigint

    set @SQLCMD = 'select count(*) from {tablename}'

    exec @retcode = sp_executeSQL @SQLCMD

    print @retcode

    Wilfred
    The best things in life are the simple things

  • RE: Shrinking almost empty datafile not possible

    found this post on http://weblogs.sqlteam.com/tarad/category/95.aspx/rss

    vrijdag 9 november 2007, 0:31:40 | Tara Kizer

    Recently we purged millions of rows from a database as it was determined that we did not need to...

    Wilfred
    The best things in life are the simple things

  • RE: Huge size blowout on Database

    maybe a delete trigger is not working?

    Wilfred
    The best things in life are the simple things

Viewing 15 posts - 286 through 300 (of 335 total)