Forum Replies Created

Viewing 15 posts - 661 through 675 (of 1,640 total)

  • RE: Backup compression

    so that means I can use both compression and non-compression backup files in one restore process together for a database, correct?

    Thanks,

  • RE: Max server memory for second instance

    arnipetursson (4/9/2013)


    When you add the instance via the setup program, it will be the same SP as the existing instance.

    Reboot should not be required.

    I am interested in that too, we...

  • RE: disk i/o

    Grant Fritchey (4/5/2013)


    Looking at os_wait_stats is looking at waits aggregated. There's no way to know if those waits correspond to problems during your restore. That's why I suggested looking at...

  • RE: disk i/o

    Any help please?

  • RE: disk i/o

    I did a query like this:

    --see the top ten events your server is waiting on

    SELECT TOP 10

    wait_type ,

    ...

  • RE: disk i/o

    Thanks much!

  • RE: drop and add all FKs in the database

    Using delete will also create big transaction log data. The tables we are working on have huge records. So using delete is not a good choice for us.

  • RE: drop and add all FKs in the database

    If I use drop FK,truncate table, import data, then add FKs,

    Then I don't need to figure out the order of the tables.

  • RE: drop and add all FKs in the database

    Lowell (4/2/2013)


    i would consider disabling and re-enabling them instead; either way it's effectively the same thing:

    select

    'ALTER TABLE '

    + QUOTENAME(schema_name(schema_id))

    + '.'

    + quotename(name)

    + ' NOCHECK CONSTRAINT ALL'...

  • RE: drop and add all FKs in the database

    Sean Lange (4/2/2013)


    If your data is violating your FK constraints, which from the sounds of your post it is, dropping the constraints to import the data isn't going to help....

  • RE: drop and add all FKs in the database

    Erin Ramsay (4/2/2013)


    Could run a SQL task in SSIS to do it. Just write a script to do it and have SSIS run that script or scripts.

    Thanks, my question is...

  • RE: Call powershell in SQL agent job

    Grant Fritchey (4/1/2013)


    Glad to hear it's fixed.

    Just curious though, why not use a PowerShell type of step in SQL Agent for a PowerShell script?

    I found it runs much faster using...

  • RE: Call powershell in SQL agent job

    Sorry, it works now.

    I found out the path for the file is wrong.

    Thanks much

  • RE: transaction log size reduction

    MyDoggieJessie (3/28/2013)


    If you haven't specified it during the initial install, it's set to 0 by default, meaning that it happens automatically (running approximately every 1 minutes for active DB's)

    Reference MSDN...

  • RE: transaction log size reduction

    GilaMonster (3/28/2013)


    sqlfriends (3/28/2013)


    ganasulochana (3/28/2013)


    If the database is in Full recovery model then you can able to take the log backup.

    for simple recovery mode, when it will do the checkpoints?

    Checkpoint runs...

Viewing 15 posts - 661 through 675 (of 1,640 total)