cache connection.attr
compact with shelve module generate "dat, dir, bak" three posfix files