Should one be able to see the contract data stored in Postgresql after we setup a query store?
In my daml.yaml
I have:
json-api-options:
- --query-store-jdbc-config=driver=org.postgresql.Driver,url=jdbc:postgresql://localhost:5432/daml_ui_template,user=daml_json_client,password=notaproductionpassword,createSchema=false
Ran it with true
the first time. I can see the data served to me like normal via the React app. But then in psql (as daml_json_client
):
daml_ui_template-> \dt
List of relations
Schema | Name | Type | Owner
--------+---------------+-------+------------------
public | contract | table | daml_json_client
public | ledger_offset | table | daml_json_client
public | template_id | table | daml_json_client
(3 rows)
daml_ui_template-> SELECT * from contract
daml_ui_template-> SELECT * from ledger_offset
daml_ui_template-> SELECT * from template_id
daml_ui_template->
My interest was in measuring the impact of creating an index as @Stephen discussed here.