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 rundazense init, you can add a database connection interactively:
dazense_config.yaml:
Database Setup
Snowflake
BigQuery
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 informationpreview— Sample data rows (first N rows of the table)description— Table descriptions and metadataprofiling— Data profiling statistics (null counts, unique values, min/max, etc.)
Synchronization
Once configured, sync your database schemas:- Connect to your database
- Extract schema information based on your accessors
- Save it to
context/databases/as text files - Make it available to your agent
Context Files
After syncing, you’ll see a hierarchical structure like:Table Selection
Control which tables to sync usinginclude and exclude patterns.
Pattern Syntax
Use glob patterns to match table names:
schema_name.table_name— Exact matchschema_name.*— All tables in a schema*.table_name— Table name across all schemas*_staging— Tables ending with_stagingtest_*— Tables starting withtest_*— All tables
include and exclude together:
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
