PTF - Performance testing of moving Parsed Records Flattening From Database To Module Space (Quesnelia) [non-ECS]
Overview
This document contains comparing results of testing Data Import for MARC Bibliographic records with create and update jobs on the Quesnelia [non-ECS] release on qcp1 environment with two different versions of mod-source-record-storage 5.8.0and5.9.0-SNAPSHOT.387 (moved json parsing function from DB to module).
Summary
Data Import tests finished successfully on qcp1 environment using the PTF - Create 2 and PTF - Updates Success - 6 profiles with 10k, 100k and 200k file records.
DI duration growth correlates to the number of records imported.
Comparing between mod-source-record-storage 5.8.0 and mod-source-record-storage 5.9.0-SNAPSHOT.387
Data Import durations have performance degradation of around 35% for all Data-imports jobs.
Server and Database metrics at the same level for both versions of mod-source-record-storage module.
No memory leaks are observed.
Test Runs and Results
This table contains durations for Data Import.
Profile | Tenant | MARC File | Test # | DI Duration | Test # | DI Duration | Results |
|---|---|---|---|---|---|---|---|
DI MARC Bib Create (PTF - Create 2) | fs09000000 | 25K.mrc | 1 | 0:11:14 | 7 | 0:14:30 | Completed |
fs09000000 | 100K.mrc | 2 | 0:46:02 | 8 | 1:03:37 | Completed | |
fs09000000 | 200K.mrc | 3 | 1:30:05 | 9 | 2:10:52 | Completed | |
DI MARC Bib Update (PTF - Updates Success - 6) | fs09000000 | 25K.mrc | 4 | 0:37:11 | 10 | 0:26:37 | Completed |
fs09000000 | 100K.mrc | 5 | 1:21:57 | 11 | 1:51:49 | Completed | |
fs09000000 | 200K.mrc | 6 | 2:43:16 | 12 | 3:38:51 | Completed |
Comparison
This table contains durations comparison between mod-source-record-storage 5.8.0 and mod-source-record-storage 5.9.0-SNAPSHOT.387.
Profile | MARC File | DI Duration | DI Duration | Delta |
|---|---|---|---|---|
DI MARC Bib Create (PTF - Create 2) | 25K.mrc | 0:11:14 | 0:14:30 | 0:03:1 |
100K.mrc | 0:46:02 | 1:03:37 | 0:17:35 | |
200K.mrc | 1:30:05 | 2:10:52 | 0:40:47 | |
DI MARC Bib Update (PTF - Updates Success - 6) | 25K.mrc | 0:37:11 | 0:26:37 | 0:10:34 |
100K.mrc | 1:21:57 | 1:51:49 | 0:29:52 | |
200K.mrc | 2:43:16 | 3:38:51 | 0:55:35 |
Resource utilization for Test Set №1
Service CPU Utilization
Here we can see that mod-data-import used 250% CPU in spike and mod-inventory used 115% CPU.
Service Memory Utilization
Here we can see that all modules show a stable trend except mod-source-record-manager.
DB CPU Utilization
DB CPU was 90%.
CPU (User) usage by broker
Disk usage by broker
DB Connections
Max number of DB connections was 918.
DB load
Top SQL-queries
# | TOP 5 SQL statements |
|---|---|
1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
Resource utilization for Test Set №2
Service CPU Utilization
Here we can see that mod-data-import used 240% CPU in spike and mod-inventory used 111% CPU.