Tuntworks database cookbook