<div dir="ltr"><div><div><div><div>Hi Daniel and Benajmin,<br><br></div>Thank you for reply and sharing link of mongodb basics. Yes there is a performance issue. I want that opensips writes and get information of dialog, location, subscriber etc from cachedb(mongodb). For this task i came across with the module named <b>db_cachedb </b>( <a href="http://www.opensips.org/html/docs/modules/2.1.x/db_cachedb.html">http://www.opensips.org/html/docs/modules/2.1.x/db_cachedb.html</a> ). <b><br><br></b></div> According to documentation what this module do is &quot; <b>The db_cachedb module will expose the same front db api, however it will run on top
                                of a NoSQL back-end, emulating the SQL calls to the back-end specific queries</b>.&quot;<br><br></div>I implemented this module and also created collections in mongodb according to mysql tables list. Now when i start opensips it gives me following error <br><br>Jul 14 17:27:45 localhost [23610]: ERROR:core:db_check_api: module db_mongodb does not export db_use_table function<br>Jul 14 17:27:45 localhost [23610]: ERROR:uri:mod_init: No database module found<br>Jul 14 17:27:45 localhost [23610]: ERROR:core:init_mod: failed to initialize module uri<br>Jul 14 17:27:45 localhost [23610]: ERROR:core:main: error while initializing modules<br><br></div>my opensips version is 2.1.3<br><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 13, 2016 at 6:52 PM, Benjamin Cropley <span dir="ltr">&lt;<a href="mailto:benjamin.cropley@gmail.com" target="_blank">benjamin.cropley@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">You don&#39;t have to explicitly define a schema when you insert a document into MongoDB.<div><br></div><div>For example, you could create a MongoDB database, and then immediately do an insert into an insert into a collection without even creating it or a &#39;schema&#39;.</div><div><br></div><div>Maybe you should do some reading about MongoDB and NoSQL in general, as a basic understanding should have answered that question :)</div><div><br></div><div><a href="https://docs.mongodb.com/manual/faq/fundamentals/" target="_blank">https://docs.mongodb.com/manual/faq/fundamentals/</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Wed, Jul 13, 2016 at 2:44 PM, feroze waris <span dir="ltr">&lt;<a href="mailto:feroze.chaudhry@gmail.com" target="_blank">feroze.chaudhry@gmail.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div><div>Hi,<br><br></div>Can anyone tell me how to move opensips DB from SQL to NoSQL. I have seen a module name db_cachedb which has a support for mongodb but how to move mysql schema to mongodb schema. <br><br></div>Regards <br></div><span><font color="#888888">Feroze<br></font></span></div>
<br></div></div><span class="">_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div data-smartmail="gmail_signature"><div dir="ltr">All the best,<div>Ben Cropley</div><div>07539 366 905</div></div></div>
</font></span></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>