powered by simpleCommunicator - 2.0.59     © 2026 Programmizd 02
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Форумы / Informix [игнор отключен] [закрыт для гостей] / 271 ошибка
5 сообщений из 5, страница 1 из 1
271 ошибка
    #34227916
Фотография aist-psk
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Добрый день !
Уважаемые знатоки , подскажите в чём могут быть грабли.
informix 7.30.UC10 под Linux RH ядро 2.4 , чанки по 2 гб
есть большая таблица около 18 млн записий, туда идут insert порциями примерно по 100 записий , так же эта таблица меняется на updatе и delete . С некоторого момента времени команда insert перестаёт работать и выкидывает ошибку
===========================================
-271 Could not insert new row into the table.

This problem has many possible causes, including a locked table or a
full disk. Check the accompanying ISAM error code for more
information.
==========================================
при этом свободного места в базе полно , помогает следующее : выгружаем таблицу , удаляем таблицу , создаём заново и загружаем данные , после чего всё начинает работать .

кто-нибудь сталкивался с такой проблемой ?

С Уважением , Александр.
...
Рейтинг: 0 / 0
271 ошибка
    #34227981
Фотография Журавлев Денис
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
aist-psk
This problem has many possible causes, including a locked table or a
full disk. Check the accompanying ISAM error code for more
information.
...
Рейтинг: 0 / 0
271 ошибка
    #34228131
vasilis
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Анализировали ли вариант превышения количества экстентов в таблице ?
В принципе, там должна появляться другая ошибка, но по симптомам очень похоже.
Исправляется это достаточно легко - изменить next size на крупное значение, чтобы экстенты выделялись большими порциями, например по 500М.
Код: plaintext
alter table <имя таблицы> modify next size <размер в Кб>
...
Рейтинг: 0 / 0
271 ошибка
    #34228134
onstat-
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
aist-pskДобрый день !
Уважаемые знатоки , подскажите в чём могут быть грабли.
informix 7.30.UC10 под Linux RH ядро 2.4 , чанки по 2 гб
есть большая таблица около 18 млн записий, туда идут insert порциями примерно по 100 записий , так же эта таблица меняется на updatе и delete . С некоторого момента времени команда insert перестаёт работать и выкидывает ошибку

С Уважением , Александр.

Записей случайно не 17 777 215 ?
ISAM ощибку в студию.
...
Рейтинг: 0 / 0
271 ошибка
    #34228319
Ilya Kulagin
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
aist-pskесть большая таблица около 18 млн записий, туда идут insert порциями примерно по 100 записий

очень похоже на ISAM Error -136:
------------
ISAM error: no more extents.

The database server needs to add an extent to a table but cannot do so. Either not enough disk space is available in the dbspace, or the table has been given the maximum number of extents that is allowed. The database server administrator can determine the cause as follows:
1. Determine the tblspace number for the table. It is the value in the partnum column of the systables table for this table.
2. Convert the tblspace number to hexadecimal and extract its most-significant 2 digits (the high-order byte). This chunk number indicates where the table resides.
3. Use the tbstat or onstat utility -t option to find out disk usage for this table. Note particularly the values reported for npages (disk pages available), nused (disk pages used), and nextns (number of extents).
If nused is less than npages, and nextns is large (over 200), the table has too many extents. The upper limit of extents per table is between 200 and 50. The limit varies with the table definition and the disk-page size in use. Reallocate the table using fewer, larger extents. Unload the table data to a flat file. Drop the table. Re-create the table, specifying a first-extent size sufficient to hold all its current data and a next-extent size between one-fourth and one-sixteenth its current size. Then reload the data into the table.
If nextns is small or the difference between npages and nused is less than the size of the next-extent size for the table, not enough disk space is available in the dbspace where the table resides. Use the chunk number from step 2 and the ON-Monitor or ON-Monitor Chunks display to determine the dbspace, then add a new chunk to that dbspace.
---------------

Но, вообще-то, нужно именно see corresponding ISAM error, например при выполнении такой же операции в dbaccess, если уж самоделки его (error code) от Вас прячут.
...
Рейтинг: 0 / 0
5 сообщений из 5, страница 1 из 1
Форумы / Informix [игнор отключен] [закрыт для гостей] / 271 ошибка
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]