User:ASarabadani (WMF)/Database for developers toolkit

Heavily under construction

Concepts

 * Normalization
 * Abstract schema and schema changes

Policies

 * MediaWiki database policy
 * Manual:Coding conventions/Database

How-to

 * Write code accessing database
 * Write a schema change patch
 * Note: Once schema change is merged, it won't be automatically applied to WMF production. See Schema changes on how to make it happen.
 * Handing database transaction and other advanced issues such as handling replication lag
 * Debug
 * Improve performance