Skip to main content

PostgreSQL

PostgreSQL, also known as Postgres, is a powerful, open-source object-relational database system with over 30 years of active development. It's known for its reliability, feature robustness, and performance in handling a wide range of workloads.

Timbr + PostgreSQL Logo

Integrating PostgreSQL with Timbr combines the strengths of both platforms. It allows you to use Timbr's semantic graph capabilities alongside PostgreSQL's advanced data management features. This integration enhances your ability to perform semantic querying, data virtualization, and integrated data management, leading to deeper analytics and more efficient data operations.

Getting Started with PostgreSQL

If you haven't yet formed a connection with a PostgreSQL database, follow the steps provided in the links below to set up and connect to PostgreSQL:

To connect Timbr to your PostgreSQL datasource, you need to use the PostgreSQL JDBC driver. For information on the PostgreSQL JDBC driver and how to set it up, refer to the PostgreSQL JDBC Driver documentation.

Connecting Timbr to PostgreSQL in the Timbr Platform

Once you've set up a PostgreSQL database and have the JDBC driver ready, it's time to connect Timbr to PostgreSQL. Follow the steps below for a detailed tutorial on connecting Timbr to PostgreSQL:

  1. Navigate to Manage Datasources: From the Timbr interface, click on the Manage tab and select Datasources.

  2. Add New Datasource: On the top right, click the Add New Datasource button. Alternatively, you can click the big add button beneath the knowledge graphs and datasources tabs.

Add new datasource

  1. Fill in Connection Details: A pop-up window will appear where you need to provide the relevant connection details to connect PostgreSQL to Timbr.

There are two options in Timbr to enter the connection information: Simple or JDBC Url.

On the top right of the pop-up window , the toggle can be switched from Simple to JDBC Url in order to connect the datasource using the relevant JDBC URL.

tabs

Simple Tab Connection Configuration

  1. Select Simple Tab: Ensure the Simple tab is selected.

  2. Fill in the Following Details:

    • Database Type: Select PostgreSQL.
    • Datasource Name: Enter a name for your datasource.
    • Description: Provide a description of the datasource (Optional).
    • Hostname / IP: Enter the hostname or IP address of the PostgreSQL server.
    • Port: Default is 443.
    • Username: Enter your PostgreSQL username.
    • Password: nter your PostgreSQL password.
    • Database Name: Specify the name of the database.
    • Additional Parameters: Add any additional connection parameters using & as separators.

JDBC URL Tab Configuration

  1. Select JDBC URL Tab: Ensure the JDBC URL tab is selected.

  2. Fill in the Following Details:

    • Database Type: Select PostgreSQL.
    • Datasource Name: Enter a name for your datasource.
    • Description: Provide a description of the datasource (Optional).
    • Username: Enter your PostgreSQL username.
    • Password: Enter your PostgreSQL password.
    • JDBC URL: Enter the JDBC connection URL (e.g., jdbc:postgresql://hostname:port/database_name).

jdbc tab

Save and Test Connection

  1. After entering the details, click the Save button to save the information, connecting the PostgreSQL datasource to the Timbr environment.
  2. Once saved, on the top right, click the Test connection button to verify the datasource’s connectivity, ensuring it is active and responsive.

For a comprehensive guide on connecting Timbr to various datasources, refer to the detailed documentation: