8.1940 [ms]
|
SELECT option_value FROM wp_options WHERE option_name = '_wpml_inactive' LIMIT 1;
|
3.8249 [ms]
|
SELECT option_value
FROM wp_options
WHERE option_name = 'home'
LIMIT 1;
|
4.7112 [ms]
|
SELECT option_value FROM wp_options WHERE option_name = 'active_sitewide_plugins' LIMIT 1;
|
3.8381 [ms]
|
SELECT option_value FROM wp_options WHERE option_name = 'updraft_restore_in_progress' LIMIT 1;
|
8.6980 [ms]
|
SELECT code, locale FROM wp_icl_locale_map;
|
0.1090 [ms]
|
SELECT option_value FROM wp_options WHERE option_name = 'WpFastestCacheCDN' LIMIT 1;
|
0.0710 [ms]
|
SELECT option_value FROM wp_options WHERE option_name = 'WpFastestCacheExclude' LIMIT 1;
|
1.4999 [ms]
|
SELECT option_value FROM wp_options WHERE option_name = 'as_has_wp_comment_logs' LIMIT 1;
|
0.1011 [ms]
|
SELECT option_value FROM wp_options WHERE option_name = 'redirection_database_stage' LIMIT 1;
|
7.1700 [ms]
|
SELECT option_value FROM wp_options WHERE option_name = 'revslider_change_database' LIMIT 1;
|
0.8481 [ms]
|
SHOW FULL COLUMNS FROM `wp_options`;
|
0.2811 [ms]
|
UPDATE `wp_options` SET `option_value` = '1' WHERE `option_name` = 'rs_tables_created';
|
0.0899 [ms]
|
SELECT option_value FROM wp_options WHERE option_name = 'wpforms_settings' LIMIT 1;
|
6.2871 [ms]
|
SELECT option_name, option_value FROM wp_options WHERE option_name LIKE 'widget\_%';
|
2.7800 [ms]
|
SELECT DISTINCT
s.id,
s.name,
s.context,
st.status,
s.gettext_context,
st.value AS tra,
s.value AS orig
FROM wp_icl_string_pages sp
INNER JOIN wp_icl_string_urls su
ON su.id = sp.url_id
INNER JOIN wp_icl_strings s
ON s.id = sp.string_id
LEFT JOIN wp_icl_string_translations st
ON s.id=st.string_id
AND st.language=su.language
AND s.language!=su.language
WHERE (su.language='th' and su.url='(.?.+?)(?:/([0-9]+))?/?$') or (su.language='th' and su.url IS NULL)
;
|
14.6801 [ms]
|
SELECT t.*, tt.* FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy IN ('nav_menu') ORDER BY t.name
ASC ;
|
0.1070 [ms]
|
SELECT term_id, meta_key, meta_value FROM wp_termmeta WHERE term_id IN (3,5) ORDER BY meta_id ASC;
|
0.0861 [ms]
|
SELECT t.translation_id, t.element_id, t.language_code, t.source_language_code, t.trid, t.element_type
FROM wp_icl_translations t
JOIN wp_term_taxonomy tax
ON t.element_id = tax.term_taxonomy_id
AND t.element_type = CONCAT('tax_', tax.taxonomy)
JOIN wp_icl_translations tridt
ON tridt.element_type = t.element_type
AND tridt.trid = t.trid
WHERE tridt.trid = (SELECT trid FROM wp_icl_translations t
JOIN wp_term_taxonomy tax
ON t.element_id = tax.term_taxonomy_id
AND t.element_type = CONCAT('tax_', tax.taxonomy) WHERE element_id = 3 LIMIT 1);
|
0.0770 [ms]
|
SELECT t.*, tt.* FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.term_taxonomy_id = 3 LIMIT 1;
|
0.8681 [ms]
|
SHOW COLUMNS FROM wp_revslider_sliders LIKE 'type';
|
0.1192 [ms]
|
SELECT * FROM wp_revslider_sliders WHERE type != 'template' ORDER BY title ASC;
|
0.0799 [ms]
|
SELECT * FROM wp_layerslider WHERE flag_hidden = '0' AND flag_deleted = '0' ORDER BY name ASC;
|
0.0870 [ms]
|
SELECT option_value FROM wp_options WHERE option_name = 'revSliderAsTheme' LIMIT 1;
|
9.6350 [ms]
|
SELECT option_value FROM wp_options WHERE option_name = '_transient_timeout_wpml_language_switcher_template_objects' LIMIT 1;
|
0.0870 [ms]
|
SELECT option_value FROM wp_options WHERE option_name = '_transient_wpml_language_switcher_template_objects' LIMIT 1;
|
0.0870 [ms]
|
SELECT option_value FROM wp_options WHERE option_name = 'wpseo-premium-redirects-base' LIMIT 1;
|
4.7531 [ms]
|
SELECT option_value FROM wp_options WHERE option_name = 'can_compress_scripts' LIMIT 1;
|
5.3461 [ms]
|
SELECT option_value FROM wp_options WHERE option_name = 'wpforms_debug' LIMIT 1;
|
0.0861 [ms]
|
SELECT option_value FROM wp_options WHERE option_name = 'wpb_js_less_version' LIMIT 1;
|
0.0920 [ms]
|
SELECT t.*, tt.* FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id LEFT JOIN wp_icl_translations icl_t
ON icl_t.element_id = tt.term_taxonomy_id
AND icl_t.element_type IN ('tax_category') WHERE tt.taxonomy IN ('category') AND ( ( icl_t.element_type IN
('tax_category') AND icl_t.language_code = 'th' )
OR icl_t.element_type NOT IN ('tax_category') OR icl_t.element_type IS NULL ) ORDER BY t.name ASC ;
|
0.0620 [ms]
|
SELECT term_id, meta_key, meta_value FROM wp_termmeta WHERE term_id IN (1,4) ORDER BY meta_id ASC;
|
0.0820 [ms]
|
SELECT t.translation_id, t.element_id, t.language_code, t.source_language_code, t.trid, t.element_type
FROM wp_icl_translations t
JOIN wp_term_taxonomy tax
ON t.element_id = tax.term_taxonomy_id
AND t.element_type = CONCAT('tax_', tax.taxonomy)
JOIN wp_icl_translations tridt
ON tridt.element_type = t.element_type
AND tridt.trid = t.trid
WHERE tridt.trid = (SELECT trid FROM wp_icl_translations t
JOIN wp_term_taxonomy tax
ON t.element_id = tax.term_taxonomy_id
AND t.element_type = CONCAT('tax_', tax.taxonomy) WHERE element_id = 4 LIMIT 1);
|
2.1980 [ms]
|
SELECT option_value FROM wp_options WHERE option_name = 'vc_automapped_shortcodes' LIMIT 1;
|
0.0830 [ms]
|
SELECT a.action_id FROM wp_actionscheduler_actions a WHERE a.hook='wpforms_process_entry_emails_meta_cleanup' AND a.status='in-progress' ORDER BY
scheduled_date_gmt DESC LIMIT 1;
|
0.0639 [ms]
|
SELECT a.action_id FROM wp_actionscheduler_actions a WHERE a.hook='wpforms_process_entry_emails_meta_cleanup' AND a.status='pending' ORDER BY
scheduled_date_gmt ASC LIMIT 1;
|
0.0758 [ms]
|
SELECT a.*, g.slug AS `group` FROM wp_actionscheduler_actions a LEFT JOIN wp_actionscheduler_groups g ON a.group_id=g.group_id WHERE a.action_id=3410;
|
0.1149 [ms]
|
SELECT * FROM wp_redirection_items WHERE match_url='/th/about-us' OR match_url='regex';
|
0.1121 [ms]
|
SELECT * FROM wp_users WHERE ID = '1' LIMIT 1;
|
0.1090 [ms]
|
SELECT ID, post_name, post_parent, post_type
FROM wp_posts
WHERE post_name IN ('about-us')
AND post_type IN ('page','attachment')
;
|
0.0899 [ms]
|
SELECT * FROM wp_posts WHERE ID = 52 LIMIT 1;
|
0.0751 [ms]
|
SELECT element_id, language_code
FROM wp_icl_translations
WHERE trid =
(SELECT trid
FROM wp_icl_translations
WHERE element_type = 'post_page'
AND element_id = (SELECT option_value
FROM wp_options
WHERE option_name='page_for_posts'
LIMIT 1))
;
|
0.0780 [ms]
|
SELECT post_type, post_name
FROM wp_posts p
LEFT JOIN wp_icl_translations t
ON t.element_id = p.ID
AND CONCAT('post_', p.post_type) = t.element_type
AND p.post_type IN ('post','page','wp_block','slide' )
WHERE post_name = 'about-us' AND post_type IN ('post', 'page', 'attachment', 'uig_image', 'slide')
AND ( post_status = 'publish'
OR ( post_type = 'attachment'
AND post_status = 'inherit' ) )
ORDER BY CASE t.language_code WHEN 'th' THEN 3 WHEN 'en' THEN 1 ELSE 0 END DESC , CASE p.post_type WHEN 'page' THEN 2 WHEN 'post'
THEN 1 ELSE 0 END DESC
LIMIT 1;
|
0.0770 [ms]
|
SELECT ID
FROM wp_posts p
JOIN wp_icl_translations t
ON p.ID = t.element_id
AND t.element_type = CONCAT('post_', p.post_type ) WHERE p.post_type = 'page' AND p.post_name = 'about-us'
ORDER BY p.post_parent = 0 DESC
;
|
0.0832 [ms]
|
SELECT t.translation_id, t.element_id, t.language_code, t.source_language_code, t.trid, t.element_type
FROM wp_icl_translations t
JOIN wp_posts p
ON t.element_id = p.ID
AND t.element_type = CONCAT('post_', p.post_type)
JOIN wp_icl_translations tridt
ON tridt.element_type = t.element_type
AND tridt.trid = t.trid
WHERE tridt.trid = (SELECT trid FROM wp_icl_translations t
JOIN wp_posts p
ON t.element_id = p.ID
AND t.element_type = CONCAT('post_', p.post_type) WHERE element_id = 52 LIMIT 1);
|
0.0670 [ms]
|
SELECT ID
FROM wp_posts p
JOIN wp_icl_translations t
ON p.ID = t.element_id
AND t.element_type = CONCAT('post_', p.post_type ) WHERE p.post_type = 'page' AND p.post_name = 'about-us'
ORDER BY p.post_parent = 0 DESC
;
|
0.1061 [ms]
|
SELECT post_id, meta_key, meta_value FROM wp_postmeta WHERE post_id IN (52) ORDER BY meta_id ASC;
|
0.0830 [ms]
|
SELECT wp_posts.* FROM wp_posts JOIN wp_icl_translations t
ON wp_posts.ID = t.element_id
AND t.element_type = CONCAT('post_', wp_posts.post_type) WHERE 1=1 AND (wp_posts.ID = '52') AND wp_posts.post_type = 'page' AND ( (
t.language_code = 'th' AND wp_posts.post_type IN ('post','page','wp_block','slide' ) ) OR wp_posts.post_type NOT IN
('post','page','wp_block','slide' ) ) ORDER BY wp_posts.post_date DESC ;
|
0.0739 [ms]
|
SELECT element_id, language_code
FROM wp_icl_translations
WHERE trid =
(SELECT trid
FROM wp_icl_translations
WHERE element_type = 'post_page'
AND element_id = (SELECT option_value
FROM wp_options
WHERE option_name='page_on_front'
LIMIT 1))
;
|
0.0820 [ms]
|
SELECT option_value FROM wp_options WHERE option_name = 'wpb_js_use_custom' LIMIT 1;
|
0.0889 [ms]
|
SELECT option_value FROM wp_options WHERE option_name = 'ls_conditional_script_loading' LIMIT 1;
|
0.0708 [ms]
|
SELECT option_value FROM wp_options WHERE option_name = 'ls_include_at_footer' LIMIT 1;
|
0.0839 [ms]
|
SELECT option_value FROM wp_options WHERE option_name = 'ls_use_custom_jquery' LIMIT 1;
|
0.1271 [ms]
|
SELECT option_value FROM wp_options WHERE option_name = 'layerslider_custom_capability' LIMIT 1;
|
0.0741 [ms]
|
SELECT option_value FROM wp_options WHERE option_name = 'ls_gsap_sandboxing' LIMIT 1;
|
0.2971 [ms]
|
SELECT option_value FROM wp_options WHERE option_name = 'ls-google-fonts' LIMIT 1;
|
12.5260 [ms]
|
SELECT option_value FROM wp_options WHERE option_name = 'ls-google-font-scripts' LIMIT 1;
|
0.0908 [ms]
|
SELECT option_value FROM wp_options WHERE option_name = 'revslider-static-css' LIMIT 1;
|
1.0600 [ms]
|
SELECT t.translation_id, t.language_code, t.element_id, t.source_language_code, t.element_type, NULLIF(t.source_language_code, '') IS NULL AS
original
, p.post_title, p.post_status
FROM wp_icl_translations t
LEFT JOIN wp_posts p ON t.element_id=p.ID
WHERE 1 AND ( p.post_status = 'publish' OR p.post_status = 'pending' ) AND t.trid=52
;
|
0.0980 [ms]
|
SELECT t.translation_id, t.element_id, t.language_code, t.source_language_code, t.trid, t.element_type
FROM wp_icl_translations t
JOIN wp_posts p
ON t.element_id = p.ID
AND t.element_type = CONCAT('post_', p.post_type)
JOIN wp_icl_translations tridt
ON tridt.element_type = t.element_type
AND tridt.trid = t.trid
WHERE tridt.trid = (SELECT trid FROM wp_icl_translations t
JOIN wp_posts p
ON t.element_id = p.ID
AND t.element_type = CONCAT('post_', p.post_type) WHERE element_id = 142 LIMIT 1);
|
0.5810 [ms]
|
SELECT * FROM wp_posts WHERE ID = 148 LIMIT 1;
|
0.0830 [ms]
|
SELECT * FROM wp_users WHERE ID = '6' LIMIT 1;
|
0.0930 [ms]
|
SELECT user_id, meta_key, meta_value FROM wp_usermeta WHERE user_id IN (6) ORDER BY umeta_id ASC;
|
0.0939 [ms]
|
SELECT code, tag FROM wp_icl_languages;
|
10.4060 [ms]
|
SELECT * FROM wp_posts WHERE ID = 854 LIMIT 1;
|
1.5471 [ms]
|
SELECT post_id, meta_key, meta_value FROM wp_postmeta WHERE post_id IN (854) ORDER BY meta_id ASC;
|
0.8349 [ms]
|
SELECT * FROM wp_posts WHERE (post_type = 'page' AND post_status = 'publish') AND post_parent = 52 ORDER BY wp_posts.post_title ASC LIMIT 0,1;
|
0.0730 [ms]
|
SELECT option_value FROM wp_options WHERE option_name = 'wpb_js_not_responsive_css' LIMIT 1;
|
0.1040 [ms]
|
SELECT option_value FROM wp_options WHERE option_name = '_otgs_twig_cache_disabled' LIMIT 1;
|
0.1001 [ms]
|
SELECT ID FROM wp_posts WHERE guid='http://maipromthai.com/wp-content/uploads/2017/07/logo-new-2.svg';;
|
0.0980 [ms]
|
SELECT * FROM wp_posts WHERE ID = 476 LIMIT 1;
|
0.0789 [ms]
|
SELECT post_id, meta_key, meta_value FROM wp_postmeta WHERE post_id IN (476) ORDER BY meta_id ASC;
|
0.0818 [ms]
|
SELECT t.translation_id, t.element_id, t.language_code, t.source_language_code, t.trid, t.element_type
FROM wp_icl_translations t
JOIN wp_posts p
ON t.element_id = p.ID
AND t.element_type = CONCAT('post_', p.post_type)
JOIN wp_icl_translations tridt
ON tridt.element_type = t.element_type
AND tridt.trid = t.trid
WHERE tridt.trid = (SELECT trid FROM wp_icl_translations t
JOIN wp_posts p
ON t.element_id = p.ID
AND t.element_type = CONCAT('post_', p.post_type) WHERE element_id = 476 LIMIT 1);
|
0.9830 [ms]
|
SHOW FULL COLUMNS FROM `wp_posts`;
|
0.0792 [ms]
|
SELECT ID FROM wp_posts WHERE guid='http://maipromthai.com/wp-content/uploads/2017/07/logo-new-02-แก้ไข-01.svg';;
|
0.0839 [ms]
|
SELECT * FROM wp_posts WHERE ID = 478 LIMIT 1;
|
0.0792 [ms]
|
SELECT post_id, meta_key, meta_value FROM wp_postmeta WHERE post_id IN (478) ORDER BY meta_id ASC;
|
0.0799 [ms]
|
SELECT t.translation_id, t.element_id, t.language_code, t.source_language_code, t.trid, t.element_type
FROM wp_icl_translations t
JOIN wp_posts p
ON t.element_id = p.ID
AND t.element_type = CONCAT('post_', p.post_type)
JOIN wp_icl_translations tridt
ON tridt.element_type = t.element_type
AND tridt.trid = t.trid
WHERE tridt.trid = (SELECT trid FROM wp_icl_translations t
JOIN wp_posts p
ON t.element_id = p.ID
AND t.element_type = CONCAT('post_', p.post_type) WHERE element_id = 478 LIMIT 1);
|
0.0720 [ms]
|
SELECT ID FROM wp_posts WHERE guid='http://maipromthai.com/wp-content/uploads/2017/07/logo-new-2.svg';;
|
0.0701 [ms]
|
SELECT ID FROM wp_posts WHERE guid='http://maipromthai.com/wp-content/uploads/2017/07/logo-new-2.svg';;
|
0.0849 [ms]
|
SELECT t.element_id, tax.term_id, tax.taxonomy
FROM wp_icl_translations t
JOIN wp_term_taxonomy tax
ON t.element_id = tax.term_taxonomy_id
AND t.element_type = CONCAT('tax_', tax.taxonomy)
JOIN wp_terms terms
ON terms.term_id = tax.term_id
WHERE tax.term_id != tax.term_taxonomy_id;
|
3.7072 [ms]
|
SELECT tr.object_id FROM wp_term_relationships AS tr INNER JOIN wp_term_taxonomy AS tt ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE tt.taxonomy
IN ('nav_menu') AND tt.term_id IN ('3') ORDER BY tr.object_id ASC;
|
0.1121 [ms]
|
SELECT wp_posts.* FROM wp_posts WHERE 1=1 AND wp_posts.ID IN (51,55,56,57,58,896,1110) AND wp_posts.post_type = 'nav_menu_item' AND
((wp_posts.post_status = 'publish')) ORDER BY wp_posts.menu_order ASC ;
|
0.1080 [ms]
|
SELECT post_id, meta_key, meta_value FROM wp_postmeta WHERE post_id IN (51,58,1110,57,56,896,55) ORDER BY meta_id ASC;
|
0.1020 [ms]
|
SELECT wp_posts.* FROM wp_posts WHERE 1=1 AND wp_posts.ID IN (50,52,1102,53,54,875,15) AND wp_posts.post_type = 'page' AND ((wp_posts.post_status
= 'publish')) ORDER BY wp_posts.post_date DESC ;
|
1.6670 [ms]
|
SELECT post_id, meta_key, meta_value FROM wp_postmeta WHERE post_id IN (1102,875,15,54,53,50) ORDER BY meta_id ASC;
|
12.2821 [ms]
|
SELECT t.translation_id, t.element_id, t.language_code, t.source_language_code, t.trid, t.element_type
FROM wp_icl_translations t
JOIN wp_posts p
ON t.element_id = p.ID
AND t.element_type = CONCAT('post_', p.post_type)
JOIN wp_icl_translations tridt
ON tridt.element_type = t.element_type
AND tridt.trid = t.trid
WHERE tridt.trid = (SELECT trid FROM wp_icl_translations t
JOIN wp_posts p
ON t.element_id = p.ID
AND t.element_type = CONCAT('post_', p.post_type) WHERE element_id = 1102 LIMIT 1);
|
0.1299 [ms]
|
SELECT t.translation_id, t.element_id, t.language_code, t.source_language_code, t.trid, t.element_type
FROM wp_icl_translations t
JOIN wp_posts p
ON t.element_id = p.ID
AND t.element_type = CONCAT('post_', p.post_type)
JOIN wp_icl_translations tridt
ON tridt.element_type = t.element_type
AND tridt.trid = t.trid
WHERE tridt.trid = (SELECT trid FROM wp_icl_translations t
JOIN wp_posts p
ON t.element_id = p.ID
AND t.element_type = CONCAT('post_', p.post_type) WHERE element_id = 53 LIMIT 1);
|
0.0851 [ms]
|
SELECT t.translation_id, t.element_id, t.language_code, t.source_language_code, t.trid, t.element_type
FROM wp_icl_translations t
JOIN wp_posts p
ON t.element_id = p.ID
AND t.element_type = CONCAT('post_', p.post_type)
JOIN wp_icl_translations tridt
ON tridt.element_type = t.element_type
AND tridt.trid = t.trid
WHERE tridt.trid = (SELECT trid FROM wp_icl_translations t
JOIN wp_posts p
ON t.element_id = p.ID
AND t.element_type = CONCAT('post_', p.post_type) WHERE element_id = 54 LIMIT 1);
|
0.0820 [ms]
|
SELECT t.translation_id, t.element_id, t.language_code, t.source_language_code, t.trid, t.element_type
FROM wp_icl_translations t
JOIN wp_posts p
ON t.element_id = p.ID
AND t.element_type = CONCAT('post_', p.post_type)
JOIN wp_icl_translations tridt
ON tridt.element_type = t.element_type
AND tridt.trid = t.trid
WHERE tridt.trid = (SELECT trid FROM wp_icl_translations t
JOIN wp_posts p
ON t.element_id = p.ID
AND t.element_type = CONCAT('post_', p.post_type) WHERE element_id = 875 LIMIT 1);
|
0.0830 [ms]
|
SELECT t.translation_id, t.element_id, t.language_code, t.source_language_code, t.trid, t.element_type
FROM wp_icl_translations t
JOIN wp_posts p
ON t.element_id = p.ID
AND t.element_type = CONCAT('post_', p.post_type)
JOIN wp_icl_translations tridt
ON tridt.element_type = t.element_type
AND tridt.trid = t.trid
WHERE tridt.trid = (SELECT trid FROM wp_icl_translations t
JOIN wp_posts p
ON t.element_id = p.ID
AND t.element_type = CONCAT('post_', p.post_type) WHERE element_id = 15 LIMIT 1);
|
11.3399 [ms]
|
SELECT ID FROM wp_posts WHERE guid='http://maipromthai.com/wp-content/uploads/2015/10/เครื่องจักร-3.jpg';;
|
0.6080 [ms]
|
SELECT * FROM wp_posts WHERE ID = 692 LIMIT 1;
|
0.3750 [ms]
|
SELECT post_id, meta_key, meta_value FROM wp_postmeta WHERE post_id IN (692) ORDER BY meta_id ASC;
|
0.8838 [ms]
|
SELECT t.translation_id, t.element_id, t.language_code, t.source_language_code, t.trid, t.element_type
FROM wp_icl_translations t
JOIN wp_posts p
ON t.element_id = p.ID
AND t.element_type = CONCAT('post_', p.post_type)
JOIN wp_icl_translations tridt
ON tridt.element_type = t.element_type
AND tridt.trid = t.trid
WHERE tridt.trid = (SELECT trid FROM wp_icl_translations t
JOIN wp_posts p
ON t.element_id = p.ID
AND t.element_type = CONCAT('post_', p.post_type) WHERE element_id = 692 LIMIT 1);
|
0.0820 [ms]
|
SELECT ID FROM wp_posts WHERE guid='http://maipromthai.com/wp-content/uploads/2015/10/เครื่องจักร-3.jpg';;
|
0.0710 [ms]
|
SELECT ID FROM wp_posts WHERE guid='http://maipromthai.com/wp-content/uploads/2015/10/เครื่องจักร-3.jpg';;
|
1.3931 [ms]
|
SELECT ID FROM wp_posts WHERE guid='http://maipromthai.com/wp-content/uploads/2015/10/เครื่องจักร-4.jpg';;
|
0.4170 [ms]
|
SELECT * FROM wp_posts WHERE ID = 693 LIMIT 1;
|
0.3278 [ms]
|
SELECT post_id, meta_key, meta_value FROM wp_postmeta WHERE post_id IN (693) ORDER BY meta_id ASC;
|
0.8020 [ms]
|
SELECT t.translation_id, t.element_id, t.language_code, t.source_language_code, t.trid, t.element_type
FROM wp_icl_translations t
JOIN wp_posts p
ON t.element_id = p.ID
AND t.element_type = CONCAT('post_', p.post_type)
JOIN wp_icl_translations tridt
ON tridt.element_type = t.element_type
AND tridt.trid = t.trid
WHERE tridt.trid = (SELECT trid FROM wp_icl_translations t
JOIN wp_posts p
ON t.element_id = p.ID
AND t.element_type = CONCAT('post_', p.post_type) WHERE element_id = 693 LIMIT 1);
|
0.0751 [ms]
|
SELECT ID FROM wp_posts WHERE guid='http://maipromthai.com/wp-content/uploads/2015/10/เครื่องจักร-4.jpg';;
|
1.3232 [ms]
|
SELECT ID FROM wp_posts WHERE guid='http://maipromthai.com/wp-content/uploads/2015/10/เครื่องจักร-4.jpg';;
|
7.7682 [ms]
|
SELECT ID FROM wp_posts WHERE guid='http://www.maipromthai.com/wp-content/uploads/2020/07/a-386-1.jpg';;
|
0.9139 [ms]
|
SELECT * FROM wp_posts WHERE ID = 1033 LIMIT 1;
|
0.4139 [ms]
|
SELECT post_id, meta_key, meta_value FROM wp_postmeta WHERE post_id IN (1033) ORDER BY meta_id ASC;
|
0.6380 [ms]
|
SELECT t.translation_id, t.element_id, t.language_code, t.source_language_code, t.trid, t.element_type
FROM wp_icl_translations t
JOIN wp_posts p
ON t.element_id = p.ID
AND t.element_type = CONCAT('post_', p.post_type)
JOIN wp_icl_translations tridt
ON tridt.element_type = t.element_type
AND tridt.trid = t.trid
WHERE tridt.trid = (SELECT trid FROM wp_icl_translations t
JOIN wp_posts p
ON t.element_id = p.ID
AND t.element_type = CONCAT('post_', p.post_type) WHERE element_id = 1033 LIMIT 1);
|
0.0930 [ms]
|
SELECT ID FROM wp_posts WHERE guid='http://www.maipromthai.com/wp-content/uploads/2020/07/a-386-1.jpg';;
|
0.0699 [ms]
|
SELECT ID FROM wp_posts WHERE guid='http://www.maipromthai.com/wp-content/uploads/2020/07/a-386-1.jpg';;
|
8.5042 [ms]
|
SELECT ID FROM wp_posts WHERE guid='http://www.maipromthai.com/wp-content/uploads/2020/07/S__9183321-1.jpg';;
|
0.6940 [ms]
|
SELECT * FROM wp_posts WHERE ID = 1032 LIMIT 1;
|
0.8709 [ms]
|
SELECT post_id, meta_key, meta_value FROM wp_postmeta WHERE post_id IN (1032) ORDER BY meta_id ASC;
|
0.6230 [ms]
|
SELECT t.translation_id, t.element_id, t.language_code, t.source_language_code, t.trid, t.element_type
FROM wp_icl_translations t
JOIN wp_posts p
ON t.element_id = p.ID
AND t.element_type = CONCAT('post_', p.post_type)
JOIN wp_icl_translations tridt
ON tridt.element_type = t.element_type
AND tridt.trid = t.trid
WHERE tridt.trid = (SELECT trid FROM wp_icl_translations t
JOIN wp_posts p
ON t.element_id = p.ID
AND t.element_type = CONCAT('post_', p.post_type) WHERE element_id = 1032 LIMIT 1);
|
0.0870 [ms]
|
SELECT ID FROM wp_posts WHERE guid='http://www.maipromthai.com/wp-content/uploads/2020/07/S__9183321-1.jpg';;
|
0.0839 [ms]
|
SELECT ID FROM wp_posts WHERE guid='http://www.maipromthai.com/wp-content/uploads/2020/07/S__9183321-1.jpg';;
|
1.1718 [ms]
|
SELECT ID FROM wp_posts WHERE guid='http://www.maipromthai.com/wp-content/uploads/2020/08/109887665_1437609233103421_8681476710086208080_n.jpg';;
|
0.4411 [ms]
|
SELECT * FROM wp_posts WHERE ID = 1125 LIMIT 1;
|
0.4301 [ms]
|
SELECT post_id, meta_key, meta_value FROM wp_postmeta WHERE post_id IN (1125) ORDER BY meta_id ASC;
|
1.1470 [ms]
|
SELECT t.translation_id, t.element_id, t.language_code, t.source_language_code, t.trid, t.element_type
FROM wp_icl_translations t
JOIN wp_posts p
ON t.element_id = p.ID
AND t.element_type = CONCAT('post_', p.post_type)
JOIN wp_icl_translations tridt
ON tridt.element_type = t.element_type
AND tridt.trid = t.trid
WHERE tridt.trid = (SELECT trid FROM wp_icl_translations t
JOIN wp_posts p
ON t.element_id = p.ID
AND t.element_type = CONCAT('post_', p.post_type) WHERE element_id = 1125 LIMIT 1);
|
12.2530 [ms]
|
SELECT ID FROM wp_posts WHERE guid='http://www.maipromthai.com/wp-content/uploads/2020/08/109887665_1437609233103421_8681476710086208080_n.jpg';;
|
0.3669 [ms]
|
SELECT ID FROM wp_posts WHERE guid='http://www.maipromthai.com/wp-content/uploads/2020/08/109887665_1437609233103421_8681476710086208080_n.jpg';;
|
1.1051 [ms]
|
SELECT ID FROM wp_posts WHERE guid='http://www.maipromthai.com/wp-content/uploads/2020/08/116289961_1437609039770107_3943883659232194119_n.jpg';;
|
0.3209 [ms]
|
SELECT * FROM wp_posts WHERE ID = 1127 LIMIT 1;
|
0.3860 [ms]
|
SELECT post_id, meta_key, meta_value FROM wp_postmeta WHERE post_id IN (1127) ORDER BY meta_id ASC;
|
0.5431 [ms]
|
SELECT t.translation_id, t.element_id, t.language_code, t.source_language_code, t.trid, t.element_type
FROM wp_icl_translations t
JOIN wp_posts p
ON t.element_id = p.ID
AND t.element_type = CONCAT('post_', p.post_type)
JOIN wp_icl_translations tridt
ON tridt.element_type = t.element_type
AND tridt.trid = t.trid
WHERE tridt.trid = (SELECT trid FROM wp_icl_translations t
JOIN wp_posts p
ON t.element_id = p.ID
AND t.element_type = CONCAT('post_', p.post_type) WHERE element_id = 1127 LIMIT 1);
|
0.0670 [ms]
|
SELECT ID FROM wp_posts WHERE guid='http://www.maipromthai.com/wp-content/uploads/2020/08/116289961_1437609039770107_3943883659232194119_n.jpg';;
|
0.0780 [ms]
|
SELECT ID FROM wp_posts WHERE guid='http://www.maipromthai.com/wp-content/uploads/2020/08/116289961_1437609039770107_3943883659232194119_n.jpg';;
|
1.2970 [ms]
|
SELECT ID FROM wp_posts WHERE guid='http://www.maipromthai.com/wp-content/uploads/2020/08/111802370_1437609083103436_2616250105584538896_n.jpg';;
|
0.0701 [ms]
|
SELECT ID FROM wp_posts WHERE guid='http://www.maipromthai.com/wp-content/uploads/2020/08/111802370_1437609083103436_2616250105584538896_n.jpg';;
|
0.0679 [ms]
|
SELECT ID FROM wp_posts WHERE guid='http://www.maipromthai.com/wp-content/uploads/2020/08/111802370_1437609083103436_2616250105584538896_n.jpg';;
|
0.0670 [ms]
|
SELECT ID FROM wp_posts WHERE guid='http://www.maipromthai.com/wp-content/uploads/2020/08/111802370_1437609083103436_2616250105584538896_n.jpg';;
|
0.0682 [ms]
|
SELECT ID FROM wp_posts WHERE guid='http://www.maipromthai.com/wp-content/uploads/2020/08/111802370_1437609083103436_2616250105584538896_n.jpg';;
|
0.0660 [ms]
|
SELECT ID FROM wp_posts WHERE guid='http://www.maipromthai.com/wp-content/uploads/2020/08/111802370_1437609083103436_2616250105584538896_n.jpg';;
|
3.6521 [ms]
|
SELECT COUNT(id) FROM wp_icl_strings WHERE context = 'Widgets';
|
12.6390 [ms]
|
SELECT
s.id,
st.status,
s.domain_name_context_md5 AS ctx ,
st.value AS translated,
s.value AS original,
s.gettext_context
FROM wp_icl_strings s
LEFT JOIN wp_icl_string_translations st
ON s.id=st.string_id
AND st.language='th'
AND s.language!='th'
WHERE s.context = 'Widgets'
LIMIT 1000 OFFSET 0;
|
0.2651 [ms]
|
SELECT wp_posts.ID FROM wp_posts JOIN wp_icl_translations t
ON wp_posts.ID = t.element_id
AND t.element_type = CONCAT('post_', wp_posts.post_type) WHERE 1=1 AND wp_posts.post_type = 'post' AND ((wp_posts.post_status = 'publish'))
AND ( ( t.language_code = 'th' AND wp_posts.post_type IN ('post','page','wp_block','slide' ) ) OR wp_posts.post_type NOT IN
('post','page','wp_block','slide' ) ) ORDER BY wp_posts.post_date DESC LIMIT 0, 5;
|
0.1211 [ms]
|
SELECT wp_posts.* FROM wp_posts WHERE ID IN (457,131,125);
|
0.0999 [ms]
|
SELECT t.*, tt.*, tr.object_id FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id INNER JOIN wp_term_relationships AS tr
ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE tt.taxonomy IN ('category', 'post_tag', 'post_format') AND tr.object_id IN (125, 131, 457) ORDER BY
t.name ASC ;
|
0.0870 [ms]
|
SELECT t.translation_id, t.element_id, t.language_code, t.source_language_code, t.trid, t.element_type
FROM wp_icl_translations t
JOIN wp_term_taxonomy tax
ON t.element_id = tax.term_taxonomy_id
AND t.element_type = CONCAT('tax_', tax.taxonomy)
JOIN wp_icl_translations tridt
ON tridt.element_type = t.element_type
AND tridt.trid = t.trid
WHERE tridt.trid = (SELECT trid FROM wp_icl_translations t
JOIN wp_term_taxonomy tax
ON t.element_id = tax.term_taxonomy_id
AND t.element_type = CONCAT('tax_', tax.taxonomy) WHERE element_id = 13 LIMIT 1);
|
0.7489 [ms]
|
SELECT post_id, meta_key, meta_value FROM wp_postmeta WHERE post_id IN (125,131,457) ORDER BY meta_id ASC;
|
0.0789 [ms]
|
SELECT t.translation_id, t.element_id, t.language_code, t.source_language_code, t.trid, t.element_type
FROM wp_icl_translations t
JOIN wp_posts p
ON t.element_id = p.ID
AND t.element_type = CONCAT('post_', p.post_type)
JOIN wp_icl_translations tridt
ON tridt.element_type = t.element_type
AND tridt.trid = t.trid
WHERE tridt.element_id IN (457,131,125);
|
11.1520 [ms]
|
SELECT ID FROM wp_posts WHERE guid='http://maipromthai.com/wp-content/uploads/2017/07/เช็คอิน..png';;
|
0.1171 [ms]
|
SELECT * FROM wp_posts WHERE ID = 463 LIMIT 1;
|
0.0799 [ms]
|
SELECT post_id, meta_key, meta_value FROM wp_postmeta WHERE post_id IN (463) ORDER BY meta_id ASC;
|
0.0842 [ms]
|
SELECT t.translation_id, t.element_id, t.language_code, t.source_language_code, t.trid, t.element_type
FROM wp_icl_translations t
JOIN wp_posts p
ON t.element_id = p.ID
AND t.element_type = CONCAT('post_', p.post_type)
JOIN wp_icl_translations tridt
ON tridt.element_type = t.element_type
AND tridt.trid = t.trid
WHERE tridt.trid = (SELECT trid FROM wp_icl_translations t
JOIN wp_posts p
ON t.element_id = p.ID
AND t.element_type = CONCAT('post_', p.post_type) WHERE element_id = 463 LIMIT 1);
|