IvorySQL/IvorySQL:README に基づく導入ガイド
README、メタデータ、ライセンスに基づく IvorySQL/IvorySQL の導入と確認ガイドです。
プロジェクトの範囲
IvorySQL/IvorySQL の README はプロジェクトを「Open Source Oracle Compatible PostgreSQL.」と説明しています。ここではリポジトリで確認できる事実だけを整理します。star 数やバッジは注目度の手掛かりであり、品質の証明ではありません。「README」には次の説明があります。IvorySQL is developed based on PostgreSQL. IvorySQL is advanced, fully featured, open-source Oracle-compatible PostgreSQL with a firm commitment to always remain 100% compatible and a drop-in replacement for the latest PostgreSQL.。これは範囲の説明であり、本番検証の結果ではありません。
向いている用途
README の「Developer Formatting hooks and CI:」にある内容から、用途が合うかを先に判断できます。The hook depends only on in-tree tools src/tools/pgindent and src/tools/pgbsdindent. On commit it formats staged C/C++ files with pgindent and re-adds them to the staged area.。目的が違うなら、人気だけで採用する理由にはなりません。プロジェクト名やコマンドは原文のまま残し、一次資料へ戻って用語を確認できるようにしています。 README には次の確認可能な項目もあります。A pre-commit formatting hook is provided at .githooks/pre-commit. Enable it with git config core.hooksPath .githooks, or run make code-format (equivalently bash tools/enable-git-hooks.sh).。初回テストの材料にはなりますが、実際の環境での確認を省略する理由にはなりません。
動作の考え方
動作の説明は「We are committed to following the principles of the open source way」など複数の箇所に分かれています。確認できる情報は次の通りです。We are committed to abiding by the principles of open-source ways and we strongly believe in building a healthy and inclusive community. We maintain that good ideas can come from anywhere, and the best ideas should win.。書かれていない構成、性能、セキュリティを推測で補いません。導入時はディレクトリ、設定ファイル、release 履歴を確認してください。
インストールと初回起動
初回導入は README の入口から始めます。確認できるコマンドは次の通りです。 # Start the development containers docker compose up -d # Enter the development container docker compose exec dev bash # Configure and build IvorySQL ./configure --prefix=/home/ivorysql/ivorysql \ --enable-debug --enable-cassert \ --with-uuid=e2fs --with-libxml make -j$(nproc) make install # Initialize database in Oracle mode initdb -D data_ora -m oracle # Start the server pg_ctl -D data_ora start # Run tests make oracle-check 実行可能なコマンドがない場合は手順を作らず、「Installation」で依存関係、待受ポート、初回設定を確認します。