Archiving Data

  • Is there way to archive data from you sql database?

    Thanks

  • generally consult your application vendor!

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • It all depends of what you mean by "archiving".

    You can certainly achive several different "archiving" strategies like...

    - Have archiving partitions in your tables

    - Have archiving tables in your database

    - Have a separate archiving schema in your database

    - Have a separate archiving database in your system

    - BCP/XML out your data and move it to archiving tapes

    - etc. etc. etc.

    _____________________________________
    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.
  • its a databse with 5 tables , i want archive 2 or 3 years old data in to another database.

  • don`t have a vendor, the DB ahs 5 tables and i just wanted to archive some old data in to another db .

  • nabil nejat (9/16/2008)


    its a databse with 5 tables , i want archive 2 or 3 years old data in to another database.

    Cool!... just write a procedure and do it. What's the problem?

    _____________________________________
    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.
  • looking for a script ?

  • nabil nejat (9/16/2008)


    looking for a script ?

    are you lazy or what? 😀 Script would be fully dependent of the structure of your tables, how could a general script solve such an issue? :hehe:

    _____________________________________
    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.
  • Write a procedure to do this, it should be fairly straight foward, do you have a date/time field to work out what the old data is?

    post some more information about your table structure and some sample data, as i dont think you have given enough information to allow people to help.

Viewing 9 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic. Login to reply