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