postgresql的埠port
pg的埠port
[postgres@gp1 ~]$ pg_ctl start -o "-p 54321
postgres 11560 1 0 10:34 pts/0 00:00:00 /usr/local/pgsql/bin/postgres -p 54321
postgres 11561 11560 0 10:34 ? 00:00:00 postgres: logger process
postgres 11563 11560 0 10:34 ? 00:00:00 postgres: checkpointer process
postgres 11564 11560 0 10:34 ? 00:00:00 postgres: writer process
postgres 11565 11560 0 10:34 ? 00:00:00 postgres: wal writer process
postgres 11566 11560 0 10:34 ? 00:00:00 postgres: autovacuum launcher process
postgres 11567 11560 0 10:34 ? 00:00:00 postgres: stats collector process
[postgres@gp1 ~]$ pg_ctl -D /data/pgsql/data start -o "-p 54321"
postgres 11678 1 0 10:35 pts/0 00:00:00 /usr/local/pgsql/bin/postgres -D /data/pgsql/data -p 54321
postgres 11679 11678 0 10:35 ? 00:00:00 postgres: logger process
postgres 11681 11678 0 10:35 ? 00:00:00 postgres: checkpointer process
postgres 11682 11678 0 10:35 ? 00:00:00 postgres: writer process
postgres 11683 11678 0 10:35 ? 00:00:00 postgres: wal writer process
postgres 11684 11678 0 10:35 ? 00:00:00 postgres: autovacuum launcher process
postgres 11685 11678 0 10:35 ? 00:00:00 postgres: stats collector process
a. pg伺服器埠是可以有命令引數指定的,如上例;而postgresql.conf中port設定作為預設啟動的埠引數;
b. pg啟動時必須使用-D選項指定PGDATA目錄,也可以設定環境變數$PGDATA作為預設值;
c. postgres命令也可以啟動pg伺服器程式,如postgres -D /data/pgsql/data -p 5666,同時也可以指定port引數
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/16976507/viewspace-2133008/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- docker 修改port 埠Docker
- 修改linux telnet的埠portLinux
- TCP/UDP的埠Dynamic Port Range問題TCPUDP
- 埠偷竊(Port Stealing)技術
- EBS R12中更改埠 Web Listener Port (文件 ID 760590.1)Web
- VSFTP中預設的ftp port:21 以及ftp data port:20FTP
- php's portPHP
- find process by port
- nginx的port_in_redirect配置Nginx
- 我的postgresql資料庫報埠錯誤,連線失敗SQL資料庫
- URL port 屬性
- kubectl port-forwardForward
- kubectl port-forward 指令Forward
- 理解I/O Completion Port
- ip:port 正規表示式
- windows系統port監聽Windows
- The Tomcat connector configured to listen on port 80 failed to start. The port may already be inTomcatAI
- PostgreSQL-PostgreSQL中的public(九)SQL
- iOS Jailbreak Principles - Sock Port 漏洞解析(二)通過 Mach OOL Message 洩露 Port AddressiOSAIMac
- 【EM】通過portlist.ini檔案得到OEM Console HTTP Port和OEM Agent PortHTTP
- 實現埠對埠的聊天 (轉)
- DB2 Port (Network Security) RequirementsDB2UIREM
- 【bash】關於 /dev/(tcp|udp)/${HOST}/${PORT}devTCPUDP
- windows的139埠和445埠的區別Windows
- 【PostgreSQL 】PostgreSQL 15對distinct的優化SQL優化
- Postgresql 的CheckpointSQL
- PostgreSQl的MVCCSQLMVC
- 【MySQL】MySQL 5.6 引數之 extra_portMySql
- SSH Tunnel (port forwarding) 的一些應用(轉帖)Forward
- 修改TNSLSNR的埠
- POSTGRESQL postgresql 升級的需求來自哪裡SQL
- Dynamics CRM Connectivity and Firewall Port Requirements——CRM安裝UIREM
- kafka java.rmi.server.ExportException: Port already in useKafkaJavaServerExportException
- Caused by: java.lang.IllegalArgumentException: port out of range:-1JavaException
- ssh: connect to host localhost port 22: Connection refusedlocalhost
- How To modify listener port in oracle 11g GridOracle
- 伺服器80埠和443埠的區別伺服器
- 如何修改WampServer的Apache埠號和IIS的埠號ServerApache