Database Index - CI/CD用語集の定義
database indexは補助的なデータ構造(通常はB-tree)で、テーブル全体をスキャンせずに列で行を見つけられるようにします。追加のストレージと書き込みの遅さと引き換えに、読み取りを高速化します。
CI/CDにおいて
indexの作成は大きなテーブルを長時間ロックすることがあります。Postgresは書き込みをブロックせずに構築できるCREATE INDEX CONCURRENTLYを提供しており、これがゼロダウンタイムのマイグレーションでの安全な選択肢です。
関連ガイド
Primary Key - CI/CD Glossary DefinitionPrimary Key: A primary key is the column (or set of columns) that uniquely identifies each row in a table. It…
Foreign Key - CI/CD Glossary DefinitionForeign Key: A foreign key is a column that references the primary key of another table, enforcing that the r…
Online Schema Change - CI/CD Glossary DefinitionOnline Schema Change: An online schema change alters a large table without blocking reads and writes, typical…