Skip to content
ITNotes ITNotes

From Terminal to Cloud

  • AI
  • DevOps
  • HomeLab
  • Linux
  • Networking
  • Programming
  • English
    • English
    • Tiếng Việt
    • 日本語
  • AI
  • DevOps
  • HomeLab
  • Linux
  • Networking
  • Programming
  • English
    • English
    • Tiếng Việt
    • 日本語
Home » Database Optimization
Database tutorial - IT technology blog
Posted inDatabase

PostgreSQL CREATE INDEX CONCURRENTLY: Avoid Production Table Locks and Clean Up Invalid Indexes

November 26, 2026
Standard index builds block production writes by locking tables under a SHARE lock. Learn how PostgreSQL CREATE INDEX CONCURRENTLY prevents downtime, how to identify hidden invalid indexes, and how to safely rebuild them.
Read More
Database tutorial - IT technology blog
Posted inDatabase

PostgreSQL Query Optimization with pg_stat_statements: Track Down Slow Queries on Production

November 17, 2026
Learn how to use PostgreSQL's pg_stat_statements extension to pinpoint high-CPU queries, detect disk I/O bottlenecks, and optimize slow execution plans on live production systems.
Read More
Programming tutorial - IT technology blog
Posted inProgramming

Build a Mini Search Engine in Python: Inverted Index, Tokenization, and BM25 Ranking from Scratch

November 17, 2026
When production databases choke on slow wildcard searches during incident hours, an in-memory inverted index can slash latency from seconds to sub-milliseconds. Here is how to build a zero-dependency search engine in Python using Okapi BM25.
Read More
Database tutorial - IT technology blog
Posted inDatabase

Mastering PostgreSQL Materialized Views: Accelerate Analytical Queries and Refresh Concurrently Without Table Locks

October 27, 2026
Learn how PostgreSQL materialized views transform slow analytical aggregations into millisecond lookups. This practical guide walks through indexing strategies, disk space trade-offs, and non-blocking background refreshes using REFRESH CONCURRENTLY.
Read More
Database tutorial - IT technology blog
Posted inDatabase

Optimizing MySQL with ProxySQL: Connection Pooling, Read/Write Splitting, and Query Caching

October 27, 2026
Discover how running ProxySQL for six months transformed our database tier, dropping active MySQL connections from thousands to under a hundred while automating read/write query distribution.
Read More
Database tutorial - IT technology blog
Posted inDatabase

SQLite Performance Optimization: Production Guide to WAL Mode, PRAGMA Tuning, and Concurrency

October 16, 2026
Learn how to optimize SQLite for real-world production workloads by enabling WAL mode, fine-tuning memory PRAGMA settings, and eliminating concurrent database lock errors.
Read More
AI tutorial - IT technology blog
Posted inAI

Scaling PostgreSQL Vector Search: HNSW Tuning and Table Partitioning for Production RAG

October 11, 2026
Scaling enterprise RAG with PostgreSQL and pgvector demands more than basic indexes. Discover how combining HNSW index tuning with declarative partitioning dropped p95 query latency from 2.8s to 14ms across 8 million vectors.
Read More
Database tutorial - IT technology blog
Posted inDatabase

Advanced Vietnamese Search in PostgreSQL and MySQL: Collation, Unaccent, and Index Optimization

September 14, 2026
Vietnamese diacritics break naive database search queries. Here's how to configure Collation in MySQL and the Unaccent extension in PostgreSQL — plus functional and GIN indexes — so searches work correctly without a performance hit.
Read More
Database tutorial - IT technology blog
Posted inDatabase

PostgreSQL Performance: Speed Up Queries with Covering Indexes

September 10, 2026
Boost PostgreSQL performance by eliminating heap access. Learn how to use Covering Indexes, the INCLUDE clause, and the Visibility Map to reduce I/O.
Read More
Database tutorial - IT technology blog
Posted inDatabase

Mastering the MySQL Slow Query Log: Stop Guessing and Start Fixing Production Bottlenecks

August 21, 2026
Is your MySQL database dragging? Learn how to use the Slow Query Log to identify hidden performance bottlenecks, configure logging for production, and use tools like pt-query-digest to speed up your app.
Read More

Posts pagination

1 2 3 Next page
Copyright 2026 — ITNotes. All rights reserved.
Privacy Policy | Terms of Service | Contact: [email protected] DMCA.com Protection Status
Scroll to Top