su - postgres
로 DBA 로 로그인 한 다음에 vacuumdb trade 를 실행시켜 보시기 바랍니다. 대부분의 경우 이것으로 수정이 되지만 만약 이것으로도 수정이 되지 않는 에러라면 좀 머리가 아플 것 같군요. 현재 보기에 원인은 테이블 자체의 crashing 같습니다.
-- 민일홍 님이 쓰신 글:
>> 조회가 않됩니다
>> 이유를 잘모르겠습니다
>> 아래에 에러메시지를 올립니다.
>> 고수님들의 도움을 부탁드립니다.
>>
>> [root@mail /root]# psql trade
>> Welcome to the POSTGRESQL interactive sql monitor:
>> Please read the file COPYRIGHT for copyright terms of POSTGRESQL
>> type \? for help on slash commands
>> type \q to quit
>> type \g or terminate with semicolon to execute query
>> You are currently connected to the database: trade
>>
>> trade=> select count(*) from buyersinfo where regdate >= '2001/08/27';
>> NOTICE: AbortTransaction and not in in-progress state
>> NOTICE: AbortTransaction and not in in-progress state
>> trade=> delete from buyersinfo where regdate <= '2000/01/01';
>> pqReadData() -- backend closed the channel unexpectedly.
>> This probably means the backend terminated abnormally before or while processing the request.
>> We have lost the connection to the backend, so further processing is impossible. Terminating.
>> [root@mail /root]#
>>
>> 그럼 좋은하루되십시요.
|