Database guides
Database guides
Tooling
- explain.depesz.com或用于可视化的输出
- pgFormatter PostgreSQL SQL 语法美化器
- 用于 SQL 查询的SQL 准则
- 用于创建安全的 SQL 迁移的
- Testing Rails migrations guide
- Background migrations
- Deleting migrations
Debugging
- 使用带有Marginalia 的查询注释来跟踪 SQL 查询的源
- 使用在 Rails 控制台中跟踪 SQL 查询的源
- Adding database indexes
- Adding a foreign key constraint to an existing column
- Single table inheritance
- Serializing data
- Storing SHA1 hashes as binary
- Insert into tables in batches
- Verifying database capabilities
- Query Count Limits