Besides the previous performance tips and tricks, there are some that apply only to databases and some that apply only to specific formats of database. Most are also either for reading or writing (not both).