Skip to content

Source Datastore Examples

The scenarios below show how teams use source datastores in practice: onboarding a whole warehouse at once, sharing credentials, keeping them in a secrets manager, protecting a busy database, and reaching a private network. Each one links to the page that covers the details.

Onboard Every Schema of a Warehouse in One Pass

Context. A data platform team wants Qualytics to monitor the finance, sales, and marketing schemas of the production database in Snowflake. Adding three datastores one at a time means filling in the same connection three times.

What happens. On the Add Datastore page they pick Snowflake, fill in the connection once, choose production as the Database, and select the three schemas. The Name field becomes Name Template, and they enter prod_{{schema}}. With Initiate Sync selected, clicking Finish creates prod_finance, prod_sales, and prod_marketing, and a Sync starts on each one.

Why it works. Multi-schema creation discovers the schemas from the connection and creates one datastore per selected schema in a single step, all sharing the same connection. See Add Multiple Schemas for the steps.

Share One Connection and Change the Password Once

Context. Five datastores read from the same PostgreSQL server, one per schema. The database team changes the password of the account Qualytics uses every quarter.

What happens. The team created the first datastore with a new connection and the other four with Existing Connection, so all five use the same saved connection. When the password changes, an administrator edits that connection once on the Manage Connections page, and all five datastores use the new password on their next operation.

Why it works. A connection holds the credentials and a datastore holds only its location, so one connection can serve many datastores. Editing a connection affects every datastore that shares it.

Keep Credentials Out of Qualytics

Context. A security policy requires database passwords to live only in the company's secrets manager.

What happens. When creating the connection, the team turns on HashiCorp Vault under Secrets Management, fills in how Qualytics logs in to the secrets manager and where the secret lives, and writes ${password} in the Password field instead of the password itself.

Why it works. Qualytics reads the value from the secret each time it opens the connection, so a changed secret takes effect on the next connection without editing anything in Qualytics. See HashiCorp Vault.

Protect a Busy Production Database

Context. A Scan running against an operational SQL Server database slows down the application that writes to it.

What happens. The team edits the connection on the Manage Connections page and sets Max Parallelization to 4 in its Advanced section. Scans on that database now take longer, but they no longer compete with the application for the database's capacity.

Why it works. Max Parallelization caps how many queries Qualytics runs at the same time against a datastore reached through that connection. The cap applies to each datastore on its own, so two datastores that share the connection can each use the full allowance.

Reach a Database in a Private Network

Context. A PostgreSQL database accepts connections only from known addresses inside the company's private network, and the first connection test fails with a timeout.

What happens. On the Add Datastore page, the team copies the Private addresses from the information banner below the form and adds them to the database's firewall rule. The connection test then passes.

Why it works. The banner lists the addresses your datastore connections originate from, grouped as public and private. A source inside the same private network needs only the private group.

Keep Findings Out of the Governed Data

Context. Ten source datastores need their scan results and remediation snapshots written somewhere the team can query, but nothing may be written into the source databases.

What happens. The team creates one enrichment datastore on a dedicated schema with write access, and links all ten source datastores to it. Each source gets its own table prefix, so their outputs do not collide in the shared destination.

Why it works. The source connections need only read access, while the enrichment destination is the one place Qualytics writes to. See Supported Connectors for the connectors that can host it.


See Also