ityetti / database-profiler
Simple Magento 2 Database Profiler
Package info
github.com/ityetti/database-profiler
Type:magento2-module
pkg:composer/ityetti/database-profiler
1.0.0
2021-01-30 21:40 UTC
Requires
- magento/framework: *
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Description
This extension shows sql queries and execution time in simple table view. You can see which of the SQL process take a lot of time and optimize your code.
Compatibility
- Magento v2.4.1 (Should work on previous versions. Not tested)
Installation Instructions
composer require ityetti/database-profiler- Open project config file
app/etc/env.phpand add profiler class to your configuration:
'db' => [
'connection' => [
'default' => [
'profiler' => [
'class' => '\Magento\Framework\DB\Profiler',
'enabled' => true
]
]
]
]
bin/magento module:enable ITYetti_DatabaseProfilerbin/magento setup:upgrade- Go to Admin - Store - Configuration - ITYetti - Database Profiler
Enable On Frontend- YesEnable On Backend- Yes
Uninstallation
composer remove ityetti/database-profiler
Support
If you have any issues with this extension, open an issue on GitHub.
Contribution
Any contribution is highly appreciated. The best way to contribute code is to open a pull request on GitHub.
Developer
Oleksii Borovyk
https://github.com/ityetti
