Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Replication/archiving of database content to archive db in..

 
   Database Help (Home) -> Sybase RSS
Next:  CPI Compliance  
Author Message
ola.theander

External


Since: Aug 19, 2008
Posts: 3



(Msg. 1) Posted: Tue Oct 14, 2008 6:30 am
Post subject: Replication/archiving of database content to archive db instance?
Archived from groups: comp>databases>sybase (more info?)

Dear subscribers

I’m looking for a solution to archive the content of some tables in a
product that uses Sybase as the database engine. The problem is that
some of the table contain records in such large numbers that it
affects the performance of the application thus we like to move
content older than e.g. a year to an archive instance of the database
on a regular basis. This archive instance will basically have the same
table setup as the original version but will contain the old data.

We have looked at Sybase’s Replication Server but I like to see if
there are any other options available. My biggest worry is fault
tolerance i.e. if anything goes wrong we mustn’t loose any data, i.e.
that a row is deleted from the main database without being written
properly to the archive database. If Sybase supports cross-database
transactions maybe this task can be solved with a simple scheduled
script?

Any suggestions are most welcome.

Regards, Ola Theander

 >> Stay informed about: Replication/archiving of database content to archive db in.. 
Back to top
Login to vote
Luc Van der Veurst

External


Since: Oct 23, 2008
Posts: 1



(Msg. 2) Posted: Thu Oct 23, 2008 6:25 am
Post subject: Re: Replication/archiving of database content to archive db instance? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

ola.theander RemoveThis @otsystem.com wrote:
> Dear subscribers
>
> I?m looking for a solution to archive the content of some tables in a
> product that uses Sybase as the database engine. The problem is that
> some of the table contain records in such large numbers that it
> affects the performance of the application thus we like to move
> content older than e.g. a year to an archive instance of the database
> on a regular basis. This archive instance will basically have the same
> table setup as the original version but will contain the old data.
>
> We have looked at Sybase?s Replication Server but I like to see if
> there are any other options available. My biggest worry is fault
> tolerance i.e. if anything goes wrong we mustn?t loose any data, i.e.
> that a row is deleted from the main database without being written
> properly to the archive database. If Sybase supports cross-database
> transactions maybe this task can be solved with a simple scheduled
> script?

Replication servers seems to be overkill for what you want to
achieve.

- Copy the tuples you want to archive to the archive server,
- backup the archive database(s),
- then delete the tuples in the active server.

OK, the tuples are in both databases for a while, but if
that's a problem, then you can limit the number of rows you
copy in one run to shorten this period.

Luc.

 >> Stay informed about: Replication/archiving of database content to archive db in.. 
Back to top
Login to vote
Manish Negandhi

External


Since: Jan 15, 2008
Posts: 25



(Msg. 3) Posted: Thu Oct 23, 2008 8:24 pm
Post subject: Re: Replication/archiving of database content to archive db instance? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Oct 14, 6:30 pm, "ola.thean...@otsystem.com"
wrote:
> Dear subscribers
>
> I’m looking for a solution to archive the content of some tables in a
> product that uses Sybase as the database engine. The problem is that
> some of the table contain records in such large numbers that it
> affects the performance of the application thus we like to move
> content older than e.g. a year to an archive instance of the database
> on a regular basis. This archive instance will basically have the same
> table setup as the original version but will contain the old data.
>
> We have looked at Sybase’s Replication Server but I like to see if
> there are any other options available. My biggest worry is fault
> tolerance i.e. if anything goes wrong we mustn’t loose any data, i.e.
> that a row is deleted from the main database without being written
> properly to the archive database. If Sybase supports cross-database
> transactions maybe this task can be solved with a simple scheduled
> script?
>
> Any suggestions are most welcome.

It is not a good idea to go for replication server for archival
purpose. You can create an archival database, write stored procs /
scripts to archive the data periodically. Write scripts to retrieve
data. Archive periodically and retrieve whenever needed

-HTH
Manish Negandhi
[TeamSybase]
 >> Stay informed about: Replication/archiving of database content to archive db in.. 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
upgrading replication server in a live replication from 12.. - So far I've only been able to find an "installation manual", but not anything on upgrade live 12 to 15, in regards to Replication server 15. Specifically, how to upgrade RSSD properly. We have a massive repository that I would much rather no...

Database -

database cracking -

Load database hangs - Hi, Recently one of our server database went down. We are having HP OVPI applicaion installed on that, which got corrupted. We tried to restore the db using a dmp file as follows, load database dpipe_db from "/backup/dpipe_db_200801242300.dmp&quot...

Specifying Segment to Place Database - I'm working in a large corporate data center with a typical EMC (Like) data storage array. I don't know exactly what it is... But it's some sort of storage system. I have a co-worker who is convinved that performance can be improved by specifying what..
   Database Help (Home) -> Sybase All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]