Все авторы статей

Все А Б В Г Д Е Ё Ж З И Й К Л М Н О П Р С Т У Ф Х Ц Ч Ш Щ Э Ю Я

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

    [1] => Array
        (
            [REQUEST_3] => 0.023704
        )

    [2] => Array
        (
            [REQUEST_4] => 0.032812
        )

    [3] => Array
        (
            [REQUEST_5] => 0.020208
        )

    [4] => Array
        (
            [SYSBLOCK_5] => 0.128272
        )

    [5] => Array
        (
            [SYSBLOCK_6] => 0.00015500000000002
        )

    [6] => Array
        (
            [SYSBLOCK_7] => 0.00015200000000004
        )

    [7] => Array
        (
            [REQUEST_2] => -0.950237
        )

    [8] => Array
        (
            [REQUEST_3] => 0.027371
        )

    [9] => Array
        (
            [REQUEST_4] => 0.031087
        )

    [10] => Array
        (
            [REQUEST_5] => 0.01448
        )

    [11] => Array
        (
            [SYSBLOCK_5] => -0.875545
        )

    [12] => Array
        (
            [SYSBLOCK_6] => 0.00018700000000001
        )

    [13] => Array
        (
            [SYSBLOCK_7] => 0.000707
        )

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

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

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

    [17] => Array
        (
            [REQUEST_40] => 0.084016
        )

    [18] => Array
        (
            [REQUEST_9] => 0.004121
        )

    [19] => Array
        (
            [REQUEST_9] => 0.005027
        )

    [20] => Array
        (
            [REQUEST_8] => 0.00315
        )

    [21] => Array
        (
            [REQUEST_72] => 0.151062
        )

    [22] => Array
        (
            [REQUEST_80] => -0.14975
        )

    [23] => Array
        (
            [REQUEST_40] => 0.067729
        )

    [24] => Array
        (
            [REQUEST_9] => 0.004692
        )

    [25] => Array
        (
            [REQUEST_9] => 0.003836
        )

    [26] => Array
        (
            [REQUEST_8] => 0.003636
        )

    [27] => Array
        (
            [REQUEST_72] => 0.154486
        )

    [28] => Array
        (
            [REQUEST_80] => -0.324285
        )

    [29] => Array
        (
            [NAVIGATION_1] => 0.003561
        )

)
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/index'
			LIMIT 1
		
    [3] => 
						SELECT compiled
							FROM ave_rubric_template_cache
						WHERE hash  = '735eadf75c98689fbe9f038053e8312c'
							LIMIT 1
					
    [4] => 
				SELECT rubric_start_code
				FROM ave_rubrics
				WHERE Id = '1'
				LIMIT 1
				
    [5] => 
							SELECT rubric_header_template
								FROM ave_rubrics
							WHERE Id = '1'
								LIMIT 1
						
    [6] => 
		SELECT *
		FROM ave_request
		WHERE Id = '2'
	
    [7] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '2' AND condition_status = '1'
	
    [8] => SET max_heap_table_size = 1024 * 1024 * 64;
    [9] => SET tmp_table_size = 1024 * 1024 * 32;
    [10] => 		# 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 != '10225') 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
	
    [11] => SELECT FOUND_ROWS()
    [12] => 
				SELECT *
				FROM ave_module
				WHERE ModuleStatus = '1'
			
    [13] => 
		SELECT *
		FROM ave_request
		WHERE Id = '3'
	
    [14] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '3' AND condition_status = '1'
	
    [15] => SET max_heap_table_size = 1024 * 1024 * 64;
    [16] => SET tmp_table_size = 1024 * 1024 * 32;
    [17] => 		# 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 != '10225') 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
	
    [18] => SELECT FOUND_ROWS()
    [19] => 
		SELECT *
		FROM ave_request
		WHERE Id = '4'
	
    [20] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '4' AND condition_status = '1'
	
    [21] => SET max_heap_table_size = 1024 * 1024 * 64;
    [22] => SET tmp_table_size = 1024 * 1024 * 32;
    [23] => 		# 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 != '10225') 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
	
    [24] => SELECT FOUND_ROWS()
    [25] => 
		SELECT *
		FROM ave_request
		WHERE Id = '5'
	
    [26] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '5' AND condition_status = '1'
	
    [27] => SET max_heap_table_size = 1024 * 1024 * 64;
    [28] => SET tmp_table_size = 1024 * 1024 * 32;
    [29] => 		# 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 != '10225') 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
	
    [30] => SELECT FOUND_ROWS()
    [31] => 
		SELECT *
		FROM ave_request
		WHERE Id = '2'
	
    [32] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '2' AND condition_status = '1'
	
    [33] => SET max_heap_table_size = 1024 * 1024 * 64;
    [34] => SET tmp_table_size = 1024 * 1024 * 32;
    [35] => 		# 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 != '10225') 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
	
    [36] => SELECT FOUND_ROWS()
    [37] => 
		SELECT *
		FROM ave_request
		WHERE Id = '3'
	
    [38] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '3' AND condition_status = '1'
	
    [39] => SET max_heap_table_size = 1024 * 1024 * 64;
    [40] => SET tmp_table_size = 1024 * 1024 * 32;
    [41] => 		# 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 != '10225') 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
	
    [42] => SELECT FOUND_ROWS()
    [43] => 
		SELECT *
		FROM ave_request
		WHERE Id = '4'
	
    [44] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '4' AND condition_status = '1'
	
    [45] => SET max_heap_table_size = 1024 * 1024 * 64;
    [46] => SET tmp_table_size = 1024 * 1024 * 32;
    [47] => 		# 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 != '10225') 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
	
    [48] => SELECT FOUND_ROWS()
    [49] => 
		SELECT *
		FROM ave_request
		WHERE Id = '5'
	
    [50] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '5' AND condition_status = '1'
	
    [51] => SET max_heap_table_size = 1024 * 1024 * 64;
    [52] => SET tmp_table_size = 1024 * 1024 * 32;
    [53] => 		# 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 != '10225') 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
	
    [54] => SELECT FOUND_ROWS()
    [55] => 
		SELECT *
		FROM ave_request
		WHERE Id = '22'
	
    [56] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '22' AND condition_status = '1'
	
    [57] => SET max_heap_table_size = 1024 * 1024 * 64;
    [58] => SET tmp_table_size = 1024 * 1024 * 32;
    [59] => 		# 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
		
	
    [60] => SELECT FOUND_ROWS()
    [61] => 
		SELECT *
		FROM ave_request
		WHERE Id = '40'
	
    [62] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '40' AND condition_status = '1'
	
    [63] => SET max_heap_table_size = 1024 * 1024 * 64;
    [64] => SET tmp_table_size = 1024 * 1024 * 32;
    [65] => 		# req=40
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			ave_document_fields AS t43, ave_document_fields AS t55,			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '11' 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 ((t43.document_id = a.id AND (t43.rubric_field_id = '43' AND UPPER(t43.field_value) != UPPER('0'))) AND (t55.document_id = a.id AND (t55.rubric_field_id = '55' AND UPPER(t55.field_value) = UPPER('1'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_changed DESC
		LIMIT 0,4
	
    [66] => SELECT FOUND_ROWS()
    [67] => 
		SELECT *
		FROM ave_request
		WHERE Id = '9'
	
    [68] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '9' AND condition_status = '1'
	
    [69] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '9' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [70] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '9'
		
    [71] => SET max_heap_table_size = 1024 * 1024 * 64;
    [72] => SET tmp_table_size = 1024 * 1024 * 32;
    [73] => 		# req=9
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			
			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '5' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.Id != '10225') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP()))
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,1
	
    [74] => SELECT FOUND_ROWS()
    [75] => SELECT rubric_field_alias FROM ave_rubric_fields WHERE Id=18
    [76] => 
		SELECT *
		FROM ave_request
		WHERE Id = '9'
	
    [77] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '9' AND condition_status = '1'
	
    [78] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '9' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [79] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '9'
		
    [80] => SET max_heap_table_size = 1024 * 1024 * 64;
    [81] => SET tmp_table_size = 1024 * 1024 * 32;
    [82] => 		# req=9
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			
			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '5' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.Id != '10225') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP()))
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,1
	
    [83] => SELECT FOUND_ROWS()
    [84] => 
		SELECT *
		FROM ave_request
		WHERE Id = '8'
	
    [85] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '8' AND condition_status = '1'
	
    [86] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '8' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [87] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '8'
		
    [88] => SET max_heap_table_size = 1024 * 1024 * 64;
    [89] => SET tmp_table_size = 1024 * 1024 * 32;
    [90] => 		# req=8
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			
			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '5' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.Id != '10225') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP()))
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,1
	
    [91] => SELECT FOUND_ROWS()
    [92] => SELECT rubric_field_alias FROM ave_rubric_fields WHERE Id=17
    [93] => 
		SELECT *
		FROM ave_request
		WHERE Id = '72'
	
    [94] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '72' AND condition_status = '1'
	
    [95] => SET max_heap_table_size = 1024 * 1024 * 64;
    [96] => SET tmp_table_size = 1024 * 1024 * 32;
    [97] => 		# req=72
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
						ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '8' 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 ( 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_title ASC
		
	
    [98] => SELECT FOUND_ROWS()
    [99] => SELECT rubric_field_alias FROM ave_rubric_fields WHERE Id=30
    [100] => SELECT rubric_field_alias FROM ave_rubric_fields WHERE Id=32
    [101] => 
		SELECT *
		FROM ave_request
		WHERE Id = '80'
	
    [102] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '80' AND condition_status = '1'
	
    [103] => SET max_heap_table_size = 1024 * 1024 * 64;
    [104] => SET tmp_table_size = 1024 * 1024 * 32;
    [105] => 		# req=80
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			ave_document_fields AS t47, ave_document_fields AS t97,			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '9' 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 ((t47.document_id = a.id AND (t47.rubric_field_id = '47' AND UPPER(t47.field_value) != UPPER('1'))) AND (t97.document_id = a.id AND (t97.rubric_field_id = '97' AND UPPER(t97.field_value) != UPPER('1'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,40
	
    [106] => SELECT FOUND_ROWS()
    [107] => 
		SELECT *
		FROM ave_request
		WHERE Id = '40'
	
    [108] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '40' AND condition_status = '1'
	
    [109] => SET max_heap_table_size = 1024 * 1024 * 64;
    [110] => SET tmp_table_size = 1024 * 1024 * 32;
    [111] => 		# req=40
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			ave_document_fields AS t43, ave_document_fields AS t55,			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '11' 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 ((t43.document_id = a.id AND (t43.rubric_field_id = '43' AND UPPER(t43.field_value) != UPPER('0'))) AND (t55.document_id = a.id AND (t55.rubric_field_id = '55' AND UPPER(t55.field_value) = UPPER('1'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_changed DESC
		LIMIT 0,4
	
    [112] => SELECT FOUND_ROWS()
    [113] => 
		SELECT *
		FROM ave_request
		WHERE Id = '9'
	
    [114] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '9' AND condition_status = '1'
	
    [115] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '9' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [116] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '9'
		
    [117] => SET max_heap_table_size = 1024 * 1024 * 64;
    [118] => SET tmp_table_size = 1024 * 1024 * 32;
    [119] => 		# req=9
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			
			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '5' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.Id != '10225') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP()))
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,1
	
    [120] => SELECT FOUND_ROWS()
    [121] => 
		SELECT *
		FROM ave_request
		WHERE Id = '9'
	
    [122] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '9' AND condition_status = '1'
	
    [123] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '9' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [124] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '9'
		
    [125] => SET max_heap_table_size = 1024 * 1024 * 64;
    [126] => SET tmp_table_size = 1024 * 1024 * 32;
    [127] => 		# req=9
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			
			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '5' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.Id != '10225') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP()))
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,1
	
    [128] => SELECT FOUND_ROWS()
    [129] => 
		SELECT *
		FROM ave_request
		WHERE Id = '8'
	
    [130] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '8' AND condition_status = '1'
	
    [131] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '8' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [132] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '8'
		
    [133] => SET max_heap_table_size = 1024 * 1024 * 64;
    [134] => SET tmp_table_size = 1024 * 1024 * 32;
    [135] => 		# req=8
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			
			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '5' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.Id != '10225') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP()))
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,1
	
    [136] => SELECT FOUND_ROWS()
    [137] => 
		SELECT *
		FROM ave_request
		WHERE Id = '72'
	
    [138] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '72' AND condition_status = '1'
	
    [139] => SET max_heap_table_size = 1024 * 1024 * 64;
    [140] => SET tmp_table_size = 1024 * 1024 * 32;
    [141] => 		# req=72
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
						ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '8' 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 ( 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_title ASC
		
	
    [142] => SELECT FOUND_ROWS()
    [143] => 
		SELECT *
		FROM ave_request
		WHERE Id = '80'
	
    [144] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '80' AND condition_status = '1'
	
    [145] => SET max_heap_table_size = 1024 * 1024 * 64;
    [146] => SET tmp_table_size = 1024 * 1024 * 32;
    [147] => 		# req=80
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			ave_document_fields AS t47, ave_document_fields AS t97,			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '9' 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 ((t47.document_id = a.id AND (t47.rubric_field_id = '47' AND UPPER(t47.field_value) != UPPER('1'))) AND (t97.document_id = a.id AND (t97.rubric_field_id = '97' AND UPPER(t97.field_value) != UPPER('1'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,40
	
    [148] => SELECT FOUND_ROWS()
    [149] => SELECT * FROM ave_navigation
    [150] => 
		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 = 10225
			AND (
				nav.navi_item_link = 'index.php?id=10225'
			OR nav.document_alias = 'author/index'
			OR nav.document_alias = '/author/index'
			OR nav.document_alias = 'author/index.html'
			OR nav.document_alias = '/author/index.html'
		
				OR nav.Id = doc.document_linked_navi_id
			)
	
    [151] => 
		SELECT *
		FROM ave_navigation_items
		WHERE navi_item_status = '1'
		AND navi_id = '1'
		ORDER BY navi_item_position ASC
	
)

Время генерации: 2,525 сек.
Пиковое значение 3 835Kb
Количество запросов: 100 шт. за 1,682019 сек.
106   0,838791
# req=80
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			ave_document_fields AS t47, ave_document_fields AS t97,			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '9' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.document_published <=
 0,000120 starting
 0,000005 checking permissions
 0,000001 checking permissions
 0,000003 checking permissions
 0,000027 Opening tables
 0,000016 System lock
 0,000060 init
 0,000027 optimizing
 0,000524 statistics
 0,000036 preparing
 0,000415 Creating tmp table
 0,000005 executing
 0,820295 Copying to tmp table
 0,014727 Sorting result
 0,000170 Sending data
 0,000005 end
 0,002190 removing tmp table
 0,000018 end
 0,000009 query end
 0,000032 closing tables
 0,000095 freeing items
 0,000005 logging slow query
 0,000008 cleaning up
148   0,665192
# req=80
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			ave_document_fields AS t47, ave_document_fields AS t97,			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '9' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.document_published <=
 0,000099 starting
 0,000015 checking permissions
 0,000001 checking permissions
 0,000002 checking permissions
 0,000024 Opening tables
 0,000012 System lock
 0,000057 init
 0,000026 optimizing
 0,000424 statistics
 0,000038 preparing
 0,000379 Creating tmp table
 0,000006 executing
 0,651723 Copying to tmp table
 0,010394 Sorting result
 0,000158 Sending data
 0,000009 end
 0,001707 removing tmp table
 0,000009 end
 0,000006 query end
 0,000026 closing tables
 0,000062 freeing items
 0,000006 logging slow query
 0,000010 cleaning up