{"id":15009187,"url":"https://github.com/taldru/dbprofilingtool","last_synced_at":"2026-03-13T08:31:18.883Z","repository":{"id":217203364,"uuid":"262660837","full_name":"TalDru/DBProfilingTool","owner":"TalDru","description":"Dynamic DB profiling and performance-testing tool that i made.","archived":false,"fork":false,"pushed_at":"2020-06-13T08:50:29.000Z","size":28,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-19T07:42:10.221Z","etag":null,"topics":["database-perfomance","mongodb","mysql","performance-testing","profiling","python27","sqlalchemy","zodb"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TalDru.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-09T21:19:26.000Z","updated_at":"2024-05-18T00:44:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"9f886c41-377e-4fe3-a34b-c656bc076a5d","html_url":"https://github.com/TalDru/DBProfilingTool","commit_stats":null,"previous_names":["taldru/dbprofilingtool"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TalDru%2FDBProfilingTool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TalDru%2FDBProfilingTool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TalDru%2FDBProfilingTool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TalDru%2FDBProfilingTool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TalDru","download_url":"https://codeload.github.com/TalDru/DBProfilingTool/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243233922,"owners_count":20258359,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database-perfomance","mongodb","mysql","performance-testing","profiling","python27","sqlalchemy","zodb"],"created_at":"2024-09-24T19:23:30.420Z","updated_at":"2025-12-24T08:48:14.817Z","avatar_url":"https://github.com/TalDru.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# db_profiler\nDynamic DB profiling and performance-testing tool that i made.\n\n## Synopsis\nThis tool is used to easily profile the DB of your choise with easily costumisable tests.\nIt consists of two main modules:\n * Connectors - wrapper for the connector  DB library and basic functionality for each DB\n * Tests - performance test that mesure the DB execution length\nYou can easily write your own custom connectors and tests.\n\n## Running\n    usage: profile_db_performance.py dbs [dbs ...] [-t TESTS [TESTS ...]] [-c COUNT] [--verbose]\n                                 \n    positional arguments:\n      dbs                   DB connector to use for the tests\n\n    optional arguments:\n      -t TESTS [TESTS ...], --tests TESTS [TESTS ...]\n                        Tests to preform.\n      -c COUNT, --count COUNT\n                        How many times to repeat each test.\n      --verbose             Display result for each test.\n      \n      Notes:\n       * If no TEST or COUNT are given, the default is set by the settings in const.py\n       * Non-verbose mode shows only the DB that's being currently profiled and the final results for each test  \n \n## Currently implemented\n * Connectors - MongoDB, ZODB, SQLAlchemy (configured for MySQL)\n * Tests (by default runs 10 times per test):\n    * read - Setup 2,000 records, read 1,000 recods by randomly generated IDs\n    * write - write 1,000 new records with randomly generated data\n    * update - Setup 2,000 records, update 1,000 recods by randomly generated IDs with randomly generated data\n \n## Known bugs and problems\n * ***\"Invalid utf8mb4 chatacter\"* Warning message** - A bug in the PyMySQL library caused by using a BLOB field in the tests\n * **General slow execution of test setups and cleanups** - Yet to be resolved\n * **SQLAlchemy module can't handle sudden test termination** - Yet to be resolved\n *  ***\"No handlers could be found for logger \"ZODB.FileStorage\" \"* Warning message** - Haven't added proper logging yet. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaldru%2Fdbprofilingtool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftaldru%2Fdbprofilingtool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaldru%2Fdbprofilingtool/lists"}