In-Memory Database Replication Factor Adjustment

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In-memory databases face challenges in efficiently managing data storage due to limited storage space and high costs, with existing methods failing to effectively manage data when storage is full, leading to potential failures and memory leaks.

Innovation Solution

A method that adjusts the replication factor of data stored in an in-memory database, allowing for the deletion of duplicated data when storage utilization reaches a threshold, thereby preventing memory-full states and ensuring storage space without altering the replication factor, and providing administrators with options for backup and expansion.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If data is stored with high replication factor in in-memory database, then data reliability is improved, but storage space consumption increases

Engineering Contradiction:
Improvedata reliabilityVSAvoidstorage space consumption
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The patent implements dynamic adjustment of replication factor based on memory utilization rate. When memory usage exceeds a threshold, the system automatically reduces the replication factor for certain data, thereby freeing up storage space while maintaining appropriate redundancy levels for reliability.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system changes the replication factor parameter dynamically based on storage conditions. By adjusting this parameter according to memory utilization, the system optimizes the balance between data reliability (requiring higher replication) and storage space availability (requiring lower replication).

Inventive Principle:
Principle #35Parameter changes

2Quantity of substance

If replication factor is reduced to free storage space, then storage space is secured, but data reliability deteriorates

Engineering Contradiction:
Improvestorage spaceVSAvoiddata reliability
Core Design Contradiction:
Quantity of substanceVSReliability

Solution Approach 1:

The patent applies different replication factors to different data based on their characteristics and access patterns. Not all data is treated uniformly - critical data maintains higher replication factors while less critical data uses lower replication factors, optimizing both reliability and storage space utilization.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The system performs partial replication adjustment by selectively reducing replication factors for specific data sets rather than uniformly reducing all replication. This partial action maintains necessary reliability for critical data while freeing sufficient space for overall system operation.

Inventive Principle:
Principle #16Partial or excessive action

3Loss of energy

If disk-based database is used instead of in-memory database, then storage cost is reduced, but access speed deteriorates

Engineering Contradiction:
Improvestorage costVSAvoidaccess speed
Core Design Contradiction:
Loss of energyVSSpeed

Solution Approach 1:

The patent proactively monitors memory utilization rates and adjusts replication factors before memory becomes completely full. This preliminary action prevents memory exhaustion and potential system failures, maintaining fast access speeds by ensuring sufficient buffer space in memory without needing to resort to slower disk-based storage.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS10133757B2Method for managing data using in-memory database and apparatus thereof
Publication Date: 2018.11.20 SAMSUNG SDS CO LTD
  • US10133757B2 patent drawing
  • US10133757B2 patent drawing
  • US10133757B2 patent drawing

AI summary

Methods and apparatuses for managing data using an in-memory database are provided. One of the methods comprises, determining whether a memory utilization rate is equal to or greater than a threshold value, reducing the value of replication factor of data stored in the memory, when the memory utilization rate is equal to or greater than the threshold value as a result of the determination, and deleting at least one data duplicated with the data, in accordance with the reducing the value of replication factor.