frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: RDST – A local agent that watches Postgres/MySQL for query regressions

https://github.com/readysettech/rdst
6•gvsg•2h ago
We noticed during the course of many many years of DBA related work that fixes to database issues and queries are always reactive. An entire database can fall over extremely quickly when an unbounded query grows without warning.

Traditionally, DBAs hear complaints of slowness and follow a methodical process: - manually browse pg_stats or other database related performance internal tables - see which queries are slowest - figure out what indexes are missing - figure out which indexes are actually bad and slowing down writes - painstakingly implement a fix

In the age of cheap intelligence, we decided that there is no reason we can’t have an always-on agent that is designed to do this job for you. Databases need something or someone that is always watching with a massive amount of contextual understanding to be able to take quick actions. We’ve watched the alternative play out repeatedly. One of our users’s checkout page went from loading instantly to taking 11 seconds in a single night with no code change. How? Well somehow their order table grew by 40M rows because BI team had injected historical data and suddenly postgres started doing full table scans. Sometimes routine operations have unintended results and can easily destroy your database. We wanted to catch these kinds of regressions instantly. So we built RDST.

RDST is a desktop agent that runs on your PC and connects to PostgreSQL / MYSQL (read only) and compares every query against its own performance every minute. Every expensive query is automatically EXPLAIN ANALYZED, stripped of PII and sent to U.S. based frontier or open model providers to analyze which indexes are missing, how the query could be rewritten, and provides the fix. We then run a classifier model (JEV) to decide if you should be notified (is this standard behavior for this particular query?), and the full history of the query performance is kept for years. RDST also keeps track of your entire database health in general, and recommends more fixes than simply bad queries.

Since it runs locally we can keep the database credentials stored in your OS Keychain (RDST never keeps them in its own storage layer), and the connection goes straight to your database (using a jump host or SSH tunnel for private connections). You can read more about how we handle data especially as it pertains to LLM use here.

https://readyset.io/docs/readyset-ai/rdst/desktop/privacy

We really want feedback from the community from people running Postgres and MySQL in production. We are giving inference away completely for free.

Just as a reminder, RDST will NOT run any updates or indexes against your database at this time. We are considering a fully autonomous auto-pilot mode in the future, but for now we are leaving the actual fixes in your hands.

Let us know what you think!

Comments

Frone125•2h ago
This is really interesting. I'm almost at the point where I'd be fully ready to let the agent just apply the indexes and database fixes for me. I'd say i don't fully trust AI on that level yet, but I could see that being an awesome feature for this tool. Regardless, I love the suggestions that it gives. Even if i don't create every single index it suggests im glad that it looks at ones you should drop too.

Show HN: Unfenced – Land for sale that borders public land

https://unfenced.land/
226•otherwatersflow•9h ago•157 comments

Show HN: Proa – A Rust web framework with fast SSR and multi-target rendering

https://proa.so/
66•burnrate•5h ago•12 comments

Show HN: Flipflop – Iroh-powered persistent tunnels for filesharing

https://github.com/andunieee/flipflop
93•andunie•16h ago•47 comments

Show HN: Sygal – Convert PDFs, scans and web pages to Markdown, locally

https://sygal.app
29•cyrillsemah•4h ago•8 comments

Show HN: My Terminal Themes Web App

26•bado•18h ago•14 comments

Show HN: Indigene – Native plants for where you stand

https://indigene.app/
101•olivierlacan•2d ago•20 comments

Show HN: BlastLoop, a structure-first coding method for AI agents

https://github.com/rlshaw-ml/BlastLoop
9•rossleeshaw•4h ago•1 comments

Show HN: Ito – Build Terminal UIs in Lua

https://uji.sh/ito/
68•cat-whisperer•22h ago•13 comments

Show HN: Forwarder.cc – Static-site forms sent to your inbox, pay per message

https://forwarder.cc
2•calyhre•2h ago•0 comments

Show HN: Petal, open-source CoScreen/ScreenHero finally free

https://petal.live/
210•thedracle•1d ago•40 comments

Show HN: RDST – A local agent that watches Postgres/MySQL for query regressions

https://github.com/readysettech/rdst
6•gvsg•2h ago•1 comments

Show HN: BitRun v0.2 – Run 8B ternary LLMs on CPU with live wattage telemetry

https://github.com/IshekKhal/bitrun
2•ishekofficial•3h ago•0 comments

Show HN: An animated explainer on how TCP handles packet loss

https://eyad.com/handshake/
2•eyadnour•3h ago•0 comments

Show HN: VX – I got tired of Turbo and Nx, so I built vx

https://vznjs.github.io/vx/
2•exelord•3h ago•0 comments

Show HN: A 3D Configurator for Macropads

https://npad.ngrok.dev
5•alexandermkinn•2d ago•5 comments

Show HN: I wrote an email app that accepts only one sender per inbox

https://clova.email/
107•edpin2000•1d ago•91 comments

Show HN: I built a 3D semiconductor fab in the browser – design your own terafab

https://semiconfab.org/
2•jinjiefan2018•4h ago•0 comments

Show HN: Council AI. Spot biases / hallucinations in top AI models

https://councilai.app
2•phinnutz•4h ago•0 comments

Show HN: A guided 3D Leonardo da Vinci museum, built in code

https://museumofages.org/w/vinci
89•micstradev•1d ago•39 comments

Show HN: Guitoro, a virtual guitar you strum with your keyboard

https://guitoro.com/
566•talccc•2d ago•161 comments

Show HN: Arneb – A Trino-compatible distributed SQL engine in Rust

https://arneb.io
2•jackypan1989•7h ago•0 comments

Show HN: Mordiem – OpenAI-compatible API with multi-network failover

https://mordiem.com
2•mordiem•7h ago•0 comments

Show HN: Graphicle, a Rust port of Graphify with memory for coding agents

https://github.com/graphicle-ai/graphicle
47•KarLexAI•1d ago•13 comments

Show HN: Textfold – a native Mac text expander with plain text snippets

https://textfold.app
4•jeyanth•7h ago•1 comments

Show HN: Pi subagents Lite – keep your system prompt clean

https://github.com/AlexParamonov/pi-subagents-lite
5•alparamo•7h ago•1 comments

Show HN: Ask a technical question, get an animated explainer you can interrupt

https://openlume.com/examples/3f65f6ce-87bf-4c81-a34b-3a1ec82f0ed1
16•shadaba•22h ago•5 comments

Show HN: Pulse Local, a Mac budgeting app whose AI models run on your machine

https://pulseos.finance
119•niztk•1d ago•71 comments

Show HN: Use your OpenAI subscription to create audiobooks

https://pdftomp3.com/connect-ai/
172•janpmz•2d ago•90 comments

Show HN: Spotatui, a Spotify TUI/GUI without web API rate limits

https://github.com/LargeModGames/spotatui
91•LargeModGames•2d ago•18 comments

Show HN: XY Music Notation

https://music.xy.dev/
83•jmole•2d ago•79 comments