Enable hibernate write batching 77/135477/14
authordanielhanrahan <daniel.hanrahan@est.tech>
Thu, 17 Aug 2023 13:58:30 +0000 (14:58 +0100)
committerDaniel Hanrahan <daniel.hanrahan@est.tech>
Wed, 10 Jan 2024 12:44:19 +0000 (12:44 +0000)
commit36b81b27703d298f016180a71c85113d5c90c6b1
treec2661b7f16e8366907e55ec2fd85634c12fbe51e
parent8e617d64a7725f5fb0f0f31a5c551ff3e1e484de
Enable hibernate write batching

- Implement fragment ID sequence generator with allocation size of 100
- Enable write batching for insert and update, with batch size of 100
- Write performance is over 2x faster

Issue-ID: CPS-1795
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I7ebd0f834abb57c593603e2cd3fafc7e3425ab1e
14 files changed:
cps-application/src/main/resources/application.yml
cps-ri/src/main/java/org/onap/cps/spi/entities/FragmentEntity.java [changed mode: 0755->0644]
cps-ri/src/main/resources/changelog/changelog-master.yaml
cps-ri/src/main/resources/changelog/db/changes/22-fragment-id-sequence-forward.sql [new file with mode: 0644]
cps-ri/src/main/resources/changelog/db/changes/22-fragment-id-sequence-rollback.sql [new file with mode: 0644]
cps-ri/src/main/resources/changelog/db/changes/22-fragment-id-sequence.yaml [new file with mode: 0644]
docs/release-notes.rst
integration-test/src/test/groovy/org/onap/cps/integration/performance/base/CpsPerfTestBase.groovy
integration-test/src/test/groovy/org/onap/cps/integration/performance/cps/CpsDataServiceLimitsPerfTest.groovy
integration-test/src/test/groovy/org/onap/cps/integration/performance/cps/DeletePerfTest.groovy
integration-test/src/test/groovy/org/onap/cps/integration/performance/cps/UpdatePerfTest.groovy
integration-test/src/test/groovy/org/onap/cps/integration/performance/cps/WritePerfTest.groovy
integration-test/src/test/resources/application.yml
integration-test/src/test/resources/liquibase/test-changelog.yaml