Этот баннер — требование Роскомнадзора для исполнения 152 ФЗ.
«На сайте осуществляется обработка файлов cookie, необходимых для работы сайта, а также для анализа использования сайта и улучшения предоставляемых сервисов с использованием метрической программы Яндекс.Метрика. Продолжая использовать сайт, вы даёте согласие с использованием данных технологий».
Политика конфиденциальности
|
|
|
Ошибка при запросе!
|
|||
|---|---|---|---|
|
#18+
Есть база на постгресе 7.0.3 кажеться, в ней есть одна таблица размером почти 700М. Так вот при попытке выборки из данной таблицы обычным селектом происходит такое: Error: The backend has broken the connection. Possibly the action you have attempted has caused it to close. Из других таблиц выбирается нормально. Возможно это изза размера таблицы (остальные существенно меньше) Структуру таблицы узнать не удается - все нормальные визуальные редакторы (пгаадмин3, емс) к такому старому серваку не хотять конектиться, а те которые конектятся позволяют увидеть разве что список таблиц и сделать запрос ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 30.05.2007, 10:58 |
|
||
|
Ошибка при запросе!
|
|||
|---|---|---|---|
|
#18+
700М - это, наверное, не слишком большой размер. Похоже все дело в клиенте. Попробуй своего написать. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 30.05.2007, 11:20 |
|
||
|
Ошибка при запросе!
|
|||
|---|---|---|---|
|
#18+
to jaga: такую ошибку выдают разные клиенты. Для своего клиента мне нужны или делфевые компоненты или одибисишный драйвер - ничего из этого не посоветуеш? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 30.05.2007, 11:29 |
|
||
|
Ошибка при запросе!
|
|||
|---|---|---|---|
|
#18+
Kylt Структуру таблицы узнать не удается - все нормальные визуальные редакторы (пгаадмин3, емс) к такому старому серваку не хотять конектиться, а те которые конектятся позволяют увидеть разве что список таблиц и сделать запрос А psql коннектится? Выбирает? А что в логах сервака? ЗЫ Может можно версию поднять? А то совсем древняя... ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 30.05.2007, 11:48 |
|
||
|
Ошибка при запросе!
|
|||
|---|---|---|---|
|
#18+
KyltЕсть база на постгресе 7.0.3 ... Структуру таблицы узнать не удается - все нормальные визуальные редакторы (пгаадмин3, емс) к такому старому серваку не хотять конектиться, а те которые конектятся позволяют увидеть разве что список таблиц и сделать запрос Попробуйте определить структуру таблицы: Код: plaintext 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. SQL отрабатывает на 7.3 (7.0.3 не имеем). Не забудьте заменить 'your_table_name_here'. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 30.05.2007, 11:54 |
|
||
|
Ошибка при запросе!
|
|||
|---|---|---|---|
|
#18+
авторДля своего клиента мне нужны или делфевые компоненты или одибисишный драйвер - ничего из этого не посоветуеш? ZeosDBO мне больше нравится. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 30.05.2007, 11:54 |
|
||
|
Ошибка при запросе!
|
|||
|---|---|---|---|
|
#18+
to Andrey Daeron: вот такое выдает на мой запрос: 070530.10:22:33.029 [3539] StartTransactionCommand 070530.10:22:33.029 [3539] query: SELECT count(*) FROM (select * from таблица) AS foo; 070530.10:22:33.029 [3539] ERROR: parser: parse error at or near "select" 070530.10:22:33.029 [3539] AbortCurrentTransaction 070530.10:22:41.613 [3539] StartTransactionCommand 070530.10:22:41.613 [3539] query: select * from таблица 070530.10:22:41.665 [3539] ProcessQuery Server process (pid 3539) exited with status 139 at Wed May 30 10:22:45 2007 Terminating any active server processes... 070530.10:22:45.158 [3373] NOTICE: Message from PostgreSQL backend: The Postmaster has informed me that some other backend died abnormally and possibly corrupted shared memory. I have rolled back the current transaction and am going to terminate your database system connection and exit. Please reconnect to the database system and repeat your query. 070530.10:22:45.159 [3384] NOTICE: Message from PostgreSQL backend: The Postmaster has informed me that some other backend died abnormally and possibly corrupted shared memory. I have rolled back the current transaction and am going to terminate your database system connection and exit. Please reconnect to the database system and repeat your query. 070530.10:22:45.160 [3416] NOTICE: Message from PostgreSQL backend: The Postmaster has informed me that some other backend died abnormally and possibly corrupted shared memory. I have rolled back the current transaction and am going to terminate your database system connection and exit. Please reconnect to the database system and repeat your query. 070530.10:22:45.160 [3418] NOTICE: Message from PostgreSQL backend: The Postmaster has informed me that some other backend died abnormally and possibly corrupted shared memory. I have rolled back the current transaction and am going to terminate your database system connection and exit. Please reconnect to the database system and repeat your query. 070530.10:22:45.162 [3419] NOTICE: Message from PostgreSQL backend: The Postmaster has informed me that some other backend died abnormally and possibly corrupted shared memory. I have rolled back the current transaction and am going to terminate your database system connection and exit. Please reconnect to the database system and repeat your query. 070530.10:22:45.162 [3538] NOTICE: Message from PostgreSQL backend: The Postmaster has informed me that some other backend died abnormally and possibly corrupted shared memory. I have rolled back the current transaction and am going to terminate your database system connection and exit. Please reconnect to the database system and repeat your query. 070530.10:22:45.173 [3373] NOTICE: Message from PostgreSQL backend: The Postmaster has informed me that some other backend died abnormally and possibly corrupted shared memory. I have rolled back the current transaction and am going to terminate your database system connection and exit. Please reconnect to the database system and repeat your query. 070530.10:22:45.198 [3375] NOTICE: Message from PostgreSQL backend: The Postmaster has informed me that some other backend died abnormally and possibly corrupted shared memory. I have rolled back the current transaction and am going to terminate your database system connection and exit. Please reconnect to the database system and repeat your query. 070530.10:22:45.228 [3416] NOTICE: Message from PostgreSQL backend: The Postmaster has informed me that some other backend died abnormally and possibly corrupted shared memory. I have rolled back the current transaction and am going to terminate your database system connection and exit. Please reconnect to the database system and repeat your query. 070530.10:22:45.234 [3419] NOTICE: Message from PostgreSQL backend: The Postmaster has informed me that some other backend died abnormally and possibly corrupted shared memory. I have rolled back the current transaction and am going to terminate your database system connection and exit. Please reconnect to the database system and repeat your query. 070530.10:22:45.252 [3383] NOTICE: Message from PostgreSQL backend: The Postmaster has informed me that some other backend died abnormally and possibly corrupted shared memory. I have rolled back the current transaction and am going to terminate your database system connection and exit. Please reconnect to the database system and repeat your query. 070530.10:22:45.254 [3382] NOTICE: Message from PostgreSQL backend: The Postmaster has informed me that some other backend died abnormally and possibly corrupted shared memory. I have rolled back the current transaction and am going to terminate your database system connection and exit. Please reconnect to the database system and repeat your query. 070530.10:22:45.316 [3373] NOTICE: Message from PostgreSQL backend: The Postmaster has informed me that some other backend died abnormally and possibly corrupted shared memory. I have rolled back the current transaction and am going to terminate your database system connection and exit. Please reconnect to the database system and repeat your query. 070530.10:22:45.347 [3419] NOTICE: Message from PostgreSQL backend: The Postmaster has informed me that some other backend died abnormally and possibly corrupted shared memory. I have rolled back the current transaction and am going to terminate your database system connection and exit. Please reconnect to the database system and repeat your query. 070530.10:22:45.355 [3382] NOTICE: Message from PostgreSQL backend: The Postmaster has informed me that some other backend died abnormally and possibly corrupted shared memory. I have rolled back the current transaction and am going to terminate your database system connection and exit. Please reconnect to the database system and repeat your query. 070530.10:22:45.356 [3378] NOTICE: Message from PostgreSQL backend: The Postmaster has informed me that some other backend died abnormally and possibly corrupted shared memory. I have rolled back the current transaction and am going to terminate your database system connection and exit. Please reconnect to the database system and repeat your query. 070530.10:22:45.366 [3377] NOTICE: Message from PostgreSQL backend: The Postmaster has informed me that some other backend died abnormally and possibly corrupted shared memory. I have rolled back the current transaction and am going to terminate your database system connection and exit. Please reconnect to the database system and repeat your query. 070530.10:22:45.385 [3381] NOTICE: Message from PostgreSQL backend: The Postmaster has informed me that some other backend died abnormally and possibly corrupted shared memory. I have rolled back the current transaction and am going to terminate your database system connection and exit. Please reconnect to the database system and repeat your query. 070530.10:22:45.387 [3382] NOTICE: Message from PostgreSQL backend: The Postmaster has informed me that some other backend died abnormally and possibly corrupted shared memory. I have rolled back the current transaction and am going to terminate your database system connection and exit. Please reconnect to the database system and repeat your query. 070530.10:22:45.407 [3414] NOTICE: Message from PostgreSQL backend: The Postmaster has informed me that some other backend died abnormally and possibly corrupted shared memory. I have rolled back the current transaction and am going to terminate your database system connection and exit. Please reconnect to the database system and repeat your query. 070530.10:22:45.418 [3397] NOTICE: Message from PostgreSQL backend: The Postmaster has informed me that some other backend died abnormally and possibly corrupted shared memory. I have rolled back the current transaction and am going to terminate your database system connection and exit. Please reconnect to the database system and repeat your query. 070530.10:22:45.430 [3376] NOTICE: Message from PostgreSQL backend: The Postmaster has informed me that some other backend died abnormally and possibly corrupted shared memory. I have rolled back the current transaction and am going to terminate your database system connection and exit. Please reconnect to the database system and repeat your query. 070530.10:22:45.434 [3378] NOTICE: Message from PostgreSQL backend: The Postmaster has informed me that some other backend died abnormally and possibly corrupted shared memory. I have rolled back the current transaction and am going to terminate your database system connection and exit. Please reconnect to the database system and repeat your query. 070530.10:22:45.438 [3379] NOTICE: Message from PostgreSQL backend: The Postmaster has informed me that some other backend died abnormally and possibly corrupted shared memory. I have rolled back the current transaction and am going to terminate your database system connection and exit. Please reconnect to the database system and repeat your query. 070530.10:22:45.451 [3381] NOTICE: Message from PostgreSQL backend: The Postmaster has informed me that some other backend died abnormally and possibly corrupted shared memory. I have rolled back the current transaction and am going to terminate your database system connection and exit. Please reconnect to the database system and repeat your query. 070530.10:22:45.465 [3380] NOTICE: Message from PostgreSQL backend: The Postmaster has informed me that some other backend died abnormally and possibly corrupted shared memory. I have rolled back the current transaction and am going to terminate your database system connection and exit. Please reconnect to the database system and repeat your query. 070530.10:22:45.476 [3414] NOTICE: Message from PostgreSQL backend: The Postmaster has informed me that some other backend died abnormally and possibly corrupted shared memory. I have rolled back the current transaction and am going to terminate your database system connection and exit. Please reconnect to the database system and repeat your query. 070530.10:22:45.486 [3397] NOTICE: Message from PostgreSQL backend: The Postmaster has informed me that some other backend died abnormally and possibly corrupted shared memory. I have rolled back the current transaction and am going to terminate your database system connection and exit. Please reconnect to the database system and repeat your query. 070530.10:22:45.498 [3376] NOTICE: Message from PostgreSQL backend: 070530.10:22:45.498 [3376] NOTICE: Message from PostgreSQL backend: The Postmaster has informed me that some other backend died abnormally and possibly corrupted shared memory. I have rolled back the current transaction and am going to terminate your database system connection and exit. Please reconnect to the database system and repeat your query. 070530.10:22:45.501 [3378] NOTICE: Message from PostgreSQL backend: The Postmaster has informed me that some other backend died abnormally and possibly corrupted shared memory. I have rolled back the current transaction and am going to terminate your database system connection and exit. Please reconnect to the database system and repeat your query. 070530.10:22:45.508 [3381] NOTICE: Message from PostgreSQL backend: The Postmaster has informed me that some other backend died abnormally and possibly corrupted shared memory. I have rolled back the current transaction and am going to terminate your database system connection and exit. Please reconnect to the database system and repeat your query. 070530.10:22:45.521 [3380] NOTICE: Message from PostgreSQL backend: The Postmaster has informed me that some other backend died abnormally and possibly corrupted shared memory. I have rolled back the current transaction and am going to terminate your database system connection and exit. Please reconnect to the database system and repeat your query. 070530.10:22:45.536 [3414] NOTICE: Message from PostgreSQL backend: The Postmaster has informed me that some other backend died abnormally and possibly corrupted shared memory. I have rolled back the current transaction and am going to terminate your database system connection and exit. Please reconnect to the database system and repeat your query. 070530.10:22:45.544 [3376] NOTICE: Message from PostgreSQL backend: The Postmaster has informed me that some other backend died abnormally and possibly corrupted shared memory. I have rolled back the current transaction and am going to terminate your database system connection and exit. Please reconnect to the database system and repeat your query. 070530.10:22:45.556 [3380] NOTICE: Message from PostgreSQL backend: The Postmaster has informed me that some other backend died abnormally and possibly corrupted shared memory. I have rolled back the current transaction and am going to terminate your database system connection and exit. Please reconnect to the database system and repeat your query. Server processes were terminated at Wed May 30 10:22:45 2007 Reinitializing shared memory and semaphores 070530.10:22:45.617 [3540] DEBUG: Data Base System is starting up at Wed May 30 10:22:45 2007 070530.10:22:45.617 [3540] DEBUG: Data Base System was interrupted being in production at Wed May 30 09:21:16 2007 The Data Base System is starting up The Data Base System is starting up ... зы: надо было взять в какието теги это безобразие, но я не знаю в какие Опыта работы с psql не имееться, а нормального мануала я не нашел to Thamerlan: щас попробую ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 30.05.2007, 12:13 |
|
||
|
Ошибка при запросе!
|
|||
|---|---|---|---|
|
#18+
to Thamerlan: нет не работает - выпадает с тойже ошибкой, а в логах вообще ничего не нашел ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 30.05.2007, 12:25 |
|
||
|
Ошибка при запросе!
|
|||
|---|---|---|---|
|
#18+
Kyltto Andrey Daeron: вот такое выдает на мой запрос: Код: plaintext 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. А в логах точно ничего нет? Т.е. вообще ничего? ИМХО дохнет серверный процесс, из-за каких-то проблем. Эти проблемы он должен (по идее) писать в лог. Я так подозреваю, что какой-то из файлов умер :( На всякий случай - сделайте бекап данных (pg_dump) и попробуйте скопировать в другое место файлы БД. Возможно имеет место бед-кластер на винте. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 30.05.2007, 12:29 |
|
||
|
Ошибка при запросе!
|
|||
|---|---|---|---|
|
#18+
to Andrey Daeron: ну этот кусок текста, что выше, я из лога и выдрал. Может гдето есть еще какойто лог но я его просто не нашел (опыта работы с постгресом и линухом маловато очень) Где можно почитать на тему pg_dump? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 30.05.2007, 12:39 |
|
||
|
Ошибка при запросе!
|
|||
|---|---|---|---|
|
#18+
Kyltto Andrey Daeron: ну этот кусок текста, что выше, я из лога и выдрал. Может гдето есть еще какойто лог но я его просто не нашел (опыта работы с постгресом и линухом маловато очень) Где можно почитать на тему pg_dump? Ну, че-то я так и подумал. Просто не сошлось с тем что в логах ничего нет. почитать :) 7.0 - уже совсем давно было. Дай Бог будет дамп, тогда все не таку ж для данных и плохо, если и он умрет - совсем плохо. ЗЫ Еще бы поверзность диска проверить на наличие нехороших вещей из серии бедов. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 30.05.2007, 13:01 |
|
||
|
Ошибка при запросе!
|
|||
|---|---|---|---|
|
#18+
Попробуйте запустить VACUUM FULL. Он "потрогает" все блоки данных и если будут битые области, то в логах будут соответствующие сообщения. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 30.05.2007, 13:28 |
|
||
|
Ошибка при запросе!
|
|||
|---|---|---|---|
|
#18+
ThamerlanПопробуйте запустить VACUUM FULL. Он "потрогает" все блоки данных и если будут битые области, то в логах будут соответствующие сообщения. VACUUM FULL kak raz delat' ne nado, esli vy ne hotite rasproshatsia so svoimi dannymi... Snachala sdelaite pg_dump, a potom mojno experimentirovat' s VACUUM FULL. Ia by daje snachala sdelal tselikom kopiu directorii pg_data . ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 30.05.2007, 15:29 |
|
||
|
Ошибка при запросе!
|
|||
|---|---|---|---|
|
#18+
ThamerlanПопробуйте запустить VACUUM FULL. Он "потрогает" все блоки данных и если будут битые области, то в логах будут соответствующие сообщения. Абсолютно согласен с СергейК . Попробовать можно но ТОЛЬКО ПОСЛЕ БЕКАПА pg_dump + копия директории с данніми (в одном из предыдущих постов я это уже написл) при этом заодно и гораздо более "мягко" потрогаются физические сектора. В принципе PG весьма стабильный по части данных, и зачастую (ИМХО около 99%) проблемы такого характера - сбой железа. Ну и есть 1% "везунчиков". ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 30.05.2007, 17:40 |
|
||
|
|

start [/forum/topic.php?fid=53&gotonew=1&tid=2005399]: |
0ms |
get settings: |
5ms |
get forum list: |
13ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
42ms |
get topic data: |
8ms |
get first new msg: |
4ms |
get forum data: |
2ms |
get page messages: |
42ms |
get tp. blocked users: |
1ms |
| others: | 210ms |
| total: | 331ms |

| 0 / 0 |
