ViewVC Help
View Directory | Revision Log | Download Tarball | View Changeset | Root Listing
File Last Change
branches/ 1 (15 years ago) by filippis: Initial import of tools
tags/ 91 (15 years ago) by duarte: Creating of tools version 0.2: Freeze of tools package at rev89. New classes QueryThread and DataDistributer. Reorganised DataDistribution (split into DataDistribution and DataDistributer) Main functionality difference is that dump/loads of databases are now threaded thus being a lot faster (some parellelism in dumps/loads)
trunk/ 93 (15 years ago) by duarte: Now split of data also working with text-based keys as well as numerical MySQLConnection: - method getAllIds4KeyAndTable now splitted into two methods one for numerical ids and another for text ids - new methods getColumnType and isKeyNumerical DataDistribution: - method getIdSetsFromNodes splitted into two one for numerical ids one for text ids DataDistributer: - new methods: splitIdsIntoSets now splitted into two methods one numerical, one text - change methods: splitTableToCluster, splitTable, insertIdsToKeyMaster, removePK, addPK, createNewKeyMasterTbl, removeZeros, loadSplitData, dumpSplitData to make them work for both text and numeric keys. Introduced generic type T in some of them - some bugs corrected: -- an important one in createNewKeyMasterTbl, was introducing record in dbs_keys with srcDb instead of destDb as it should have been -- some bugs in loadSplitData and dumpSplitData to account for cases in which there are less ids than number of nodes and thus some nodes don't get any data. Wasn't counting with this before.
         0 files shown