跳到正文
Hacker News 熱門(buzzing.cc 中文翻譯)·· 12 天前AI 評分49

Show HN:DBDelve——以 Rust 和 GPUI 開發的開源資料庫用戶端

Show HN: DBDelve——一款使用Rust和GPUI开发的开源数据库客户端

AI 導讀

DBDelve 是以 Rust 和 GPUI 開發的開源資料庫用戶端,開發者公佈的基準測試顯示,DBDelve 0.3.6 在同一個 Postgres 資料表上的啟動、閒置記憶體及查詢表現均優於 DBeaver 25.3.1。載入 1M rows 時,DBDelve 用時 56 s、佔用 4.9 GB 記憶體;目前尚未簽署及公證,功能亦未追平較成熟的用戶端。

正文

Image 1Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Show HN: DBDelve – Open-Source DB Client Made with Rust and GPUI 98 points by shayan_abbas13 hours ago | hide | past | favorite | 38 comments Hi HN, I’m Shayan and a few months ago I started building a DB Client DBDelve with a focus on performance and just making something that feels good to use (in the spirit of Zed, Ghostty, and other tools that just feel pleasant to use). For my workflow I’ve always looked for performance, especially since some time ago I had a really outdated machine and any kind of bloat was really noticeable, I remember using DBeaver and it just crashing on me multiple times, I also had to use postGIS which just made it worse. I migrated all my essential dev tools to use the ones with performance in mind (Zed, Ghostty etc) but the only thing that was missing was DB Client. The main choices everyone has are DBeaver which is a memory hog and an overkill for most of the tasks imo. The other options like Datagrid, Beekeeper, TablePlus are either electron based so bloated and memory hogs or paid and closed-source. DBDelve 0.3.6 against DBeaver 25.3.1 on the same Postgres table, median of 5 runs each (2026-10-11, M1 Pro, 32 GB). Times are from the action to the rows rendered. DBDelve DBeaver Launch 1.1 s 5.2 s Idle memory 133 MB 606 MB 1,000-row query 0.21 s 1.96 s 1M rows, time 56 s 208 s 1M rows, memory [1] 4.9 GB 17 GB [1] The whole 1M-row, 100-column table pulled into memory on purpose, with the row limit off. Not a normal use case; DBeaver's heap limit had to be raised manually for the benchmark. Scrolling perf with 1 million rows loaded with 100 columns each: https://youtu.be/V2MOhJYFqIE It has most of the features most devs would need for 90% of their workflow plus some more I thought would be a nice touch: Readonly, read-write and Full Access modes Glass themes (If you’re into them, I am) Keyboard focused with every keybinding customizable Organization of connections into projects Me and some other folks have been daily driving it for more than a month now and most good feedback comes on it having a really simple UI to navigate, very stable for its age and the performance of course. I’m also sharing here because those people tell me this has potential to grow so I’m trying my hand at distributing it. Just want to give a huge shoutout here to the Zed team for GPUI, it's a breeze to work with if you just get through them not updating the crate officially on crates.io but the community has found the solutions for it, you just have to dig deep for it. It performs extremely well and just the HTML-like structure of it, makes it easy to understand for someone from a web dev background and agents are very good at writing it too. GPUI component also solves a lot of problems with having a good component library we can use. I think for anyone starting a GPUI project now, GPUI-kit makes a lot of sense, it just bundles GPUI, GPUI-component together and has some optimizations adding retained mode which is experimental but could provide a lot of benefit, so think all things considered it should be the default way. The major optimization I did was just lowering the memory overhead by using packed rows which reduced the memory usage by 40% on large datasets (8.1GB to 4.9GB on a 4GB table loaded in app), everything else came bundled in with Rust and GPUI mostly or they just made it very easy. Limitations: It's not signed and notarized, identity verification from apple's side has been a nightmare but it should be signed soon. Don’t expect feature parity with more mature clients for now, the general direction of this right now is the zed way of adding features in but after making sure the core workflows are done with a high quality. Do give it a try, you can import your connections from dbeaver and tableplus. https://github.com/ShayanAbbas1/dbdelve help Image 2mamcx10 hours ago | next[–] One thing missing in all the GUI clients I know for Postgres's is being able to work with composite types and filtering them like (IMT, 1). Similar as edit things like this, arrays, json, etc reply Image 3shayan_abbas8 hours ago | parent | next[–] Try it out, filtering and editing already works for composite types :) reply Image 4mamcx3 hours ago | root | parent | next[–] I checked and get error input of anonymous types not implemented reply Image 5MrDrMcCoy9 hours ago | parent | prev | next[–] Sounds like a worthy Issue/PR ;) reply Image 6olive-n7 hours ago | prev | next[–] Looks nice, though it does not open .sqlite files on Windows, when they are somewhere in the WSL filesystem. But neither does DBeaver. dbx opens them just fine though. reply Image 7shayan_abbas1 hour ago | parent | next[–] I'll add an issue around it reply Image 8edstarch11 hours ago | prev | next[–] >it's a breeze to work with if you just get through them not updating the crate officially on crates.io but the community has found the solutions for it, you just have to dig deep for it what does this mean? the ui does look very nice reply Image 9shayan_abbas11 hours ago | parent | next[–] Basically finding which distribution to go with, there is gpui-ce, gpui-pre because the zed team last updated their crate more than a year ago so people publish it by their own. I have found gpui kit to be the best since it adds a retained mode too I want to ultimately play around with reply Image 10edstarch11 hours ago | root | parent | next[–] ok got it just had a quick google too because gpui is on my “to check out some time” list and the situation honestly does not inspire confidence it seems like everyone and their dog has their own vibe coded gpui flavor and the choice is between making your own vibe coded gpui flavor instead of your desired project vs building your project on quicksand i feel like the problem is that (putting together a website, making a bunch of commits, getting people interested) was at some point a sign of a base level of commitment now that the cost of that is zero it’s difficult to say whether a “community edition” actually has any community which will still be there next quarter oh well sorry for the rant good on you for making it work clearly it is possible reply Image 11logdahl10 hours ago | prev | next[–] Thanks for working on this! All db clients I've used have felt very bloated and I relate to your experience of crashes. I will definitely try this out! reply Image 12exaroth11 hours ago | prev | next[–] Whats the advantage of this over something like dbx (https://github.com/t8y2/dbx)? reply Image 13shayan_abbas11 hours ago | parent | next[–] DBX is great but it uses tauri, it is better than using jvm and electron but still doesn't provide the performance gains GPUI does or any other native framework would do. reply Image 14mbreese11 hours ago | root | parent | next[–] Performance is a hard sell when most of the time is going to be spend waiting on the DB for queries, isn't it? (compared to dbx - anything in Java is going to naturally be larger for this). Or are you thinking of performance in terms of UX when browsing the result-sets? But, congrats on the project. It looks great. I can't wait to try it. reply Image 15shayan_abbas11 hours ago | root | parent | next[–] Yes, the slow queries stay but there are some differences: Same result set where other clients can crash, this scrolls smoothly so you can naturally load a bigger result set in the app than other clients would allow you to, It paints the UI considerably faster than DBeaver on my benchmarks, thats after the query has run. Memory footprint for the same result is considerably lower. Basically, your db client can slow you down even after you have waited for queries so this will fix that. reply Image 16dubcanada11 hours ago | root | parent | prev | next[–] So your main sell on DBDelve is performance? reply Image 17shayan_abbas11 hours ago | root | parent | next[–] Yes, and UX. Doing the fundamental things but doing them really well. I like zed's approach where they were slow to add features and weren't/aren't at feature parity with VSCode but the point was to get out of the way for most of your workflows. I'm basically going with the same idea in mind. reply Image 18upmostly7 hours ago | prev | next[–] What does it have over a hyper-modern DB client like DB Pro? [1] https://dbpro.app reply Image 19shayan_abbas1 hour ago | parent | next[–] Cross platform, handling large result sets and general performance. DB Pro also has some features paywalled this won't have. reply Image 20brumbelow8 hours ago | prev | next[–] Thanks for sharing I will give this a try this week. The improved memory impact compared to Dbeaver is too good to resist. reply Image 21gmmachine7 hours ago | prev | next[–] This feels more like a proof of concept than anything else. I'd like an AI agent plugin to help with my SQL queries? reply Image 22shayan_abbas59 minutes ago | parent | next[–] Its in the plans, we're focusing on core workflows before moving to AI features. Why proof of concept though? There are people daily driving it reply Image 23godockly8 hours ago | prev | next[–] I really like it ! reply Image 24shayan_abbas58 minutes ago | parent | next[–] Thanks man!! reply Image 25waterTanuki5 hours ago | prev | next[–] > I wanted something which is performant, modern and consumes little ram. The existing DB clients are either filled with bloat (Electron and JVM) or paid. This is an alternative to them. There are many, many existing DB clients. Some of them already written in GPUI and free/open source: https://github.com/0xErwin1/dbflux reply Image 26written-beyond8 hours ago | prev | next[–] How intelligent is the query editor? If you've used DataGrip you'll see it's nothing short of a god send. Their Intellisense is really something else. But I absolutely hate opening DataGrip it feels like you're trying to start a crank car from the 40's. reply Image 27mrgoldenbrown10 hours ago | prev | next[–] What dbs does it support? I won't drop datagrip until I can access oracle, SQL server and postgres. reply Image 28shayan_abbas10 hours ago | parent | next[–] Supports SQL server and postgres natively, oracle through odbc. So yes, all of them reply Image 29written-beyond12 hours ago | prev | next[–] What about beekeeper studio? reply Image 30shayan_abbas12 hours ago | parent | next[–] For the import connections feature? I can add that in, when I added the feature most people were coming from dbeaver and tableplus so just stuck to that. reply Image 31mikenikles11 hours ago | prev | next[–] > No feature is ever going behind a paywall. How do you sustain continuous development of the project beyond the next two weekends? reply Image 32shayan_abbas11 hours ago | parent | next[–] Voluntary sponsors is the plan for now, I've been fairly consistent with the development for the last few months so I'm fairly confident this won't be abandoned. However, I would love to create a community around it and get some consistent contributors. reply Image 33dofm11 hours ago | prev | next[–] Oh this is good news — I have been looking for a fuss-free cross-platform alternative to MySQL Workbench to recommend for a data product for some time. (Workbench is a pain but it was capable, off-the-shelf and was possible to document it once, more or less, for multiple platforms; I did not actually hate using it. But alas it is old now) I will surely test this out; good luck with it. reply Image 34shayan_abbas11 hours ago | parent | next[–] Thanks man!! Would love some feedback when you try it out reply Image 35edem10 hours ago | prev[–] I'm sick and tired of this "rewrite everything in rust ai slop movement reply Image 36logdahl10 hours ago | parent | next[–] I hear you, although I must say I'm very interested in trying this out. It doesn't look like slop, and honestly all db clients I've used have somehow felt inredibly sloppy. reply Image 37dofm9 hours ago | root | parent | next[–] I agree. For me, and for customers I want to document things for, it has come down to MySQL Workbench on the free/open source side of things. I want to support multiple platforms without having to fundamentally document multiple strategies. Most DB tools feel like they will go the way of PostgreSQL or Insomnia — get slowly burdened with cloud facilities and then a bait-and-switch means you need a login somewhere. I would much rather be able to talk about clients that do fewer tasks but do them well, but DB clients do seem to be prime enshittification territory for some reason. reply Image 38dofm5 hours ago | root | parent | next[–] s/Postgresql/Postman/ obviously. Brain concept leakage there. I meant all those apps that start off with a simple purpose and end up with an enterprise cloud plan. reply Image 39fhn8 hours ago | parent | prev[–] I know righ!? Python slop is the best slop reply Image 40 Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact Search:

來源:Hacker News 熱門(buzzing.cc 中文翻譯) · news.ycombinator.com