Форум программистов, компьютерный форум, киберфорум
MySQL
Войти
Регистрация
Восстановить пароль
Блоги Сообщество Поиск Заказать работу  
 
Рейтинг 4.88/8: Рейтинг темы: голосов - 8, средняя оценка - 4.88
9 / 9 / 0
Регистрация: 26.02.2010
Сообщений: 165

InnoDB: Error: MySQL is trying to perform a consistent read

21.04.2012, 16:28. Показов 1709. Ответов 1
Метки нет (Все метки)

Студворк — интернет-сервис помощи студентам
Здравствуйте со вчерашнего дня начались проблемы с базой постоянно вылетает ошибка...

подскажите вчем может быть дело

система Debian 6.1 База 5.1.49
CPU Core Quad Q9300
4 Гб оперативки
RAID1

конфиг

MySQL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
[mysqld]
character-set-server        = cp1251
#default-character-set      = cp1251
collation-server        = cp1251_general_ci
init-connect            = "SET NAMES cp1251"
skip-character-set-client-handshake
#
# * Basic Settings
#
user        = mysql
pid-file    = /var/run/mysqld/mysqld.pid
socket      = /var/run/mysqld/mysqld.sock
port        = 3306
basedir     = /usr
datadir     = /home/dbase
tmpdir      = /tmp
language    = /usr/share/mysql/english
#skip-grant-tables
skip-external-locking
interactive_timeout             = 900
wait_timeout                    = 900
#
# Instead of skip-networking the default is now to listen only on
# localhost which is more compatible and is not less secure.
#bind-address       = 127.0.0.1
#
# * Fine Tuning
#
#key_buffer     = 14M
#key_buffer     = 128M
max_allowed_packet  = 16M
max_heap_table_size = 32M
thread_stack        = 256K
thread_cache_size   = 16
max_connections     = 200
key_buffer_size     = 512M
#key_buffer_size    = 16M
table_cache     = 64
sort_buffer_size    = 10M
ead_rnd_buffer_size = 10M
read_buffer_size    = 256K
#record_buffer      = 1M
thread_concurrency  = 8
tmp_table_size      = 128M
join_buffer_size    = 8M
 
 
#net_buffer_length = 2K
 
#
# * Query Cache Configuration
#
query_cache_limit       = 10M
query_cache_size        = 128M
#
# * Logging and Replication
#
# Both location gets rotated by the cronjob.
# Be aware that this log type is a performance killer.
#log        = /var/log/mysql/mysql.log
#
# Error logging goes to syslog. This is a Debian improvement :)
#
# Here you can see queries with especially long duration
#log_slow_queries   = /var/log/mysql/mysql-slow.log
#long_query_time = 2
#log-queries-not-using-indexes
#
# The following can be used as easy to replay backup logs or for replication.
#server-id      = 1
log_bin         = /var/log/mysql/mysql-bin.log
# WARNING: Using expire_logs_days without bin_log crashes the server! See README.Debian!
expire_logs_days    = 10
max_binlog_size         = 100M
#binlog_do_db       = include_database_name
#binlog_ignore_db   = include_database_name
#
# * BerkeleyDB
#
# Using BerkeleyDB is now discouraged as its support will cease in 5.1.12.
#skip-bdb
#
# * InnoDB
#
# InnoDB is enabled by default with a 10MB datafile in /var/lib/mysql/.
# Read the manual for more InnoDB related options. There are many!
# You might want to disable InnoDB to shrink the mysqld process by circa 100MB.
#innodb_data_home_dir = /var/log/dbase/ibdata
#innodb_data_file_path=ibdata1:100M:autoextend
innodb_file_per_table   = 1
 
#skip-innodb
 
#
# * Security Features
#
# Read the manual, too, if you want chroot!
# chroot = /var/lib/mysql/
#
# For generating SSL certificates I recommend the OpenSSL GUI "tinyca".
#
# ssl-ca=/etc/mysql/cacert.pem
# ssl-cert=/etc/mysql/server-cert.pem
# ssl-key=/etc/mysql/server-key.pem
innodb_buffer_pool_size         = 1200M
innodb_additional_mem_pool_size     = 20M
innodb_file_io_threads          = 8
innodb_lock_wait_timeout        = 50
innodb_log_buffer_size          = 8M
innodb_log_file_size            = 100M
innodb_flush_log_at_trx_commit      = 0
innodb_thread_concurrency       = 8
#innodb_flush_method            = O_DIRECT
#innodb_flush_logs_at_trx_commit        = 2
#transaction-isolation          = READ-COMMITTED

постоянно одна и таже ошибка с разной частостой

MySQL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
Apr 20 15:05:30 dbase2 mysqld: InnoDB: Error: MySQL is trying to perform a consistent read
Apr 20 15:05:30 dbase2 mysqld: InnoDB: but the read view is not assigned!
Apr 20 15:05:30 dbase2 mysqld: TRANSACTION 0 869279488, ACTIVE 0 sec, process no 17815, OS thread id 140163627144960 starting index read, thread declared inside InnoDB 500
Apr 20 15:05:30 dbase2 mysqld: mysql tables in use 17, locked 16
Apr 20 15:05:30 dbase2 mysqld: MySQL thread id 1304928, query id 5272358470 192.168.1.4 web checking permissions
Apr 20 15:05:30 dbase2 mysqld: SELECT
Apr 20 15:05:30 dbase2 mysqld:   torder.ordid,
Apr 20 15:05:30 dbase2 mysqld:   torder.uid1,
Apr 20 15:05:30 dbase2 mysqld:   UserName(torder.uid1, 0) AS uidname1,
Apr 20 15:05:30 dbase2 mysqld:   torder.uid2,
Apr 20 15:05:30 dbase2 mysqld:   UserName(torder.uid2, 0) AS uidname2,
Apr 20 15:05:30 dbase2 mysqld:   torder.ordphone,
Apr 20 15:05:30 dbase2 mysqld:   torder.ordphone2,
Apr 20 15:05:30 dbase2 mysqld:   torder.ordtime,
Apr 20 15:05:30 dbase2 mysqld:   DialStatus(torder.ordid) AS DialST,
Apr 20 15:05:30 dbase2 mysqld:   torder.ordpretime,
Apr 20 15:05:30 dbase2 mysqld:   torder.ordtermtime,
Apr 20 15:05:30 dbase2 mysqld:   OrdTime1(torder.orgid2, torder.drvtime, torder.ordpretype, torder.ordredirecttime, torder.ordpretime, torder.ordconfirmtime, torder.ordreachtime, torder.ordwaytime, torder.statusid) drvtime,
Apr 20 15:05:30 dbase2 mysqld:   torder.drvtime AS drvtime1,
Apr 20 15:05:30 dbase2 mysqld:   torder.ordinputtime,
Apr 20 15:05:30 dbase2 mysqld:   torder.ordredirecttime,
Apr 20 15:05:30 dbase2 mysqld:   torder.ordclienttime,
Apr 20 15:05:30 dbase2 mysqld:   torder.ordreac
Apr 20 15:05:30 dbase2 mysqld: 
Apr 20 15:05:30 dbase2 mysqld: 120420 15:05:30  InnoDB: Assertion failure in thread 140163627144960 in file ../../../storage/innobase/row/row0sel.c line 3689
Apr 20 15:05:30 dbase2 mysqld: InnoDB: Failing assertion: 0
Apr 20 15:05:30 dbase2 mysqld: InnoDB: We intentionally generate a memory trap.
Apr 20 15:05:30 dbase2 mysqld: InnoDB: Submit a detailed bug report to [url]http://bugs.mysql.com[/url].
Apr 20 15:05:30 dbase2 mysqld: InnoDB: If you get repeated assertion failures or crashes, even
Apr 20 15:05:30 dbase2 mysqld: InnoDB: immediately after the mysqld startup, there may be
Apr 20 15:05:30 dbase2 mysqld: InnoDB: corruption in the InnoDB tablespace. Please refer to
Apr 20 15:05:30 dbase2 mysqld: InnoDB: [url]http://dev.mysql.com/doc/refman/5.1/en/forcing-recovery.html[/url]
Apr 20 15:05:30 dbase2 mysqld: InnoDB: about forcing recovery.
Apr 20 15:05:30 dbase2 mysqld: 120420 15:05:30 - mysqld got signal 6 ;
Apr 20 15:05:30 dbase2 mysqld: This could be because you hit a bug. It is also possible that this binary
Apr 20 15:05:30 dbase2 mysqld: or one of the libraries it was linked against is corrupt, improperly built,
Apr 20 15:05:30 dbase2 mysqld: or misconfigured. This error can also be caused by malfunctioning hardware.
Apr 20 15:05:30 dbase2 mysqld: We will try our best to scrape up some info that will hopefully help diagnose
Apr 20 15:05:30 dbase2 mysqld: the problem, but since we have already crashed, something is definitely wrong
Apr 20 15:05:30 dbase2 mysqld: and this may fail.
Apr 20 15:05:30 dbase2 mysqld: 
Apr 20 15:05:30 dbase2 mysqld: key_buffer_size=536870912
Apr 20 15:05:30 dbase2 mysqld: read_buffer_size=262144
Apr 20 15:05:30 dbase2 mysqld: max_used_connections=101
Apr 20 15:05:30 dbase2 mysqld: max_threads=200
Apr 20 15:05:30 dbase2 mysqld: threads_connected=38
Apr 20 15:05:30 dbase2 mysqld: It is possible that mysqld could use up to 
Apr 20 15:05:30 dbase2 mysqld: key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 1040409 K
Apr 20 15:05:30 dbase2 mysqld: bytes of memory
Apr 20 15:05:30 dbase2 mysqld: Hope that's ok; if not, decrease some variables in the equation.
Apr 20 15:05:30 dbase2 mysqld: 
Apr 20 15:05:30 dbase2 mysqld: thd: 0x7f7a649328d0
Apr 20 15:05:30 dbase2 mysqld: Attempting backtrace. You can use the following information to find out
Apr 20 15:05:30 dbase2 mysqld: where mysqld died. If you see no messages after this, something went
Apr 20 15:05:30 dbase2 mysqld: terribly wrong...
Apr 20 15:05:30 dbase2 mysqld: stack_bottom = 0x7f7a6334ce88 thread_stack 0x40000
Apr 20 15:05:30 dbase2 mysqld: /usr/sbin/mysqld(my_print_stacktrace+0x29) [0x7f7b233a4829]
Apr 20 15:05:30 dbase2 mysqld: /usr/sbin/mysqld(handle_segfault+0x404) [0x7f7b230aeb14]
Apr 20 15:05:30 dbase2 mysqld: /lib/libpthread.so.0(+0xef60) [0x7f7b22910f60]
Apr 20 15:05:30 dbase2 mysqld: /lib/libc.so.6(gsignal+0x35) [0x7f7b213b4165]
Apr 20 15:05:30 dbase2 mysqld: /lib/libc.so.6(abort+0x180) [0x7f7b213b6f70]
Apr 20 15:05:30 dbase2 mysqld: /usr/sbin/mysqld(row_search_for_mysql+0x1028) [0x7f7b232fc6c8]
Apr 20 15:05:30 dbase2 mysqld: /usr/sbin/mysqld(ha_innobase::index_read(unsigned char*, unsigned char const*, unsigned int, ha_rkey_function)+0x18f) [0x7f7b232641ef]
Apr 20 15:05:30 dbase2 mysqld: /usr/sbin/mysqld(handler::read_range_first(st_key_range const*, st_key_range const*, bool, bool)+0xbe) [0x7f7b231ad01e]
Apr 20 15:05:30 dbase2 mysqld: /usr/sbin/mysqld(handler::read_multi_range_next(st_key_multi_range**)+0x9e) [0x7f7b231a9cce]
Apr 20 15:05:30 dbase2 mysqld: /usr/sbin/mysqld(QUICK_RANGE_SELECT::get_next()+0x3d) [0x7f7b2318c6fd]
Apr 20 15:05:30 dbase2 mysqld: /usr/sbin/mysqld(+0x4682d5) [0x7f7b231a62d5]
Apr 20 15:05:30 dbase2 mysqld: /usr/sbin/mysqld(+0x3dc81a) [0x7f7b2311a81a]
Apr 20 15:05:30 dbase2 mysqld: /usr/sbin/mysqld(sub_select_cache(JOIN*, st_join_table*, bool)+0x67) [0x7f7b2311acb7]
Apr 20 15:05:30 dbase2 mysqld: /usr/sbin/mysqld(+0x3ddc60) [0x7f7b2311bc60]
Apr 20 15:05:30 dbase2 mysqld: /usr/sbin/mysqld(JOIN::exec()+0x4bf) [0x7f7b2313020f]
Apr 20 15:05:30 dbase2 mysqld: /usr/sbin/mysqld(mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*)+0x142) [0x7f7b2312c622]
Apr 20 15:05:30 dbase2 mysqld: /usr/sbin/mysqld(handle_select(THD*, st_lex*, select_result*, unsigned long)+0x174) [0x7f7b23131f24]
Apr 20 15:05:30 dbase2 mysqld: /usr/sbin/mysqld(+0x37edfa) [0x7f7b230bcdfa]
Apr 20 15:05:30 dbase2 mysqld: /usr/sbin/mysqld(mysql_execute_command(THD*)+0x516) [0x7f7b230c0df6]
Apr 20 15:05:30 dbase2 mysqld: /usr/sbin/mysqld(mysql_parse(THD*, char const*, unsigned int, char const**)+0x3fb) [0x7f7b230c630b]
Apr 20 15:05:30 dbase2 mysqld: /usr/sbin/mysqld(dispatch_command(enum_server_command, THD*, char*, unsigned int)+0xb34) [0x7f7b230c6e54]
Apr 20 15:05:30 dbase2 mysqld: /usr/sbin/mysqld(do_command(THD*)+0xea) [0x7f7b230c7d3a]
Apr 20 15:05:30 dbase2 mysqld: /usr/sbin/mysqld(handle_one_connection+0x235) [0x7f7b230b9a25]
Apr 20 15:05:30 dbase2 mysqld: /lib/libpthread.so.0(+0x68ba) [0x7f7b229088ba]
Apr 20 15:05:30 dbase2 mysqld: /lib/libc.so.6(clone+0x6d) [0x7f7b2145102d]
Apr 20 15:05:30 dbase2 mysqld: Trying to get some variables.
Apr 20 15:05:30 dbase2 mysqld: Some pointers may be invalid and cause the dump to abort...
Apr 20 15:05:30 dbase2 mysqld: thd->query at 0x7f7a641f6010 is an invalid pointer
Apr 20 15:05:30 dbase2 mysqld: thd->thread_id=1304928
Apr 20 15:05:30 dbase2 mysqld: thd->killed=NOT_KILLED
Apr 20 15:05:30 dbase2 mysqld: The manual page at [url]http://dev.mysql.com/doc/mysql/en/crashing.html[/url] contains
Apr 20 15:05:30 dbase2 mysqld: information that should help you find out what is causing the crash.
Apr 20 15:05:31 dbase2 mysqld_safe: Number of processes running now: 0
Apr 20 15:05:31 dbase2 mysqld_safe: mysqld restarted
Apr 20 15:05:31 dbase2 mysqld: 120420 15:05:31 [Note] Plugin 'FEDERATED' is disabled.
Apr 20 15:05:31 dbase2 mysqld: InnoDB: Log scan progressed past the checkpoint lsn 18 651014811
Apr 20 15:05:31 dbase2 mysqld: 120420 15:05:31  InnoDB: Database was not shut down normally!
Apr 20 15:05:31 dbase2 mysqld: InnoDB: Starting crash recovery.
Apr 20 15:05:31 dbase2 mysqld: InnoDB: Reading tablespace information from the .ibd files...
Apr 20 15:05:32 dbase2 mysqld: InnoDB: Restoring possible half-written data pages from the doublewrite
Apr 20 15:05:32 dbase2 mysqld: InnoDB: buffer...
Apr 20 15:05:32 dbase2 mysqld: InnoDB: Doing recovery: scanned up to log sequence number 18 651019827
Apr 20 15:05:32 dbase2 mysqld: 120420 15:05:32  InnoDB: Starting an apply batch of log records to the database...
Apr 20 15:05:33 dbase2 mysqld: InnoDB: Progress in percents: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 
Apr 20 15:05:33 dbase2 mysqld: InnoDB: Apply batch completed
Apr 20 15:05:33 dbase2 mysqld: InnoDB: Last MySQL binlog file position 0 30056617, file name /var/log/mysql/mysql-bin.000895
Apr 20 15:05:33 dbase2 mysqld: 120420 15:05:33  InnoDB: Started; log sequence number 18 651019827
Apr 20 15:05:33 dbase2 mysqld: 120420 15:05:33 [Note] Recovering after a crash using /var/log/mysql/mysql-bin
Apr 20 15:05:33 dbase2 mysqld: 120420 15:05:33 [Note] Starting crash recovery...
Apr 20 15:05:33 dbase2 mysqld: 120420 15:05:33 [Note] Crash recovery finished.
Apr 20 15:05:34 dbase2 mysqld: 120420 15:05:34 [Note] Event Scheduler: Loaded 0 events
Apr 20 15:05:34 dbase2 mysqld: 120420 15:05:34 [Note] /usr/sbin/mysqld: ready for connections.
Apr 20 15:05:34 dbase2 mysqld: Version: '5.1.49-3-log'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  (Debian)
0
cpp_developer
Эксперт
20123 / 5690 / 1417
Регистрация: 09.04.2010
Сообщений: 22,546
Блог
21.04.2012, 16:28
Ответы с готовыми решениями:

Причина ошибки [ilink32 Error] Error: Unable to perform link
Когда сохранил программу и пытаюсь открыть ее снова то мне выкидывает ошибку Warning: Error detected (LME288) Error: Unable to...

[ilink32 Error] Error: Unable to perform link C++ Builder
Warning: C:/Users/компьютер/Desktop/Diplom/Programms/Gotovo nu pucthi/Win32/Debug/Project1.ilc: 0x00010000 / 0x08000000 Warning:...

[ilink32 Error] Error: Unable to perform link
Error: Unable to perform link Короче что за ошибка Ошибка только одна такая все остальное это собщения. Не пойму а главное что ошибку...

1
 Аватар для resource2008
111 / 112 / 18
Регистрация: 11.03.2011
Сообщений: 421
24.04.2012, 21:16
попробуй обновить сервер. у них баг был с большими запросами в InnoDB.

http://bugs.mysql.com/bug.php?id=46175
0
Надоела реклама? Зарегистрируйтесь и она исчезнет полностью.
raxper
Эксперт
30234 / 6612 / 1498
Регистрация: 28.12.2010
Сообщений: 21,154
Блог
24.04.2012, 21:16
Помогаю со студенческими работами здесь

[ILINK32 Error] Error: Unable to perform link
Всем привет! Пытаюсь скомпилировать проект, выбивает ошибку Error: Unable to perform link. Сам код: Unit1.cpp ...

Innodb MySQL 5.1
Добрый день, подскажите пожалуйста, как можно подключить Innodb на mysql 5.1 ? Утром мой сайт работал, но кто то поковырялся на нем...

Error: Unable to perform link
написал программу #include &lt;stdio.h&gt; #include &lt;stdlib.h&gt; #include &lt;conio.h&gt; #include &lt;iostream.h&gt; #include &lt;iomanip.h&gt; ...

Error: Unable to perform link
Здравствуйте, у меня такая вот проблема: компилировался удачно, без ошибок, но программа вылетала на строке: int index = 0; причем...

Error: Unable to perform link
Здравствуйте, форумчане. Вчера скачал купил Embarcadero RAD Studio XE8 Architect 22.0 19027.8951 x86 x64 Все поставилось, без ошибок,...


Искать еще темы с ответами

Или воспользуйтесь поиском по форуму:
2
Ответ Создать тему
Новые блоги и статьи
Ритм жизни
kumehtar 27.02.2026
Иногда приходится жить в ритме, где дел становится всё больше, а вовлечения в происходящее — всё меньше. Плотный график не даёт вниманию закрепиться ни на одном событии. Утро начинается с быстрых,. . .
SDL3 для Web (WebAssembly): Сборка библиотек SDL3 и Box2D из исходников с помощью CMake и Emscripten
8Observer8 27.02.2026
Недавно вышла версия SDL 3. 4. 2 библиотеки SDL3. На странице официальной релиза доступны исходники, готовые DLL (для x86, x64, arm64), а также библиотеки для разработки под Android, MinGW и Visual. . .
SDL3 для Web (WebAssembly): Реализация движения на Box2D v3 - трение и коллизии с повёрнутыми стенами
8Observer8 20.02.2026
Содержание блога Box2D позволяет легко создать главного героя, который не проходит сквозь стены и перемещается с заданным трением о препятствия, которые можно располагать под углом, как верхнее. . .
Конвертировать закладки radiotray-ng в m3u-плейлист
damix 19.02.2026
Это можно сделать скриптом для PowerShell. Использование . \СonvertRadiotrayToM3U. ps1 <path_to_bookmarks. json> Рядом с файлом bookmarks. json появится файл bookmarks. m3u с результатом. # Check if. . .
Семь CDC на одном интерфейсе: 5 U[S]ARTов, 1 CAN и 1 SSI
Eddy_Em 18.02.2026
Постепенно допиливаю свою "многоинтерфейсную плату". Выглядит вот так: https:/ / www. cyberforum. ru/ blog_attachment. php?attachmentid=11617&stc=1&d=1771445347 Основана на STM32F303RBT6. На борту пять. . .
Камера Toupcam IUA500KMA
Eddy_Em 12.02.2026
Т. к. у всяких "хикроботов" слишком уж мелкий пиксель, для подсмотра в ESPriF они вообще плохо годятся: уже 14 величину можно рассмотреть еле-еле лишь на экспозициях под 3 секунды (а то и больше),. . .
И ясному Солнцу
zbw 12.02.2026
И ясному Солнцу, и светлой Луне. В мире покоя нет и люди не могут жить в тишине. А жить им немного лет.
«Знание-Сила»
zbw 12.02.2026
«Знание-Сила» «Время-Деньги» «Деньги -Пуля»
КиберФорум - форум программистов, компьютерный форум, программирование
Powered by vBulletin
Copyright ©2000 - 2026, CyberForum.ru