What is a primary database, and how do I change it?

    Every workspace has a primary database: the Notion database it reads from by default. When you add a chart, milestone, or calendar to the workspace, that database is already selected for you. It's a default, not a lock — you can still point any individual chart, milestone, or calendar at a different database, and existing ones keep the database they were created with.

    You'll see its state as a chip in the top bar of the workspace page:

    • Connected — the workspace has a primary database.
    • No database selected — Notion is connected but no primary database is set yet.
    • Database unavailable — the primary database was deleted or is no longer shared with NotionStats.

    primary database

    Set or change it #

    1. Open the workspace page.
    2. Click the status chip in the top bar (or Choose database in the prompt).
    3. Pick a database from the list. It saves immediately and shows Saved; if it replaced an earlier database, click Undo in the confirmation to put it back.

    primary database

    Can't find your database? Use Update the Notion connection to re-share it at the bottom of the window. See How do I share a Notion page or database with NotionStats?.

    When it's set for you #

    NotionStats picks the primary database automatically when the choice is unambiguous:

    • Right after you link Notion: if only one database was shared, or one is named exactly like the template database for your workspace type (trades db for Trading, finance database for Finance, habit database for Habits, fitness db for Fitness, subscription db for Subscriptions). You'll see a Primary database set to … message with a Change button.
    • When you create a workspace on an existing Notion connection (without linking again): only if a database has the exact template name above.

    If neither applies, or you chose Other, the choice is left to you. Nothing is changed on workspaces that already have a working primary database.

    Still need help? Contact support.