Schema size report does not appear to correctly filter schemas #3949
Closed
Description
Describe the bug
When adding a second schema, the size report appeared to include the size of the first schema.
Environment
Which version of LinuxForHealth FHIR Server? 5.0.0-RC2
To Reproduce
Steps to reproduce the behavior:
- Create one schema with lots of data
- Create a second schema without much data
- Report the sizes of both, and notice that the size of the
small
schema is similar to the size of thelarge
schema.
Expected behavior
The size report should accurately show the size of each schema
Additional context
Running the schema size report:
java -jar /path/to/fhir-persistence-schema/target/fhir-persistence-schema-*-cli.jar \
--db-type postgresql \
--prop-file fhiradmin.properties \
--schema-name your-schema-name \
--show-db-size \
--show-db-size-detail