The process that updates Catalog Stores on query servers is called synchronization.
Synchronizing copies the write server's version of the database catalog to a query server. In general, Sybase IQ propagates DDL and DML changes to query servers, so you only need to synchronize a query server for these server management actions:
While creating a new query server
Restoring a query server from backup
Restarting a query server that has been excluded
After running the write server in single-node mode
The Sybase IQ multiplex feature automatically makes committed changes in the contents of IQ tables visible on all servers in the multiplex. Schema changes include adding, deleting, or changing tables, user IDs, indexes, and views.
To specify user logins, permissions or set options unique to a particular query server, instead of duplicating the settings on the write server, define a per-server stored procedure on the write server to run automatically after the query server is synchronized. The stored procedure must be named sp_mpxcfg_<servername> where <servername> is the name of the query server. The procedure must be owned by user DBA.
The following statements are an example of those you could add to sp_mpxcfg_<servername>. For a complete list of database options, see the Sybase IQ Reference Manual.
SET OPTION PUBLIC.DATE_FORMAT = 'Mmm dd yyy'; SET OPTION ANSINULL = 'OFF'; SET OPTION CONVERSION_ERROR = 'OFF'; GRANT CONNECT TO fiona IDENTIFIED BY password;
Make sure that the write server is running. This is required for synchronization to succeed.
If not already connected, connect to any server in the multiplex. (For details, see “Opening the Connect dialog”.)
Double-click the database to open it.
Click the Multiplex folder.
To synchronize an individual server, right-click that server and choose Synchronize. You can keep running queries on the other query servers.
To synchronize all the servers in the multiplex, click All (Alt+A). To synchronize some servers, check the box beside each server name.
Click Finish to synchronize or cancel to quit. Sybase Central briefly stops each query server, replaces its Catalog Store, then restarts that query server. The write server continues running throughout the operation.