{"id":13629753,"url":"https://github.com/aboev/smalldb","last_synced_at":"2026-01-18T01:05:56.566Z","repository":{"id":87587623,"uuid":"15584255","full_name":"aboev/smalldb","owner":"aboev","description":"Sample storage engine for MySQL","archived":false,"fork":false,"pushed_at":"2014-02-11T13:52:32.000Z","size":236,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-01T22:44:22.628Z","etag":null,"topics":["mysql","storage-engine"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aboev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-01-02T13:32:16.000Z","updated_at":"2024-02-28T03:32:06.000Z","dependencies_parsed_at":"2023-02-27T01:40:44.299Z","dependency_job_id":null,"html_url":"https://github.com/aboev/smalldb","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aboev%2Fsmalldb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aboev%2Fsmalldb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aboev%2Fsmalldb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aboev%2Fsmalldb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aboev","download_url":"https://codeload.github.com/aboev/smalldb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223751476,"owners_count":17196646,"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":["mysql","storage-engine"],"created_at":"2024-08-01T22:01:18.385Z","updated_at":"2026-01-18T01:05:56.554Z","avatar_url":"https://github.com/aboev.png","language":"C++","funding_links":[],"categories":["C++"],"sub_categories":[],"readme":"## SmallDB\n\nSmallDB - sample in-memory storage engine for MySQL  \nSupports basic CRUD operations, data is stored in a linked list\n\n## Installation\n\nInstallation requires MySQL source code(same as installed version)  \nFollowing example is for MySQL Community 5.5.35  \n\n1. Download \u0026 untar MySQL source code  \n\n```\n  wget http://downloads.mysql.com/archives/get/file/mysql-5.5.35.tar.gz\n  tar -zxvf mysql-5.5.35.tar.gz\n```\n2. Clone smalldb into mysql-5.5.35/storage/smalldb directory\n\n```\n  cd mysql-5.5.35\n  git clone https://github.com/aboev/smalldb.git storage/smalldb\n```\n3. Run cmake\n\n```\n  cmake .\n```\n4. (Optional) Install \u0026 run MySQL if you don't have one. Please follow instructions on http://dev.mysql.com/doc/refman/5.6/en/installing-source-distribution.html for post-install setup  \n\n```\n  make  \n  make install\n```\n5. Compile smalldb \n\n```\n  cd storage/smalldb  \n  make\n```\n5. Copy smalldb.so file into MySQL plugin directory (You can check plugin directory through: SHOW VARIABLES LIKE \"%plugin_dir%\";)  \n\n```\n  cp ha_smalldb.so /opt/mysql/server-5.5.35/lib/plugin/\n```\n6. Install smalldb\n\n```\n  mysql -u root -p -e 'INSTALL PLUGIN smalldb soname \"ha_smalldb.so\";'\n```\n\nNow you can define smalldb as storage engine:  \n```\nCREATE TABLE tbl (col VARCHAR(255)) ENGINE = smalldb;\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faboev%2Fsmalldb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faboev%2Fsmalldb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faboev%2Fsmalldb/lists"}