Source Datastore Best Practices¶
These recommendations help you keep source datastores easy to manage, safe, and light on the systems they read from.
Scope Each Datastore to One Schema or Folder¶
A datastore covers one schema of a database, or one folder path of a bucket. Create one datastore for each schema or folder you want to monitor instead of reaching for a wide scope, so containers, checks, and anomalies stay grouped the way your teams own the data. To add several schemas at once, use multi-schema creation.
Reuse Connections for the Same System¶
When several datastores read from the same database or bucket, create the connection once and add the others with Existing Connection. The credentials then live in one place, and a password change is a single edit on the Manage Connections page. Remember that editing a shared connection affects every datastore that uses it. See Connection.
Grant Only the Access Each Connection Needs¶
A source connection needs only read access to the data it scans. Give write access only to the connection behind an enrichment datastore, and keep that datastore on a dedicated schema or storage path, separate from the data you govern. Each connector's Permissions page lists the exact grants.
Keep Credentials in a Secrets Manager¶
If your organization manages credentials outside Qualytics, turn on Secrets Management and reference each secret with ${key} instead of typing it into the form. A changed secret takes effect on the next connection, with nothing to edit in Qualytics. See HashiCorp Vault.
Allow Only the Addresses You Need¶
Copy the addresses from the information banner on the Add Datastore page and allow only the group that matches how your deployment reaches the source: the public addresses for a source on the internet, the private ones for a source in the same private network. See Finding the addresses to allow.
Name Datastores So Environments Stand Apart¶
Use a Name Template that says where the data comes from, such as prod_{{schema}} or staging_{{schema}}, so datastores from different environments are easy to tell apart in lists, filters, and notifications.
Start with Sync, Then Profile and Scan¶
Select Initiate Sync when you create a datastore so it discovers its containers and fields right away. Profile once Sync finishes, and Scan after that. The Get started in three steps strip on a new datastore's overview page walks you through that order. See How It Works.
Hold Back Parallel Queries on Shared Databases¶
For a database that also serves applications, set Max Parallelization on its connection so scans do not slow down other work. The cap applies to each datastore on its own, so lower it further when several datastores share the connection. Raise it again when the database can handle more. See Max Parallelization.
Clean Up Unused Connections¶
A connection stays in Qualytics after its last datastore is deleted. Review the Manage Connections page from time to time and delete the connections nothing uses, so old credentials do not linger.
See Also¶
-
Permissions
The role and team permission each datastore action needs.
-
How It Works
How a datastore maps to your storage, the layers behind it, the lifecycle, and the Timeline.
-
Connection
How a connection holds the credentials that one or more datastores share.
-
Multiple-Schema
Create one datastore per schema or folder from a single connection.
-
Supported Connectors
Every connector by family, with its enrichment support and multi-schema fields.
-
JDBC Connectors
How Qualytics reads relational databases and warehouses through JDBC.
-
DFS Connectors
How Qualytics reads files from cloud object storage and distributed file systems.
-
Native Connectors
How Qualytics reads a platform's own storage or API without its query engine.
-
Supported File Formats
The file formats DFS datastores read, including compressed variants.
-
Filename Globbing
How DFS datastores group files with similar names into one container.
-
HashiCorp Vault
Pull connection credentials from a secrets manager instead of typing them in.
-
Examples
Real scenarios, from onboarding a warehouse to protecting a busy database.