fedi.matsuu.org

fedi.matsuu.org

Profile for matsuu. Username @matsuu, fedi.matsuu.org.

About

Joined on Jan, 2023. 8170 posts. Followed by 39. Following 2.

Recent posts

matsuu . @matsuu,

本番環境のDBから手元の開発環境やデバッグ用のサブセットを抽出したSQLを作れるCLIツール。例えばorders.id=12345と指定すると外部キーなどを辿って関連するテーブルとレコードを抽出。匿名化も対応。Python実装
---
GitHub - nabroleonx/dbslice: Extract a slice of your production database to reproduce bugs locally. Point dbslice at a record, it follows foreign keys and gives you a complete, importable subset
https://github.com/nabroleonx/dbslice
#bookmarks

Open thread
matsuu . @matsuu,

SQLiteをRustで再実装したものらしい。MVCC対応で複数同時コミットができると謳う。 MITベースだがOpenAI/Anthropic関係者の利用を制限しているライセンス。でもClaude Codeは使うのね。
---
GitHub - Dicklesworthstone/frankensqlite: Independent ground-up Rust reimplementation of SQLite with concurrent writers and information-theoretic durability
https://github.com/Dicklesworthstone/frankensqlite
#bookmarks

Open thread
matsuu . @matsuu,

PostgreSQLでSSD搭載環境ではrandom_page_costを下げるべしとされているが、本当にそうなのか?実験してみるとSSDでもランダムI/Oはコストが大きい。実際に設定変更前後で効果を確認しましょう。自分何も考えず下げてたわ反省
---
The real cost of random I/O
https://vondra.me/posts/the-real-cost-of-random-io/
#bookmarks

Open thread