Skip to main content

Creating a Namespace and Database to Hold Samples

Creating a Namespace and Database to Hold Samples

Many of the samples include InterSystems IRIS classes or routines and are meant to be loaded into an InterSystems IRIS instance. InterSystems recommends that you create a dedicated namespace and database called SAMPLES for this purpose and then load the samples into this namespace.

To create the SAMPLES namespace and database:

  1. In the Management Portal, click System Administration > Configuration > System Configuration > Namespaces.

  2. In the Name of the Namespace, enter SAMPLES.

  3. Next to Select an existing database for Globals, click Create New Database.

    In the next step, you are starting to create the namespace.

  4. For Enter the name of your database, enter SAMPLES. The name is not case-sensitive.

  5. For Database directory, enter SAMPLES.

  6. Click Next.

  7. Accept all other values as default.

  8. Click Finish.

    This step finished creating the database.

  9. For Select an existing database for Routines, select the database that you just created.

    Note that for a production system, you would use a different database to store routines and classes.

  10. Accept all other values as default.

  11. Click Save.