{'fraction_non_alphanumeric': 0.015169194865810968, 'fraction_numerical': 0.0, 'mean_word_length': 5.042253521126761, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
An Intelligent Agent Using a Q-Learning Method to Allocate Replicated Data in a Distributed Database

The data distribution problem is a critical one that affects the global performance of the distributed database systems because it directly influences the efficiency of the querying process. Due to the complexity of the problem, most of the proposed solutions divide the design process in two parts: the fragmentation and the allocation of the fragments on the different locations in the network. Here we consider the allocation problem with the possibility to replicate fragments, minimizing the total cost, which is in general NP-complete, and propose a method based on Q-learning to solve the allocation of fragments in the design of a distributed database. As a result we obtain for several cases, logical allocation of fragments in a reasonable time.