# What is Canton default database ? Can participant see the db config?

**URL:** <https://forum.canton.network/t/what-is-canton-default-database-can-participant-see-the-db-config/2435>\
**Category:** App Development\
**Tags:** canton\
**Created:** [April 12, 2021, 2:35pm UTC](https://forum.canton.network/t/what-is-canton-default-database-can-participant-see-the-db-config/2435 "2021-04-12T14:35:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jaypeeda](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/jaypeeda/32/6967_2.png) [@jaypeeda](https://forum.canton.network/u/jaypeeda)\
**Post date:** [April 12, 2021, 2:35pm UTC](https://forum.canton.network/t/what-is-canton-default-database-can-participant-see-the-db-config/2435/1 "2021-04-12T14:35:43Z")

</div>

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-Paul

_On 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 under `examples/03-advanced-configuration` for re-usable storage configs and the docs: [Static Configuration — Daml SDK 2.6.5 documentation](https://www.canton.io/docs/stable/user-manual/usermanual/static_conf.html#persistence)

---

<div class="post-metadata">

**Author:** ![davidpadbury](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/davidpadbury/32/447_2.png) [@davidpadbury](https://forum.canton.network/u/davidpadbury)\
**Post date:** [April 12, 2021, 2:53pm UTC](https://forum.canton.network/t/what-is-canton-default-database-can-participant-see-the-db-config/2435/2 "2021-04-12T14:53:38Z")

</div>

Hi @jaypeeda,

You have to specify a storage configuration for each node ([ref](https://www.canton.io/docs/stable/user-manual/usermanual/static_conf.html#persistence)). Canton Community supports Postgres and is what we’d suggest for normal operation.

How do you mean expose?

David.

---

<div class="post-metadata">

**Author:** ![jaypeeda](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/jaypeeda/32/6967_2.png) [@jaypeeda](https://forum.canton.network/u/jaypeeda)\
**Post date:** [April 13, 2021, 6:04am UTC](https://forum.canton.network/t/what-is-canton-default-database-can-participant-see-the-db-config/2435/3 "2021-04-13T06:04:12Z")

</div>

@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.config` and `yourParticipant.config.storage` for the storage specific subsection"**

Thank you all,

Jean-Paul
