Creating a Repository

Creating locations and repositories

Data locations group a set of repositories and expose them as Sesame endpoints. They can be initialised as a local file path or a remote server URL, which requires a valid Sesame endpoint. When a local file path is set, the current Java process initialises all repositories locally and they operate in the same memory address space. Each location has a SYSTEM repository containing meta-data about how to initialise the other repositories from the current location.

To create data locations and repositories, follow the steps:

  1. Go to the GraphDB Workbench and navigate to Admin -> Locations and Repositories.

  2. Choose Attach Location and enter a local file system path.

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

    Tip

    This creates the path where all GraphDB database binaries are created. Alternatively, connect to a remote location exposed via the Sesame API by supplying a valid URL endpoint.

  4. Create a repository with the Create Repository button.

    _images/create_repo.png
  5. 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.

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

    _images/connect_to_repo.png