Автор статей: Филатов Сергей

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

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

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

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

    [4] => Array
        (
            [REQUEST_4] => -0.981301
        )

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

    [6] => Array
        (
            [SYSBLOCK_5] => -0.86136
        )

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

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

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

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

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

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

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

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

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

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

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

)
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/filatov-sergej'
			LIMIT 1
		
    [3] => 
						SELECT compiled
							FROM ave_rubric_template_cache
						WHERE hash  = '7f6796ad27cb54f9d62d3fcb4518c52e'
							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('9314'))) 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 != '9314') 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 != '9314') 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 != '9314') 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 != '9314') 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('9314'))) 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 != '9314') 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 != '9314') 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 != '9314') 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 != '9314') 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 = 9314
			AND (
				nav.navi_item_link = 'index.php?id=9314'
			OR nav.document_alias = 'author/filatov-sergej'
			OR nav.document_alias = '/author/filatov-sergej'
			OR nav.document_alias = 'author/filatov-sergej.html'
			OR nav.document_alias = '/author/filatov-sergej.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,447 сек.
Пиковое значение 2 518Kb
Количество запросов: 76 шт. за 0,370079 сек.
4   0,122129
SELECT compiled
							FROM ave_rubric_template_cache
						WHERE hash  = '7f6796ad27cb54f9d62d3fcb4518c52e'
							LIMIT 1
 0,000017 starting
 0,000003 Waiting for query cache lock
 0,000055 checking query cache for query
 0,000018 checking permissions
 0,000044 Opening tables
 0,000014 System lock
 0,000029 Waiting for query cache lock
 0,000019 init
 0,000010 optimizing
 0,000011 statistics
 0,000009 preparing
 0,000003 executing
 0,121674 Sending data
 0,000053 end
 0,000009 query end
 0,000058 closing tables
 0,000028 freeing items
 0,000006 Waiting for query cache lock
 0,000038 freeing items
 0,000006 Waiting for query cache lock
 0,000002 freeing items
 0,000008 storing result in query cache
 0,000005 logging slow query
 0,000011 cleaning up