GitHub Issue #11632 - openemr/openemr
The OpenEMR installer (Installer::quick_install()) takes approximately 60 seconds to complete, primarily due to inefficient SQL loading. This affects both the web installer and CLI-based installation methods.
Root Cause: Installer::load_file() reads SQL files line-by-line and executes each statement individually. Each statement triggers a separate round-trip to the database, which compounds to significant latency.
The fix should batch SQL statements together or use a more efficient loading mechanism to reduce the number of database round-trips during installation.
No contributions yet.