How to specify multiple databases when connecting to DolphinDB Server with JDBC interface?

15 views Asked by At

My data is saved in multiple databases.

Can I specify the databasePath with multiple paths to DFS databases where various tables are saved?

That said, the script is as follows:

enter image description here

1

There are 1 answers

0
JaneYe On

You can specify multiple databases through the tableAlias of the JDBC interface, for example:

jdbc:dolphindb://192.168.1.55:8848?tableAlias=benchmark_kline_daily:dfs://ch_low_db/benchmark_kline_daily