DuckDBIntermediateDuckDB can spill to disk, but memory_limit, temp_directory, insertion order and thread count decide whether it does. Settings and query patterns that prevent OOM errors.
#configuration#performance#troubleshooting
MongoDBIntermediateA catalogue of twelve MongoDB modeling patterns, each with a document shape, the query or update that uses it, and what it costs.
#data-modeling#nosql#schema-design
QdrantIntermediateFast until you add a filter? Create payload indexes before loading data so the filterable HNSW can use them, and set up multi-tenant collections the right way.
#indexing#performance#vector-search
MongoDBIntermediateHow to design a MongoDB schema from the workload, the hard limits that constrain it, and seven anti-patterns with a way to detect and fix each.
#data-modeling#nosql#performance
CockroachDBIntermediateSQLSTATE 40001 is how serializable isolation stays correct in a distributed database. Add client-side retries, cut contention, and know when READ COMMITTED fits.
#concurrency#transactions#troubleshooting
SQL ServerIntermediateA diagnostic catalogue of slow query causes in SQL Server: how to tell running from waiting, the plan or wait signature of each cause, and the fix.
#execution-plans#performance#troubleshooting
SnowflakeIntermediateYou pay for warehouse run time, not query work. Find where the credits go, fix auto-suspend and warehouse sizes, and add resource monitors before the next invoice.
#configuration#cost-optimization#performance
SQL ServerIntermediateA query-first method: find the expensive queries, read the plan for signs the missing index DMVs never report, build the index online safely, then verify and roll back.
#execution-plans#indexing#performance
AmAmazon DynamoDBIntermediate
Scan with a FilterExpression still reads and bills every item. Use GSIs, sparse indexes and composite sort keys instead, and know when to send queries elsewhere.
#data-modeling#indexing#nosql
SQL ServerIntermediateHow to measure SQL Server query performance with Query Store, DMVs and Extended Events, pick targets by total resource use, and check the settings that affect every query.
#configuration#db-administration#execution-plans
SupabaseBeginnerNo error, just []. It's almost always Row Level Security. How RLS policies work, how to write and test them, and why the service role key is never the fix.
#security#troubleshooting
SQL ServerIntermediateQuery sys.dm_db_missing_index_details and its companion DMVs, read the numbers critically, find the queries behind each suggestion and merge them into the few indexes worth creating.
#db-administration#execution-plans#indexing