Last week
- Traffic mix matters Wanna listen to my mixtape? The preliminary report on last week’s M365 outage contains one statement that really caught my eye: Our normal load testing did not detect the latent issue because [of] the traffic mix and SKUs used in our labs. There’s a lot going...
About a month ago
- Databases are for storing global variables. We usually call them “rows” or “records” instead, but they’re definitionally global variables: any part of your…
- An irritating thing about database vendors is that they all claim their offering is "highly available". If pressed they'll say they're talking about their SLA, and while this is not technically lying, it is very misleading, because people who know some distributed systems lore...
- A PostgreSQL column can be restricted to a predefined set of values using an enumerated type (enum)....
about 2 months ago
- Overview Postgres has a lot of features and behavior that’s not obvious. Aliases Don’t Mask Extra Columns If the table alias has fewer columns than the source table, the extra columns are still passed through. with t as ( select 1 a, 2 b, 3 c ) select * from t as u (x, y) | x |...
3 months ago
- Let’s talk about the soft spots of vector search. Where might everything fall apart when you put a solution into production? I’m starting a series on these soft spots. What doesn’t actually get discussed with search engines + vector databases. But what surprises and breaks...
4 months ago
- Every storage engine has to decide what must finish before it tells a client that a write succeeded. The quickest answer is to return after copying the bytes into memory. A local durable write waits for fdatasync() on an SSD in the database host. Keeping the write after that...
- Become a savvy vector database user and buyer. Come hang with me and Adam Hevenor as we learn about vector retrieval from first principles the week of August 10th. How to choose a vector database (Aug 10) Sign up: https://maven.com/p/59a7d9/how-to-choose-a-vector-database I am...
- Aurora DSQL: Scalable, Multi-Region OLTP A paper! Our new paper, Aurora DSQL: Scalable, Multi-Region OLTP, is now available on Arxiv. I’m excited about this one: it’s a fully end-to-end look at how Aurora DSQL works, from query processing, to transactions, to replication, to the...
5 months ago
- This morning I released sqlite-utils 4.0, the 124th release of that project and the first major version bump since 3.0 in November 2020. In addition to some small but significant …
- I wrote about the sqlite-utils 4.0rc1 release a couple of weeks ago. Since we only have Claude Fable on our Max subscriptions for a few more days, I decided to …
- sqlite-utils is my combined Python library and CLI tool for working with SQLite databases. It provides an extensive set of higher-level operations on top of Python’s default sqlite3 package, including …
6 months ago
- To conclude with my SQLAlchemy 2 in Practice series, this article contains the solutions to all the exercises. If you'd like to support my work, I encourage you to buy this book, either directly from my store or on Amazon. Thank you!...
7 months ago
- I started working on the new Array data type for Redis in the first days of January. The PR landed the repository only now, so this code was cooked for four months. I worked at the implementation kinda part time (kinda because many weeks were actually full time, sometimes to...
- Introduction I've used Redis for a lot of things over the years. Rate limiting, caching, distributed locking, tracking peak concurrency, ephemeral counters, queues, deduplication, leaderboards. Every...
- This is the sixth chapter of my SQLAlchemy 2 in Practice book. If you'd like to support my work, I encourage you to buy this book, either directly from my store or on Amazon. Thank you! The goal of this chapter is to use the concepts you have learned to build a web traffic...
8 months ago
- This is the fifth chapter of my SQLAlchemy 2 in Practice book. If you'd like to support my work, I encourage you to buy this book, either directly from my store or on Amazon. Thank you! You have now learned the design blocks used in relational databases. Sometimes, however,...
- This is the fourth chapter of my SQLAlchemy 2 in Practice book. If you'd like to support my work, I encourage you to buy this book, either directly from my store or on Amazon. Thank you! Continuing with the topic of relationships, this chapter is dedicated to the many-to-many...
- This is the third chapter of my SQLAlchemy 2 in Practice book. If you'd like to support my work, I encourage you to buy this book, either directly from my store or on Amazon. Thank you! In the previous chapter you learned how to execute a variety of queries on the products...
- This is the second chapter of my SQLAlchemy 2 in Practice book. If you'd like to support my work, I encourage you to buy this book, either directly from my store or on Amazon. Thank you! This chapter provides an overview of the most basic usage of the SQLAlchemy library to...
- How do teams choose vector databases search engines People wrack their brains between Elasticsearch OpenSearch Solr Vespa Pinecone Turbopuffer Weaviate......
Rows per page