Creating a repository

Creating locations and repositories

Hint

Locations represent individual GraphDB servers, where the repository data is stored. They can be local (a directory on the disk) or remote (an end-point URL). Only a single location can be active at a time. Each location has a SYSTEM repository containing meta-data about how to initialise other repositories from the current location.

When started, GraphDB creates GraphDB-HOME/data directory as a default location.

Locations can be attached, edited and detached. To attach a data location:

  1. Go to Admin -> Locations and Repositories.

  2. Click Attach location.

  3. Enter a location:

    _images/adding_location.png
  4. Click the Add button.

  5. Create a repository with the Create Repository button.

    _images/create_repo.png
  6. Enter the Repository ID (e.g., worker-node) and leave all other optional configuration settings with their default values.

    Tip

    For repositories with more than few tens of millions of statements, see Configuring a repository.

  7. Set the newly created repository as the default repository for this location with the Connect button.

    _images/connect_to_repo.png