DBDelve: a lightweight open-source database client built with Rust and GPUI
DBDelve is an open-source database client written in Rust with GPUI[1], the GPU-accelerated UI framework from the Zed editor, so the same UI code runs natively on macOS, Windows and Linux. It supports PostgreSQL, MySQL, SQLite, DuckDB[2], SQL Server, Snowflake, ClickHouse, MongoDB and Redis, and connects to Oracle and BigQuery through ODBC[3] drivers. When the app reopens, it restores the last tabs and query results from a snapshot, so the same query does not have to be sent to the database again. The SQL editor autocompletes table and column names and fills in join conditions from foreign keys, and it shows EXPLAIN[4] output in a separate panel, highlighting places where estimated and actual row counts differ a lot. Editing a cell in a result table shows the UPDATE before it runs, and each connection can have its own read-only mode and title bar color to tell production databases apart.
The app imports connection details, passwords and SSH settings from DBeaver and, on macOS, from TablePlus, and uses the system ssh for SSH tunnels. Dropping CSV, Excel, Parquet or JSON files into the window lets you query them with SQL through the built-in DuckDB. In a benchmark on an M1 Pro with 32GB, connecting and loading the schema took 1.13 seconds versus 5.20 seconds for DBeaver, with idle memory of 133MB versus 606MB. Loading all 1 million rows of a PostgreSQL table took 55.6 seconds using 4.9GB of memory, compared with 207.5 seconds and 17GB for DBeaver. Builds are available for macOS (Apple Silicon), Linux and Windows, and the project is licensed under GPL-3.0.
Read the original github.comDiscussion on GeekNews
Sources
-
KRGeekNews KO
DBDelve - Rust와 GPUI로 만든 가벼운 오픈소스 데이터베이스 클라이언트


