{"id":25892177,"url":"https://github.com/magentiz/magento-2-split-db","last_synced_at":"2026-01-13T23:49:54.133Z","repository":{"id":212206811,"uuid":"730947508","full_name":"magentiz/magento-2-split-db","owner":"magentiz","description":"Magento 2 SplitDb Extension helps reduce query load on a database, improving system performance.","archived":false,"fork":false,"pushed_at":"2023-12-19T09:42:20.000Z","size":26,"stargazers_count":12,"open_issues_count":1,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-24T15:16:41.518Z","etag":null,"topics":["magentiz","magento-2-extension","magento-2-extension-free","magento2-module","optimize","split-db","splitdb"],"latest_commit_sha":null,"homepage":"https://magentiz.com/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"osl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/magentiz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-12-13T02:55:08.000Z","updated_at":"2025-08-18T09:41:03.000Z","dependencies_parsed_at":"2023-12-19T06:54:28.435Z","dependency_job_id":null,"html_url":"https://github.com/magentiz/magento-2-split-db","commit_stats":null,"previous_names":["magentiz/magento-2-split-db"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/magentiz/magento-2-split-db","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magentiz%2Fmagento-2-split-db","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magentiz%2Fmagento-2-split-db/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magentiz%2Fmagento-2-split-db/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magentiz%2Fmagento-2-split-db/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/magentiz","download_url":"https://codeload.github.com/magentiz/magento-2-split-db/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magentiz%2Fmagento-2-split-db/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28405475,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T21:51:37.118Z","status":"ssl_error","status_checked_at":"2026-01-13T21:45:14.585Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["magentiz","magento-2-extension","magento-2-extension-free","magento2-module","optimize","split-db","splitdb"],"created_at":"2025-03-02T21:01:42.194Z","updated_at":"2026-01-13T23:49:54.128Z","avatar_url":"https://github.com/magentiz.png","language":"PHP","funding_links":[],"categories":["PHP"],"sub_categories":[],"readme":"# Magentiz SplitDb by Magentiz\n\nMagentiz_SplitDb Extension, splitdb for magento 2\n\u003e This module was inspired by the functionality of [m2-ce-splitdb](https://github.com/rafaelstz/m2-ce-splitdb). We acknowledge and appreciate the contributions of the original author.\n\n## Requirements\n  * Magento Community Edition 2.3.x-2.4.x or Magento Enterprise Edition 2.3.x-2.4.x\n  * Exec function needs to be enabled in PHP settings.\n\n## Installation Method 1 - Installing via composer\n  * Open command line\n  * Using command \"cd\" navigate to your magento2 root directory\n  * Run command: composer require magentiz/module-split-db\n\n## Installation Method 2 - Installing using archive\n  * Download [ZIP Archive](https://github.com/magentiz/magento-2-split-db/releases/)\n  * Extract files\n  * In your Magento 2 root directory create folder app/code/Magentiz/SplitDb\n  * Copy files and folders from archive to that folder\n  * In command line, using \"cd\", navigate to your Magento 2 root directory\n  * Run commands:\n```\nphp bin/magento module:enable Magentiz_SplitDb\nphp bin/magento setup:upgrade\nphp bin/magento setup:di:compile\nphp bin/magento setup:static-content:deploy\n```\n\n## User guide\nRun ```php bin/magento db:mode:set --mode db_mode``` to change db mode.\ndb_mode can be **split** or **default**.\n\n\n## Setup Testing Environment Guidelines\n\n### Step 1: Prepare Magento Project:\n\nFirst, you need to set up a Magento site running locally. Refer to this guide: [Docker Magento](https://github.com/markshust/docker-magento)\n\n### Step 2: Install MySQL Replication Master-Slave:\n\nRefer to [Docker MariaDb Replication](https://github.com/vtearit/docker-mariadb-replication), to integrate MySQL Replication into the website you just installed following step 1, you can follow the guide:\n  * Copy the [db_slave.env file](https://github.com/vtearit/docker-mariadb-replication/blob/master/env/db_slave.env) from the env directory of docker-mariadb-replication and paste it into the env directory of the Magento project. Verify that the information in the file corresponds to the project's configuration.\n  * Copy the [replication](https://github.com/vtearit/docker-mariadb-replication/tree/master/replication) folder and paste it into the root directory of the project.\n  * Copy the services **```db```** and **```db_slave```** from the [docker-compose.yml](https://github.com/vtearit/docker-mariadb-replication/blob/master/docker-compose.yml) file to replace the **```db```** service in the compose.yaml file in the project's root directory. Also, add the **```dbslavedata```** volume to the list of volumes at the end of the compose.yaml file. The purpose of this is to create an additional Docker container for the MariaDB slave.\n  * From root directory, Run ```bin/restart``` and follow the steps to switch to MySQL replication as described in [Docker MariaDb Replication](https://github.com/vtearit/docker-mariadb-replication): *access master-run query* and *access slave-run query*. After that, you can verify by adding a record to the database.\n  * After successfully switching the website to use MySQL Replication, run ```bin/magento setup:uninstall``` to uninstall magento then run ```bin/setup-install``` to reinstall. At this point, since you have set up MySQL Replication, the data will also be updated on the slave.\n  * Update the **db** and **DB Mode** in the **app/etc/env.php** based on **env.php.example**.\n\n### Step 3: Install Magentiz_SplitDb extension using Composer or the zip file as mentioned above.\n\n\n## Support\nIf you have any issues, please [contact us](mailto:info@magentiz.com)\n\n## Need More Features?\nPlease contact us to get a quote\nhttps://magentiz.com/\n\n## License\nThe code is licensed under [Open Software License (\"OSL\") v. 3.0](http://opensource.org/licenses/osl-3.0.php).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagentiz%2Fmagento-2-split-db","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmagentiz%2Fmagento-2-split-db","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagentiz%2Fmagento-2-split-db/lists"}