Improved db access speed