DB online Synchronization?

DB online Synchronization?

Post by Igor Grishi » Tue, 28 Nov 2000 04:00:00



Hi,

I would be very pleased to anyone who will have a look
at the problem described bellow and give me an advise:

We have a program P1 working with database D1. We are
to write new program P2 extending functionality of P1
(that in future will be used instead of the old P1)
that should use modified D1. Both the programs are to
work simultaneously on the same data!

We thought that the best solution would be as it follows:
1) to create a new database D2 containing the same data,
2) then change the structure of D2 in the way we need to
   provide additional functionality for P2,
3) then we  have to make both the databases synchronized,
   i.e. if a user using P1 changes something in D1 the D2
   should be correspondently updated. The same should happen
   if a user using P2 updates D2.

The problem that in general D1 and D2 do not have the same
structure. Could please anyone tell me what is the best way
to provide online synchronization for a couple databases having
different structure (but generally containing the same data)?

Many thanks in advance
Igor Grishin

 
 
 

DB online Synchronization?

Post by Jerry Gitome » Tue, 28 Nov 2000 04:00:00



> Hi,

> I would be very pleased to anyone who will have a look
> at the problem described bellow and give me an advise:

> We have a program P1 working with database D1. We are
> to write new program P2 extending functionality of P1
> (that in future will be used instead of the old P1)
> that should use modified D1. Both the programs are to
> work simultaneously on the same data!

> We thought that the best solution would be as it follows:
> 1) to create a new database D2 containing the same data,
> 2) then change the structure of D2 in the way we need to
>    provide additional functionality for P2,
> 3) then we  have to make both the databases synchronized,
>    i.e. if a user using P1 changes something in D1 the D2
>    should be correspondently updated. The same should happen
>    if a user using P2 updates D2.

> The problem that in general D1 and D2 do not have the same
> structure. Could please anyone tell me what is the best way
> to provide online synchronization for a couple databases
> having different structure (but generally containing the same
> data)?

> Many thanks in advance
> Igor Grishin

        Two alternatives you should consider are 1) use the same
database, but access it via a view for one of the two
appliations, 2) Depict the new structure using additional
indexes or a lookup table which references the database.

        Having two, or more, databases which duplicate each other
tends to defeat the whole idea behind DBMS.  The lack of
syncronization of data files was one of the major reasons whey
business was willing to adapt DBMS.

--
Jerry Gitomer
Once I learned how to spell DBA, I became one      

 
 
 

1. How to do online db/offline DB scenario?

I have a two tables in my database that are recieving inserts and updates
daily. One table grows at about 50,000 records per day.  Another table grows
at about 5000 records per day.

I would like to keep about 2 weeks or data online with the new daily updates
and inserts.
All records in these two tables that are older than 2 weeks I would like to
have offline in a seperate identical database schema for queries of older
data.

I need to set up either DTS for periodic backup and then subsequent restore
to the offline database
OR
setup replication so that changes to the online database get sent to the
offline database and then setup up some sort of DTS package that deletes
records from the online database at some set periodic interval (i.e each
week)

OLAP seems to be too much for what I need as I will only be doing basic
quires against the tables in the offline database

Thanks in advance.  I am new to SQL.

Please give me some advice on which type of the above mentioned
possibilities would be better for me to implement
Also, any book references that explains setting up a replication or backup
scheme that keeps only 2 weeks in the current database but all records in
the offline database.

2. HTTP Requests From SQL Sp's/Triggers

3. Need HELP for 2 DB synchronization via XML

4. timeout expired(s1t00)

5. VBA..VB..Access DB synchronization help

6. Dynamic column names in UPDATE

7. Unique identifiers and data synchronization for DB application

8. ORacke file equivlalent to .profile

9. DB synchronization

10. Synchronization of data over a distributed db

11. ultra-powerful Multi-DB schema synchronization

12. Online, Online, Online

13. Need Replication suggestion for online store db.