Murtadha Hubail has submitted this change and it was merged.

Change subject: [NO ISSUE][CONF] Reduced Metadata Datasets Memory Budget
......................................................................


[NO ISSUE][CONF] Reduced Metadata Datasets Memory Budget

- user model changes: no
- storage format changes: no
- interface changes: no

Details:
- Reduce memory budget of metadata datasets from
  32 to 8 pages.

Change-Id: I01b92778eda67c2ad93babc92ba509765d63fb43
Reviewed-on: https://asterix-gerrit.ics.uci.edu/2450
Sonar-Qube: Jenkins <[email protected]>
Tested-by: Jenkins <[email protected]>
Contrib: Jenkins <[email protected]>
Integration-Tests: Jenkins <[email protected]>
Reviewed-by: Till Westmann <[email protected]>
---
M 
asterixdb/asterix-common/src/main/java/org/apache/asterix/common/config/StorageProperties.java
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Anon. E. Moose #1000171: 
  Till Westmann: Looks good to me, approved
  Jenkins: Verified; No violations found; ; Verified



diff --git 
a/asterixdb/asterix-common/src/main/java/org/apache/asterix/common/config/StorageProperties.java
 
b/asterixdb/asterix-common/src/main/java/org/apache/asterix/common/config/StorageProperties.java
index e813968..6a6e649 100644
--- 
a/asterixdb/asterix-common/src/main/java/org/apache/asterix/common/config/StorageProperties.java
+++ 
b/asterixdb/asterix-common/src/main/java/org/apache/asterix/common/config/StorageProperties.java
@@ -44,7 +44,7 @@
         STORAGE_MEMORYCOMPONENT_GLOBALBUDGET(LONG_BYTE_UNIT, 
Runtime.getRuntime().maxMemory() / 4),
         STORAGE_MEMORYCOMPONENT_PAGESIZE(INTEGER_BYTE_UNIT, 
StorageUtil.getIntSizeInBytes(128, KILOBYTE)),
         STORAGE_MEMORYCOMPONENT_NUMCOMPONENTS(INTEGER, 2),
-        STORAGE_METADATA_MEMORYCOMPONENT_NUMPAGES(INTEGER, 32),
+        STORAGE_METADATA_MEMORYCOMPONENT_NUMPAGES(INTEGER, 8),
         STORAGE_LSM_BLOOMFILTER_FALSEPOSITIVERATE(DOUBLE, 0.01d),
         STORAGE_MAX_ACTIVE_WRITABLE_DATASETS(INTEGER, 8);
 
@@ -105,7 +105,7 @@
         @Override
         public String usageDefaultOverride(IApplicationConfig accessor, 
Function<IOption, String> optionPrinter) {
             if (this == STORAGE_METADATA_MEMORYCOMPONENT_NUMPAGES) {
-                return "32 pages";
+                return "8 pages";
             }
             return null;
         }

-- 
To view, visit https://asterix-gerrit.ics.uci.edu/2450
To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I01b92778eda67c2ad93babc92ba509765d63fb43
Gerrit-PatchSet: 2
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: Murtadha Hubail <[email protected]>
Gerrit-Reviewer: Anon. E. Moose #1000171
Gerrit-Reviewer: Jenkins <[email protected]>
Gerrit-Reviewer: Michael Blow <[email protected]>
Gerrit-Reviewer: Murtadha Hubail <[email protected]>
Gerrit-Reviewer: Till Westmann <[email protected]>

Reply via email to