From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: Paul Rubin Newsgroups: comp.lang.ada Subject: Re: libgnadeodbc Date: Tue, 10 Apr 2018 15:28:44 -0700 Organization: A noiseless patient Spider Message-ID: <87fu42itlv.fsf@nightsong.com> References: <69b9d281-0697-452e-a5a5-475257c1435d@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: reader02.eternal-september.org; posting-host="70294f438637ccf53b3152205a84e9c8"; logging-data="1088"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Eaj/HHtG6/shdiwtyXQ/q" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) Cancel-Lock: sha1:XlXU8iQEnTFsn5bM+XocsVDsy8k= sha1:cDiaqbKGkm5UPBlb5XWHFTGe014= Xref: reader02.eternal-september.org comp.lang.ada:51434 Date: 2018-04-10T15:28:44-07:00 List-Id: "Randy Brukardt" writes: > Maybe because it is all most projects need, but clueless management has > required a DBMS? So the programmers fake it by using SQLite and saying it is > a DBMS? (Few problems really need a DBMS.) It wouldn't have occurred to me that sqlite is somehow not a DBMS. It's an SQL database that happens to be serverless. It's still ACID since it handles concurrency through file locking. Yes you link it into your application as a library. If you were using Postgres you'd instead link in a client library that speaks some wire protocol to a remote server. Either way, you link a library. I like sqlite and use it for small databases all the time. Of course you get more features and performance with heavyweight databases, but they're also harder to maintain. You have to keep the server running, the data is spread across multiple files, etc. By contrast, an sqlite client can simply launch, do its thing with the database, and shut down. The sqlite db itself is just one disk file, making backups simple, etc.