SQL Antipatterns ch9 Metadata Tribbles (WIP)
- Metadata Tribbles
- Objective: Support Scalability
- Antipattern: Clone Tables or Columns
- How to Recognize the Antipattern
- Legitimate Uses of the Antipattern
- Solution: Partition and Normalize
Metadata Tribbles
Don't let data spawn metadata.
- 顧客エンティティに収益カラムを毎年追加するようなケース
- 毎年毎年時間とお金を浪費することに
- DBAを交えて何度もミーティングを開き
- 表空間の再構築のためにデータ移行のスケジュールを作成し
- カラムを追加する
Objective: Support Scalability
- DBはデータ容量が増えるとパフォーマンスが劣化する
- 行数減らす