tweet:2020:1215_01
差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
| tweet:2020:1215_01 [2022/06/08 01:52] – [Binary PackageのInstall] seirios | tweet:2020:1215_01 [2023/07/28 19:48] (現在) – [PostgreSQLに関する設定] seirios | ||
|---|---|---|---|
| 行 35: | 行 35: | ||
| </ | </ | ||
| * < | * < | ||
| - | # pkg install php80-extensions php80-zip php80-mbstring php80-gd php80-curl | + | # pkg install php80-extensions php80-zip php80-mbstring php80-gd php80-curl php80-fileinfo php80-bz2 php80-intl php80-bcmath php80-ftp php80-gmp php80-exif php80-pecl-memcache php80-pecl-memcached php80-pecl-imagick-im7 php80-pecl-APCu |
| </ | </ | ||
| * 次に、PGSQLおよび格納ファイル用のzpoolを作成する | * 次に、PGSQLおよび格納ファイル用のzpoolを作成する | ||
| 行 66: | 行 66: | ||
| postgresql_enable=YES | postgresql_enable=YES | ||
| postgresql_class=postgres | postgresql_class=postgres | ||
| - | postgresql_data=/ | + | postgresql_data=/ |
| </ | </ | ||
| * PostgreSQLの初期化を行う | * PostgreSQLの初期化を行う | ||
| 行 90: | 行 90: | ||
| postgres=# \q | postgres=# \q | ||
| </ | </ | ||
| - | * PostgreSQLのCleanup(Vacuum)とIndex作成を自動で行うようにする | + | * <del>PostgreSQLのCleanup(Vacuum)とIndex作成を自動で行うようにする</ |
| + | * Vacuumは自動で実施される。Vacuumのタイミングを制御したい場合以外は入れる必要はない | ||
| + | * reindexは壊れた時にのみ行えば良いものなので、cronで定期実行するのは害が大きい模様(壊れるわけではないが、無駄に負荷をかける) | ||
| + | * reindexによってメモリキャッシュが消えてしまい、indexを再度読み込む負荷がかかる可能性が高い | ||
| * < | * < | ||
| # mkdir -p / | # mkdir -p / | ||
tweet/2020/1215_01.1654620772.txt.gz · 最終更新: by seirios
