ejabberd - Comments for "serving numbers of virtual domains" https://www.ejabberd.im/node/3804 en With Mnesia don't worry about DB https://www.ejabberd.im/node/3804#comment-55072 <div class="quote-msg"> <div class="quote-author">Quote:</div> <p>We would need to serve several virtual domains, but each with only few accounts. </p></div> <p>Serving serveral vhosts with ejabberd isn't a problem, as long as you don't mean thousands of vhosts :)</p> <div class="quote-msg"> <div class="quote-author">Quote:</div> <p>All I found here in the forum is that I would need one database for each (virtual) domain.<br /> Is that correct so far or </p></div> <p>ejabberd uses by default the internal database Mnesia. Optionally, you can use MySQL, PgSQL, ... databases to store some of the content (authentication, rosters, vcards, pubsub...).</p> <p>If you use the default Mnesia, you don't need to worry about DB configuration at all.</p> <p>If you run a large server with many many accounts, big rosters, ... then you better use some SQL database instead of Mnesia. And it's in that case when you also have to use a different database for each vhost.</p> <div class="quote-msg"> <div class="quote-author">Quote:</div> <p>is there any chance to concentrate those virtual domains in one database? </p></div> <p>Not implemented in ejabberd. You can look at this recently proposed patch:<br /> <noindex><a href="https://support.process-one.net/browse/EJAB-1131" title="https://support.process-one.net/browse/EJAB-1131" rel="nofollow" >https://support.process-one.net/browse/EJAB-1131</a></noindex></p> <div class="quote-msg"> <div class="quote-author">Quote:</div> <p>Furthermore, is there a posibility to prefix the database-tables to include them into our main services-configuration-database? </p></div> <p>No: neither implemented in ejabberd, and not patch that I know.</p> Thu, 24 Dec 2009 19:13:31 +0000 mfoss comment 55072 at https://www.ejabberd.im