Related to investigation of ads#13044
![]() |
6 KB
![]() |
9 KB
The DataCache was first introduced in SVN r9834 as the fix to ads#2971. The following two lines of code:
value = dataCache.add(value);objectValue = objectValue(theColumn, value, _settings, conn,maxBlobBlocks, maxClobLines);
objectValue = objectValue(theColumn, value, _settings, conn,maxBlobBlocks, maxClobLines);objectValue.setValue(dataCache.add(objectValue.getValue()));
@QA, to verify this fix, construct a MySQL database table with 10 BIGINT columns and 10000 rows all filled with zeros (or you can use this database and query). Observe the memory counter before and after the fix.
@QA, to verify this fix, construct a MySQL database table with 10 BIGINT columns and 10000 rows all filled with zeros (or you can use this database and query). Observe the memory counter before and after the fix.
I have tested this issue using this database and query. I have attached the excel file which contains memory counter before and after the fix. Please let us know whether the performed tests are correct and please analyze the observations and let us know whether the readings are as per expected and should we mark this issue as verified?
I have tested this issue using this database and query. I have attached the excel file which contains memory counter before and after the fix. Please let us know whether the performed tests are correct and please analyze the observations and let us know whether the readings are as per expected and should we mark this issue as verified?
@Shavi57 - I looked through the attached observations spreadsheet, but did not spot the memory usage improvements I was expecting. Here are a few notes on what I think is unexpected:
Could you please run the test again, verify that:
Note, you do not need to perform multiple query executions, just the Initial Usage should reveal the facts.
@Shavi57 - I looked through the attached observations spreadsheet, but did not spot the memory usage improvements I was expecting. Here are a few notes on what I think is unexpected:
Could you please run the test again, verify that:
Note, you do not need to perform multiple query executions, just the Initial Usage should reveal the facts.
@Shavi57 - The latest test data looks good. I have extracted the pertinent info below:
Stages of Query Execution | ADS builds | |||||
16.0.5-17 (before fix) | 16.0.6-3 (after fix) | 17.0.0-beta-22 (after fix) | ||||
50k Rows | 100k Rows | 50k Rows | 100k Rows | 50k Rows | 100k Rows | |
Used Memory | Used Memory | Used Memory | Used Memory | Used Memory | Used Memory | |
Before query execution | 28 | 29 | 65 | 65 | 70 | 70 |
After query execution | 293 | 469 | 209 | 342 | 215 | 348 |
Est. Memory Used by ResultSet | 265 | 440 | 144 | 277 | 145 | 278 |
It looks like after the fix, the memory requirements for this type of data set reduced by about 45% (for 50k rows) and 37% (for 100k rows).
We can mark this issue as verified.
@Shavi57 - The latest test data looks good. I have extracted the pertinent info below:
Stages of Query Execution | ADS builds | |||||
16.0.5-17 (before fix) | 16.0.6-3 (after fix) | 17.0.0-beta-22 (after fix) | ||||
50k Rows | 100k Rows | 50k Rows | 100k Rows | 50k Rows | 100k Rows | |
Used Memory | Used Memory | Used Memory | Used Memory | Used Memory | Used Memory | |
Before query execution | 28 | 29 | 65 | 65 | 70 | 70 |
After query execution | 293 | 469 | 209 | 342 | 215 | 348 |
Est. Memory Used by ResultSet | 265 | 440 | 144 | 277 | 145 | 278 |
It looks like after the fix, the memory requirements for this type of data set reduced by about 45% (for 50k rows) and 37% (for 100k rows).
We can mark this issue as verified.
Issue #13451 |
Closed |
Fixed |
Resolved |
Completion |
No due date |
Fixed Build 16.0.5-18, 17.0.0-dev-75 |
No time estimate |
1 issue link |
relates to #13044
Issue #13044Memory usage is higher in v15 even after closing QA window |
The DataCache was first introduced in SVN r9834 as the fix to ads#2971. The following two lines of code: