Change quartz and reporting backend to mysql #64
Comments
Postgres and MySQL are two completely different DBMSs and both not only have different data types but also different way of handling databases.
|
Documentation on switching between DBMSs is here |
We should have both databases system so that client can use as their choice. Because Bangladesh client are expecting PostgreSQL database in their system. Even their existing systems those are in mysql have migrated to postgresql. They are expecting common database system. So, we are also trying to run OpenMRS on postgresql |
@julkarnain please read the documentation, and email I sent on Saturday. It lists down all the details. |
Good works, it will add more flexibility in terms of usage database system with opensrp. Now you have two options to choice your DB (postgres & couch) or (mysql & couch). But I am not sure which combination will remain default with opensrp. If it is (mysql & couch) then I think in setup and installation guideline these need to mention and need to modify them as well. |
@sohelsarder rightnow the pull request has mysql by default. We can modify it to be posgres by default. |
The code merged successfully. Since @sohelsarder and @julkarnain wanted postgres as default and no one else provided any feedback on code or functionality, the default DB for opensrp is now changed to postgres which could be easily changed to mysql following the documentation https://smartregister.atlassian.net/wiki/display/Documentation/Migrating+from+MySQL+to+Postgres+and+vice+versa |
OpenSRP team frequently questions about the complexity of app w.r.t. usage of multiple databases. Postgres DBMS is used by reporting module and motechquartz (scheduler).
Changing motechquartz and reporting db to be able to run on mysql would remove this one level of complexity.
The text was updated successfully, but these errors were encountered: