Advertisement

07.03.2008 at 04:49PM PDT, ID: 23538457
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.2

SQL Database Linking for Archived Data

Asked by jpgobert in SQL Server 2005

Tags: , ,

My company uses an ERP system that is totally wrapped around a SQL Database.  All functions are tied to stored procedures and such which makes the database not only an information store, but a fully dynamic processing engine.

The problem is that there is no "archive" strategy for taking data after a certian time period and moving it to a separate database where it becomes archived.  All data stays in the database forever which after time causes performance degradation.

What I am trying to do is create a method of copying the database structure (which is easily done by copying the database and simply clearing the data in the tables) and storing any data that exceeds 18 months for example in the archive database.  I'll also need to link those databases in such a way that if a report is ran that includes any data outside of the 18 month active period, the data will pull from both databases.

I'll need the time frame to be a configurable option of course... but what are some thoughts on this?  All of the reports that come with the system are crystal reports and any custom reporting also is done in crystal.  I'd like it if I didn't have to customize all of the reports to make this happen... is there a way to create the database or set things up where this happens automatically?

I've pretty much decided (and feel free to correct me) that the movement of the data to the archive DB instance could be fairly simple since the two database structures will be identical.  Just create queries that loop through each table and inserts any new archivable data into the corresponding table in the archive DB.  It's the automatic cross linking that I really am not sure about...

I can always setup the archive function as a maintenance task that occurs monthly looking for any data older than whatever time frame I eventually end up deciding on.

All ideas are greatly appreciated :)Start Free Trial
[+][-]07.03.2008 at 05:01PM PDT, ID: 21930221

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.03.2008 at 05:14PM PDT, ID: 21930254

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.04.2008 at 08:14AM PDT, ID: 21933516

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: SQL Server 2005
Tags: Microsoft, SQL Server, 2005
Sign Up Now!
Solution Provided By: DocCan11
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628