Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

参数——数量

  • 允许客户端连接的最大数目(必改)

    show max_connections;
    

    默认值 100

  • 允许并发磁盘 I/O 的数量

    show effective_io_concurrency;
    

    默认值 1

    • 范围在0-1000
      • 0代表禁用异步I/O
    • 加大为200后,单个pgsql会话将能并行发起更多的I/O