Автор статей: Василик

Вверх
Полная версия сайта
Мобильная версия сайта
Array
(
    [0] => Array
        (
            [REQUEST_17] => 0.050214
        )

    [1] => Array
        (
            [SYSBLOCK_19] => 0.051
        )

    [2] => Array
        (
            [REQUEST_2] => 0.158328
        )

    [3] => Array
        (
            [REQUEST_3] => 0.043737
        )

    [4] => Array
        (
            [REQUEST_4] => 0.035641
        )

    [5] => Array
        (
            [REQUEST_5] => 0.025833
        )

    [6] => Array
        (
            [SYSBLOCK_5] => 0.265818
        )

    [7] => Array
        (
            [REQUEST_17] => 0.021723
        )

    [8] => Array
        (
            [SYSBLOCK_19] => 0.023664
        )

    [9] => Array
        (
            [REQUEST_2] => 0.058751
        )

    [10] => Array
        (
            [REQUEST_3] => 0.041669
        )

    [11] => Array
        (
            [REQUEST_4] => 0.051466
        )

    [12] => Array
        (
            [REQUEST_5] => 0.024285
        )

    [13] => Array
        (
            [SYSBLOCK_5] => 0.179314
        )

    [14] => Array
        (
            [SYSBLOCK_3] => 0.00048200000000009
        )

    [15] => Array
        (
            [SYSBLOCK_4] => 0.005634
        )

    [16] => Array
        (
            [REQUEST_22] => 0.008341
        )

    [17] => Array
        (
            [NAVIGATION_1] => 0.002766
        )

)
Queries
Array
(
    [0] => 
	SELECT * FROM ave_settings_lang
	WHERE lang_status='1'
	ORDER BY lang_default ASC

    [1] => SELECT * FROM ave_settings
    [2] => 
			SELECT
				doc.*,
				rubric_permission,
				rubric_template,
				rubric_meta_gen,
				template_text
			FROM
				ave_documents AS doc
			JOIN
				ave_rubrics AS rub
					ON rub.Id = doc.rubric_id
			JOIN
				ave_templates AS tpl
					ON tpl.Id = rubric_template_id
			JOIN
				ave_rubric_permissions AS prm
					ON doc.rubric_id = prm.rubric_id
			WHERE
				user_group_id = '2'
			AND
				document_alias = 'author-5'
			LIMIT 1
		
    [3] => 
						SELECT compiled
							FROM ave_rubric_template_cache
						WHERE hash  = '2f4a0e742291f1c186eccd308e72cc9e'
							LIMIT 1
					
    [4] => 
				SELECT rubric_start_code
				FROM ave_rubrics
				WHERE Id = '8'
				LIMIT 1
				
    [5] => 
							SELECT rubric_header_template
								FROM ave_rubrics
							WHERE Id = '8'
								LIMIT 1
						
    [6] => 
		SELECT *
		FROM ave_request
		WHERE Id = '17'
	
    [7] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '17' AND condition_status = '1'
	
    [8] => SET max_heap_table_size = 1024 * 1024 * 64;
    [9] => SET tmp_table_size = 1024 * 1024 * 32;
    [10] => 		# req=17
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			ave_document_fields AS t31,			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '3' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND ((t31.document_id = a.id AND (t31.rubric_field_id = '31' AND UPPER(t31.field_value) = UPPER('31447'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,20
	
    [11] => SELECT FOUND_ROWS()
    [12] => 
				SELECT *
				FROM ave_module
				WHERE ModuleStatus = '1'
			
    [13] => 
		SELECT *
		FROM ave_request
		WHERE Id = '2'
	
    [14] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '2' AND condition_status = '1'
	
    [15] => SET max_heap_table_size = 1024 * 1024 * 64;
    [16] => SET tmp_table_size = 1024 * 1024 * 32;
    [17] => 		# req=2
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			ave_document_fields AS t8,			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '3' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.Id != '31447') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND ((t8.document_id = a.id AND (t8.rubric_field_id = '8' AND UPPER(t8.field_value) = UPPER('3'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,5
	
    [18] => SELECT FOUND_ROWS()
    [19] => 
		SELECT *
		FROM ave_request
		WHERE Id = '3'
	
    [20] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '3' AND condition_status = '1'
	
    [21] => SET max_heap_table_size = 1024 * 1024 * 64;
    [22] => SET tmp_table_size = 1024 * 1024 * 32;
    [23] => 		# req=3
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			ave_document_fields AS t8,			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '3' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.Id != '31447') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND ((t8.document_id = a.id AND (t8.rubric_field_id = '8' AND UPPER(t8.field_value) = UPPER('4'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,5
	
    [24] => SELECT FOUND_ROWS()
    [25] => 
		SELECT *
		FROM ave_request
		WHERE Id = '4'
	
    [26] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '4' AND condition_status = '1'
	
    [27] => SET max_heap_table_size = 1024 * 1024 * 64;
    [28] => SET tmp_table_size = 1024 * 1024 * 32;
    [29] => 		# req=4
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			ave_document_fields AS t8,			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '3' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.Id != '31447') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND ((t8.document_id = a.id AND (t8.rubric_field_id = '8' AND UPPER(t8.field_value) = UPPER('6'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,5
	
    [30] => SELECT FOUND_ROWS()
    [31] => 
		SELECT *
		FROM ave_request
		WHERE Id = '5'
	
    [32] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '5' AND condition_status = '1'
	
    [33] => SET max_heap_table_size = 1024 * 1024 * 64;
    [34] => SET tmp_table_size = 1024 * 1024 * 32;
    [35] => 		# req=5
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			ave_document_fields AS t8,			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '3' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.Id != '31447') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND ((t8.document_id = a.id AND (t8.rubric_field_id = '8' AND UPPER(t8.field_value) = UPPER('7'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,5
	
    [36] => SELECT FOUND_ROWS()
    [37] => 
		SELECT *
		FROM ave_request
		WHERE Id = '17'
	
    [38] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '17' AND condition_status = '1'
	
    [39] => SET max_heap_table_size = 1024 * 1024 * 64;
    [40] => SET tmp_table_size = 1024 * 1024 * 32;
    [41] => 		# req=17
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			ave_document_fields AS t31,			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '3' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND ((t31.document_id = a.id AND (t31.rubric_field_id = '31' AND UPPER(t31.field_value) = UPPER('31447'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,20
	
    [42] => SELECT FOUND_ROWS()
    [43] => 
		SELECT *
		FROM ave_request
		WHERE Id = '2'
	
    [44] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '2' AND condition_status = '1'
	
    [45] => SET max_heap_table_size = 1024 * 1024 * 64;
    [46] => SET tmp_table_size = 1024 * 1024 * 32;
    [47] => 		# req=2
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			ave_document_fields AS t8,			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '3' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.Id != '31447') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND ((t8.document_id = a.id AND (t8.rubric_field_id = '8' AND UPPER(t8.field_value) = UPPER('3'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,5
	
    [48] => SELECT FOUND_ROWS()
    [49] => 
		SELECT *
		FROM ave_request
		WHERE Id = '3'
	
    [50] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '3' AND condition_status = '1'
	
    [51] => SET max_heap_table_size = 1024 * 1024 * 64;
    [52] => SET tmp_table_size = 1024 * 1024 * 32;
    [53] => 		# req=3
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			ave_document_fields AS t8,			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '3' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.Id != '31447') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND ((t8.document_id = a.id AND (t8.rubric_field_id = '8' AND UPPER(t8.field_value) = UPPER('4'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,5
	
    [54] => SELECT FOUND_ROWS()
    [55] => 
		SELECT *
		FROM ave_request
		WHERE Id = '4'
	
    [56] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '4' AND condition_status = '1'
	
    [57] => SET max_heap_table_size = 1024 * 1024 * 64;
    [58] => SET tmp_table_size = 1024 * 1024 * 32;
    [59] => 		# req=4
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			ave_document_fields AS t8,			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '3' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.Id != '31447') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND ((t8.document_id = a.id AND (t8.rubric_field_id = '8' AND UPPER(t8.field_value) = UPPER('6'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,5
	
    [60] => SELECT FOUND_ROWS()
    [61] => 
		SELECT *
		FROM ave_request
		WHERE Id = '5'
	
    [62] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '5' AND condition_status = '1'
	
    [63] => SET max_heap_table_size = 1024 * 1024 * 64;
    [64] => SET tmp_table_size = 1024 * 1024 * 32;
    [65] => 		# req=5
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			ave_document_fields AS t8,			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '3' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.Id != '31447') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND ((t8.document_id = a.id AND (t8.rubric_field_id = '8' AND UPPER(t8.field_value) = UPPER('7'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,5
	
    [66] => SELECT FOUND_ROWS()
    [67] => 
		SELECT *
		FROM ave_request
		WHERE Id = '22'
	
    [68] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '22' AND condition_status = '1'
	
    [69] => SET max_heap_table_size = 1024 * 1024 * 64;
    [70] => SET tmp_table_size = 1024 * 1024 * 32;
    [71] => 		# req=22
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			ave_document_fields AS t95,			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '10' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND ((t95.document_id = a.id AND (t95.rubric_field_id = '95' AND UPPER(t95.field_value) = UPPER('1'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_title ASC
		
	
    [72] => SELECT FOUND_ROWS()
    [73] => SELECT * FROM ave_navigation
    [74] => 
		SELECT CONCAT_WS(
				';',
				CONCAT_WS(',', nav.Id, nav.parent_id, nav2.parent_id),
				CONCAT_WS(',', nav.navi_item_level),
				nav.Id
			)
		FROM
			ave_navigation_items AS nav
		JOIN
			ave_documents AS doc
		LEFT JOIN
			ave_navigation_items AS nav2 ON nav2.Id = nav.parent_id
		WHERE nav.navi_item_status = 1
			AND nav.navi_id = 1
			AND doc.Id = 31447
			AND (
				nav.navi_item_link = 'index.php?id=31447'
			OR nav.document_alias = 'author-5'
			OR nav.document_alias = '/author-5'
			OR nav.document_alias = 'author-5.html'
			OR nav.document_alias = '/author-5.html'
		
				OR nav.Id = doc.document_linked_navi_id
			)
	
    [75] => 
		SELECT *
		FROM ave_navigation_items
		WHERE navi_item_status = '1'
		AND navi_id = '1'
		ORDER BY navi_item_position ASC
	
)

Время генерации: 0,627 сек.
Пиковое значение 2 516Kb
Количество запросов: 76 шт. за 0,568562 сек.
18   0,155490
# req=2
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			ave_document_fields AS t8,			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '3' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.Id != '31447') AND (a.document_published <= UNIX_TI
 0,000131 starting
 0,000008 checking permissions
 0,000005 checking permissions
 0,000030 Opening tables
 0,000026 System lock
 0,000085 init
 0,000048 optimizing
 0,000584 statistics
 0,000059 preparing
 0,000533 Creating tmp table
 0,000008 executing
 0,151135 Copying to tmp table
 0,002010 Sorting result
 0,000066 Sending data
 0,000010 end
 0,000393 removing tmp table
 0,000010 end
 0,000004 query end
 0,000038 closing tables
 0,000261 freeing items
 0,000008 logging slow query
 0,000040 cleaning up