Новомученики

Архимандрит Дамаскин (Орловский): Перенесение мощей архиепископа Тверского Фаддея (Успенского) из Москвы в Тверь. (Документальный фильм) (12.09.2016)
Священномученик Фаддей (Успенский, 1872-1937) - Архиепископ Тверской (до этого - архиепископ Волынский, Астраханский)  - величайший христианский святой ХХ века, соединивший в своей жизни  архипастырское служение и аскетический монашеский подвиг. Святость архиепископа Фаддея была очеви...
Вверх
Полная версия сайта
Мобильная версия сайта
Array
(
    [0] => Array
        (
            [REQUEST_2] => -0.908264
        )

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

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

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

    [4] => Array
        (
            [SYSBLOCK_5] => -0.797052
        )

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    [21] => Array
        (
            [REQUEST_39] => 0.428763
        )

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

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

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

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

    [26] => Array
        (
            [REQUEST_28] => -0.943978
        )

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

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

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

    [30] => Array
        (
            [MULTIREQUEST_5] => -0.406953
        )

    [31] => Array
        (
            [MULTIREQUEST_5] => 0.80433
        )

    [32] => Array
        (
            [MULTIREQUEST_5] => -0.43399
        )

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

)
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-3'
			LIMIT 1
		
    [3] => 
						SELECT compiled
							FROM ave_rubric_template_cache
						WHERE hash  = 'd397258633449037a470818ede4cb5f2'
							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 != '32313') 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 != '32313') 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 != '32313') 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 != '32313') 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 != '32313') 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 != '32313') 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 != '32313') 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 != '32313') 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 != '32313') 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 != '32313') 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 != '32313') 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 != '32313') 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 != '32313') 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 != '32313') 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 != '32313') 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('%32313%'))) 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 != '32313') 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('%32313%'))) 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 != '32313') 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('%32313%'))) 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 != '32313') 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('%32313%'))) 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 != '32313') 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('%32313%'))) 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 != '32313') 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('%32313%'))) 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 != '32313') 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('%32313%'))) 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 != '32313') 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('%32313%'))) 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 = 32313
			AND (
				nav.navi_item_link = 'index.php?id=32313'
			OR nav.document_alias = 'tag-3'
			OR nav.document_alias = '/tag-3'
			OR nav.document_alias = 'tag-3.html'
			OR nav.document_alias = '/tag-3.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
	
)

Время генерации: 6,616 сек.
Пиковое значение 4 893Kb
Количество запросов: 100 шт. за 5,937688 сек.
111   1,417569
# 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,000007 checking permissions
 0,000003 checking permissions
 0,000004 checking permissions
 0,000041 Opening tables
 0,000016 System lock
 0,000080 init
 0,000036 optimizing
 0,000601 statistics
 0,000046 preparing
 0,000433 Creating tmp table
 0,000008 executing
 1,368148 Copying to tmp table
 0,030566 Sorting result
 0,000218 Sending data
 0,000016 end
 0,017075 removing tmp table
 0,000029 end
 0,000007 query end
 0,000027 closing tables
 0,000082 freeing items
 0,000009 logging slow query
 0,000006 cleaning up
159   1,562128
# 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,000118 starting
 0,000008 checking permissions
 0,000003 checking permissions
 0,000005 checking permissions
 0,000029 Opening tables
 0,000015 System lock
 0,000071 init
 0,000033 optimizing
 0,000388 statistics
 0,000047 preparing
 0,000439 Creating tmp table
 0,000010 executing
 1,545775 Copying to tmp table
 0,012418 Sorting result
 0,000240 Sending data
 0,000008 end
 0,002060 removing tmp table
 0,000024 end
 0,000006 query end
 0,000034 closing tables
 0,000383 freeing items
 0,000006 logging slow query
 0,000009 cleaning up
167   0,813786
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,000012 starting
 0,000004 Waiting for query cache lock
 0,000302 checking query cache for query
 0,000010 checking permissions
 0,000003 checking permissions
 0,000002 checking permissions
 0,000002 checking permissions
 0,000005 checking permissions
 0,000067 Opening tables
 0,001200 System lock
 0,000029 optimizing
 0,000448 statistics
 0,000056 preparing
 0,000005 executing
 0,015743 Sending data
 0,000048 optimizing
 0,000532 statistics
 0,000049 preparing
 0,000008 executing
 0,794777 Sending data
 0,000017 optimizing
 0,000010 statistics
 0,000008 preparing
 0,000003 executing
 0,000090 Sending data
 0,000125 removing tmp table
 0,000012 Sending data
 0,000019 init
 0,000004 optimizing
 0,000012 statistics
 0,000006 preparing
 0,000003 executing
 0,000028 Sending data
 0,000004 end
 0,000003 query end
 0,000002 closing tables
 0,000057 removing tmp table
 0,000027 closing tables
 0,000052 freeing items
 0,000003 logging slow query
 0,000005 cleaning up
175   0,589966
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,000010 starting
 0,000003 Waiting for query cache lock
 0,000174 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,000024 Opening tables
 0,000621 System lock
 0,000028 optimizing
 0,000249 statistics
 0,000049 preparing
 0,000003 executing
 0,008471 Sending data
 0,000054 optimizing
 0,000363 statistics
 0,000045 preparing
 0,000005 executing
 0,579180 Sending data
 0,000025 optimizing
 0,000013 statistics
 0,000011 preparing
 0,000004 executing
 0,000148 Sending data
 0,000156 removing tmp table
 0,000015 Sending data
 0,000026 init
 0,000005 optimizing
 0,000012 statistics
 0,000007 preparing
 0,000002 executing
 0,000032 Sending data
 0,000005 end
 0,000003 query end
 0,000003 closing tables
 0,000093 removing tmp table
 0,000034 closing tables
 0,000071 freeing items
 0,000005 logging slow query
 0,000007 cleaning up
183   0,800177
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,000012 starting
 0,000003 Waiting for query cache lock
 0,000227 checking query cache for query
 0,000008 checking permissions
 0,000002 checking permissions
 0,000002 checking permissions
 0,000002 checking permissions
 0,000004 checking permissions
 0,000044 Opening tables
 0,001103 System lock
 0,000036 optimizing
 0,000443 statistics
 0,000055 preparing
 0,000008 executing
 0,015220 Sending data
 0,000050 optimizing
 0,000384 statistics
 0,000036 preparing
 0,000003 executing
 0,781930 Sending data
 0,000021 optimizing
 0,000009 statistics
 0,000011 preparing
 0,000003 executing
 0,000142 Sending data
 0,000141 removing tmp table
 0,000025 Sending data
 0,000025 init
 0,000006 optimizing
 0,000009 statistics
 0,000004 preparing
 0,000002 executing
 0,000031 Sending data
 0,000004 end
 0,000002 query end
 0,000004 closing tables
 0,000059 removing tmp table
 0,000025 closing tables
 0,000063 freeing items
 0,000003 logging slow query
 0,000019 cleaning up
191   0,563265
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,000010 starting
 0,000003 Waiting for query cache lock
 0,000234 checking query cache for query
 0,000006 checking permissions
 0,000001 checking permissions
 0,000001 checking permissions
 0,000001 checking permissions
 0,000004 checking permissions
 0,000030 Opening tables
 0,001131 System lock
 0,000027 optimizing
 0,000274 statistics
 0,000033 preparing
 0,000004 executing
 0,007610 Sending data
 0,000042 optimizing
 0,000276 statistics
 0,000033 preparing
 0,000003 executing
 0,552880 Sending data
 0,000018 optimizing
 0,000012 statistics
 0,000011 preparing
 0,000005 executing
 0,000128 Sending data
 0,000149 removing tmp table
 0,000016 Sending data
 0,000025 init
 0,000006 optimizing
 0,000022 statistics
 0,000010 preparing
 0,000003 executing
 0,000033 Sending data
 0,000007 end
 0,000004 query end
 0,000004 closing tables
 0,000091 removing tmp table
 0,000041 closing tables
 0,000067 freeing items
 0,000009 logging slow query
 0,000006 cleaning up