Skip to main content

Supported Databases

dazense supports all major data warehouses and databases:
  • Snowflake
  • BigQuery
  • Databricks
  • PostgreSQL
  • Redshift
  • MySQL
  • SQL Server
  • And more…

Adding a Database

During Initialization When you run dazense init, you can add a database connection interactively:
Manual Configuration Add database connections in your dazense_config.yaml:

Database Setup

Snowflake

BigQuery

The service account should have BigQuery User role at minimum to read schemas and query tables.

Databricks

PostgreSQL

Accessors

Accessors define what information to extract from each table. Each accessor generates a specific context file:
  • columns — Column names, data types, and schema information
  • preview — Sample data rows (first N rows of the table)
  • description — Table descriptions and metadata
  • profiling — Data profiling statistics (null counts, unique values, min/max, etc.)
You can select which accessors to use based on your needs:

Synchronization

Once configured, sync your database schemas:
This will:
  1. Connect to your database
  2. Extract schema information based on your accessors
  3. Save it to context/databases/ as text files
  4. Make it available to your agent

Context Files

After syncing, you’ll see a hierarchical structure like:
Each table has files corresponding to the accessors you’ve configured.

Table Selection

Control which tables to sync using include and exclude patterns. Pattern Syntax Use glob patterns to match table names:
  • schema_name.table_name — Exact match
  • schema_name.* — All tables in a schema
  • *.table_name — Table name across all schemas
  • *_staging — Tables ending with _staging
  • test_* — Tables starting with test_
  • * — All tables
Include Patterns Specify which tables to sync (if empty, all tables are included):
Exclude Patterns Specify which tables to exclude from syncing:
Combined Example You can use both include and exclude together:
When both include and exclude are specified, inclusion filtering is applied first, then exclusion rules filter from that result.

Best Practices

When selecting tables to include in your context, aim for the optimal balance:
  • Include enough tables to answer your users’ questions without exploratory queries
  • Exclude irrelevant tables to reduce token costs and improve focus
  • Start small with core business tables, then expand based on usage