Skip to content

ityetti/database-profiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ITYetti Database Profiler

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

  1. composer require ityetti/database-profiler
  2. Open project config file app/etc/env.php and add profiler class to your configuration:
   'db' => [
        'connection' => [
            'default' => [
                'profiler' => [
                    'class' => '\Magento\Framework\DB\Profiler',
                    'enabled' => true
                ]
            ]
        ]
    ]
  1. bin/magento module:enable ITYetti_DatabaseProfiler
  2. bin/magento setup:upgrade
  3. Go to Admin - Store - Configuration - ITYetti - Database Profiler
  4. Enable On Frontend - Yes
  5. Enable On Backend - Yes

ITYetti Database Profiler

Uninstallation

  1. 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

License

OSL - Open Software Licence 3.0

About

Magento 2 Database Profiler

Resources

Stars

Watchers

Forks

Packages

No packages published