TERRAIN DE TEST 2
  • Mémoire utilisée par PHP : 10,82 Mo
  • Pic mémoire allouée par PHP : 11,96 Mo
  • Temps d'execution du script : 1.015 s
  • Lang :
  • Path : terrain-de-test-2-30
  • Route : mosaicRubrique
  • $okt->page->module : mosaic
  • $okt->page->action :
ID Query Time
1
SET NAMES utf8mb4
0.00053
2
SELECT u.*, g.*, o.logged, o.csrf_token, o.prev_url FROM
oktopusV6_core_users AS u INNER JOIN
oktopusV6_core_users_groups AS g ON g.group_id=u.group_id
LEFT JOIN oktopusV6_core_users_online AS o ON
o.ident='3.236.110.106' WHERE u.id=1
0.00197
3
UPDATE oktopusV6_core_users_online SET logged=1627318393,
prev_url='https://www.chambord-developpement.com/terrain-de-test-2-30'
WHERE ident='3.236.110.106'
0.00067
4
SELECT COUNT(id_rubrique) FROM oktopusV6_mod_mosaic_rubrique
WHERE id_rubrique = '30' 
0.00122
5
 SELECT r.*, rl.* FROM oktopusV6_mod_mosaic_rubrique r
                        JOIN
oktopusV6_mod_mosaic_rubrique_locales rl ON rl.id_rubrique =
r.id_rubrique AND rl.language = 'fr'
                        WHERE r.id_parent = '1' AND r.actif
= '1' ORDER BY r.position 
0.00156
6
 SELECT r.*, rl.* FROM oktopusV6_mod_mosaic_rubrique r
                        JOIN
oktopusV6_mod_mosaic_rubrique_locales rl ON rl.id_rubrique =
r.id_rubrique AND rl.language = 'fr'
                        WHERE r.id_parent = '2' AND r.actif
= '1' ORDER BY r.position 
0.00167
7
SELECT * FROM oktopusV6_mod_mosaic_rubrique_locales WHERE
id_rubrique = '7'
0.00245
8
SELECT * FROM oktopusV6_mod_mosaic_rubrique_locales WHERE
id_rubrique = '7'
0.00048
9
SELECT * FROM oktopusV6_mod_mosaic_rubrique_locales WHERE
id_rubrique = '9'
0.00099
10
SELECT * FROM oktopusV6_mod_mosaic_rubrique_locales WHERE
id_rubrique = '9'
0.00050
11
SELECT * FROM oktopusV6_mod_mosaic_rubrique_locales WHERE
id_rubrique = '15'
0.00059
12
SELECT * FROM oktopusV6_mod_mosaic_rubrique_locales WHERE
id_rubrique = '15'
0.00043
13
SELECT * FROM oktopusV6_mod_mosaic_rubrique_locales WHERE
id_rubrique = '21'
0.00067
14
SELECT * FROM oktopusV6_mod_mosaic_rubrique_locales WHERE
id_rubrique = '21'
0.00045
15

            SELECT r.*, rl.* FROM
oktopusV6_mod_mosaic_rubrique r
            JOIN oktopusV6_mod_mosaic_rubrique_locales rl ON
rl.id_rubrique = r.id_rubrique AND rl.language = 'fr'
            WHERE r.id_rubrique='30'
0.00059
16
SELECT * FROM oktopusV6_mod_mosaic_rubrique_locales WHERE
id_rubrique = '30'
0.00051
17
SELECT id, language, valeur FROM
oktopusV6_mod_mosaic_locales
					  WHERE `table` = 'rubrique'
0.00088
18
 SELECT DISTINCT m.nom AS nomMarque, mo.nom AS nomModele,
p.*, pl.*, 
                            IF(1, promo, NOW() BETWEEN
debut_promo AND fin_promo) AS promo,
                            IF(1, nouveaute, NOW() BETWEEN
debut_nouveaute AND fin_nouveaute) AS nouveaute,
                            IF(1, phare, NOW() BETWEEN
debut_phare AND fin_phare) AS phare,
                            IF(1, solde, NOW() BETWEEN
debut_solde AND fin_solde) AS solde,
							DATE_FORMAT(p.date_creation, '%d/%m/%Y %H:%i:%s') as
date_creation_fr,
							DATE_FORMAT(p.date_modification, '%d/%m/%Y %H:%i:%s')
as date_modification_fr 
                           FROM oktopusV6_mod_mosaic_produit
p
                           JOIN
oktopusV6_mod_mosaic_produit_locales pl ON pl.id_produit =
p.id_produit AND pl.language = 'fr' LEFT JOIN
oktopusV6_mod_mosaic_marque m ON p.id_marque = m.id_marque
                           LEFT JOIN
oktopusV6_mod_mosaic_modele mo ON p.id_modele = mo.id_modele
                           LEFT JOIN
oktopusV6_mod_mosaic_produit_rubrique pr ON pr.id_produit =
p.id_produit
                           WHERE 1 ORDER BY nom
0.00378
19
SELECT COUNT(p.id_produit) FROM
oktopusV6_mod_mosaic_rubrique r,
oktopusV6_mod_mosaic_rubrique_locales rl,
oktopusV6_mod_mosaic_produit_rubrique pr,
oktopusV6_mod_mosaic_produit p,
oktopusV6_mod_mosaic_produit_locales pl
                        WHERE r.id_rubrique = pr.id_rubrique
                        AND r.id_rubrique = rl.id_rubrique
                        AND rl.language = 'fr'
						AND p.id_produit = pr.id_produit
                        AND p.id_produit = pl.id_produit
                        AND pl.language = 'fr'  AND
pr.id_rubrique = '30' AND p.actif = '1' AND r.actif = '1' 
0.00103
20
SELECT id, language, valeur FROM
oktopusV6_mod_mosaic_locales
					  WHERE `table` = 'rubrique'
0.00041
21
 SELECT DISTINCT m.nom AS nomMarque, mo.nom AS nomModele,
p.*, pl.*, 
                            IF(1, promo, NOW() BETWEEN
debut_promo AND fin_promo) AS promo,
                            IF(1, nouveaute, NOW() BETWEEN
debut_nouveaute AND fin_nouveaute) AS nouveaute,
                            IF(1, phare, NOW() BETWEEN
debut_phare AND fin_phare) AS phare,
                            IF(1, solde, NOW() BETWEEN
debut_solde AND fin_solde) AS solde,
							DATE_FORMAT(p.date_creation, '%d/%m/%Y %H:%i:%s') as
date_creation_fr,
							DATE_FORMAT(p.date_modification, '%d/%m/%Y %H:%i:%s')
as date_modification_fr 
                           FROM oktopusV6_mod_mosaic_produit
p
                           JOIN
oktopusV6_mod_mosaic_produit_locales pl ON pl.id_produit =
p.id_produit AND pl.language = 'fr' LEFT JOIN
oktopusV6_mod_mosaic_marque m ON p.id_marque = m.id_marque
                           LEFT JOIN
oktopusV6_mod_mosaic_modele mo ON p.id_modele = mo.id_modele
                           LEFT JOIN
oktopusV6_mod_mosaic_produit_rubrique pr ON pr.id_produit =
p.id_produit
                           WHERE 1 ORDER BY nom
0.00256
22
SELECT COUNT(p.id_produit) FROM
oktopusV6_mod_mosaic_rubrique r,
oktopusV6_mod_mosaic_rubrique_locales rl,
oktopusV6_mod_mosaic_produit_rubrique pr,
oktopusV6_mod_mosaic_produit p,
oktopusV6_mod_mosaic_produit_locales pl
                        WHERE r.id_rubrique = pr.id_rubrique
                        AND r.id_rubrique = rl.id_rubrique
                        AND rl.language = 'fr'
						AND p.id_produit = pr.id_produit
                        AND p.id_produit = pl.id_produit
                        AND pl.language = 'fr'  AND
pr.id_rubrique = '30' AND p.actif = '1' AND r.actif = '1' 
0.00043
23

            SELECT r.*, rl.* FROM
oktopusV6_mod_mosaic_rubrique r
            JOIN oktopusV6_mod_mosaic_rubrique_locales rl ON
rl.id_rubrique = r.id_rubrique AND rl.language = 'fr'
            WHERE r.id_rubrique='25'
0.00061
24
SELECT r.*, rl.*, COUNT(r.id_rubrique) AS num_posts FROM
oktopusV6_mod_mosaic_rubrique AS r LEFT JOIN
oktopusV6_mod_mosaic_rubrique_locales AS rl ON r.id_rubrique
= rl.id_rubrique WHERE 1 AND rl.language='fr' AND
r.id_parent = 30 AND r.actif = 1  GROUP BY r.id_rubrique
ORDER BY nleft asc 
0.00156
25
 SELECT DISTINCT m.nom AS nomMarque, mo.nom AS nomModele,
p.*, pl.*, pr.position,
                            IF(1, promo, NOW() BETWEEN
debut_promo AND fin_promo) AS promo,
                            IF(1, nouveaute, NOW() BETWEEN
debut_nouveaute AND fin_nouveaute) AS nouveaute,
                            IF(1, phare, NOW() BETWEEN
debut_phare AND fin_phare) AS phare,
                            IF(1, solde, NOW() BETWEEN
debut_solde AND fin_solde) AS solde,
							DATE_FORMAT(p.date_creation, '%d/%m/%Y %H:%i:%s') as
date_creation_fr,
							DATE_FORMAT(p.date_modification, '%d/%m/%Y %H:%i:%s')
as date_modification_fr 
                           FROM oktopusV6_mod_mosaic_produit
p
                           JOIN
oktopusV6_mod_mosaic_produit_locales pl ON pl.id_produit =
p.id_produit AND pl.language = 'fr' LEFT JOIN
oktopusV6_mod_mosaic_marque m ON p.id_marque = m.id_marque
                           LEFT JOIN
oktopusV6_mod_mosaic_modele mo ON p.id_modele = mo.id_modele
                           LEFT JOIN
oktopusV6_mod_mosaic_produit_rubrique pr ON pr.id_produit =
p.id_produit
                           WHERE pr.id_rubrique IN (30) AND
p.actif = '1' ORDER BY pr.position
0.00200
26
SELECT * FROM oktopusV6_mod_mosaic_rubrique_locales WHERE
id_rubrique = '30'
0.00046
27
SELECT * FROM oktopusV6_mod_mosaic_declinaison WHERE 1 AND
actif = '1' ORDER BY nom
0.00066
28
SELECT id, language, valeur FROM
oktopusV6_mod_mosaic_locales
					  WHERE `table` = 'declinaison'
0.00074
29
 SELECT dc.* 
                                FROM
oktopusV6_mod_mosaic_declinaison_champ AS dc 
                                WHERE 1 AND dc.actif = '1'
ORDER BY dc.nom
0.00106
30
SELECT id, language, valeur FROM
oktopusV6_mod_mosaic_locales
					  WHERE `table` = 'declinaison_champ'
0.00071
31
 SELECT t.*, tl.rubrique_slug,  
                            DATE_FORMAT(t.date_creation,
'%d/%m/%Y %H:%i:%s') as date_creation_fr,
                            DATE_FORMAT(t.date_modification,
'%d/%m/%Y %H:%i:%s') as date_modification_fr
                       FROM oktopusV6_mod_slideshow_type t
                       LEFT JOIN
oktopusV6_mod_slideshow_type_locales tl ON tl.id_type =
t.id_type AND tl.language = 'fr'
                       WHERE 1 AND CASE 
                                       WHEN t.choix_rubrique
= 1 THEN
                                          
FIND_IN_SET('/terrain-de-test-2-30', tl.rubrique_slug) > 0
                                       WHEN t.choix_rubrique
= 2 THEN
                                          
                   (  SELECT COUNT(t.id_type) FROM
oktopusV6_mod_slideshow_type t
                      LEFT JOIN
oktopusV6_mod_slideshow_type_locales tl ON tl.id_type =
t.id_type AND tl.language = 'fr'
                      WHERE t.choix_rubrique = 1 AND
FIND_IN_SET('/terrain-de-test-2-30', tl.rubrique_slug) > 0
AND t.actif = 1
                   ) = 0
                
                                           AND
                                          
FIND_IN_SET('/terrain-de-test-2-30', tl.rubrique_slug) = 0
                                       ELSE     
                                          
                   (  SELECT COUNT(t.id_type) FROM
oktopusV6_mod_slideshow_type t
                      LEFT JOIN
oktopusV6_mod_slideshow_type_locales tl ON tl.id_type =
t.id_type AND tl.language = 'fr'
                      WHERE t.choix_rubrique = 1 AND
FIND_IN_SET('/terrain-de-test-2-30', tl.rubrique_slug) > 0
AND t.actif = 1
                   ) = 0
                 
                                   END AND actif = '1' ORDER
BY nom 
0.00111
32
SELECT p.*, pl.*,
                         DATE_FORMAT(p.debut, '%d/%m/%Y') as
debut_fr,
                         DATE_FORMAT(p.fin, '%d/%m/%Y') as
fin_fr,
                         DATE_FORMAT(p.date_creation,
'%d/%m/%Y %H:%i:%s') as date_creation_fr,
                         DATE_FORMAT(p.date_modification,
'%d/%m/%Y %H:%i:%s') as date_modification_fr
                      FROM oktopusV6_mod_home_popup p
                      LEFT JOIN
oktopusV6_mod_home_popup_locales pl ON pl.id_popup =
p.id_popup AND pl.language = 'fr'
                      WHERE 1 AND (
                                        CURDATE() BETWEEN
p.debut AND p.fin
                                        OR (p.debut =
'0000-00-00 00:00:00' AND p.fin = '0000-00-00 00:00:00')
                                    )AND pl.content <> ''
AND (p.rubrique = '' OR FIND_IN_SET('/terrain-de-test-2-30',
pl.rubrique_slug) > 0) ORDER BY p.rubrique DESC
0.00079
33
SELECT p.*, pl.*,
                         DATE_FORMAT(p.debut, '%d/%m/%Y') as
debut_fr,
                         DATE_FORMAT(p.fin, '%d/%m/%Y') as
fin_fr,
                         DATE_FORMAT(p.date_creation,
'%d/%m/%Y %H:%i:%s') as date_creation_fr,
                         DATE_FORMAT(p.date_modification,
'%d/%m/%Y %H:%i:%s') as date_modification_fr
                      FROM oktopusV6_mod_home_popup p
                      LEFT JOIN
oktopusV6_mod_home_popup_locales pl ON pl.id_popup =
p.id_popup AND pl.language = 'fr'
                      WHERE 1 AND (
                                        CURDATE() BETWEEN
p.debut AND p.fin
                                        OR (p.debut =
'0000-00-00 00:00:00' AND p.fin = '0000-00-00 00:00:00')
                                    )AND pl.content <> ''
AND (p.rubrique = '' OR FIND_IN_SET('/terrain-de-test-2-30',
pl.rubrique_slug) > 0) ORDER BY p.rubrique DESC
0.00065
# type fichier ligne classe fonction message