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 the large 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
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:
smallschema is similar to the size of thelargeschema.Expected behavior
The size report should accurately show the size of each schema
Additional context
Running the schema size report: