Database production