| 両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | 
| linux:postgresql [2019/05/07 13:54]  – [バックアップ/リストア]  ともやん | linux:postgresql [2024/10/03 10:56] (現在)  – [参考文献]  ともやん | 
|---|
| # /etc/rc.d/init.d/postgresql start    <- サービス開始 | # /etc/rc.d/init.d/postgresql start    <- サービス開始 | 
| </code> | </code> | 
|  |  | 
|  | ===== パッケージ更新後のデータベースアップグレード ===== | 
|  | <WRAP color_term> | 
|  | <WRAP color_command><html><pre> | 
|  | <span style="color:#FF8700"><b>$</b></span> <span style="color:#26A269"><u style="text-decoration-style:single">sudo</u></span> <span style="color:#26A269">postgresql-setup</span> <span style="color:#A347BA">--upgrade</span> | 
|  | </pre></html></WRAP> | 
|  | <WRAP color_result><html><pre> | 
|  | * Upgrading database. | 
|  | * Upgraded OK. | 
|  | WARNING: The configuration files were replaced by default configuration. | 
|  | WARNING: The previous configuration and data are stored in folder | 
|  | WARNING: /var/lib/pgsql/data-old. | 
|  | WARNING: If you've just upgraded your database from a previous major version of | 
|  | Fedora or RHEL, please run reindexdb against your databases.  Core library | 
|  | collation data may have changed and this will invalidate database indexes.  For | 
|  | example, in Fedora 28 and RHEL 8 there have been extensive changes in glibc | 
|  | collations to support ISO 14651:2016 (Unicode 9.0.0 data) and your indexes may | 
|  | be affected: https://sourceware.org/ml/libc-announce/2018/msg00002.html | 
|  | * See /var/lib/pgsql/upgrade_postgresql.log for details. | 
|  | </pre></html></WRAP> | 
|  | </WRAP> | 
|  |  | 
| ===== RedHatにおけるpostgresql.confの場所 ===== | ===== RedHatにおけるpostgresql.confの場所 ===== | 
| [[http://www.postgresql.jp/document/pg721doc/reference/index.html|PostgreSQL 7.2.3 リファレンスマニュアル]]\\ | [[http://www.postgresql.jp/document/pg721doc/reference/index.html|PostgreSQL 7.2.3 リファレンスマニュアル]]\\ | 
| [[http://blog.asial.co.jp/418|PostgreSQLの手軽なSQLチューニング]]\\ | [[http://blog.asial.co.jp/418|PostgreSQLの手軽なSQLチューニング]]\\ | 
| [[http://d.hatena.ne.jp/factory-g/20111212/1323673911|PostgreSQL9.1 インスコできない やっぱお前か 編 - 日常茶飯事]]\\ |  | 
| [[http://www.postgresql.jp/document/8.4/html/reference-client.html|PostgreSQLクライアントアプリケーション]]\\ | [[http://www.postgresql.jp/document/8.4/html/reference-client.html|PostgreSQLクライアントアプリケーション]]\\ | 
|  |  | 
|  | [[https://www.postgresql.jp/document/8.0/html/geqo-pg-intro.html|PostgreSQLの遺伝的問い合わせ最適化(GEQO)]]\\ | 
|  | [[https://www.sraoss.co.jp/tech-blog/db-special-lecture/masunaga-db-special-lecture-10/|増永教授のDB特論⑩「GEQO」]]\\ | 
|  |  |