| CPC G06F 3/0631 (2013.01) [G06F 3/061 (2013.01); G06F 3/067 (2013.01)] | 20 Claims |

|
1. A system for improving memory resource allocation in database blocks of a database server using blockchain comprising:
a database server comprising a plurality of database blocks, wherein:
the database server is associated with total memory resources;
each of the plurality of database blocks is configured to be used to perform a different task;
the plurality of database blocks comprises a first database block and a second database block;
a blockchain network comprising a first block associated with the database server, wherein the plurality of database blocks are different from and external with respect to blocks of the blockchain network; and
a processor communicatively coupled with the database server and the blockchain network, and configured to:
receive a first request to allocate a first amount of memory resources from among the total memory resources to the first database block to perform a first task;
communicate a first blockchain transaction to the first block, wherein the first blockchain transaction comprises the first request;
extract, via a machine learning module, a first set of features from the first blockchain transaction, wherein the first set of features comprises the first task, the first amount of memory resources, and the first database block;
access a historical blockchain transaction associated with the first task, wherein the historical blockchain transaction has been approved;
extract, via the machine learning module, a second set of features from the historical blockchain transaction, wherein the second set of features comprises the first task, memory resources allocated to the first task, an approval indication for approving the historical blockchain transaction;
compare each feature from among the first set of features with a counterpart feature from among the second set of features;
determine that the first set of features corresponds to the second set of features;
in response to determining that the first set of features corresponds to the second set of features, approve the first blockchain transaction based at least in part upon historical memory resource allocations to perform the first task using the first amount of memory resources, wherein the historical memory resource allocations associated with the first task indicate an amount of allocated memory resources that historically has been allocated to the first task, at least one source of the allocated memory resources, and a utilization indication of the allocated memory resources with respect to the first task;
receive a first message from the first block that indicates a second block is generates in the blockchain network, wherein:
the generation of the second block is in response to the first blockchain transaction being approved;
the second block stores allocation of the first amount of memory resources to the first database block;
the second block is associated with the first database block;
perform the first task using the first amount of memory resources;
receive a second request to allocate a second amount of memory resources to the second database block to perform a second task;
monitor the first database block to determine whether any portion of the first amount of memory resources is not utilized;
determine that a subset of the first amount of memory resources is not utilized;
communicate a second blockchain transaction to the first block, wherein the second blockchain transaction comprises the second request;
approve the second blockchain transaction based at least in part upon historical memory resource allocations to perform the second task using the second amount of memory resources, wherein the historical memory resource allocations associated with the second task indicate an amount of allocated memory resources that historically has been allocated to the second task, at least one source of the allocated memory resources, and a utilization indication of the allocated memory resources with respect to the second task;
receive a second message from the first block that indicates a third block is generated in the blockchain network, wherein:
the generation of the third block is in response to the second blockchain transaction being approved;
the third block stores reallocation of the subset of the first amount of memory resources to the second database block; and
the third block is associated with the second database block;
determine an updated amount of memory resources that is utilized by the first database block to perform the first task, wherein the updated amount of memory resources corresponds to the first amount of memory resources without the subset of the first amount of memory resources;
associate the determined updated amount of memory resources to the first set of features associated with the first task;
receive a third request to allocate a third amount of memory resources from the total memory resources to a third database block to perform a third task;
extract, via the machine learning module, a third set of features from the third task, wherein the third set of features comprises the third task, the third amount of memory resources, and the third database block, wherein the third set of features is represented by a feature vector comprising numerical values;
compare each feature of the first set of features with a counterpart feature of the third set of features;
determine that each feature of the first set of features corresponds to a counterpart feature of the third set of features; and
in response to determining that each feature of the first set of features corresponds to the counterpart feature of the third set of features, allocate the determined updated amount of memory resources to the third database block to perform the third task.
|