No results found

Try a different search query

Popular searches:

Add to Cart

Cart

You have no purchases yet

Browse Marketplace
Original Subtotal:
Product discounts:
Quantity Discount:
Total:
View Cart
SQL Query Log in Footer

SQL Query Log in Footer

5.0
Free

SQL Query Log in Footer

The module adds a block with database queries that were executed to generate the current page

SooR 5.0 (2) 15 downloads 3 in wishlist
SQL Query Log in Footer
Click to zoom
Free

Description

A small module (modifier) that adds a block with a log of database queries on the current page.

Works in the catalog and admin panel.


The query block is visible only to the admin. Guests and users cannot see it.

Along with the query, information about the method or function that called the query is displayed.

To see the page queries, click the "LOG ⤵️" button.


Queries are arranged in order from the longest.

The module does not replace system files.

Specifications

Features

query profiling in database

Technical Details

OpenCart Version
2.0.3 2.1.0 2.2.0 2.3.0 3.0.0 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5
Module Localization
English
Support Language
Ukrainian, English
Activation Method
Automatic activation
Ioncube Loader
No (not required)
Developer Server Connection
No
If Developer Server Unavailable
Extension works
PHP Version
5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 8.5
Compatible with Templates
All

Reviews (2)

Please log in to leave a review.

Log in
5.0

Based on 2 reviews

5 stars
2
4 stars
0
3 stars
0
2 stars
0
1 stars
0
С
Слава Чусов
1 month ago
5.0/5
User friendly 5

Pros

потрібен для отладки

Як бажання Встановити ліміт часу для повільних запитів Для таких запитів зробити explain Крім того превищення часу надаст можливість швидше знайти такий запит (якщо в нього, наприклад, червоний колір)
OCTemplates
OCTemplates
1 month ago
5.0/5
User friendly 5

Pros

дає повну картину для аналізу, сортування запитів

Cons

немає

Використав модуль для діагностики повільних категорій на магазині з ~168 тис. товарів. Сторінка категорії генерувалась 4.88 с при 359 запитах. Що сподобалось: запити відсортовані від найдовшого, тому проблему видно з першого погляду; для кожного запиту показано файл, рядок і метод, звідки він викликаний (навіть якщо це кеш модифікацій); загальна кількість запитів і сумарний час угорі сторінки; лог бачить тільки адмін, тому можна спокійно дивитися на робочому сайті; не замінює системні файли. Результат: модуль показав, що майже весь час з'їдають getProducts() (2.7 с) і getTotalProducts() (2.0 с) через відсутній індекс по path_id в oc_category_path. Після додавання індексу загальний час упав до 0.197 с, тобто приблизно в 25 разів. Must-have у наборі кожного, хто займається оптимізацією OpenCart. Дякую за такий класний інструмент!

Questions (0)

Please log in to ask a question.

Log in

No questions yet

Be the first to ask a question about this product!

We use cookies

We use cookies and similar technologies to improve your experience, analyse traffic, and show personalised ads. Read our Cookie Policy for details.