Реформа местного самоуправления

Александр Буренков: «Холодная война» треста «Гидромонтаж» и Анастасии Крючковой (13.12.2015)
Открытое письмо Анастасии Крючковой Губернатору Московской области А.Ю. Воробьёву наделало много шума в Наро-Фоминском районе. Ещё бы! Мы привыкли к протестным акциям всевозможных зелёных, оранжевых, белоленточных – цветных одним словом, которые гражданским обществом всё больше идентифицируютс...

Реформа местного самоуправления: видео

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

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

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

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

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

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

    [6] => Array
        (
            [REQUEST_2] => 0.032333
        )

    [7] => Array
        (
            [REQUEST_3] => 0.033815
        )

    [8] => Array
        (
            [REQUEST_4] => 0.023085
        )

    [9] => Array
        (
            [REQUEST_5] => 0.038381
        )

    [10] => Array
        (
            [SYSBLOCK_5] => 0.132776
        )

    [11] => Array
        (
            [SYSBLOCK_6] => 0.00016500000000003
        )

    [12] => Array
        (
            [SYSBLOCK_3] => 0.00015300000000001
        )

    [13] => Array
        (
            [SYSBLOCK_4] => 0.00016699999999997
        )

    [14] => Array
        (
            [REQUEST_22] => 0.007033
        )

    [15] => Array
        (
            [REQUEST_9] => 0.005249
        )

    [16] => Array
        (
            [REQUEST_9] => 0.004395
        )

    [17] => Array
        (
            [REQUEST_8] => 0.004818
        )

    [18] => Array
        (
            [REQUEST_16] => 0.021323
        )

    [19] => Array
        (
            [REQUEST_28] => 0.026809
        )

    [20] => Array
        (
            [REQUEST_28] => 0.020703
        )

    [21] => Array
        (
            [REQUEST_39] => -0.253815
        )

    [22] => Array
        (
            [REQUEST_9] => 0.003899
        )

    [23] => Array
        (
            [REQUEST_9] => 0.002907
        )

    [24] => Array
        (
            [REQUEST_8] => 0.003022
        )

    [25] => Array
        (
            [REQUEST_16] => 0.017083
        )

    [26] => Array
        (
            [REQUEST_28] => 0.031486
        )

    [27] => Array
        (
            [REQUEST_28] => 0.041238
        )

    [28] => Array
        (
            [REQUEST_39] => 0.698548
        )

    [29] => Array
        (
            [MULTIREQUEST_5] => -0.516533
        )

    [30] => Array
        (
            [MULTIREQUEST_5] => 0.498606
        )

    [31] => Array
        (
            [MULTIREQUEST_5] => -0.469759
        )

    [32] => Array
        (
            [MULTIREQUEST_5] => 0.481461
        )

    [33] => Array
        (
            [NAVIGATION_1] => 0.003331
        )

)
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 = 'tag/reforma-mestnogo-samoupravleniya'
			LIMIT 1
		
    [3] => 
						SELECT compiled
							FROM ave_rubric_template_cache
						WHERE hash  = 'ea44b0c133676e37f969cce2dcbdc4d2'
							LIMIT 1
					
    [4] => 
		SELECT *
		FROM ave_request
		WHERE Id = '2'
	
    [5] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '2' AND condition_status = '1'
	
    [6] => SET max_heap_table_size = 1024 * 1024 * 64;
    [7] => SET tmp_table_size = 1024 * 1024 * 32;
    [8] => 		# 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 != '16729') 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
	
    [9] => SELECT FOUND_ROWS()
    [10] => 
				SELECT *
				FROM ave_module
				WHERE ModuleStatus = '1'
			
    [11] => 
		SELECT *
		FROM ave_request
		WHERE Id = '3'
	
    [12] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '3' AND condition_status = '1'
	
    [13] => SET max_heap_table_size = 1024 * 1024 * 64;
    [14] => SET tmp_table_size = 1024 * 1024 * 32;
    [15] => 		# 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 != '16729') 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
	
    [16] => SELECT FOUND_ROWS()
    [17] => 
		SELECT *
		FROM ave_request
		WHERE Id = '4'
	
    [18] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '4' AND condition_status = '1'
	
    [19] => SET max_heap_table_size = 1024 * 1024 * 64;
    [20] => SET tmp_table_size = 1024 * 1024 * 32;
    [21] => 		# 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 != '16729') 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
	
    [22] => SELECT FOUND_ROWS()
    [23] => 
		SELECT *
		FROM ave_request
		WHERE Id = '5'
	
    [24] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '5' AND condition_status = '1'
	
    [25] => SET max_heap_table_size = 1024 * 1024 * 64;
    [26] => SET tmp_table_size = 1024 * 1024 * 32;
    [27] => 		# 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 != '16729') 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
	
    [28] => SELECT FOUND_ROWS()
    [29] => 
		SELECT *
		FROM ave_request
		WHERE Id = '2'
	
    [30] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '2' AND condition_status = '1'
	
    [31] => SET max_heap_table_size = 1024 * 1024 * 64;
    [32] => SET tmp_table_size = 1024 * 1024 * 32;
    [33] => 		# 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 != '16729') 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
	
    [34] => SELECT FOUND_ROWS()
    [35] => 
		SELECT *
		FROM ave_request
		WHERE Id = '3'
	
    [36] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '3' AND condition_status = '1'
	
    [37] => SET max_heap_table_size = 1024 * 1024 * 64;
    [38] => SET tmp_table_size = 1024 * 1024 * 32;
    [39] => 		# 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 != '16729') 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
	
    [40] => SELECT FOUND_ROWS()
    [41] => 
		SELECT *
		FROM ave_request
		WHERE Id = '4'
	
    [42] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '4' AND condition_status = '1'
	
    [43] => SET max_heap_table_size = 1024 * 1024 * 64;
    [44] => SET tmp_table_size = 1024 * 1024 * 32;
    [45] => 		# 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 != '16729') 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
	
    [46] => SELECT FOUND_ROWS()
    [47] => 
		SELECT *
		FROM ave_request
		WHERE Id = '5'
	
    [48] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '5' AND condition_status = '1'
	
    [49] => SET max_heap_table_size = 1024 * 1024 * 64;
    [50] => SET tmp_table_size = 1024 * 1024 * 32;
    [51] => 		# 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 != '16729') 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
	
    [52] => SELECT FOUND_ROWS()
    [53] => 
		SELECT *
		FROM ave_request
		WHERE Id = '22'
	
    [54] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '22' AND condition_status = '1'
	
    [55] => SET max_heap_table_size = 1024 * 1024 * 64;
    [56] => SET tmp_table_size = 1024 * 1024 * 32;
    [57] => 		# 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
		
	
    [58] => SELECT FOUND_ROWS()
    [59] => 
		SELECT *
		FROM ave_request
		WHERE Id = '9'
	
    [60] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '9' AND condition_status = '1'
	
    [61] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '9' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [62] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '9'
		
    [63] => SET max_heap_table_size = 1024 * 1024 * 64;
    [64] => SET tmp_table_size = 1024 * 1024 * 32;
    [65] => 		# 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 != '16729') 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
	
    [66] => SELECT FOUND_ROWS()
    [67] => SELECT rubric_field_alias FROM ave_rubric_fields WHERE Id=18
    [68] => 
		SELECT *
		FROM ave_request
		WHERE Id = '9'
	
    [69] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '9' AND condition_status = '1'
	
    [70] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '9' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [71] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '9'
		
    [72] => SET max_heap_table_size = 1024 * 1024 * 64;
    [73] => SET tmp_table_size = 1024 * 1024 * 32;
    [74] => 		# 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 != '16729') 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
	
    [75] => SELECT FOUND_ROWS()
    [76] => 
		SELECT *
		FROM ave_request
		WHERE Id = '8'
	
    [77] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '8' AND condition_status = '1'
	
    [78] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '8' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [79] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '8'
		
    [80] => SET max_heap_table_size = 1024 * 1024 * 64;
    [81] => SET tmp_table_size = 1024 * 1024 * 32;
    [82] => 		# 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 != '16729') 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 rubric_field_alias FROM ave_rubric_fields WHERE Id=17
    [85] => 
		SELECT *
		FROM ave_request
		WHERE Id = '16'
	
    [86] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '16' AND condition_status = '1'
	
    [87] => SET max_heap_table_size = 1024 * 1024 * 64;
    [88] => SET tmp_table_size = 1024 * 1024 * 32;
    [89] => 		# req=16
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			ave_document_fields AS t33,			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 ((t33.document_id = a.id AND (t33.rubric_field_id = '33' AND UPPER(t33.field_value) != UPPER('Автор неизвестен'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_title ASC
		
	
    [90] => SELECT FOUND_ROWS()
    [91] => 
		SELECT *
		FROM ave_request
		WHERE Id = '28'
	
    [92] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '28' AND condition_status = '1'
	
    [93] => SET max_heap_table_size = 1024 * 1024 * 64;
    [94] => SET tmp_table_size = 1024 * 1024 * 32;
    [95] => 		# req=28
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			ave_document_fields AS t45,			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 ((t45.document_id = a.id AND (t45.rubric_field_id = '45' AND UPPER(t45.field_value) LIKE UPPER('%||%'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,3
	
    [96] => SELECT FOUND_ROWS()
    [97] => SELECT rubric_field_alias FROM ave_rubric_fields WHERE Id=43
    [98] => SELECT rubric_field_alias FROM ave_rubric_fields WHERE Id=51
    [99] => SELECT rubric_field_alias FROM ave_rubric_fields WHERE Id=84
    [100] => 
		SELECT *
		FROM ave_request
		WHERE Id = '28'
	
    [101] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '28' AND condition_status = '1'
	
    [102] => SET max_heap_table_size = 1024 * 1024 * 64;
    [103] => SET tmp_table_size = 1024 * 1024 * 32;
    [104] => 		# req=28
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			ave_document_fields AS t45,			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 ((t45.document_id = a.id AND (t45.rubric_field_id = '45' AND UPPER(t45.field_value) LIKE UPPER('%||%'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,3
	
    [105] => SELECT FOUND_ROWS()
    [106] => 
		SELECT *
		FROM ave_request
		WHERE Id = '39'
	
    [107] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '39' AND condition_status = '1'
	
    [108] => SET max_heap_table_size = 1024 * 1024 * 64;
    [109] => SET tmp_table_size = 1024 * 1024 * 32;
    [110] => 		# req=39
		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,30
	
    [111] => SELECT FOUND_ROWS()
    [112] => 
		SELECT *
		FROM ave_request
		WHERE Id = '9'
	
    [113] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '9' AND condition_status = '1'
	
    [114] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '9' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [115] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '9'
		
    [116] => SET max_heap_table_size = 1024 * 1024 * 64;
    [117] => SET tmp_table_size = 1024 * 1024 * 32;
    [118] => 		# 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 != '16729') 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
	
    [119] => SELECT FOUND_ROWS()
    [120] => 
		SELECT *
		FROM ave_request
		WHERE Id = '9'
	
    [121] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '9' AND condition_status = '1'
	
    [122] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '9' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [123] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '9'
		
    [124] => SET max_heap_table_size = 1024 * 1024 * 64;
    [125] => SET tmp_table_size = 1024 * 1024 * 32;
    [126] => 		# 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 != '16729') 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
	
    [127] => SELECT FOUND_ROWS()
    [128] => 
		SELECT *
		FROM ave_request
		WHERE Id = '8'
	
    [129] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '8' AND condition_status = '1'
	
    [130] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '8' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [131] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '8'
		
    [132] => SET max_heap_table_size = 1024 * 1024 * 64;
    [133] => SET tmp_table_size = 1024 * 1024 * 32;
    [134] => 		# 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 != '16729') 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
	
    [135] => SELECT FOUND_ROWS()
    [136] => 
		SELECT *
		FROM ave_request
		WHERE Id = '16'
	
    [137] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '16' AND condition_status = '1'
	
    [138] => SET max_heap_table_size = 1024 * 1024 * 64;
    [139] => SET tmp_table_size = 1024 * 1024 * 32;
    [140] => 		# req=16
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			ave_document_fields AS t33,			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 ((t33.document_id = a.id AND (t33.rubric_field_id = '33' AND UPPER(t33.field_value) != UPPER('Автор неизвестен'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_title ASC
		
	
    [141] => SELECT FOUND_ROWS()
    [142] => 
		SELECT *
		FROM ave_request
		WHERE Id = '28'
	
    [143] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '28' AND condition_status = '1'
	
    [144] => SET max_heap_table_size = 1024 * 1024 * 64;
    [145] => SET tmp_table_size = 1024 * 1024 * 32;
    [146] => 		# req=28
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			ave_document_fields AS t45,			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 ((t45.document_id = a.id AND (t45.rubric_field_id = '45' AND UPPER(t45.field_value) LIKE UPPER('%||%'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,3
	
    [147] => SELECT FOUND_ROWS()
    [148] => 
		SELECT *
		FROM ave_request
		WHERE Id = '28'
	
    [149] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '28' AND condition_status = '1'
	
    [150] => SET max_heap_table_size = 1024 * 1024 * 64;
    [151] => SET tmp_table_size = 1024 * 1024 * 32;
    [152] => 		# req=28
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			ave_document_fields AS t45,			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 ((t45.document_id = a.id AND (t45.rubric_field_id = '45' AND UPPER(t45.field_value) LIKE UPPER('%||%'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,3
	
    [153] => SELECT FOUND_ROWS()
    [154] => 
		SELECT *
		FROM ave_request
		WHERE Id = '39'
	
    [155] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '39' AND condition_status = '1'
	
    [156] => SET max_heap_table_size = 1024 * 1024 * 64;
    [157] => SET tmp_table_size = 1024 * 1024 * 32;
    [158] => 		# req=39
		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,30
	
    [159] => SELECT FOUND_ROWS()
    [160] => 
			SELECT * FROM ave_module_export
			WHERE id = '5'
		
    [161] => 
			SELECT Id AS id, request_template_item AS tpl
			FROM ave_request
			WHERE Id IN (23,79)
		
    [162] => 
		SELECT *
		FROM ave_request
		WHERE Id = '23'
	
    [163] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '23' AND condition_status = '1'
	
    [164] => 
		SELECT *
		FROM ave_request
		WHERE Id = '79'
	
    [165] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '79' AND condition_status = '1'
	
    [166] => 
			SELECT SQL_CALC_FOUND_ROWS all_docs.*
			FROM ((		# req=23
		SELECT STRAIGHT_JOIN
			CONCAT('23') AS req_id, a.*
			
			
		FROM
			ave_document_fields AS t39,			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 != '16729') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND ((t39.document_id = a.id AND (t39.rubric_field_id = '39' AND UPPER(t39.field_value) LIKE UPPER('%16729%'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		
	) UNION (		# req=79
		SELECT STRAIGHT_JOIN
			CONCAT('79') AS req_id, a.*
			
			
		FROM
			ave_document_fields AS t47, ave_document_fields AS t89,			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 != '16729') 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 (t89.document_id = a.id AND (t89.rubric_field_id = '89' AND UPPER(t89.field_value) LIKE UPPER('%16729%'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		
	)) AS all_docs
			
			
		
    [167] => SELECT FOUND_ROWS()
    [168] => 
			SELECT * FROM ave_module_export
			WHERE id = '5'
		
    [169] => 
			SELECT Id AS id, request_template_item AS tpl
			FROM ave_request
			WHERE Id IN (23,79)
		
    [170] => 
		SELECT *
		FROM ave_request
		WHERE Id = '23'
	
    [171] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '23' AND condition_status = '1'
	
    [172] => 
		SELECT *
		FROM ave_request
		WHERE Id = '79'
	
    [173] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '79' AND condition_status = '1'
	
    [174] => 
			SELECT SQL_CALC_FOUND_ROWS all_docs.*
			FROM ((		# req=23
		SELECT STRAIGHT_JOIN
			CONCAT('23') AS req_id, a.*
			
			
		FROM
			ave_document_fields AS t39,			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 != '16729') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND ((t39.document_id = a.id AND (t39.rubric_field_id = '39' AND UPPER(t39.field_value) LIKE UPPER('%16729%'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		
	) UNION (		# req=79
		SELECT STRAIGHT_JOIN
			CONCAT('79') AS req_id, a.*
			
			
		FROM
			ave_document_fields AS t47, ave_document_fields AS t89,			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 != '16729') 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 (t89.document_id = a.id AND (t89.rubric_field_id = '89' AND UPPER(t89.field_value) LIKE UPPER('%16729%'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		
	)) AS all_docs
			
			
		
    [175] => SELECT FOUND_ROWS()
    [176] => 
			SELECT * FROM ave_module_export
			WHERE id = '5'
		
    [177] => 
			SELECT Id AS id, request_template_item AS tpl
			FROM ave_request
			WHERE Id IN (23,79)
		
    [178] => 
		SELECT *
		FROM ave_request
		WHERE Id = '23'
	
    [179] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '23' AND condition_status = '1'
	
    [180] => 
		SELECT *
		FROM ave_request
		WHERE Id = '79'
	
    [181] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '79' AND condition_status = '1'
	
    [182] => 
			SELECT SQL_CALC_FOUND_ROWS all_docs.*
			FROM ((		# req=23
		SELECT STRAIGHT_JOIN
			CONCAT('23') AS req_id, a.*
			
			
		FROM
			ave_document_fields AS t39,			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 != '16729') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND ((t39.document_id = a.id AND (t39.rubric_field_id = '39' AND UPPER(t39.field_value) LIKE UPPER('%16729%'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		
	) UNION (		# req=79
		SELECT STRAIGHT_JOIN
			CONCAT('79') AS req_id, a.*
			
			
		FROM
			ave_document_fields AS t47, ave_document_fields AS t89,			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 != '16729') 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 (t89.document_id = a.id AND (t89.rubric_field_id = '89' AND UPPER(t89.field_value) LIKE UPPER('%16729%'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		
	)) AS all_docs
			
			
		
    [183] => SELECT FOUND_ROWS()
    [184] => 
			SELECT * FROM ave_module_export
			WHERE id = '5'
		
    [185] => 
			SELECT Id AS id, request_template_item AS tpl
			FROM ave_request
			WHERE Id IN (23,79)
		
    [186] => 
		SELECT *
		FROM ave_request
		WHERE Id = '23'
	
    [187] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '23' AND condition_status = '1'
	
    [188] => 
		SELECT *
		FROM ave_request
		WHERE Id = '79'
	
    [189] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '79' AND condition_status = '1'
	
    [190] => 
			SELECT SQL_CALC_FOUND_ROWS all_docs.*
			FROM ((		# req=23
		SELECT STRAIGHT_JOIN
			CONCAT('23') AS req_id, a.*
			
			
		FROM
			ave_document_fields AS t39,			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 != '16729') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND ((t39.document_id = a.id AND (t39.rubric_field_id = '39' AND UPPER(t39.field_value) LIKE UPPER('%16729%'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		
	) UNION (		# req=79
		SELECT STRAIGHT_JOIN
			CONCAT('79') AS req_id, a.*
			
			
		FROM
			ave_document_fields AS t47, ave_document_fields AS t89,			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 != '16729') 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 (t89.document_id = a.id AND (t89.rubric_field_id = '89' AND UPPER(t89.field_value) LIKE UPPER('%16729%'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		
	)) AS all_docs
			
			
		
    [191] => SELECT FOUND_ROWS()
    [192] => SELECT * FROM ave_navigation
    [193] => 
		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 = 16729
			AND (
				nav.navi_item_link = 'index.php?id=16729'
			OR nav.document_alias = 'tag/reforma-mestnogo-samoupravleniya'
			OR nav.document_alias = '/tag/reforma-mestnogo-samoupravleniya'
			OR nav.document_alias = 'tag/reforma-mestnogo-samoupravleniya.html'
			OR nav.document_alias = '/tag/reforma-mestnogo-samoupravleniya.html'
		
				OR nav.Id = doc.document_linked_navi_id
			)
	
    [194] => 
		SELECT *
		FROM ave_navigation_items
		WHERE navi_item_status = '1'
		AND navi_id = '1'
		ORDER BY navi_item_position ASC
	
    [195] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'Qo8_oLZ6rho' AND
                status = 'success'
        
    [196] => 
                    SELECT sysblock_text
                    FROM ave_sysblocks
                    WHERE id = 25
                
    [197] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'TyEPCQHMLM8' AND
                status = 'success'
        
    [198] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'whcLxidmPtg' AND
                status = 'success'
        
)

Время генерации: 3,965 сек.
Пиковое значение 4 956Kb
Количество запросов: 100 шт. за 3,477644 сек.
111   0,739623
# req=39
		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,000113 starting
 0,000006 checking permissions
 0,000001 checking permissions
 0,000003 checking permissions
 0,000024 Opening tables
 0,000011 System lock
 0,000055 init
 0,000026 optimizing
 0,000394 statistics
 0,000036 preparing
 0,000339 Creating tmp table
 0,000005 executing
 0,724235 Copying to tmp table
 0,011298 Sorting result
 0,000220 Sending data
 0,000017 end
 0,002662 removing tmp table
 0,000018 end
 0,000005 query end
 0,000050 closing tables
 0,000083 freeing items
 0,000013 logging slow query
 0,000013 cleaning up
159   0,691591
# req=39
		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,000146 starting
 0,000006 checking permissions
 0,000002 checking permissions
 0,000003 checking permissions
 0,000031 Opening tables
 0,000012 System lock
 0,000058 init
 0,000028 optimizing
 0,000362 statistics
 0,000035 preparing
 0,000419 Creating tmp table
 0,000006 executing
 0,673924 Copying to tmp table
 0,015106 Sorting result
 0,000171 Sending data
 0,000009 end
 0,001161 removing tmp table
 0,000009 end
 0,000002 query end
 0,000021 closing tables
 0,000070 freeing items
 0,000003 logging slow query
 0,000010 cleaning up
167   0,480802
SELECT SQL_CALC_FOUND_ROWS all_docs.*
			FROM ((		# req=23
		SELECT STRAIGHT_JOIN
			CONCAT('23') AS req_id, a.*
			
			
		FROM
			ave_document_fields AS t39,			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '3' AND
		a.document_deleted != '1') AND (a.docum
 0,000011 starting
 0,000004 Waiting for query cache lock
 0,000194 checking query cache for query
 0,000005 checking permissions
 0,000001 checking permissions
 0,000002 checking permissions
 0,000001 checking permissions
 0,000004 checking permissions
 0,000047 Opening tables
 0,000942 System lock
 0,000034 optimizing
 0,000374 statistics
 0,000043 preparing
 0,000004 executing
 0,009558 Sending data
 0,000059 optimizing
 0,000594 statistics
 0,000046 preparing
 0,000004 executing
 0,468362 Sending data
 0,000017 optimizing
 0,000009 statistics
 0,000010 preparing
 0,000002 executing
 0,000116 Sending data
 0,000110 removing tmp table
 0,000019 Sending data
 0,000026 init
 0,000003 optimizing
 0,000013 statistics
 0,000005 preparing
 0,000002 executing
 0,000025 Sending data
 0,000003 end
 0,000003 query end
 0,000002 closing tables
 0,000053 removing tmp table
 0,000026 closing tables
 0,000063 freeing items
 0,000004 logging slow query
 0,000006 cleaning up
175   0,496063
SELECT SQL_CALC_FOUND_ROWS all_docs.*
			FROM ((		# req=23
		SELECT STRAIGHT_JOIN
			CONCAT('23') AS req_id, a.*
			
			
		FROM
			ave_document_fields AS t39,			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '3' AND
		a.document_deleted != '1') AND (a.docum
 0,000009 starting
 0,000003 Waiting for query cache lock
 0,000163 checking query cache for query
 0,000007 checking permissions
 0,000002 checking permissions
 0,000001 checking permissions
 0,000001 checking permissions
 0,000004 checking permissions
 0,000025 Opening tables
 0,000627 System lock
 0,000030 optimizing
 0,000287 statistics
 0,000042 preparing
 0,000006 executing
 0,008262 Sending data
 0,000054 optimizing
 0,000305 statistics
 0,000039 preparing
 0,000004 executing
 0,485077 Sending data
 0,000019 optimizing
 0,000009 statistics
 0,000009 preparing
 0,000004 executing
 0,000116 Sending data
 0,000592 removing tmp table
 0,000018 Sending data
 0,000021 init
 0,000003 optimizing
 0,000018 statistics
 0,000005 preparing
 0,000002 executing
 0,000035 Sending data
 0,000016 end
 0,000005 query end
 0,000003 closing tables
 0,000128 removing tmp table
 0,000022 closing tables
 0,000080 freeing items
 0,000005 logging slow query
 0,000008 cleaning up
183   0,527829
SELECT SQL_CALC_FOUND_ROWS all_docs.*
			FROM ((		# req=23
		SELECT STRAIGHT_JOIN
			CONCAT('23') AS req_id, a.*
			
			
		FROM
			ave_document_fields AS t39,			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '3' AND
		a.document_deleted != '1') AND (a.docum
 0,000034 starting
 0,000003 Waiting for query cache lock
 0,000233 checking query cache for query
 0,000006 checking permissions
 0,000002 checking permissions
 0,000002 checking permissions
 0,000002 checking permissions
 0,000005 checking permissions
 0,000033 Opening tables
 0,000960 System lock
 0,000038 optimizing
 0,000351 statistics
 0,000052 preparing
 0,000007 executing
 0,012250 Sending data
 0,000088 optimizing
 0,000481 statistics
 0,000061 preparing
 0,000004 executing
 0,512626 Sending data
 0,000019 optimizing
 0,000009 statistics
 0,000010 preparing
 0,000003 executing
 0,000130 Sending data
 0,000127 removing tmp table
 0,000014 Sending data
 0,000036 init
 0,000007 optimizing
 0,000013 statistics
 0,000008 preparing
 0,000003 executing
 0,000030 Sending data
 0,000005 end
 0,000003 query end
 0,000002 closing tables
 0,000073 removing tmp table
 0,000035 closing tables
 0,000061 freeing items
 0,000003 logging slow query
 0,000006 cleaning up
191   0,479405
SELECT SQL_CALC_FOUND_ROWS all_docs.*
			FROM ((		# req=23
		SELECT STRAIGHT_JOIN
			CONCAT('23') AS req_id, a.*
			
			
		FROM
			ave_document_fields AS t39,			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '3' AND
		a.document_deleted != '1') AND (a.docum
 0,000023 starting
 0,000003 Waiting for query cache lock
 0,000217 checking query cache for query
 0,000006 checking permissions
 0,000002 checking permissions
 0,000001 checking permissions
 0,000002 checking permissions
 0,000004 checking permissions
 0,000031 Opening tables
 0,001007 System lock
 0,000036 optimizing
 0,000394 statistics
 0,000041 preparing
 0,000005 executing
 0,015384 Sending data
 0,000066 optimizing
 0,000507 statistics
 0,000053 preparing
 0,000006 executing
 0,460983 Sending data
 0,000017 optimizing
 0,000009 statistics
 0,000009 preparing
 0,000003 executing
 0,000094 Sending data
 0,000175 removing tmp table
 0,000019 Sending data
 0,000026 init
 0,000006 optimizing
 0,000026 statistics
 0,000009 preparing
 0,000002 executing
 0,000035 Sending data
 0,000006 end
 0,000003 query end
 0,000003 closing tables
 0,000092 removing tmp table
 0,000024 closing tables
 0,000068 freeing items
 0,000006 logging slow query
 0,000007 cleaning up