
Database replications services will ensure availability of your business critical applications and information. Our expert consulting services take the complexity out of this most challenging area of database administration.
Sybase Replication Server Tips1. Is my Replication Server up and running?Try logging in using “isql” or do a process listing on OS-level such as a ps command on Unix. Make sure the RSSD database is available as well. 2. Status Check Commands
3. Troubleshooting Sybase Replication ServerReplication Server Thread is down Issue the command “admin who_is_down” on the Replication Server to capture information about threads that are not running. Execute “resume” command and check error log to see whether it is resumed or came down again with the error message. The command “sysadmin log_first_tran” writes the first transaction in a Data Server Interface (DSI) queue to the exceptions log. Log on to RSSD and issue “rs_helpexception #, v” to view the details. Once you identify why the thread is down, you will have to take action to resolve the situation to resume the thread. Stable Queue size is increasing You’d like to install a monitoring tool on your system to capture queue size that is presented in the command “admin who, sqm.” The column “First Seg.Block” shows the first undeleted segment and block number in the queue. If the figures for First Seg.Block and Last Seg.Block do not match, data remains in the queue for processing. Use the command “sysadmin dump_queue” to see about inbound and outbound stable queues. There are options such as zap command or purge queue. Use caution in using those commands cause it may put the replication system in jeopardy and lead to loss of replicated transactions. PDB and RDB unsynchronized Use the utility “rs_subcmp” to compare a subscription's tables in the primary and replicate databases to make sure the tables are the same. It can also be used to reconcile the data in the replicate and primary tables. When there’s handful of tables to match, you can re-materialize them. The fastest way is to use “no materialization” method. You can make a copy of the primary data such as bcp and load it to the replicate. Use caution when using “Atomic Materialization” as it holds lock on the primary table. Also, make sure there’s enough space on the log and stable device. All thread is up but it does not replicate Make sure the primary data is marked for replication. Use sp_setreptable, sp_setrepproc or sp_reptostandby commands. Check and make sure the maintenance user has privilege to update replicate database. There are cases that the SQL contains “set replication off” that disables replication. It could also take a while for uncommitted transaction to be replicated. Issue “select * from syslogshold” on the primary dataserver to identify those transactions. Also make sure there’s no custom actions created to ignore some statements. Stable Device is full It's always good to check whether the stable devices have filled up; it's never too early to know. Use the the command “admin disk_space” to see if the stable devices have filled. You can also configure “sqm_warning_thr1” percentage. Default is 75. 4. Installing Heterogeneous ReplicationReplication from Sybase ASE to Non-Sybase requiresa DirectConnect. DirectConnect servers translate Sybase T-SQL and TDS into a format the third-party replicate database can understand. You can follow these steps to install. Step 1. Install DirectConnect Contact us with any questions. |
| Privacy I Sitemap I Admin Login I Client Login I Careers |