<div dir="ltr">I tend to agree with Liviu.  Therefore Ovidiu, please convince us of the advantages of db_text :-)<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Op wo 23 sep. 2020 om 07:58 schreef Liviu Chircu <<a href="mailto:liviu@opensips.org">liviu@opensips.org</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 22.09.2020 18:42, Ovidiu Sas wrote:<br>
> If you don't want to run a full blown db, then you can use db_text<br>
> without cacheDB.<br>
> The data is cached into memory at startup. If you update the text<br>
> file, you can re-cache the data [1].<br>
<br>
Hi, Ovidiu!<br>
<br>
May I segue into discussing some questions that have been puzzling me <br>
for a while now?<br>
<br>
     "In 2020, why should developers choose DB TEXT over DB SQLITE?  <br>
Shouldn't DB TEXT be obsoleted?"<br>
<br>
As far as history goes, it seems DB TEXT was created by Daniel in 2003.  <br>
Which, in my opinion, even for that time, it seems like a "reinvent the <br>
wheel" kind of effort, since SQLite had already been GA'ed for almost 3 <br>
years [1].<br>
<br>
In order to come up with an answer, we can break down my original questions:<br>
<br>
* DB TEXT and SQLite both aim to be lightweight, serverless, file-based <br>
SQL databases with RAM caching.  True or false?<br>
* does DB TEXT have any features that SQLite doesn't?<br>
* does DB TEXT support a richer SQL syntax than SQLite?<br>
* does DB TEXT have less bugs than SQLite?<br>
* does DB TEXT handle in-memory caching better than SQLite?<br>
* does DB TEXT handle disk files better than SQLite?<br>
<br>
Thank you in advance for the discussion!<br>
<br>
Best regards,<br>
<br>
[1]: <a href="https://sqlite.org/changes.html" rel="noreferrer" target="_blank">https://sqlite.org/changes.html</a><br>
<br>
-- <br>
Liviu Chircu<br>
<a href="http://www.twitter.com/liviuchircu" rel="noreferrer" target="_blank">www.twitter.com/liviuchircu</a> | <a href="http://www.opensips-solutions.com" rel="noreferrer" target="_blank">www.opensips-solutions.com</a><br>
<br>
<br>
_______________________________________________<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>
</blockquote></div>