[PostgreSQL] kill 하면 DB Down 발생하는 프로세스

    DB 이중화 및 가용성 테스트 시 특정 프로세스를 kill 하여 진행하는 경우 가 대부분일 것입니다.
    강제종료 시 DB Down 이 발생하는 프로세스를 정리했습니다.


    
    [postgres@svr1 ~]$ ps -ef | grep postgre
    postgres	6877   	1  0 20:50 ?    	00:00:00 /usr/pgsql-14/bin/postgres  -- DB내려감
    postgres	6878	6877  0 20:50 ?    	00:00:00 postgres: logger -- 프로세스 재기동됨
    postgres	6880	6877  0 20:50 ?    	00:00:00 postgres: checkpointer -- DB재기동됨
    postgres	6881	6877  0 20:50 ?    	00:00:00 postgres: background writer  -- DB재기동됨
    postgres	6882	6877  0 20:50 ?    	00:00:00 postgres: walwriter  -- DB재기동됨
    postgres	6883	6877  0 20:50 ?    	00:00:00 postgres: autovacuum launcher  -- DB재기동됨
    postgres	6884	6877  0 20:50 ?    	00:00:00 postgres: stats collector  -- 프로세스 재기동됨
    postgres	6885	6877  0 20:50 ?    	00:00:00 postgres: logical replication launcher    -- DB재기동됨
    
    
    
    

    댓글