TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Work on SQLite4 has concluded

378 点作者 joewalnes超过 7 年前

17 条评论

gregmac超过 7 年前
The relevant change:<p>&gt; This directory contains source code to an experimental &quot;version 4&quot; of SQLite that was being developed between 2012 and 2014.<p>&gt; All development work on SQLite4 has ended. The experiment has concluded.<p>&gt; Lessons learned from SQLite4 have been folded into SQLite3 which continues to be actively maintained and developed. This repository exists as an historical record. There are no plans at this time to resume development of SQLite4.<p><a href="https:&#x2F;&#x2F;sqlite.org&#x2F;src4&#x2F;artifact&#x2F;56683d66cbd41c2e" rel="nofollow">https:&#x2F;&#x2F;sqlite.org&#x2F;src4&#x2F;artifact&#x2F;56683d66cbd41c2e</a>
Scaevolus超过 7 年前
For context, SQLite4 explored reimplementing SQLite using a key-value store on log-structured merge trees, like RocksDB and Cassandra.<p>I&#x27;d be interested to hear why they stopped. Presumably reimplementing SQL on a KV store was seen as not worth it, when applications that are satisfied with an embedded KV store backend (which is much faster and simpler to write!) already have many options.
评论 #15649107 未加载
评论 #15649142 未加载
评论 #15648942 未加载
评论 #15652351 未加载
评论 #15648664 未加载
评论 #15648594 未加载
评论 #15648754 未加载
评论 #15651631 未加载
gtrubetskoy超过 7 年前
I have to say I learned more about databases from just studying SQLite code than any book on the subject. I&#x27;ve bought a bunch of books on DB&#x27;s, some very expensive ones, but I wish someone pointed me to SQLite source early on.<p>To internalize it better I invented a &quot;project&quot; for myself - <a href="http:&#x2F;&#x2F;thredis.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;thredis.org&#x2F;</a> which was (and is, but I&#x27;m not maintaining it) a Redis&#x2F;SQLite hybrid. It was fun to hack on.<p>Another invaluable source of DB internals information is PostgreSQL. Both projects have amazingly well written and detailed comments.
bane超过 7 年前
SQLite is one of those awesome things that&#x27;s the exact opposite of magic. It&#x27;s beautiful, jaw dropping, engineering that exercises so many technical muscles.<p>The number of oddball, often critical, places where I&#x27;ve found SQLite being used would defy belief. As far as I can tell, the &quot;expected&quot; place for SQLite to work seems to be almost anything that&#x27;s not your normal dB driving some web-based CRUD app...all kinds of embedded systems, easy to manipulate in-memory scratch pads for bioinformatics, lots of data analysis tools in mobile communications.<p>It&#x27;s so good, and so obvious, that I think sometimes it makes other tools that might be simpler fits for many use-cases less likely to be used, like leveldb.
评论 #15649854 未加载
assface超过 7 年前
Richard Hipp has said that they have signed contracts to support SQLite3 for 35 years. SQLite4 is never going to happen.
评论 #15649283 未加载
评论 #15648787 未加载
评论 #15649018 未加载
评论 #15649203 未加载
sharpercoder超过 7 年前
Every time I see something about sqlite, I become sad. It reminds me of the failure of the w3 standards comittee to accept it as web standard. They rejected sqlite because no competing implementation existed. Furthermore, &quot;public domain&quot; license of the software was also a hurdle, iirc.
评论 #15649791 未加载
评论 #15659475 未加载
hoodoof超过 7 年前
The biggest thorn I found working with sqlite was the lack of ability to modify columns with ALTER TABLE which was a real pain.<p>Doesn&#x27;t look like this is fixed in sqlite4 though...
评论 #15649131 未加载
评论 #15648805 未加载
评论 #15653703 未加载
评论 #15648886 未加载
NelsonMinar超过 7 年前
There&#x27;s an excellent ~80 minute podcast interview with the sqlite author here: <a href="https:&#x2F;&#x2F;changelog.com&#x2F;podcast&#x2F;201" rel="nofollow">https:&#x2F;&#x2F;changelog.com&#x2F;podcast&#x2F;201</a>
Afton超过 7 年前
Would love to hear some of the lessons learned...
评论 #15651849 未加载
评论 #15652303 未加载
shalabhc超过 7 年前
SQLite is great. For an unusual application see actordb.com - a server side database that uses a large number of independent SQLite databases.
评论 #15649851 未加载
maxpert超过 7 年前
Interesting and I saw title and thought to my self hmmmm... may be SQLite4 is just around the corner. This is a good case study to show people look sometimes classic works better and NoSQL coined terms and techniques might work in limited scenarios. Still makes me wonder if LSM would have been faster for mobile devices though, I know it might not work well for embedded devices; but with modern mobile devices (1+ GB of RAM) it might have some speed benefits.<p>Shameless plug <a href="https:&#x2F;&#x2F;github.com&#x2F;maxpert&#x2F;lsm-windows" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;maxpert&#x2F;lsm-windows</a> (I did port the LSM storage to windows).
the_common_man超过 7 年前
Anyone know how sqlite makes money?
评论 #15650188 未加载
评论 #15648817 未加载
评论 #15650775 未加载
评论 #15648802 未加载
chmaynard超过 7 年前
The title of this post, a true statement removed from its context, attracts readers like me because its implied meaning has considerable shock value. Of course, Dr. Hipp didn&#x27;t help matters by naming his experimental fork &quot;SQLite4&quot;.
adekok超过 7 年前
I&#x27;m surprised there wasn&#x27;t more investigation of SQLite and LMDB:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;LMDB&#x2F;sqlightning" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;LMDB&#x2F;sqlightning</a><p>The performance there shows either little to no performance difference, up to substantial speed increases.
coleifer超过 7 年前
The source tree for sqlite3 now contains an extension named lsm1 that contains both the standalone lsm kv database as well as a virtual table extension which allows you to use it directly from sqlite3. Some info on python integration can be found here:<p><a href="http:&#x2F;&#x2F;charlesleifer.com&#x2F;blog&#x2F;using-sqlite4-s-lsm-storage-engine-as-a-stand-alone-nosql-database-with-python&#x2F;" rel="nofollow">http:&#x2F;&#x2F;charlesleifer.com&#x2F;blog&#x2F;using-sqlite4-s-lsm-storage-en...</a><p>In peewee 3.0a I&#x27;ve also added built-in support for using the lsm1 virtual table if you&#x27;re interested.
tomphoolery超过 7 年前
instead of pretending to release a new version, it might be better to just call this fork sqlite-failed.
cyberferret超过 7 年前
Doubt still exists... Does this mean &#x27;concluded&#x27; as in &quot;We&#x27;ve finished polishing the pre production code and are close to releasing it&quot; or &#x27;concluded&#x27; as in &quot;We have thrown our hands up in the air and won&#x27;t be working on this thing any more to bring it to production&quot; ??!!??<p><i>EDIT</i> Seeing as I am getting slammed by downvotes, my comment here was simply pointing out that the headline I saw on HN could be read in multiple ways. As a long time user of SQLite3, I was initially excited when I read the title as I had thought it meant something good coming from the SQLite team. Turns out not to be. That, to me, still entails doubt.
评论 #15648607 未加载
评论 #15648600 未加载
评论 #15648601 未加载
评论 #15649273 未加载