Create a Database

This page guides you through the steps to create a database and add it to a package, using the kdb Insights Enterprise Web Interface.

The Create a database section guides you through building the insights-demo database and adding it to the insights-demo package.

Details on how to set up pipelines and ingest data into this database are provided in the other walkthroughs.

Create a database

This section explains how to create a new database, add it to a package, and set up the schema for the new database in the Insights Enterprise Web Interface.

  1. On the Overview page, choose Create new under Databases in the Quick Actions section.

    Select a build a database.

  2. In the Create Database dialog set the following values:

    Setting

    Value

    Database Name

    insights-demo

    Select a Package

    Create new package

    Package Name

    insights-demo

  3. Click Create.

    Create insights-demo

  4. On the Schema Settings tab click Code View to open the Schema Code View. You can use this to add large schema tables, in JSON format.

  5. Replace the existing code with the following JSON.

  6. Click Apply to setup the database schema.

  7. Click Save.

    A database with four schema tables.

  8. Navigate to the Packageindex to see the package containing the database.

    Packages Index

  9. Next, create pipelines to ingest data into this database:

Further reading

Use the following links to learn more about specific topics mentioned in this page: