Learn how to synchronize database schema information with the Oxy sync command
oxy sync
command collects semantic information from your databases and stores it in your local repository for use by agents and other Oxy features. This semantic information includes table structures, relationships, and sample data that help agents understand your data model.
DATABASE_NAME
(optional): The name of a specific database to sync, as defined in your config.yml
file. If omitted, all databases will be synced.-d, --datasets <DATASETS>
: Specify one or more datasets to sync within the database. Can be used multiple times.-o, --overwrite
: Overwrite existing files during synchronization. By default, existing files are skipped.config.yml
file. By default, it will skip any files that already exist.
-o
flag, existing semantic files will be overwritten during synchronization.
sync
command provides feedback about the synchronization process:
-o
flag is used, the command will display a warning showing which existing files were overwritten.
oxy sync
command, Oxy will:
sync
command, ensure your databases are properly configured in your config.yml
file. For example: