Im new to OSM and I am programming a java SaxParser for entering nodes, ways etc from a osm file in a database.
I found the Database structures on the OSM Wiki http://wiki.openstreetmap.org/index.php/Database_schema but I dont understand in which database the Relations are stored (nodes, ways, segments have their own databases but relations and members dont).
Can someone tell me where do I find the osm database structure for Relations and Members Information to store in?
I don’t know what you’re planning to do with that database, but maybe you’re solution is already created by means of Osmosis. Osmosis can populate a MySQL or PostgreSQL database using it’s own database scheme. It can apply planet change files and much more.
Your database schema should be influenced by what you want to do with the data. If you don’t want to do the same things the api server does its schema may not be appropriate for your application.