← Phòng luyện tậpOnline Testing · 20 câu
PostgreSQL schema, ràng buộc và migration
20 câu về mô hình dữ liệu, foreign key, generated columns, JSONB và thay đổi schema khi hệ thống đang hoạt động.
Nội dung luyện tập
- identify referential integrity guarantees
- choose exact decimal representation
- distinguish omitted column from explicit null
- separate json value from original byte representation
- apply composite foreign key null matching
- reason about cascade delete scope
- separate generated identity from uniqueness
- understand stored generated column updates
- interpret jsonb duplicate key normalization
- apply numeric scale before range check
- distinguish unvalidated history from enforced new writes
- use deferrable referential checks with final validation
- evaluate indexes on referencing columns
- avoid cross row invariants hidden in check functions
- understand uniqueness limits across partitions
- distinguish metadata default from volatile rewrite
- make backfill resumable with write precedence
- plan schema transition for mixed application versions
- separate binary rollback from destructive data migration
- model instant separately from original time zone
Mỗi câu đúng 1 điểm. Mục tiêu 70%. Đáp án và giải thích mở sau khi nộp bài.