-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Connecting to the IGVF Datastore (ClickhouseDB) | ||
|
||
This guide provides instructions on how to connect to the IGVF Datastore, the columnar database ClickhouseDB. | ||
|
||
We provide two instances of the ClickhouseDB: | ||
|
||
* https://datastore.catalog.igvf.org - the production instance | ||
* https://datastore-dev.catalog.igvf.org - the development instance | ||
|
||
Both are available using the port 8123. The endpoints above are just addresses, clicking on them will not lead to any page. | ||
|
||
The production instance has our current data, which was tested and validated. The development instance has our current work in progress, work and it is usually used to share ideas with other groups before the final work is officially released in production. | ||
|
||
There are several forms to connect to a Clickhouse database. | ||
|
||
The most basic form is by using its native client. If you have it installed, you can use the following command: | ||
|
||
``` | ||
clickhouse-client --host=datastore.catalog.igvf.org --port=8123 --user=<username> --password=<password> | ||
``` | ||
|
||
Please contact our group to receive a username and password. | ||
|
||
We recommend using a client interface to interact with our database. It is easier and doesn't require much more knowledge of Clickhouse to explore our data. | ||
|
||
One free client that supports connection to ClickhouseDB is DBVisualizer (https://www.dbvis.com/). | ||
|
||
To set up DBVisualizer, create a new Database Connection and select Clickhouse. | ||
|
||
As the database server name, use: `datastore.catalog.igvf.org` or `datastore-dev.catalog.igvf.org`, for the database port use `8123`, and for the database value, use `igvf`. Next, add your credentials to Userid and Password. |