Documentation

Connecting to Microsoft SQL Server

Integrating your MSSQL database with Alooma is easy (but if you're using Change Tracking replication, make sure you have configured it first):

  1. How do you want to connect to Alooma? If it's via an SSH server, check out how to connect via SSH. Otherwise, you'll need to whitelist access to Alooma's IP addresses:

  2. Add and name your MSSQL input from the Plumbing screen and enter the following details:

    • Hostname of the MSSQL server (default port is 1433)

    • User name and Password

    • Database name

    • Schema name

  3. If your MSSQL server is behind an SSH server you can connect to MSSQL via SSH.

  4. Choose the replication method you'd like to use for MSSQL replication:

    For full dump/load replication, provide:

    • The database/schema you want to replicate.

    • A comma- separated list of the names of the tables you want to replicate.

    • The frequency at which you'd like to replicate your tables. The more frequent, the more fresh your data will be, but the more load it puts on your MSSQL database.

    For incremental replication, provide:

    • The database/schema you want to to replicate.

    • A set of table/update indicator column pairs for each table you want to replicate. You should also index each of the indicator columns.

    Follow the instructions for creating an index here: https://docs.microsoft.com/en-us/sql/t-sql/statements/create-index-transact-sql

    For log replication (Change Tracking), provide:

    • Make sure you performed the required set up steps for configuring Change Tracking on SQL Server.

    • Provide a comma-separated list of the names of the tables you wish to replicate (or leave blank to replicate all tables) across all databases.

    • Choose whether you'd like to dump and load an initial snapshot of your tables into your data destination. This option only works if you've selected specific tables, and works best for small tables (under 100M rows). If you have larger tables or want all tables, please contact support@alooma.com.

Keep the mapping mode to the default of OneClick if you'd like Alooma to automatically map all MSSQL tables exactly to your data destination. Otherwise, they'll have to be mapped manually from the Mapper screen.

That's it! You're done integrating MSSQL and Alooma.

Search results

    No results found