postgresql平常運維

1.啓停 postgres –D $PGDATA start pg_ctl -D $PGDATA start 三種關機模式: pg_ctl –D $PGDATA stop -m smart 不容許新鏈接,等待會話結束 pg_ctl –D $PGDATA stop –m fast 不容許新鏈接,等待子進程退出,終止備份 pg_ctl –D $PGDATA stop –m immediate
相關文章
相關標籤/搜索