# Source Datastore Examples

Source: https://userguide.qualytics.io/source-datastore/datastore/deep-dive/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](https://userguide.qualytics.io/source-datastore/datastore/deep-dive/multiple-schema/) 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](https://userguide.qualytics.io/source-datastore/datastore/how-tos/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](https://userguide.qualytics.io/source-datastore/datastore/deep-dive/connection/#connection-vs-datastore) 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](https://userguide.qualytics.io/source-datastore/datastore/deep-dive/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](https://userguide.qualytics.io/source-datastore/datastore/deep-dive/connection/#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](https://userguide.qualytics.io/source-datastore/datastore/deep-dive/connection/#finding-the-addresses-to-allow), 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](https://userguide.qualytics.io/source-datastore/enrichment-datastore/getting-started/) is the one place Qualytics writes to. See [Supported Connectors](https://userguide.qualytics.io/source-datastore/datastore/deep-dive/supported-connectors/) for the connectors that can host it.

---

## See Also

- **Best Practices**

  Recommendations for scoping datastores, sharing connections, and keeping access tight.

  [Best Practices](https://userguide.qualytics.io/source-datastore/datastore/deep-dive/best-practices/)
- **Permissions**

  The role and team permission each datastore action needs.

  [Permissions](https://userguide.qualytics.io/source-datastore/datastore/deep-dive/permissions/)
- **How It Works**

  How a datastore maps to your storage, the layers behind it, the lifecycle, and the Timeline.

  [How It Works](https://userguide.qualytics.io/source-datastore/datastore/deep-dive/how-it-works/)
- **Connection**

  How a connection holds the credentials that one or more datastores share.

  [Connection](https://userguide.qualytics.io/source-datastore/datastore/deep-dive/connection/)
- **Multiple-Schema**

  Create one datastore per schema or folder from a single connection.

  [Multiple-Schema](https://userguide.qualytics.io/source-datastore/datastore/deep-dive/multiple-schema/)
- **Supported Connectors**

  Every connector by family, with its enrichment support and multi-schema fields.

  [Supported Connectors](https://userguide.qualytics.io/source-datastore/datastore/deep-dive/supported-connectors/)
- **JDBC Connectors**

  How Qualytics reads relational databases and warehouses through JDBC.

  [JDBC Connectors](https://userguide.qualytics.io/source-datastore/datastore/deep-dive/jdbc/)
- **DFS Connectors**

  How Qualytics reads files from cloud object storage and distributed file systems.

  [DFS Connectors](https://userguide.qualytics.io/source-datastore/datastore/deep-dive/dfs/)
- **Native Connectors**

  How Qualytics reads a platform's own storage or API without its query engine.

  [Native Connectors](https://userguide.qualytics.io/source-datastore/datastore/deep-dive/native/)
- **Supported File Formats**

  The file formats DFS datastores read, including compressed variants.

  [Supported File Formats](https://userguide.qualytics.io/source-datastore/datastore/deep-dive/supported-file-formats/)
- **Filename Globbing**

  How DFS datastores group files with similar names into one container.

  [Filename Globbing](https://userguide.qualytics.io/source-datastore/datastore/deep-dive/filename-globbing/)
- **HashiCorp Vault**

  Pull connection credentials from a secrets manager instead of typing them in.

  [HashiCorp Vault](https://userguide.qualytics.io/source-datastore/datastore/deep-dive/hashicorp-vault/)

*Last updated: November 16, 2026.*
