Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

Alternatives when trying to keep two databases in sync...
I have two production SQL Server 2005 databases that I want to keep in
sync ever few  hours.  One database is an OLTP database with high
INSERT activity, the other is strictly for reporting.  The OTLP
database will contain data for 24 months of data.  The reporting
database will contain that same 24 months plus an additional 8 years of
data.

The tables in each database are identical but I would like to have
different indexing strategies in each database.  On OLTP side, indexing
would be minimal to facilitate rapid insert activity.  The reporting
database would need many indexes in order to process queries in a
reasonable amount of time.

Is it possible to keep these two databases in sync with log shipping?
>From what I can see, log shipping really wants the two database to be
identical.  Having the two different indexing strategies would not be
easy.  Keeping more data in the reporting database would also present
some challenges.

Is there a better alternative?  One-way transaction level replication
seems like an alternative but seems like it would require a great deal
of maintenance.

I have given Triggers some thought but the developers push back saying
that there are over 50 tables that need to be synchronized and that
maintaining the triggers is to much work.

Any suggestions would be appreciated.

Thank you.

Jim Maurer
DBA
Harleysville Insurance


Report this thread to moderator Post Follow-up to this message
Old Post
jmaurer@harleysvillegroup.com
12-14-06 12:12 AM


Re: Alternatives when trying to keep two databases in sync...
I think you need to look at Replications, because triggers are hurting
performance and
log shipping  is intended to different proposes.

I'm thinking  what if you could take one big massive transferring of data
let me say once a day at night by using DTS package  , is it accetable at
you company?




< jmaurer@harleysville
group.com> wrote in message
news:1166023880.609621.98730@79g2000cws.googlegroups.com...
>I have two production SQL Server 2005 databases that I want to keep in
> sync ever few  hours.  One database is an OLTP database with high
> INSERT activity, the other is strictly for reporting.  The OTLP
> database will contain data for 24 months of data.  The reporting
> database will contain that same 24 months plus an additional 8 years of
> data.
>
> The tables in each database are identical but I would like to have
> different indexing strategies in each database.  On OLTP side, indexing
> would be minimal to facilitate rapid insert activity.  The reporting
> database would need many indexes in order to process queries in a
> reasonable amount of time.
>
> Is it possible to keep these two databases in sync with log shipping? 
> identical.  Having the two different indexing strategies would not be
> easy.  Keeping more data in the reporting database would also present
> some challenges.
>
> Is there a better alternative?  One-way transaction level replication
> seems like an alternative but seems like it would require a great deal
> of maintenance.
>
> I have given Triggers some thought but the developers push back saying
> that there are over 50 tables that need to be synchronized and that
> maintaining the triggers is to much work.
>
> Any suggestions would be appreciated.
>
> Thank you.
>
> Jim Maurer
> DBA
> Harleysville Insurance
>



Report this thread to moderator Post Follow-up to this message
Old Post
Uri Dimant
12-14-06 12:12 AM


Sponsored Links





Last Thread Next Thread
Post New Thread

MS SQL Server archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 10:29 PM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006