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
 * ...make queries against production (for testing or understanding)
 * ...debug
 * ...improve performance