No subject


Wed Jan 27 21:05:54 CET 2016


bottle necks from switching to NoSQL. NoSQL is good for caching during call
processing not for storing persistent data.

Regards,
Qasim

On Thu, Jul 14, 2016 at 11:38 PM, Jim DeVito <jim at devito.cc> wrote:

> I addition to what Eric said I suspect you are failing to load
> cachedb_mongodb as stated "The following modules must be loaded before this
> module: At least one NoSQL cachedb_* module."
>
> Thanks!!
>
> ---
> Jim DeVito
> Mobile 440.941.3860
>
> On 2016-07-14 10:31, feroze waris wrote:
>
>> Hi Daniel and Benajmin,
>>
>> 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 DB_CACHEDB (
>> http://www.opensips.org/html/docs/modules/2.1.x/db_cachedb.html [3] ).
>>
>>
>>  According to documentation what this module do is " 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."
>>
>> 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
>>
>> Jul 14 17:27:45 localhost [23610]: ERROR:core:db_check_api: module
>> db_mongodb does not export db_use_table function
>> Jul 14 17:27:45 localhost [23610]: ERROR:uri:mod_init: No database
>> module found
>> Jul 14 17:27:45 localhost [23610]: ERROR:core:init_mod: failed to
>> initialize module uri
>> Jul 14 17:27:45 localhost [23610]: ERROR:core:main: error while
>> initializing modules
>>
>> my opensips version is 2.1.3
>>
>> On Wed, Jul 13, 2016 at 6:52 PM, Benjamin Cropley
>> <benjamin.cropley at gmail.com> wrote:
>>
>> You don't have to explicitly define a schema when you insert a
>>> document into MongoDB.
>>>
>>> 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 'schema'.
>>>
>>> Maybe you should do some reading about MongoDB and NoSQL in general,
>>> as a basic understanding should have answered that question :)
>>>
>>> https://docs.mongodb.com/manual/faq/fundamentals/ [2]
>>>
>>> On Wed, Jul 13, 2016 at 2:44 PM, feroze waris
>>> <feroze.chaudhry at gmail.com> wrote:
>>>
>>> Hi,
>>>>
>>>> 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.
>>>>
>>>> Regards
>>>> Feroze
>>>>
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at lists.opensips.org
>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users [1]
>>>>
>>>
>>> --
>>>
>>> All the best,
>>> Ben Cropley
>>> 07539 366 905
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users [1]
>>>
>>
>>
>>
>> Links:
>> ------
>> [1] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>> [2] https://docs.mongodb.com/manual/faq/fundamentals/
>> [3] http://www.opensips.org/html/docs/modules/2.1.x/db_cachedb.html
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>

--001a11410af8a436b20537d7e130
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div>Dear Feroz,<br><br></div>From past experien=
ce DO NOT ATTEMPT this :). You will surely run into many bottle necks from =
switching to NoSQL. NoSQL is good for caching during call processing not fo=
r storing persistent data.<br><br></div>Regards,<br></div>Qasim<br></div><d=
iv class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Thu, Jul 14, 201=
6 at 11:38 PM, Jim DeVito <span dir=3D"ltr">&lt;<a href=3D"mailto:jim at devit=
o.cc" target=3D"_blank">jim at devito.cc</a>&gt;</span> wrote:<br><blockquote =
class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid=
;padding-left:1ex">I addition to what Eric said I suspect you are failing t=
o load cachedb_mongodb as stated &quot;The following modules must be loaded=
 before this module: At least one NoSQL cachedb_* module.&quot;<br>
<br>
Thanks!!<br>
<br>
---<br>
Jim DeVito<br>
Mobile 440.941.3860<span class=3D""><br>
<br>
On 2016-07-14 10:31, feroze waris wrote:<br>
</span><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-=
left:1px #ccc solid;padding-left:1ex"><span class=3D"">
Hi Daniel and Benajmin,<br>
<br>
Thank you for reply and sharing link of mongodb basics. Yes there is a<br>
performance issue. I want that opensips writes and get information of<br>
dialog, location, subscriber etc from cachedb(mongodb). For this task<br></=
span>
i came across with the module named DB_CACHEDB (<br>
<a href=3D"http://www.opensips.org/html/docs/modules/2.1.x/db_cachedb.html"=
 rel=3D"noreferrer" target=3D"_blank">http://www.opensips.org/html/docs/mod=
ules/2.1.x/db_cachedb.html</a> [3] ).<br>
<br>
<br>
=C2=A0According to documentation what this module do is &quot; THE DB_CACHE=
DB<br>
MODULE WILL EXPOSE THE SAME FRONT DB API, HOWEVER IT WILL RUN ON TOP<br>
OF A NOSQL BACK-END, EMULATING THE SQL CALLS TO THE BACK-END SPECIFIC<br>
QUERIES.&quot;<span class=3D""><br>
<br>
I implemented this module and also created collections in mongodb<br>
according to mysql tables list. Now when i start opensips it gives me<br>
following error<br>
<br>
Jul 14 17:27:45 localhost [23610]: ERROR:core:db_check_api: module<br>
db_mongodb does not export db_use_table function<br>
Jul 14 17:27:45 localhost [23610]: ERROR:uri:mod_init: No database<br>
module found<br>
Jul 14 17:27:45 localhost [23610]: ERROR:core:init_mod: failed to<br>
initialize module uri<br>
Jul 14 17:27:45 localhost [23610]: ERROR:core:main: error while<br>
initializing modules<br>
<br>
my opensips version is 2.1.3<br>
<br>
On Wed, Jul 13, 2016 at 6:52 PM, Benjamin Cropley<br>
&lt;<a href=3D"mailto:benjamin.cropley at gmail.com" target=3D"_blank">benjami=
n.cropley at gmail.com</a>&gt; wrote:<br>
<br>
</span><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-=
left:1px #ccc solid;padding-left:1ex"><span class=3D"">
You don&#39;t have to explicitly define a schema when you insert a<br>
document into MongoDB.<br>
<br>
For example, you could create a MongoDB database, and then<br>
immediately do an insert into an insert into a collection without<br>
even creating it or a &#39;schema&#39;.<br>
<br>
Maybe you should do some reading about MongoDB and NoSQL in general,<br>
as a basic understanding should have answered that question :)<br>
<br>
</span><a href=3D"https://docs.mongodb.com/manual/faq/fundamentals/" rel=3D=
"noreferrer" target=3D"_blank">https://docs.mongodb.com/manual/faq/fundamen=
tals/</a> [2]<span class=3D""><br>
<br>
On Wed, Jul 13, 2016 at 2:44 PM, feroze waris<br>
&lt;<a href=3D"mailto:feroze.chaudhry at gmail.com" target=3D"_blank">feroze.c=
haudhry at gmail.com</a>&gt; wrote:<br>
<br>
</span><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-=
left:1px #ccc solid;padding-left:1ex"><span class=3D"">
Hi,<br>
<br>
Can anyone tell me how to move opensips DB from SQL to NoSQL. I<br>
have seen a module name db_cachedb which has a support for mongodb<br>
but how to move mysql schema to mongodb schema.<br>
<br>
Regards<br>
Feroze<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href=3D"mailto:Users at lists.opensips.org" target=3D"_blank">Users at lists.o=
pensips.org</a><br>
</span><a href=3D"http://lists.opensips.org/cgi-bin/mailman/listinfo/users"=
 rel=3D"noreferrer" target=3D"_blank">http://lists.opensips.org/cgi-bin/mai=
lman/listinfo/users</a> [1]<br>
</blockquote><span class=3D"">
<br>
--<br>
<br>
All the best,<br>
Ben Cropley<br>
07539 366 905<br>
_______________________________________________<br>
Users mailing list<br>
<a href=3D"mailto:Users at lists.opensips.org" target=3D"_blank">Users at lists.o=
pensips.org</a><br>
</span><a href=3D"http://lists.opensips.org/cgi-bin/mailman/listinfo/users"=
 rel=3D"noreferrer" target=3D"_blank">http://lists.opensips.org/cgi-bin/mai=
lman/listinfo/users</a> [1]<br>
</blockquote>
<br>
<br>
<br>
Links:<br>
------<br>
[1] <a href=3D"http://lists.opensips.org/cgi-bin/mailman/listinfo/users" re=
l=3D"noreferrer" target=3D"_blank">http://lists.opensips.org/cgi-bin/mailma=
n/listinfo/users</a><br>
[2] <a href=3D"https://docs.mongodb.com/manual/faq/fundamentals/" rel=3D"no=
referrer" target=3D"_blank">https://docs.mongodb.com/manual/faq/fundamental=
s/</a><br>
[3] <a href=3D"http://www.opensips.org/html/docs/modules/2.1.x/db_cachedb.h=
tml" rel=3D"noreferrer" target=3D"_blank">http://www.opensips.org/html/docs=
/modules/2.1.x/db_cachedb.html</a><span class=3D""><br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href=3D"mailto:Users at lists.opensips.org" target=3D"_blank">Users at lists.o=
pensips.org</a><br>
<a href=3D"http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel=3D=
"noreferrer" target=3D"_blank">http://lists.opensips.org/cgi-bin/mailman/li=
stinfo/users</a><br>
</span></blockquote><div class=3D"HOEnZb"><div class=3D"h5">
<br>
_______________________________________________<br>
Users mailing list<br>
<a href=3D"mailto:Users at lists.opensips.org" target=3D"_blank">Users at lists.o=
pensips.org</a><br>
<a href=3D"http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel=3D=
"noreferrer" target=3D"_blank">http://lists.opensips.org/cgi-bin/mailman/li=
stinfo/users</a><br>
</div></div></blockquote></div><br></div>

--001a11410af8a436b20537d7e130--



More information about the Users mailing list