Skip to content

Schema size report does not appear to correctly filter schemas #3949

Closed
@punktilious

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:

  1. Create one schema with lots of data
  2. Create a second schema without much data
  3. 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

Metadata

Assignees

Labels

P2Priority 2 - Should HavebugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions