Paritition acroos Multiple Databases?

  • Is it possible to have partition across multiple databases having same schema?

    If not than do we have any better alternatives?

    I am working on Datawarehouse application where previous DAY data are static and current day (today) data will change continously. I am thinking of having today's data into seperate database and previous days data into different database with READONLY database.

  • Paresh Randeria (1/5/2009)


    Is it possible to have partition across multiple databases having same schema?

    If not than do we have any better alternatives?

    I am working on Datawarehouse application where previous DAY data are static and current day (today) data will change continously. I am thinking of having today's data into seperate database and previous days data into different database with READONLY database.

    Actually that has been the first implementation of partitioning by Microsoft.

    Nowadays we have partitioned databases, where you can put data of a single table in to different physical partitions (filegroups). Each partition can have its own management (read only/readwrite, index rebuild, backup strategy, ...)

    Since partitioning is an advanced topic, it is highly recommendable to read BOL and to read the white paper on partitioning.

    (make sure you have the latest version of BOL !)

    -SQL2005 http://msdn.microsoft.com/en-us/library/ms188706(SQL.90).aspx

    -SQL2008 http://msdn.microsoft.com/en-us/library/ms188706.aspx

    -WP: http://www.sqlskills.com/resources/Whitepapers/Partitioning%20in%20SQL%20Server%202005%20Beta%20II.htm

    If you still insist on having the online data in a separate database, just create a view that unions both tables. (database ownership chaining ON to prevent authority issues) and pull over the "online" data at a certain point of the day.

    Johan

    Learn to play, play to learn !

    Dont drive faster than your guardian angel can fly ...
    but keeping both feet on the ground wont get you anywhere :w00t:

    - How to post Performance Problems
    - How to post data/code to get the best help[/url]

    - How to prevent a sore throat after hours of presenting ppt

    press F1 for solution, press shift+F1 for urgent solution 😀

    Need a bit of Powershell? How about this

    Who am I ? Sometimes this is me but most of the time this is me

Viewing 2 posts - 1 through 1 (of 1 total)

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