Query Time: 1.23 ms Query memory: 0.015 MB Memory before query: 0.836 MB Rows returned: 0
SELECT `data`
FROM `ddtkh_session`
WHERE `session_id` = '70dca076ab0db7f6130c26d5b0de7863'
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | ddtkh_session | NULL | const | PRIMARY | PRIMARY | 602 | const | 1 | 100.00 | NULL |
Status | Duration |
---|
starting | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 1.1 ms |
init | 0.0 ms |
System lock | 0.0 ms |
optimizing | 0.0 ms |
statistics | 0.0 ms |
executing | 0.0 ms |
end | 0.0 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
cleaning up | 0.0 ms |
JROOT/libraries/joomla/session/storage/database.php:44
JROOT/libraries/joomla/session/session.php:665
JROOT/libraries/joomla/session/session.php:603
JROOT/libraries/cms/application/cms.php:739
JROOT/libraries/cms/application/cms.php:131
JROOT/libraries/cms/application/site.php:63
JROOT/libraries/cms/application/cms.php:399
JROOT/libraries/joomla/factory.php:125
JROOT/index.php:37
Query Time: 0.18 ms After last query: 0.79 ms Query memory: 0.012 MB Memory before query: 0.891 MB Rows returned: 0
SELECT `session_id`
FROM `ddtkh_session`
WHERE `session_id` = '70dca076ab0db7f6130c26d5b0de7863'
LIMIT 0, 1
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | ddtkh_session | NULL | const | PRIMARY | PRIMARY | 602 | const | 1 | 100.00 | Using index |
Status | Duration |
---|
starting | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 0.0 ms |
init | 0.0 ms |
System lock | 0.0 ms |
optimizing | 0.0 ms |
statistics | 0.0 ms |
executing | 0.0 ms |
end | 0.0 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
cleaning up | 0.0 ms |
JROOT/libraries/cms/application/cms.php:176
JROOT/libraries/cms/application/cms.php:765
JROOT/libraries/cms/application/cms.php:131
JROOT/libraries/cms/application/site.php:63
JROOT/libraries/cms/application/cms.php:399
JROOT/libraries/joomla/factory.php:125
JROOT/index.php:37
Query Time: 0.24 ms After last query: 0.12 ms Query memory: 0.009 MB Memory before query: 0.903 MB
INSERT INTO `ddtkh_session`
(`session_id`, `client_id`, `time`)
VALUES
('70dca076ab0db7f6130c26d5b0de7863', 0, '1711645664')
EXPLAIN not possible on query: INSERT INTO `ddtkh_session`
(`session_id`, `client_id`, `time`) VALUES
('70dca076ab0db7f6130c26d5b0de7863', 0, '1711645664')
Status | Duration |
---|
starting | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 0.0 ms |
init | 0.0 ms |
System lock | 0.0 ms |
update | 0.1 ms |
end | 0.0 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
cleaning up | 0.0 ms |
JROOT/libraries/cms/application/cms.php:208
JROOT/libraries/cms/application/cms.php:765
JROOT/libraries/cms/application/cms.php:131
JROOT/libraries/cms/application/site.php:63
JROOT/libraries/cms/application/cms.php:399
JROOT/libraries/joomla/factory.php:125
JROOT/index.php:37
Query Time: 1.45 ms After last query: 3.59 ms Query memory: 0.024 MB Memory before query: 1.248 MB Rows returned: 39
SELECT extension_id AS id, element AS "option", params, enabled
FROM ddtkh_extensions
WHERE `type` = 'component'
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | ddtkh_extensions | NULL | ref | extension | extension | 62 | const | 39 | 100.00 | NULL |
Status | Duration |
---|
starting | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 0.8 ms |
init | 0.0 ms |
System lock | 0.0 ms |
optimizing | 0.0 ms |
statistics | 0.1 ms |
preparing | 0.0 ms |
executing | 0.0 ms |
Sending data | 0.3 ms |
end | 0.0 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
freeing items | 0.1 ms |
cleaning up | 0.0 ms |
JROOT/libraries/joomla/cache/controller/callback.php:157
JROOT/libraries/cms/component/helper.php:434
JROOT/libraries/cms/component/helper.php:43
JROOT/libraries/cms/component/helper.php:119
JROOT/libraries/cms/application/site.php:568
JROOT/libraries/cms/application/site.php:209
JROOT/libraries/cms/application/cms.php:252
JROOT/index.php:40
Query Time: 0.79 ms After last query: 0.97 ms Query memory: 0.014 MB Memory before query: 1.326 MB Rows returned: 1
SELECT b.id
FROM ddtkh_usergroups AS a
LEFT JOIN ddtkh_usergroups AS b
ON b.lft <= a.lft
AND b.rgt >= a.rgt
WHERE a.id = 1
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | a | NULL | const | PRIMARY | PRIMARY | 4 | const | 1 | 100.00 | NULL |
1 | SIMPLE | b | NULL | range | idx_usergroup_nested_set_lookup | idx_usergroup_nested_set_lookup | 4 | NULL | 1 | 100.00 | Using where; Using index |
Status | Duration |
---|
starting | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 0.5 ms |
init | 0.0 ms |
System lock | 0.0 ms |
optimizing | 0.0 ms |
statistics | 0.1 ms |
preparing | 0.0 ms |
executing | 0.0 ms |
Sending data | 0.0 ms |
end | 0.0 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
cleaning up | 0.0 ms |
JROOT/libraries/joomla/access/access.php:332
JROOT/libraries/joomla/access/access.php:401
JROOT/libraries/joomla/user/user.php:453
JROOT/libraries/cms/plugin/helper.php:296
JROOT/libraries/cms/plugin/helper.php:163
JROOT/libraries/cms/application/site.php:573
JROOT/libraries/cms/application/site.php:209
JROOT/libraries/cms/application/cms.php:252
JROOT/index.php:40
Query Time: 0.23 ms After last query: 0.29 ms Query memory: 0.013 MB Memory before query: 1.345 MB Rows returned: 4
SELECT id, rules
FROM `ddtkh_viewlevels`
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | ddtkh_viewlevels | NULL | ALL | NULL | NO INDEX KEY COULD BE USED | NULL | NULL | 4 | 100.00 | NULL |
Status | Duration |
---|
starting | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 0.1 ms |
init | 0.0 ms |
System lock | 0.0 ms |
optimizing | 0.0 ms |
statistics | 0.0 ms |
preparing | 0.0 ms |
executing | 0.0 ms |
Sending data | 0.0 ms |
end | 0.0 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
cleaning up | 0.0 ms |
JROOT/libraries/joomla/access/access.php:418
JROOT/libraries/joomla/user/user.php:453
JROOT/libraries/cms/plugin/helper.php:296
JROOT/libraries/cms/plugin/helper.php:163
JROOT/libraries/cms/application/site.php:573
JROOT/libraries/cms/application/site.php:209
JROOT/libraries/cms/application/cms.php:252
JROOT/index.php:40
Query Time: 1.08 ms After last query: 0.26 ms Query memory: 0.014 MB Memory before query: 1.364 MB Rows returned: 83
SELECT folder AS type, element AS name, params
FROM ddtkh_extensions
WHERE enabled = 1
AND type ='plugin'
AND state IN (0,1)
AND access IN (1,1)
ORDER BY ordering
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | ddtkh_extensions | NULL | ref | extension | extension | 62 | const | 104 | 0.42 | Using index condition; Using where; Using filesort |
Status | Duration |
---|
starting | 0.1 ms |
checking permissions | 0.0 ms |
Opening tables | 0.0 ms |
init | 0.0 ms |
System lock | 0.0 ms |
optimizing | 0.0 ms |
statistics | 0.0 ms |
preparing | 0.0 ms |
Sorting result | 0.0 ms |
executing | 0.0 ms |
Sending data | 0.0 ms |
Creating sort index | 0.7 ms |
end | 0.0 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
cleaning up | 0.0 ms |
JROOT/libraries/cms/plugin/helper.php:310
JROOT/libraries/cms/plugin/helper.php:163
JROOT/libraries/cms/application/site.php:573
JROOT/libraries/cms/application/site.php:209
JROOT/libraries/cms/application/cms.php:252
JROOT/index.php:40
Query Time: 0.33 ms After last query: 1.16 ms Query memory: 0.016 MB Memory before query: 1.488 MB Rows returned: 2
SELECT *
FROM ddtkh_languages
WHERE published=1
ORDER BY ordering ASC
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | ddtkh_languages | NULL | ALL | NULL | NO INDEX KEY COULD BE USED | NULL | NULL | 5 | 20.00 | Using where; Using filesort |
Status | Duration |
---|
starting | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 0.1 ms |
init | 0.0 ms |
System lock | 0.0 ms |
optimizing | 0.0 ms |
statistics | 0.0 ms |
preparing | 0.0 ms |
Sorting result | 0.0 ms |
executing | 0.0 ms |
Sending data | 0.0 ms |
Creating sort index | 0.1 ms |
end | 0.0 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
cleaning up | 0.0 ms |
JROOT/libraries/joomla/language/helper.php:164
JROOT/plugins/system/languagefilter/languagefilter.php:59
JROOT/libraries/cms/plugin/helper.php:255
JROOT/libraries/cms/plugin/helper.php:170
JROOT/libraries/cms/application/site.php:573
JROOT/libraries/cms/application/site.php:209
JROOT/libraries/cms/application/cms.php:252
JROOT/index.php:40
Query Time: 5.35 ms After last query: 8.89 ms Query memory: 0.056 MB Memory before query: 2.104 MB Rows returned: 174
SELECT m.id, m.menutype, m.title, m.alias, m.note, m.path AS route, m.link, m.type, m.level, m.language,`m`.`browserNav`, m.access, m.params, m.home, m.img, m.template_style_id, m.component_id, m.parent_id,e.element as component
FROM ddtkh_menu AS m
LEFT JOIN ddtkh_extensions AS e
ON m.component_id = e.extension_id
WHERE m.published = 1
AND m.parent_id > 0
AND m.client_id = 0
ORDER BY m.lft
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | m | NULL | ref | idx_client_id_parent_id_alias_language | idx_client_id_parent_id_alias_language | 1 | const | 738 | 3.33 | Using index condition; Using where; Using filesort |
1 | SIMPLE | e | NULL | eq_ref | PRIMARY | PRIMARY | 4 | mardon37_ddtkh.m.component_id | 1 | 100.00 | Using where |
Status | Duration |
---|
starting | 0.1 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 0.1 ms |
init | 0.1 ms |
System lock | 0.0 ms |
optimizing | 0.0 ms |
statistics | 0.1 ms |
preparing | 0.0 ms |
Sorting result | 0.0 ms |
executing | 0.0 ms |
Sending data | 0.0 ms |
Creating sort index | 4.7 ms |
end | 0.0 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
cleaning up | 0.0 ms |
JROOT/libraries/cms/menu/site.php:45
JROOT/libraries/cms/menu/menu.php:64
JROOT/libraries/cms/menu/menu.php:118
JROOT/libraries/cms/application/cms.php:424
JROOT/libraries/cms/application/site.php:272
JROOT/libraries/cms/router/site.php:57
JROOT/libraries/cms/router/router.php:196
JROOT/libraries/cms/application/cms.php:520
JROOT/libraries/cms/application/site.php:407
JROOT/plugins/system/languagefilter/languagefilter.php:94
JROOT/libraries/joomla/event/event.php:69
JROOT/libraries/joomla/event/dispatcher.php:160
JROOT/libraries/joomla/application/base.php:83
JROOT/libraries/cms/application/cms.php:654
JROOT/libraries/cms/application/site.php:647
JROOT/libraries/cms/application/site.php:209
JROOT/libraries/cms/application/cms.php:252
JROOT/index.php:40
Query Time: 0.28 ms After last query: 19.61 ms Query memory: 0.025 MB Memory before query: 4.915 MB Rows returned: 1
SELECT extension_id AS id, element AS "option", params, enabled
FROM ddtkh_extensions
WHERE `type` = 'library'
AND `element` = 'joomla'
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | ddtkh_extensions | NULL | ref | element_clientid,element_folder_clientid,extension | extension | 364 | const,const | 1 | 100.00 | NULL |
Status | Duration |
---|
starting | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 0.0 ms |
init | 0.0 ms |
System lock | 0.0 ms |
optimizing | 0.0 ms |
statistics | 0.1 ms |
preparing | 0.0 ms |
executing | 0.0 ms |
Sending data | 0.0 ms |
end | 0.0 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
cleaning up | 0.0 ms |
JROOT/libraries/joomla/cache/controller/callback.php:157
JROOT/libraries/cms/library/helper.php:156
JROOT/libraries/cms/library/helper.php:47
JROOT/libraries/cms/library/helper.php:90
JROOT/libraries/cms/version/version.php:177
JROOT/libraries/joomla/factory.php:736
JROOT/libraries/joomla/factory.php:216
JROOT/plugins/system/k2/k2.php:52
JROOT/libraries/joomla/event/event.php:69
JROOT/libraries/joomla/event/dispatcher.php:160
JROOT/libraries/joomla/application/base.php:83
JROOT/libraries/cms/application/cms.php:1098
JROOT/libraries/cms/application/site.php:747
JROOT/libraries/cms/application/site.php:215
JROOT/libraries/cms/application/cms.php:252
JROOT/index.php:40
Query Time: 0.31 ms After last query: 0.36 ms Query memory: 0.018 MB Memory before query: 4.923 MB
UPDATE `ddtkh_extensions`
SET `params` = '{\"mediaversion\":\"faab969bed0ca4548beb921fba8c4e94\"}'
WHERE `type` = 'library'
AND `element` = 'joomla'
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | UPDATE | ddtkh_extensions | NULL | range | element_clientid,element_folder_clientid,extension | extension | 364 | const,const | 1 | 100.00 | Using where |
Status | Duration |
---|
starting | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 0.0 ms |
init | 0.0 ms |
System lock | 0.1 ms |
updating | 0.1 ms |
end | 0.0 ms |
query end | 0.1 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
cleaning up | 0.0 ms |
JROOT/libraries/cms/library/helper.php:119
JROOT/libraries/cms/version/version.php:228
JROOT/libraries/cms/version/version.php:187
JROOT/libraries/joomla/factory.php:736
JROOT/libraries/joomla/factory.php:216
JROOT/plugins/system/k2/k2.php:52
JROOT/libraries/joomla/event/event.php:69
JROOT/libraries/joomla/event/dispatcher.php:160
JROOT/libraries/joomla/application/base.php:83
JROOT/libraries/cms/application/cms.php:1098
JROOT/libraries/cms/application/site.php:747
JROOT/libraries/cms/application/site.php:215
JROOT/libraries/cms/application/cms.php:252
JROOT/index.php:40
Query Time: 0.49 ms After last query: 1.43 ms Query memory: 0.027 MB Memory before query: 5.066 MB Rows returned: 5
SELECT id, home, template, s.params
FROM ddtkh_template_styles as s
LEFT JOIN ddtkh_extensions as e
ON e.element=s.template
AND e.type='template'
AND e.client_id=s.client_id
WHERE s.client_id = 0
AND e.enabled = 1
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | s | NULL | ALL | idx_template | NO INDEX KEY COULD BE USED | NULL | NULL | 6 | 16.67 | Using where |
1 | SIMPLE | e | NULL | ref | element_clientid,element_folder_clientid,extension | element_clientid | 303 | mardon37_ddtkh.s.template,const | 1 | 4.58 | Using index condition; Using where |
Status | Duration |
---|
starting | 0.1 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 0.1 ms |
init | 0.0 ms |
System lock | 0.0 ms |
optimizing | 0.0 ms |
statistics | 0.1 ms |
preparing | 0.0 ms |
executing | 0.0 ms |
Sending data | 0.1 ms |
end | 0.0 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
cleaning up | 0.0 ms |
JROOT/libraries/cms/application/site.php:484
JROOT/libraries/cms/html/html.php:334
JROOT/libraries/cms/html/html.php:680
JROOT/libraries/cms/html/html.php:236
JROOT/libraries/cms/html/html.php:138
JROOT/libraries/cms/html/behavior.php:61
JROOT/libraries/cms/html/html.php:236
JROOT/libraries/cms/html/html.php:138
JROOT/administrator/components/com_k2/helpers/html.php:76
JROOT/plugins/system/k2/k2.php:55
JROOT/libraries/joomla/event/event.php:69
JROOT/libraries/joomla/event/dispatcher.php:160
JROOT/libraries/joomla/application/base.php:83
JROOT/libraries/cms/application/cms.php:1098
JROOT/libraries/cms/application/site.php:747
JROOT/libraries/cms/application/site.php:215
JROOT/libraries/cms/application/cms.php:252
JROOT/index.php:40
Query Time: 4.68 ms After last query: 2.09 ms Query memory: 0.038 MB Memory before query: 5.174 MB Rows returned: 38
SELECT c.id, c.asset_id, c.access, c.alias, c.checked_out, c.checked_out_time,
c.created_time, c.created_user_id, c.description, c.extension, c.hits, c.language, c.level,
c.lft, c.metadata, c.metadesc, c.metakey, c.modified_time, c.note, c.params, c.parent_id,
c.path, c.published, c.rgt, c.title, c.modified_user_id, c.version,
CASE WHEN CHAR_LENGTH(c.alias) != 0 THEN CONCAT_WS(':', c.id, c.alias) ELSE c.id END as slug
FROM ddtkh_categories as c
LEFT JOIN (SELECT cat.id as id
FROM ddtkh_categories AS cat JOIN ddtkh_categories AS parent
ON cat.lft BETWEEN parent.lft
AND parent.rgt
WHERE parent.extension = 'com_content'
AND parent.published != 1
GROUP BY cat.id) AS badcats
ON badcats.id = c.id
WHERE (c.extension='com_content' OR c.extension='system')
AND c.access IN (1,1)
AND c.published = 1
AND badcats.id is null
GROUP BY c.id, c.asset_id, c.access, c.alias, c.checked_out, c.checked_out_time,
c.created_time, c.created_user_id, c.description, c.extension, c.hits, c.language, c.level,
c.lft, c.metadata, c.metadesc, c.metakey, c.modified_time, c.note, c.params, c.parent_id,
c.path, c.published, c.rgt, c.title, c.modified_user_id, c.version
ORDER BY c.lft
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | PRIMARY | c | NULL | ALL | cat_idx,idx_access | NO INDEX KEY COULD BE USED | NULL | NULL | 139 | 27.34 | Using where; Using temporary; Using filesort |
1 | PRIMARY | <derived2> | NULL | ref | <auto_key0> | <auto_key0> | 4 | mardon37_ddtkh.c.id | 10 | 100.00 | Using where; Not exists; Using index |
2 | DERIVED | parent | NULL | ref | cat_idx,idx_left_right | cat_idx | 152 | const | 57 | 90.00 | Using index condition; Using temporary; Using filesort |
2 | DERIVED | cat | NULL | index | PRIMARY,cat_idx,idx_access,idx_checkout,idx_path,idx_left_right,idx_alias,idx_language | idx_left_right | 8 | NULL | 139 | 11.11 | Using where; Using index; Using join buffer (Block Nested Loop) |
Status | Duration |
---|
starting | 0.2 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 0.2 ms |
init | 0.1 ms |
System lock | 0.0 ms |
optimizing | 0.0 ms |
optimizing | 0.0 ms |
statistics | 0.1 ms |
preparing | 0.0 ms |
Creating tmp table | 0.0 ms |
Sorting result | 0.0 ms |
statistics | 0.1 ms |
preparing | 0.0 ms |
Creating tmp table | 0.1 ms |
Sorting result | 0.0 ms |
executing | 0.0 ms |
Sending data | 0.0 ms |
executing | 0.0 ms |
Sending data | 1.7 ms |
Creating sort index | 1.4 ms |
Creating sort index | 0.4 ms |
end | 0.0 ms |
query end | 0.0 ms |
removing tmp table | 0.1 ms |
query end | 0.0 ms |
removing tmp table | 0.0 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
removing tmp table | 0.1 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
cleaning up | 0.0 ms |
JROOT/libraries/legacy/categories/categories.php:289
JROOT/libraries/legacy/categories/categories.php:182
JROOT/components/com_content/router.php:145
JROOT/libraries/cms/router/site.php:483
JROOT/libraries/cms/router/site.php:452
JROOT/libraries/cms/router/router.php:280
JROOT/libraries/cms/router/site.php:134
JROOT/libraries/joomla/application/route.php:62
JROOT/plugins/system/sef/sef.php:45
JROOT/libraries/joomla/event/event.php:69
JROOT/libraries/joomla/event/dispatcher.php:160
JROOT/libraries/joomla/application/base.php:83
JROOT/libraries/cms/application/cms.php:1098
JROOT/libraries/cms/application/site.php:747
JROOT/libraries/cms/application/site.php:215
JROOT/libraries/cms/application/cms.php:252
JROOT/index.php:40
Query Time: 0.33 ms After last query: 6.50 ms Query memory: 0.024 MB Memory before query: 5.783 MB Rows returned: 1
SELECT a.rules
FROM ddtkh_assets AS a
WHERE (a.id = 1)
GROUP BY a.id, a.rules, a.lft
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | a | NULL | const | PRIMARY | PRIMARY | 4 | const | 1 | 100.00 | NULL |
Status | Duration |
---|
starting | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 0.1 ms |
init | 0.0 ms |
System lock | 0.0 ms |
optimizing | 0.0 ms |
statistics | 0.0 ms |
preparing | 0.0 ms |
executing | 0.0 ms |
Sending data | 0.0 ms |
end | 0.0 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
cleaning up | 0.0 ms |
JROOT/libraries/joomla/access/access.php:246
JROOT/libraries/joomla/user/user.php:384
JROOT/components/com_content/models/category.php:141
JROOT/libraries/legacy/model/legacy.php:431
JROOT/libraries/legacy/view/legacy.php:401
JROOT/libraries/legacy/view/category.php:105
JROOT/components/com_content/views/category/view.html.php:72
JROOT/libraries/legacy/controller/legacy.php:690
JROOT/components/com_content/controller.php:104
JROOT/libraries/legacy/controller/legacy.php:728
JROOT/components/com_content/content.php:16
JROOT/libraries/cms/component/helper.php:391
JROOT/libraries/cms/component/helper.php:371
JROOT/libraries/cms/application/site.php:191
JROOT/libraries/cms/application/site.php:230
JROOT/libraries/cms/application/cms.php:252
JROOT/index.php:40
Query Time: 0.55 ms After last query: 0.40 ms Query memory: 0.025 MB Memory before query: 5.816 MB Rows returned: 2
SELECT b.rules
FROM ddtkh_assets AS a
LEFT JOIN ddtkh_assets AS b
ON b.lft <= a.lft
AND b.rgt >= a.rgt
WHERE (a.name = 'com_content')
GROUP BY b.id, b.rules, b.lft
ORDER BY b.lft
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | a | NULL | const | idx_asset_name | idx_asset_name | 152 | const | 1 | 100.00 | Using temporary; Using filesort |
1 | SIMPLE | b | NULL | range | idx_lft_rgt | idx_lft_rgt | 4 | NULL | 46 | 100.00 | Using where |
Status | Duration |
---|
starting | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 0.1 ms |
init | 0.0 ms |
System lock | 0.0 ms |
optimizing | 0.0 ms |
statistics | 0.1 ms |
preparing | 0.0 ms |
Creating tmp table | 0.0 ms |
Sorting result | 0.0 ms |
executing | 0.0 ms |
Sending data | 0.2 ms |
Creating sort index | 0.0 ms |
end | 0.0 ms |
query end | 0.0 ms |
removing tmp table | 0.0 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
cleaning up | 0.0 ms |
JROOT/libraries/joomla/access/access.php:246
JROOT/libraries/joomla/access/access.php:107
JROOT/libraries/joomla/user/user.php:393
JROOT/components/com_content/models/category.php:141
JROOT/libraries/legacy/model/legacy.php:431
JROOT/libraries/legacy/view/legacy.php:401
JROOT/libraries/legacy/view/category.php:105
JROOT/components/com_content/views/category/view.html.php:72
JROOT/libraries/legacy/controller/legacy.php:690
JROOT/components/com_content/controller.php:104
JROOT/libraries/legacy/controller/legacy.php:728
JROOT/components/com_content/content.php:16
JROOT/libraries/cms/component/helper.php:391
JROOT/libraries/cms/component/helper.php:371
JROOT/libraries/cms/application/site.php:191
JROOT/libraries/cms/application/site.php:230
JROOT/libraries/cms/application/cms.php:252
JROOT/index.php:40
Query Time: 3.54 ms After last query: 0.77 ms Query memory: 0.038 MB Memory before query: 5.844 MB Rows returned: 38
SELECT c.id, c.asset_id, c.access, c.alias, c.checked_out, c.checked_out_time,
c.created_time, c.created_user_id, c.description, c.extension, c.hits, c.language, c.level,
c.lft, c.metadata, c.metadesc, c.metakey, c.modified_time, c.note, c.params, c.parent_id,
c.path, c.published, c.rgt, c.title, c.modified_user_id, c.version,
CASE WHEN CHAR_LENGTH(c.alias) != 0 THEN CONCAT_WS(':', c.id, c.alias) ELSE c.id END as slug
FROM ddtkh_categories as c
LEFT JOIN (SELECT cat.id as id
FROM ddtkh_categories AS cat JOIN ddtkh_categories AS parent
ON cat.lft BETWEEN parent.lft
AND parent.rgt
WHERE parent.extension = 'com_content'
AND parent.published != 1
GROUP BY cat.id) AS badcats
ON badcats.id = c.id
WHERE (c.extension='com_content' OR c.extension='system')
AND c.access IN (1,1)
AND c.published = 1
AND badcats.id is null
GROUP BY c.id, c.asset_id, c.access, c.alias, c.checked_out, c.checked_out_time,
c.created_time, c.created_user_id, c.description, c.extension, c.hits, c.language, c.level,
c.lft, c.metadata, c.metadesc, c.metakey, c.modified_time, c.note, c.params, c.parent_id,
c.path, c.published, c.rgt, c.title, c.modified_user_id, c.version
ORDER BY c.lft
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | PRIMARY | c | NULL | ALL | cat_idx,idx_access | NO INDEX KEY COULD BE USED | NULL | NULL | 139 | 27.34 | Using where; Using temporary; Using filesort |
1 | PRIMARY | <derived2> | NULL | ref | <auto_key0> | <auto_key0> | 4 | mardon37_ddtkh.c.id | 10 | 100.00 | Using where; Not exists; Using index |
2 | DERIVED | parent | NULL | ref | cat_idx,idx_left_right | cat_idx | 152 | const | 57 | 90.00 | Using index condition; Using temporary; Using filesort |
2 | DERIVED | cat | NULL | index | PRIMARY,cat_idx,idx_access,idx_checkout,idx_path,idx_left_right,idx_alias,idx_language | idx_left_right | 8 | NULL | 139 | 11.11 | Using where; Using index; Using join buffer (Block Nested Loop) |
Status | Duration |
---|
starting | 0.1 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 0.0 ms |
init | 0.1 ms |
System lock | 0.0 ms |
optimizing | 0.0 ms |
optimizing | 0.0 ms |
statistics | 0.1 ms |
preparing | 0.0 ms |
Creating tmp table | 0.0 ms |
Sorting result | 0.0 ms |
statistics | 0.1 ms |
preparing | 0.0 ms |
Creating tmp table | 0.1 ms |
Sorting result | 0.0 ms |
executing | 0.0 ms |
Sending data | 0.0 ms |
executing | 0.0 ms |
Sending data | 1.3 ms |
Creating sort index | 1.1 ms |
Creating sort index | 0.3 ms |
end | 0.0 ms |
query end | 0.0 ms |
removing tmp table | 0.1 ms |
query end | 0.0 ms |
removing tmp table | 0.0 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
removing tmp table | 0.0 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
cleaning up | 0.0 ms |
JROOT/libraries/legacy/categories/categories.php:289
JROOT/libraries/legacy/categories/categories.php:182
JROOT/components/com_content/models/category.php:357
JROOT/components/com_content/models/category.php:234
JROOT/libraries/legacy/view/legacy.php:401
JROOT/libraries/legacy/view/category.php:106
JROOT/components/com_content/views/category/view.html.php:72
JROOT/libraries/legacy/controller/legacy.php:690
JROOT/components/com_content/controller.php:104
JROOT/libraries/legacy/controller/legacy.php:728
JROOT/components/com_content/content.php:16
JROOT/libraries/cms/component/helper.php:391
JROOT/libraries/cms/component/helper.php:371
JROOT/libraries/cms/application/site.php:191
JROOT/libraries/cms/application/site.php:230
JROOT/libraries/cms/application/cms.php:252
JROOT/index.php:40
Query Time: 0.25 ms After last query: 2.19 ms Query memory: 0.025 MB Memory before query: 6.150 MB Rows returned: 0
SELECT b.rules
FROM ddtkh_assets AS a
LEFT JOIN ddtkh_assets AS b
ON b.lft <= a.lft
AND b.rgt >= a.rgt
WHERE (a.name = 'com_content.category.root')
GROUP BY b.id, b.rules, b.lft
ORDER BY b.lft
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | NULL | NULL | NULL | NULL | NO INDEX KEY COULD BE USED | NULL | NULL | NULL | NULL | no matching row in const table |
Status | Duration |
---|
starting | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 0.0 ms |
init | 0.0 ms |
System lock | 0.0 ms |
optimizing | 0.0 ms |
statistics | 0.0 ms |
executing | 0.0 ms |
end | 0.0 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
cleaning up | 0.0 ms |
JROOT/libraries/joomla/access/access.php:246
JROOT/libraries/joomla/access/access.php:107
JROOT/libraries/joomla/user/user.php:393
JROOT/components/com_content/models/category.php:366
JROOT/components/com_content/models/category.php:234
JROOT/libraries/legacy/view/legacy.php:401
JROOT/libraries/legacy/view/category.php:106
JROOT/components/com_content/views/category/view.html.php:72
JROOT/libraries/legacy/controller/legacy.php:690
JROOT/components/com_content/controller.php:104
JROOT/libraries/legacy/controller/legacy.php:728
JROOT/components/com_content/content.php:16
JROOT/libraries/cms/component/helper.php:391
JROOT/libraries/cms/component/helper.php:371
JROOT/libraries/cms/application/site.php:191
JROOT/libraries/cms/application/site.php:230
JROOT/libraries/cms/application/cms.php:252
JROOT/index.php:40
Query Time: 0.45 ms After last query: 0.67 ms Query memory: 0.033 MB Memory before query: 6.239 MB Rows returned: 8
SHOW FULL COLUMNS
FROM `ddtkh_assets`
EXPLAIN not possible on query: SHOW FULL COLUMNS FROM `ddtkh_assets`
Status | Duration |
---|
starting | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 0.2 ms |
init | 0.0 ms |
System lock | 0.0 ms |
optimizing | 0.0 ms |
statistics | 0.0 ms |
preparing | 0.0 ms |
executing | 0.0 ms |
Opening tables | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
Sending data | 0.0 ms |
end | 0.0 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
removing tmp table | 0.0 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
cleaning up | 0.0 ms |
JROOT/libraries/joomla/table/table.php:241
JROOT/libraries/joomla/table/table.php:162
JROOT/libraries/joomla/table/asset.php:61
JROOT/libraries/joomla/table/table.php:305
JROOT/libraries/joomla/access/access.php:252
JROOT/libraries/joomla/access/access.php:107
JROOT/libraries/joomla/user/user.php:393
JROOT/components/com_content/models/category.php:366
JROOT/components/com_content/models/category.php:234
JROOT/libraries/legacy/view/legacy.php:401
JROOT/libraries/legacy/view/category.php:106
JROOT/components/com_content/views/category/view.html.php:72
JROOT/libraries/legacy/controller/legacy.php:690
JROOT/components/com_content/controller.php:104
JROOT/libraries/legacy/controller/legacy.php:728
JROOT/components/com_content/content.php:16
JROOT/libraries/cms/component/helper.php:391
JROOT/libraries/cms/component/helper.php:371
JROOT/libraries/cms/application/site.php:191
JROOT/libraries/cms/application/site.php:230
JROOT/libraries/cms/application/cms.php:252
JROOT/index.php:40
Query Time: 0.16 ms After last query: 0.59 ms Query memory: 0.026 MB Memory before query: 6.296 MB Rows returned: 1
SELECT id
FROM ddtkh_assets
WHERE parent_id = 0
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | ddtkh_assets | NULL | ref | idx_parent_id | idx_parent_id | 4 | const | 1 | 100.00 | Using index |
Status | Duration |
---|
starting | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 0.0 ms |
init | 0.0 ms |
System lock | 0.0 ms |
optimizing | 0.0 ms |
statistics | 0.0 ms |
preparing | 0.0 ms |
executing | 0.0 ms |
Sending data | 0.0 ms |
end | 0.0 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
cleaning up | 0.0 ms |
JROOT/libraries/joomla/table/nested.php:1226
JROOT/libraries/joomla/access/access.php:253
JROOT/libraries/joomla/access/access.php:107
JROOT/libraries/joomla/user/user.php:393
JROOT/components/com_content/models/category.php:366
JROOT/components/com_content/models/category.php:234
JROOT/libraries/legacy/view/legacy.php:401
JROOT/libraries/legacy/view/category.php:106
JROOT/components/com_content/views/category/view.html.php:72
JROOT/libraries/legacy/controller/legacy.php:690
JROOT/components/com_content/controller.php:104
JROOT/libraries/legacy/controller/legacy.php:728
JROOT/components/com_content/content.php:16
JROOT/libraries/cms/component/helper.php:391
JROOT/libraries/cms/component/helper.php:371
JROOT/libraries/cms/application/site.php:191
JROOT/libraries/cms/application/site.php:230
JROOT/libraries/cms/application/cms.php:252
JROOT/index.php:40
Query Time: 0.13 ms After last query: 0.11 ms Query memory: 0.025 MB Memory before query: 6.317 MB Rows returned: 1
SELECT rules
FROM ddtkh_assets
WHERE id = '1'
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | ddtkh_assets | NULL | const | PRIMARY | PRIMARY | 4 | const | 1 | 100.00 | NULL |
Status | Duration |
---|
starting | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 0.0 ms |
init | 0.0 ms |
System lock | 0.0 ms |
optimizing | 0.0 ms |
statistics | 0.0 ms |
preparing | 0.0 ms |
executing | 0.0 ms |
Sending data | 0.0 ms |
end | 0.0 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
cleaning up | 0.0 ms |
JROOT/libraries/joomla/access/access.php:259
JROOT/libraries/joomla/access/access.php:107
JROOT/libraries/joomla/user/user.php:393
JROOT/components/com_content/models/category.php:366
JROOT/components/com_content/models/category.php:234
JROOT/libraries/legacy/view/legacy.php:401
JROOT/libraries/legacy/view/category.php:106
JROOT/components/com_content/views/category/view.html.php:72
JROOT/libraries/legacy/controller/legacy.php:690
JROOT/components/com_content/controller.php:104
JROOT/libraries/legacy/controller/legacy.php:728
JROOT/components/com_content/content.php:16
JROOT/libraries/cms/component/helper.php:391
JROOT/libraries/cms/component/helper.php:371
JROOT/libraries/cms/application/site.php:191
JROOT/libraries/cms/application/site.php:230
JROOT/libraries/cms/application/cms.php:252
JROOT/index.php:40
Query Time: 10.42 ms After last query: 1.29 ms Query memory: 0.034 MB Memory before query: 6.392 MB Rows returned: 2
SELECT a.id, a.title, a.alias, a.introtext, a.fulltext, a.checked_out, a.checked_out_time, a.catid, a.created, a.created_by, a.created_by_alias,
CASE WHEN a.modified = '0000-00-00 00:00:00' THEN a.created ELSE a.modified END as modified, a.modified_by, uam.name as modified_by_name,
CASE WHEN a.publish_up = '0000-00-00 00:00:00' THEN a.created ELSE a.publish_up END as publish_up,a.publish_down, a.images, a.urls, a.attribs, a.metadata, a.metakey, a.metadesc, a.access, a.hits, a.xreference, a.featured, a.language, LENGTH(a.fulltext) AS readmore,
CASE WHEN badcats.id is not null THEN 0 ELSE a.state END AS state,c.title AS category_title, c.path AS category_route, c.access AS category_access, c.alias AS category_alias,
CASE WHEN a.created_by_alias > ' ' THEN a.created_by_alias ELSE ua.name END AS author,ua.email AS author_email,parent.title as parent_title, parent.id as parent_id, parent.path as parent_route, parent.alias as parent_alias,ROUND(v.rating_sum / v.rating_count, 0) AS rating, v.rating_count as rating_count,c.published,
CASE WHEN badcats.id is null THEN c.published ELSE 0 END AS parents_published
FROM ddtkh_content AS a
LEFT JOIN ddtkh_content_frontpage AS fp
ON fp.content_id = a.id
LEFT JOIN ddtkh_categories AS c
ON c.id = a.catid
LEFT JOIN ddtkh_users AS ua
ON ua.id = a.created_by
LEFT JOIN ddtkh_users AS uam
ON uam.id = a.modified_by
LEFT JOIN ddtkh_categories as parent
ON parent.id = c.parent_id
LEFT JOIN ddtkh_content_rating AS v
ON a.id = v.content_id
LEFT
OUTER JOIN (SELECT cat.id as id
FROM ddtkh_categories AS cat JOIN ddtkh_categories AS parent
ON cat.lft BETWEEN parent.lft
AND parent.rgt
WHERE parent.extension = 'com_content'
AND parent.published != 1
GROUP BY cat.id ) AS badcats
ON badcats.id = c.id
WHERE
CASE WHEN badcats.id is null THEN a.state ELSE 0 END = 1
AND (a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2024-03-28 17:07:44')
AND (a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2024-03-28 17:07:44')
AND a.language in ('en-GB','*')
ORDER BY c.lft, a.featured DESC, fp.ordering,
CASE WHEN a.publish_up = '0000-00-00 00:00:00' THEN a.created ELSE a.publish_up END DESC , a.created
LIMIT 0, 2
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | PRIMARY | a | NULL | ALL | idx_language | NO INDEX KEY COULD BE USED | NULL | NULL | 188 | 16.00 | Using where; Using temporary; Using filesort |
1 | PRIMARY | fp | NULL | eq_ref | PRIMARY | PRIMARY | 4 | mardon37_ddtkh.a.id | 1 | 100.00 | Using where |
1 | PRIMARY | c | NULL | eq_ref | PRIMARY | PRIMARY | 4 | mardon37_ddtkh.a.catid | 1 | 100.00 | Using where |
1 | PRIMARY | ua | NULL | eq_ref | PRIMARY | PRIMARY | 4 | mardon37_ddtkh.a.created_by | 1 | 100.00 | Using where |
1 | PRIMARY | uam | NULL | eq_ref | PRIMARY | PRIMARY | 4 | mardon37_ddtkh.a.modified_by | 1 | 100.00 | Using where |
1 | PRIMARY | parent | NULL | eq_ref | PRIMARY | PRIMARY | 4 | mardon37_ddtkh.c.parent_id | 1 | 100.00 | Using where |
1 | PRIMARY | v | NULL | ALL | PRIMARY | NO INDEX KEY COULD BE USED | NULL | NULL | 2 | 100.00 | Using where; Using join buffer (Block Nested Loop) |
1 | PRIMARY | <derived2> | NULL | ref | <auto_key0> | <auto_key0> | 4 | mardon37_ddtkh.c.id | 10 | 100.00 | Using where; Using index |
2 | DERIVED | parent | NULL | ref | cat_idx,idx_left_right | cat_idx | 152 | const | 57 | 90.00 | Using index condition; Using temporary; Using filesort |
2 | DERIVED | cat | NULL | index | PRIMARY,cat_idx,idx_access,idx_checkout,idx_path,idx_left_right,idx_alias,idx_language | idx_left_right | 8 | NULL | 139 | 11.11 | Using where; Using index; Using join buffer (Block Nested Loop) |
Status | Duration |
---|
starting | 0.2 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 0.3 ms |
init | 0.1 ms |
System lock | 0.0 ms |
optimizing | 0.0 ms |
optimizing | 0.0 ms |
statistics | 0.1 ms |
preparing | 0.0 ms |
Creating tmp table | 0.0 ms |
Sorting result | 0.0 ms |
statistics | 0.1 ms |
preparing | 0.0 ms |
Creating tmp table | 0.1 ms |
Sorting result | 0.0 ms |
executing | 0.0 ms |
Sending data | 4.0 ms |
executing | 0.0 ms |
Sending data | 1.5 ms |
Creating sort index | 3.3 ms |
Creating sort index | 0.2 ms |
end | 0.0 ms |
query end | 0.0 ms |
removing tmp table | 0.2 ms |
query end | 0.0 ms |
removing tmp table | 0.0 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
removing tmp table | 0.0 ms |
closing tables | 0.1 ms |
freeing items | 0.0 ms |
cleaning up | 0.0 ms |
JROOT/libraries/legacy/model/legacy.php:304
JROOT/libraries/legacy/model/list.php:169
JROOT/components/com_content/models/articles.php:537
JROOT/components/com_content/models/category.php:256
JROOT/libraries/legacy/view/legacy.php:401
JROOT/libraries/legacy/view/category.php:106
JROOT/components/com_content/views/category/view.html.php:72
JROOT/libraries/legacy/controller/legacy.php:690
JROOT/components/com_content/controller.php:104
JROOT/libraries/legacy/controller/legacy.php:728
JROOT/components/com_content/content.php:16
JROOT/libraries/cms/component/helper.php:391
JROOT/libraries/cms/component/helper.php:371
JROOT/libraries/cms/application/site.php:191
JROOT/libraries/cms/application/site.php:230
JROOT/libraries/cms/application/cms.php:252
JROOT/index.php:40
Query Time: 0.44 ms After last query: 1.28 ms Query memory: 0.029 MB Memory before query: 6.520 MB Rows returned: 0
SELECT `m`.`tag_id`,`t`.*
FROM `ddtkh_contentitem_tag_map` AS m
INNER JOIN `ddtkh_tags` AS t
ON `m`.`tag_id` = `t`.`id`
WHERE `m`.`type_alias` = 'com_content.article'
AND `m`.`content_item_id` = 266
AND `t`.`published` = 1
AND t.access IN (1,1)
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | m | NULL | ALL | idx_tag_type,idx_tag | NO INDEX KEY COULD BE USED | NULL | NULL | 21 | 4.76 | Using where |
1 | SIMPLE | t | NULL | eq_ref | PRIMARY,tag_idx,idx_access | PRIMARY | 4 | mardon37_ddtkh.m.tag_id | 1 | 100.00 | Using where |
Status | Duration |
---|
starting | 0.1 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 0.1 ms |
init | 0.0 ms |
System lock | 0.0 ms |
optimizing | 0.0 ms |
statistics | 0.1 ms |
preparing | 0.0 ms |
executing | 0.0 ms |
Sending data | 0.0 ms |
end | 0.0 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
cleaning up | 0.0 ms |
JROOT/libraries/cms/helper/tags.php:426
JROOT/components/com_content/models/articles.php:663
JROOT/components/com_content/models/category.php:256
JROOT/libraries/legacy/view/legacy.php:401
JROOT/libraries/legacy/view/category.php:106
JROOT/components/com_content/views/category/view.html.php:72
JROOT/libraries/legacy/controller/legacy.php:690
JROOT/components/com_content/controller.php:104
JROOT/libraries/legacy/controller/legacy.php:728
JROOT/components/com_content/content.php:16
JROOT/libraries/cms/component/helper.php:391
JROOT/libraries/cms/component/helper.php:371
JROOT/libraries/cms/application/site.php:191
JROOT/libraries/cms/application/site.php:230
JROOT/libraries/cms/application/cms.php:252
JROOT/index.php:40
Query Time: 0.30 ms After last query: 0.49 ms Query memory: 0.029 MB Memory before query: 6.561 MB Rows returned: 0
SELECT `m`.`tag_id`,`t`.*
FROM `ddtkh_contentitem_tag_map` AS m
INNER JOIN `ddtkh_tags` AS t
ON `m`.`tag_id` = `t`.`id`
WHERE `m`.`type_alias` = 'com_content.article'
AND `m`.`content_item_id` = 265
AND `t`.`published` = 1
AND t.access IN (1,1)
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | m | NULL | ALL | idx_tag_type,idx_tag | NO INDEX KEY COULD BE USED | NULL | NULL | 21 | 4.76 | Using where |
1 | SIMPLE | t | NULL | eq_ref | PRIMARY,tag_idx,idx_access | PRIMARY | 4 | mardon37_ddtkh.m.tag_id | 1 | 100.00 | Using where |
Status | Duration |
---|
starting | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 0.0 ms |
init | 0.1 ms |
System lock | 0.0 ms |
optimizing | 0.0 ms |
statistics | 0.1 ms |
preparing | 0.0 ms |
executing | 0.0 ms |
Sending data | 0.0 ms |
end | 0.0 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
cleaning up | 0.0 ms |
JROOT/libraries/cms/helper/tags.php:426
JROOT/components/com_content/models/articles.php:663
JROOT/components/com_content/models/category.php:256
JROOT/libraries/legacy/view/legacy.php:401
JROOT/libraries/legacy/view/category.php:106
JROOT/components/com_content/views/category/view.html.php:72
JROOT/libraries/legacy/controller/legacy.php:690
JROOT/components/com_content/controller.php:104
JROOT/libraries/legacy/controller/legacy.php:728
JROOT/components/com_content/content.php:16
JROOT/libraries/cms/component/helper.php:391
JROOT/libraries/cms/component/helper.php:371
JROOT/libraries/cms/application/site.php:191
JROOT/libraries/cms/application/site.php:230
JROOT/libraries/cms/application/cms.php:252
JROOT/index.php:40
Query Time: 3.80 ms After last query: 0.46 ms Query memory: 0.024 MB Memory before query: 6.596 MB Rows returned: 1
SELECT COUNT(*)
FROM ddtkh_content AS a
LEFT JOIN ddtkh_content_frontpage AS fp
ON fp.content_id = a.id
LEFT JOIN ddtkh_categories AS c
ON c.id = a.catid
LEFT JOIN ddtkh_users AS ua
ON ua.id = a.created_by
LEFT JOIN ddtkh_users AS uam
ON uam.id = a.modified_by
LEFT JOIN ddtkh_categories as parent
ON parent.id = c.parent_id
LEFT JOIN ddtkh_content_rating AS v
ON a.id = v.content_id
LEFT
OUTER JOIN (SELECT cat.id as id
FROM ddtkh_categories AS cat JOIN ddtkh_categories AS parent
ON cat.lft BETWEEN parent.lft
AND parent.rgt
WHERE parent.extension = 'com_content'
AND parent.published != 1
GROUP BY cat.id ) AS badcats
ON badcats.id = c.id
WHERE
CASE WHEN badcats.id is null THEN a.state ELSE 0 END = 1
AND (a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2024-03-28 17:07:44')
AND (a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2024-03-28 17:07:44')
AND a.language in ('en-GB','*')
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | PRIMARY | a | NULL | ALL | idx_language | NO INDEX KEY COULD BE USED | NULL | NULL | 188 | 16.00 | Using where |
1 | PRIMARY | fp | NULL | eq_ref | PRIMARY | PRIMARY | 4 | mardon37_ddtkh.a.id | 1 | 100.00 | Using where; Using index |
1 | PRIMARY | c | NULL | eq_ref | PRIMARY | PRIMARY | 4 | mardon37_ddtkh.a.catid | 1 | 100.00 | Using where |
1 | PRIMARY | ua | NULL | eq_ref | PRIMARY | PRIMARY | 4 | mardon37_ddtkh.a.created_by | 1 | 100.00 | Using where; Using index |
1 | PRIMARY | uam | NULL | eq_ref | PRIMARY | PRIMARY | 4 | mardon37_ddtkh.a.modified_by | 1 | 100.00 | Using where; Using index |
1 | PRIMARY | parent | NULL | eq_ref | PRIMARY | PRIMARY | 4 | mardon37_ddtkh.c.parent_id | 1 | 100.00 | Using where; Using index |
1 | PRIMARY | v | NULL | eq_ref | PRIMARY | PRIMARY | 4 | mardon37_ddtkh.a.id | 1 | 100.00 | Using where; Using index |
1 | PRIMARY | <derived2> | NULL | ref | <auto_key0> | <auto_key0> | 4 | mardon37_ddtkh.c.id | 10 | 100.00 | Using where; Using index |
2 | DERIVED | parent | NULL | ref | cat_idx,idx_left_right | cat_idx | 152 | const | 57 | 90.00 | Using index condition; Using temporary; Using filesort |
2 | DERIVED | cat | NULL | index | PRIMARY,cat_idx,idx_access,idx_checkout,idx_path,idx_left_right,idx_alias,idx_language | idx_left_right | 8 | NULL | 139 | 11.11 | Using where; Using index; Using join buffer (Block Nested Loop) |
Status | Duration |
---|
starting | 0.1 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 0.0 ms |
init | 0.1 ms |
System lock | 0.0 ms |
optimizing | 0.0 ms |
optimizing | 0.0 ms |
statistics | 0.0 ms |
preparing | 0.0 ms |
Creating tmp table | 0.0 ms |
Sorting result | 0.0 ms |
statistics | 0.1 ms |
preparing | 0.0 ms |
executing | 0.0 ms |
Sending data | 0.1 ms |
executing | 0.0 ms |
Sending data | 1.0 ms |
Creating sort index | 2.1 ms |
end | 0.0 ms |
query end | 0.0 ms |
removing tmp table | 0.0 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
removing tmp table | 0.0 ms |
closing tables | 0.1 ms |
freeing items | 0.0 ms |
cleaning up | 0.0 ms |
JROOT/libraries/legacy/model/legacy.php:333
JROOT/libraries/legacy/model/list.php:274
JROOT/libraries/legacy/model/list.php:219
JROOT/components/com_content/models/category.php:268
JROOT/libraries/legacy/view/legacy.php:401
JROOT/libraries/legacy/view/category.php:106
JROOT/components/com_content/views/category/view.html.php:72
JROOT/libraries/legacy/controller/legacy.php:690
JROOT/components/com_content/controller.php:104
JROOT/libraries/legacy/controller/legacy.php:728
JROOT/components/com_content/content.php:16
JROOT/libraries/cms/component/helper.php:391
JROOT/libraries/cms/component/helper.php:371
JROOT/libraries/cms/application/site.php:191
JROOT/libraries/cms/application/site.php:230
JROOT/libraries/cms/application/cms.php:252
JROOT/index.php:40
Query Time: 0.32 ms After last query: 1.62 ms Query memory: 0.025 MB Memory before query: 6.651 MB Rows returned: 1
SELECT `new_url`,`header`,`published`
FROM `ddtkh_redirect_links`
WHERE `old_url` = 'https://www.khatmedun.tj/wp-content/uploads/2018/08/d7tfsauw6vkiptn.html'
LIMIT 0, 1
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | ddtkh_redirect_links | NULL | const | idx_link_old | idx_link_old | 768 | const | 1 | 100.00 | NULL |
Status | Duration |
---|
starting | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 0.1 ms |
init | 0.0 ms |
System lock | 0.0 ms |
optimizing | 0.0 ms |
statistics | 0.1 ms |
preparing | 0.0 ms |
executing | 0.0 ms |
Sending data | 0.0 ms |
end | 0.0 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
cleaning up | 0.0 ms |
JROOT/plugins/system/redirect/redirect.php:86
JROOT/libraries/legacy/error/error.php:760
JROOT/libraries/legacy/error/error.php:218
JROOT/libraries/legacy/error/error.php:179
JROOT/libraries/legacy/error/error.php:254
JROOT/libraries/legacy/view/category.php:127
JROOT/components/com_content/views/category/view.html.php:72
JROOT/libraries/legacy/controller/legacy.php:690
JROOT/components/com_content/controller.php:104
JROOT/libraries/legacy/controller/legacy.php:728
JROOT/components/com_content/content.php:16
JROOT/libraries/cms/component/helper.php:391
JROOT/libraries/cms/component/helper.php:371
JROOT/libraries/cms/application/site.php:191
JROOT/libraries/cms/application/site.php:230
JROOT/libraries/cms/application/cms.php:252
JROOT/index.php:40
Query Time: 0.16 ms After last query: 0.28 ms Query memory: 0.025 MB Memory before query: 6.676 MB Rows returned: 0
SELECT `new_url`,`published`
FROM `ddtkh_redirect_links`
WHERE `old_url` = '/wp-content/uploads/2018/08/d7tfsauw6vkiptn.html'
LIMIT 0, 1
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | NULL | NULL | NULL | NULL | NO INDEX KEY COULD BE USED | NULL | NULL | NULL | NULL | no matching row in const table |
Status | Duration |
---|
starting | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 0.0 ms |
init | 0.0 ms |
System lock | 0.0 ms |
optimizing | 0.0 ms |
statistics | 0.0 ms |
executing | 0.0 ms |
end | 0.0 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
cleaning up | 0.0 ms |
JROOT/plugins/system/redirect/redirect.php:98
JROOT/libraries/legacy/error/error.php:760
JROOT/libraries/legacy/error/error.php:218
JROOT/libraries/legacy/error/error.php:179
JROOT/libraries/legacy/error/error.php:254
JROOT/libraries/legacy/view/category.php:127
JROOT/components/com_content/views/category/view.html.php:72
JROOT/libraries/legacy/controller/legacy.php:690
JROOT/components/com_content/controller.php:104
JROOT/libraries/legacy/controller/legacy.php:728
JROOT/components/com_content/content.php:16
JROOT/libraries/cms/component/helper.php:391
JROOT/libraries/cms/component/helper.php:371
JROOT/libraries/cms/application/site.php:191
JROOT/libraries/cms/application/site.php:230
JROOT/libraries/cms/application/cms.php:252
JROOT/index.php:40
Query Time: 0.18 ms After last query: 0.28 ms Query memory: 0.025 MB Memory before query: 6.699 MB Rows returned: 1
SELECT `id`
FROM `ddtkh_redirect_links`
WHERE `old_url` = 'https://www.khatmedun.tj/wp-content/uploads/2018/08/d7tfsauw6vkiptn.html'
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | ddtkh_redirect_links | NULL | const | idx_link_old | idx_link_old | 768 | const | 1 | 100.00 | Using index |
Status | Duration |
---|
starting | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 0.0 ms |
init | 0.0 ms |
System lock | 0.0 ms |
optimizing | 0.0 ms |
statistics | 0.0 ms |
preparing | 0.0 ms |
executing | 0.0 ms |
Sending data | 0.0 ms |
end | 0.0 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
cleaning up | 0.0 ms |
JROOT/plugins/system/redirect/redirect.php:142
JROOT/libraries/legacy/error/error.php:760
JROOT/libraries/legacy/error/error.php:218
JROOT/libraries/legacy/error/error.php:179
JROOT/libraries/legacy/error/error.php:254
JROOT/libraries/legacy/view/category.php:127
JROOT/components/com_content/views/category/view.html.php:72
JROOT/libraries/legacy/controller/legacy.php:690
JROOT/components/com_content/controller.php:104
JROOT/libraries/legacy/controller/legacy.php:728
JROOT/components/com_content/content.php:16
JROOT/libraries/cms/component/helper.php:391
JROOT/libraries/cms/component/helper.php:371
JROOT/libraries/cms/application/site.php:191
JROOT/libraries/cms/application/site.php:230
JROOT/libraries/cms/application/cms.php:252
JROOT/index.php:40
Query Time: 0.28 ms After last query: 0.22 ms Query memory: 0.022 MB Memory before query: 6.723 MB
UPDATE `ddtkh_redirect_links`
SET `hits` = `hits` + 1
WHERE id = 4417
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | UPDATE | ddtkh_redirect_links | NULL | range | PRIMARY | PRIMARY | 4 | const | 1 | 100.00 | Using where |
Status | Duration |
---|
starting | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 0.0 ms |
init | 0.0 ms |
System lock | 0.0 ms |
updating | 0.1 ms |
end | 0.0 ms |
query end | 0.1 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
cleaning up | 0.0 ms |
JROOT/plugins/system/redirect/redirect.php:182
JROOT/libraries/legacy/error/error.php:760
JROOT/libraries/legacy/error/error.php:218
JROOT/libraries/legacy/error/error.php:179
JROOT/libraries/legacy/error/error.php:254
JROOT/libraries/legacy/view/category.php:127
JROOT/components/com_content/views/category/view.html.php:72
JROOT/libraries/legacy/controller/legacy.php:690
JROOT/components/com_content/controller.php:104
JROOT/libraries/legacy/controller/legacy.php:728
JROOT/components/com_content/content.php:16
JROOT/libraries/cms/component/helper.php:391
JROOT/libraries/cms/component/helper.php:371
JROOT/libraries/cms/application/site.php:191
JROOT/libraries/cms/application/site.php:230
JROOT/libraries/cms/application/cms.php:252
JROOT/index.php:40
Query Time: 0.33 ms After last query: 0.97 ms Query memory: 0.003 MB Memory before query: 6.780 MB
UPDATE `ddtkh_session`
SET `data` = '__default|a:7:{s:15:\"session.counter\";i:1;s:19:\"session.timer.start\";i:1711645664;s:18:\"session.timer.last\";i:1711645664;s:17:\"session.timer.now\";i:1711645664;s:22:\"session.client.browser\";s:9:\"claudebot\";s:8:\"registry\";O:24:\"Joomla\\Registry\\Registry\":2:{s:7:\"\\0\\0\\0data\";O:8:\"stdClass\":0:{}s:9:\"separator\";s:1:\".\";}s:4:\"user\";O:5:\"JUser\":26:{s:9:\"\\0\\0\\0isRoot\";b:0;s:2:\"id\";i:0;s:4:\"name\";N;s:8:\"username\";N;s:5:\"email\";N;s:8:\"password\";N;s:14:\"password_clear\";s:0:\"\";s:5:\"block\";N;s:9:\"sendEmail\";i:0;s:12:\"registerDate\";N;s:13:\"lastvisitDate\";N;s:10:\"activation\";N;s:6:\"params\";N;s:6:\"groups\";a:1:{i:0;s:1:\"1\";}s:5:\"guest\";i:1;s:13:\"lastResetTime\";N;s:10:\"resetCount\";N;s:12:\"requireReset\";N;s:10:\"\\0\\0\\0_params\";O:24:\"Joomla\\Registry\\Registry\":2:{s:7:\"\\0\\0\\0data\";O:8:\"stdClass\":0:{}s:9:\"separator\";s:1:\".\";}s:14:\"\\0\\0\\0_authGroups\";a:1:{i:0;i:1;}s:14:\"\\0\\0\\0_authLevels\";a:2:{i:0;i:1;i:1;i:1;}s:15:\"\\0\\0\\0_authActions\";N;s:12:\"\\0\\0\\0_errorMsg\";N;s:13:\"\\0\\0\\0userHelper\";O:18:\"JUserWrapperHelper\":0:{}s:10:\"\\0\\0\\0_errors\";a:0:{}s:3:\"aid\";i:0;}}'
, `time` = '1711645664'
WHERE `session_id` = '70dca076ab0db7f6130c26d5b0de7863'
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | UPDATE | ddtkh_session | NULL | range | PRIMARY | PRIMARY | 602 | const | 1 | 100.00 | Using where |
Status | Duration |
---|
starting | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 0.0 ms |
init | 0.0 ms |
System lock | 0.0 ms |
updating | 0.1 ms |
end | 0.0 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
cleaning up | 0.0 ms |
JROOT/libraries/joomla/session/storage/database.php:84
2 × SELECT `m`.`tag_id`,`t`.*
FROM `ddtkh_contentitem_tag_map` AS m
INNER JOIN `ddtkh_tags` AS t
ON `m`.`tag_id` = `t`.`id`
2 × SELECT b.rules
FROM ddtkh_assets AS a
LEFT JOIN ddtkh_assets AS b
ON b.lft <= a.lft
AND b.rgt >= a.rgt
2 × SELECT c.id, c.asset_id, c.access, c.alias, c.checked_out, c.checked_out_time, c.created_time, c.created_user_id, c.description, c.extension, c.hits, c.language, c.level, c.lft, c.metadata, c.metadesc, c.metakey, c.modified_time, c.note, c.params, c.parent_id, c.path, c.published, c.rgt, c.title, c.modified_user_id, c.version,
CASE WHEN CHAR_LENGTH(c.alias) != 0 THEN CONCAT_WS(':', c.id, c.alias) ELSE c.id END as slug
FROM ddtkh_categories as c
LEFT JOIN (SELECT cat.id as id
FROM ddtkh_categories AS cat JOIN ddtkh_categories AS parent
ON cat.lft BETWEEN parent.lft
AND parent.rgt
2 × SELECT extension_id AS id, element AS "option", params, enabled
FROM ddtkh_extensions
1 × SELECT `session_id`
FROM `ddtkh_session`
1 × SELECT a.id, a.title, a.alias, a.introtext, a.fulltext, a.checked_out, a.checked_out_time, a.catid, a.created, a.created_by, a.created_by_alias,
CASE WHEN a.modified = '0000-00-00 00:00:00' THEN a.created ELSE a.modified END as modified, a.modified_by, uam.name as modified_by_name,
CASE WHEN a.publish_up = '0000-00-00 00:00:00' THEN a.created ELSE a.publish_up END as publish_up,a.publish_down, a.images, a.urls, a.attribs, a.metadata, a.metakey, a.metadesc, a.access, a.hits, a.xreference, a.featured, a.language, LENGTH(a.fulltext) AS readmore,
CASE WHEN badcats.id is not null THEN 0 ELSE a.state END AS state,c.title AS category_title, c.path AS category_route, c.access AS category_access, c.alias AS category_alias,
CASE WHEN a.created_by_alias > ' ' THEN a.created_by_alias ELSE ua.name END AS author,ua.email AS author_email,parent.title as parent_title, parent.id as parent_id, parent.path as parent_route, parent.alias as parent_alias,ROUND(v.rating_sum / v.rating_count, 0) AS rating, v.rating_count as rating_count,c.published,
CASE WHEN badcats.id is null THEN c.published ELSE 0 END AS parents_published
FROM ddtkh_content AS a
LEFT JOIN ddtkh_content_frontpage AS fp
ON fp.content_id = a.id
LEFT JOIN ddtkh_categories AS c
ON c.id = a.catid
LEFT JOIN ddtkh_users AS ua
ON ua.id = a.created_by
LEFT JOIN ddtkh_users AS uam
ON uam.id = a.modified_by
LEFT JOIN ddtkh_categories as parent
ON parent.id = c.parent_id
LEFT JOIN ddtkh_content_rating AS v
ON a.id = v.content_id
LEFT
OUTER JOIN (SELECT cat.id as id
FROM ddtkh_categories AS cat JOIN ddtkh_categories AS parent
ON cat.lft BETWEEN parent.lft
AND parent.rgt
1 × SELECT rules
FROM ddtkh_assets
1 × SELECT COUNT(*)
FROM ddtkh_content AS a
LEFT JOIN ddtkh_content_frontpage AS fp
ON fp.content_id = a.id
LEFT JOIN ddtkh_categories AS c
ON c.id = a.catid
LEFT JOIN ddtkh_users AS ua
ON ua.id = a.created_by
LEFT JOIN ddtkh_users AS uam
ON uam.id = a.modified_by
LEFT JOIN ddtkh_categories as parent
ON parent.id = c.parent_id
LEFT JOIN ddtkh_content_rating AS v
ON a.id = v.content_id
LEFT
OUTER JOIN (SELECT cat.id as id
FROM ddtkh_categories AS cat JOIN ddtkh_categories AS parent
ON cat.lft BETWEEN parent.lft
AND parent.rgt
1 × SELECT `new_url`,`header`,`published`
FROM `ddtkh_redirect_links`
1 × SELECT `id`
FROM `ddtkh_redirect_links`
1 × SELECT `new_url`,`published`
FROM `ddtkh_redirect_links`
1 × SELECT id
FROM ddtkh_assets
1 × SELECT b.id
FROM ddtkh_usergroups AS a
LEFT JOIN ddtkh_usergroups AS b
ON b.lft <= a.lft
AND b.rgt >= a.rgt
1 × SELECT *
FROM ddtkh_languages
1 × SELECT folder AS type, element AS name, params
FROM ddtkh_extensions
1 × SELECT m.id, m.menutype, m.title, m.alias, m.note, m.path AS route, m.link, m.type, m.level, m.language,`m`.`browserNav`, m.access, m.params, m.home, m.img, m.template_style_id, m.component_id, m.parent_id,e.element as component
FROM ddtkh_menu AS m
LEFT JOIN ddtkh_extensions AS e
ON m.component_id = e.extension_id
1 × SELECT id, home, template, s.params
FROM ddtkh_template_styles as s
LEFT JOIN ddtkh_extensions as e
ON e.element=s.template
AND e.type='template'
AND e.client_id=s.client_id
1 × SELECT a.rules
FROM ddtkh_assets AS a
1 × SELECT `data`
FROM `ddtkh_session`
1 × SELECT id, rules
FROM `ddtkh_viewlevels