What is Canton default database ? Can participant see the db config?
- jaypeedaOP 1
Hey team,
I would like to know what is the default db in a canton participant node? (Is there any ? Is it postgre?)
Does canton expose this database’s configuration ?
Can participant see the db config ?Thanks and regards,
Jean-PaulOn top of @davidpadbury 's answer, I will also add @soren’s answer:
There’s no default storage configuration for a participant, but it has to be configured in the config file under
participants.$yourParticipant.storage. You can choose between in-memory, h2, and postgres (and soon oracle). take a look in the release artifact underexamples/03-advanced-configurationfor re-usable storage configs and the docs: Static Configuration — Daml SDK 2.6.5 documentation - davidpadbury 2
- jaypeeda
@davidpadbury thanks as usual !
By exposed I meant from the participant console. @soren gave me below answer which responded to this question:
"you can get the entire participant config via
yourParticipant.configandyourParticipant.config.storagefor the storage specific subsection"Thank you all,
Jean-Paul