Massive Delete Operation
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 5 of 5

Thread: Massive Delete Operation

  1. #1
    Join Date
    Jun 2007
    Posts
    5

    Massive Delete Operation

    I am going to delete a table that has millions of records. Since it's with condition so there is no way to truncate the whole table, in the past, it has caused space issues.

    Please suggest the best way to operate massive delete.

  2. #2
    Join Date
    Sep 2002
    Location
    England
    Posts
    7,331
    with one big delete command

  3. #3
    Join Date
    Jun 2007
    Posts
    5
    Wouldnt it fill up the log file?

  4. #4
    Join Date
    Mar 2007
    Location
    Ft. Lauderdale, FL
    Posts
    3,554
    How many rows do you have in the table?... total.
    How many rows do you expect to be affected by the delete process?
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.

  5. #5
    Join Date
    Sep 2002
    Location
    England
    Posts
    7,331
    Quote Originally Posted by Tigo
    Wouldnt it fill up the log file?
    fill up what logfile?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width