r/SQL • • 2d ago

Discussion DBerio update: what I changed after your feedback on my SQL client

About a month ago, I posted my SQL client, DBerio, here and asked for feedback. A lot of you took the time to reply, and your comments helped shape this update. Same disclaimer as last time: I'm a solo developer from Korea, this is self-promo, and I use a translator to write.

Things you asked for

  • u/MrRoy_SQL asked for a visual EXPLAIN. The Profiler tab now shows PostgreSQL, MySQL and MariaDB plans as a tree, highlighting the slowest step and points to check. You can also summarize a plan on one page and print it or save it as a PDF.
  • u/vincent_sch pointed out that EXPLAIN ANALYZE runs the statement, so analyzing an UPDATE would change data. On PostgreSQL, measured plan runs now use a read-only transaction, so the server blocks writes. Statements containing functions that a read-only transaction can't stop, such as ending a session, ask for confirmation first. Thanks for catching that. It was a real hole.
  • DROP, TRUNCATE and ALTER … DROP statements run from the editor now ask for confirmation. If the connection is marked as production, you also have to type the target name.

Other changes

  • Long text and JSON from the result grid now open in a larger Value Editor, with line numbers, search, JSON error locations and an editable JSON tree. Big integers and long decimals keep their exact digits.
  • There's a dark mode now.
  • If a connection drops, it reconnects when you expand the object browser or open a table, as well as when you run a query.
  • Fixed a bug where "Discard Edit" in the grid saved the value instead of discarding it. Sorry about that one.
  • Commit, Rollback and autocommit no longer hang while a long query is running.

Searchable query history across connections and a side-by-side diff of two result sets are still on my list. I haven't finished them yet.

Since 1.2.0, the app sends basic usage statistics: days opened, app version, OS and language. It never sends query text, connection details, table names or data, and you can turn statistics off in Settings.

DBerio is available on Mac and Windows and supports MySQL/MariaDB, PostgreSQL, SQLite and Redis. The free version includes every feature, with up to 3 saved connections and 2 open at once.

If you find a bug, notice something that feels off, or have a feature in mind that would make you switch, please comment here or send me a DM. The fixes above started with comments like those, so please keep them coming.

0 Upvotes

6 comments sorted by

2

u/Discordbothost 2d ago

For the reconnect change, what happens if the connection drops with autocommit off and edits are still pending? A fresh session can't commit the old transaction. It'd help to flag that the old session was lost right in the editor, especially if opening a table has already made the connection look healthy again.

1

u/harulogs 1d ago

Thanks for pointing this out. I checked this scenario and found the issue. I’ll fix it and include the fix in an update.

1

u/Bassiette03 8h ago

No support for SQL server??

2

u/harulogs 8h ago

Yeah, unfortunately not yet. We're planning to add support for SQL Server and Oracle!

1

u/Bassiette03 7h ago

I will wait for it

1

u/harulogs 7h ago

Oh, that’s got me fired up to keep building! I’ll work on SQL Server support as quickly as I can. Thanks for waiting!