Querying
If your license allows this, you can directly connect to all the cold data in Marple DB via Trino and query this data using SQL.
This allows you to connect any Trino compatible tool to your data. The following guides help you to connect with some common tools. Check the Connect page in Marple DB for the values relevant to your workspace.
Structure
Trino allows querying the hot and cold data in Marple DB as one unified database. To access this data, the correct schema should be specified
Hot (postgres) - All high level metadata about datasets and signals lives in these tables:
mdb_<datapool>_datasetinformation about all individual datasets in a datapoolmdb_<datapool>_signalinformation about all individual signals in a datapoolmdb_<datapool>_signal_enummapping betweennameandidfor all signals in a datapool
-> schema:
mdb_<workspace-id>_hotCold (parquet data lake in Apache Iceberg format) - All raw data in a unified table per datapool with columns
dataset,signal,time,value,value_signal-> schema:
mdb_<workspace-id>_cold
Example Queries
List datasets in the hot catalog (Postgres)
Select the signal id for a given signal name from the hot catalog (Postgres)
Get signal info from the hot catalog
Query raw data from the cold catalog (Iceberg)
Last updated