Patent ID: 11966387
Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 7:
8. A computer program product, the computer program product comprising a non-transitory tangible storage device having program code embodied therewith, the program code executable by a processor of a computer to perform a method, the method comprising:
collecting traffic against a NoSQL database by an activity collector, wherein the collected traffic is analyzed to predict a trend of traffic against the NoSQL database;
periodically extracting and analyzing by an activity analyzer a database transaction log, wherein the collected traffic and the analyzed database transaction log are input to building a database access pattern, wherein data comprising the database access pattern is stored in an activity database;
capturing, by a workload analyzer, current traffic and compute an activity threshold;
for an intensive insert/update/delete (IUD) operation, directing the traffic to a workload processor in response to an activity threshold exceeding a configured threshold;
based on the activity threshold exceed the configured threshold, generating a plurality of temporary shards, an adaptive key and an adaptive index in the plurality of temporary shards; and
re-directing the intensive IUD processor traffic to the plurality of temporary shards while the activity threshold exceeds the configured threshold.