Storage
What is a local catalog?
A local catalog is the on-disk database, caches, and media home where tables live when you run the engine on your own machine.
Updated
How it works
- Install the package and apply a schema.
- Tables go to pgdata and generated media to media/ under the catalog home; inserted files stay where they are.
- The same schema can later apply to a hosted database.
What it is not
It is not a hosted database, and it is not a Docker volume you never version.
local catalog: this, and the thing it is confused with
| This | Not this | |
|---|---|---|
| Where | Your disk | A cloud account |
| Account | None required | Required to host |
| Schema | The same file | A rewrite |
Where Pixeltable fits
Pixeltable’s local catalog is what pip install gives you. PIXELTABLE_HOME is the directory that catalog uses.
Questions
How does local catalog work?
Install the package and apply a schema. Tables go to pgdata and generated media to media/ under the catalog home; inserted files stay where they are. The same schema can later apply to a hosted database.
What is local catalog often confused with?
It is not a hosted database, and it is not a Docker volume you never version.
Next step
Install the Pixeltable skill, or sign up for Cloud and run the same file on a hosted database.