Installation Steps
GlueSync SQL to NoSQL for Sybase
Prerequisites
In order to have GlueSync working on your Sybase instance you will need to have:
-
valid user credentials with permissions of reading, writing to the target tables and respective database
Basic configuration example
This video tutorial will guide you through the basic configurations steps on setting up GlueSync for Microsoft SQL Server and Couchbase (Sybase setup is literally similar)
The SQL to NoSQL module can be customized by using a configuration file, in JSON format.
The file name to use must be specified as parameter when launching the app, with the -f
or --file
tokens.
The file should be composed by union of common configuration file (see here Installation Steps) and source/destination specific configuration:
{
...
"sourcePort": "5000",
...
"sourceChangeRetention": 5
}
You can also specify few other options that applies to this configuration, like:
-
sourceChangeRetention (optional): defaults to
5
. Number of retention days preserved into the GlueSync GDC action_logs table inside your Sybase database;
Got a clustered index in a table?
If you’ve got a clustered index configuration on one of your Sybase tables you can specificy which keys GlueSync should use in order to compose your unique row identifier instead of looking for a single Primary Key.
Here following the configuration snippet you can use and customize in order to sync your table with a clustered index config:
{
...
"sybase": {
"tableKeys": {
"articles": ["id1", "id2"],
"customers": ["customer_name", "customer_surname", "customer_age", "customer_id"]
}
},
...
}
-
tableKeys: is the object that represents the key-value pair list of tables and its columns that are composing your clustered index;
Looking for data modelling features or other options?
For more detailed configurations options, including the ability to perform data modelling, please have a look at the dedicated Data modelling section when sourcing from a RDBMS.