This article provides a comprehensive summary of MySQL indexing strategies including B+Tree and Hash structures, composite index leftmost prefix principles, and locking mechanisms covering transaction isolation levels, row/table locks, pessimistic/optimistic locking with practical SQL examples for InnoDB and MyISAM engines.
This article explains ten advanced SQL concepts — including CTEs, recursive CTEs, temporary functions, pivoting with CASE WHEN, EXCEPT vs NOT IN, self joins, ranking functions, delta calculations with LAG/LEAD, running totals, and datetime manipulation — with practical code examples for data science interview preparation.
MySQL's utf8 character set only supports up to three bytes per character, causing errors when storing emoji or complex characters that require four bytes; the article explains the historical reason for this limitation and demonstrates that utf8mb4 is the true UTF-8 implementation introduced in 2010.
This tutorial demonstrates connecting to a remote MySQL 8.0.46 server from Windows using both command-line and DBeaver GUI clients, covering firewall configuration, dedicated user creation, connection verification, and troubleshooting port mismatches.
This article explains why MySQL unique indexes permit multiple NULL values due to SQL's three-valued logic, demonstrates how this breaks upsert statements and causes silent duplicates, compares behavior across databases, and presents solutions using NOT NULL constraints, generated columns, and functional indexes to enforce true uniqueness.
OntoL demonstrates that the world's largest knowledge graphs — billions of nodes and edges — fit comfortably in a single-machine in-memory graph database (Memgraph), eliminating distributed sharding overhead and enabling nanosecond multi-hop traversals by co-locating the reasoning layer with storage.
This tutorial demonstrates managing a MySQL 8.0.46 instance via systemd on Kylin Linux, creating a custom service unit, modifying my.cnf, verifying configuration changes through restart, and inspecting data directories and error logs.
This article explains why cache inconsistency occurs between MySQL and Redis, then analyzes four update patterns—delete-then-update, update-then-invalidate, read/write-through, and write-behind—detailing their execution flows, consistency guarantees, and trade-offs to help choose the best fit for your scenario.
This article analyzes what happens when various MySQL auto-increment identifiers reach their maximum values, covering table auto_increment IDs (2^32-1), InnoDB row_id (2^48-1 wraparound causing data overwrites), Xid (2^64-1, resets on restart), trx_id (persistent max_trx_id, potential dirty reads at 2^48), and thread_id (2^32-1 with uniqueness enforcement).
This article analyzes HikariCP connection pool timeout and leak issues through a production incident, explaining connectionTimeout behavior, leakDetectionThreshold mechanics, pool sizing formulas, transaction scope impact on connection hold time, maxLifetime and keepaliveTime configuration for network infrastructure, and practical troubleshooting using thread dumps and pool metrics.
This tutorial walks through installing MySQL 8.0.46 on Kylin Linux using the official generic binary package, covering download verification via MD5 and GPG signature, dedicated user creation, configuration, data directory initialization, secure temporary password replacement, and read-write validation with restart persistence test.
The article argues that in ontology-driven enterprise systems, performance bottlenecks lie in data integration pipelines and business databases, not the graph database layer, using Palantir Foundry's architecture and Airbus Skywise's 1,000+ daily pipelines as evidence, and shows Memgraph's specs far exceed typical ontology loads.
This article provides a comprehensive operational comparison of Milvus and Qdrant vector databases, covering architecture differences, version baselines, deployment procedures, scaling strategies, backup/restore methods, monitoring metrics, alerting rules, and troubleshooting scenarios to guide selection based on data scale, team capability, and long-term operational costs.
The article details StarRocks' integration with the Lance columnar format for multimodal lakehouse workloads, covering distributed index search, two materialization strategies (non-GLM and Global Late Materialization), and a 2-billion-vector case study achieving 40x latency reduction and 16x throughput over Ray+Lance.
This article explains the MySQL 8.0.22 timezone bug that causes timestamp discrepancies up to 13 hours, details JDBC driver parameters like serverTimezone, connectionTimeZone, preserveInstants, and forceConnectionTimeZoneToSession, and provides seven best practices for correct timezone configuration in Java applications.
This article analyzes why MySQL LIMIT with large offsets causes severe performance degradation, explaining the server-layer mechanics of OFFSET, comparing index-scan vs full-table-scan execution paths, and demonstrating two optimization techniques — delayed join (covering index subquery) and cursor-based pagination — with benchmark results showing 4.68s reduced to 0.21s and 0.006s respectively on a 1.28M-row table.
This tutorial establishes a verifiable baseline for installing MySQL 8.0.46 on Kylin Linux V11 (x86_64), covering system checks (glibc 2.38, architecture), resource validation (3.3 GiB RAM, 21 GiB disk), port 3307 availability, and a structured directory layout separating downloads, config, data, logs, runtime, and SQL scripts.
Helix Foundry uses deterministic logic to discover cross-source entity relationships, materializes them as an ontology in HelixDB, and leverages DuckDB for SQL analytics, validated with 32 customers and 240 orders in 153 seconds.
This article reviews three free MySQL client tools—DBeaver, MySQL Workbench, and HeidiSQL—as alternatives to the paid Navicat, highlighting their supported databases, installation, language support, and unique features like built-in monitoring and ER diagrams in MySQL Workbench, which the author recommends for performance testing.
This article explains common MySQL index invalidation causes—implicit type conversion, functions on indexed columns, composite index ordering, and optimizer cost decisions—using EXPLAIN output analysis, and demonstrates a full slow query troubleshooting process from log to fix.