Creating a maintenance user  Replication Server Manager

Chapter 3: Data Replication

Granting maintenance access to system tables and procedures

The Database Owner or the System Administrator must grant to the maintenance user the permissions required to insert, delete, and update rows in replicated tables and to execute replicated stored procedures.


Procedure permissions

Grant execute permissions for each of the following procedures:

All procedures are performed in Sybase Central. Separate. Follow instructions for Windows or UNIX.

  1. To start Sybase Central, do this:

  2. In Sybase Central, right-click on Sybase IQ, choose Connect.

  3. Add the appropriate connection information, click OK.

  4. Expand Sybase IQ | Sybase IQ <target database> | Procedures & Functions.

  5. Right-click on a procedure, choose Properties, click Permissions | Grant.

  6. On the Grant Permissions dialog, choose rs_systabgroup, click OK.

    The rs_systabgroup group on the properties dialog appears with a check mark in the Execute column. Click OK.

  7. Repeat steps 5 – 6 for each procedure in the list.


Table permissions

This procedure grants Insert, Update, and Delete Permissions for the rs_lastcommit and rs_threads tables in the Sybase IQ data server. rs_lastcommit commits a transaction; rs_threads detects deadlocks and perform transaction serialization between parallel DSI threads.

  1. Expand Sybase IQ | Sybase IQ <target database> | Tables.

  2. Right-click on the appropriate table, choose Properties, click Permissions | Grant.

  3. On the Grant Permissions dialog, choose rs_systabgroup, click OK.

  4. On the Permissions tab, choose Select, Insert, Update, and Delete permissions. Click OK.

  5. Repeat steps 2 – 4 for each table in the list.


Replication table permissions

This procedure grants all permissions on the Sybase IQ target replication tables to either the maintenance user or rs_systabgroup group.

  1. Expand Sybase IQ | <target database> | Tables.

  2. Right-click the replicate table, choose Properties, click Permissions | Grant.

  3. On the Grant Permissions dialog, choose rsuser (maintenance user) or rs_systabgroup, click OK.

  4. Close Sybase Central.





Copyright © 2005. Sybase Inc. All rights reserved. Replication Server Manager

View this book as PDF