I need to store about 500 000 key=>value pairs at server. I see two ways to store them in Berkeley DB or directly in php array. Could you tell me which way is better?