Tagged articles
2769 articles
Page 18 of 28
Aikesheng Open Source Community
Aikesheng Open Source Community
May 14, 2021 · Databases

Understanding and Managing MySQL User Password Expiration

This article explains the MySQL password expiration mechanism, introduces the relevant columns in the mysql.user table, demonstrates how to set passwords to never expire, expire after a specific interval, or expire immediately, and shows how to configure the global default_password_lifetime variable.

Database SecurityUser Managementmysql
0 likes · 10 min read
Understanding and Managing MySQL User Password Expiration
Tech Musings
Tech Musings
May 14, 2021 · Databases

How to Diagnose and Fix MySQL Deadlocks Using Locks and Indexes

This article explains why MySQL deadlocks occur in a test module, details table and row lock mechanisms, reproduces the deadlock scenario with two sessions, analyzes lock logs, and provides a solution by adding a composite index to prevent the conflict.

InnoDBLockdeadlock
0 likes · 19 min read
How to Diagnose and Fix MySQL Deadlocks Using Locks and Indexes
ITPUB
ITPUB
May 14, 2021 · Big Data

How AnalyticDB Powers Petabyte-Scale Consumer Analytics in Alibaba’s Data Bank

The article details how Alibaba’s Data Bank leverages AnalyticDB’s cold‑hot tiered storage, high‑throughput real‑time writes, and low‑latency OLAP capabilities to handle petabyte‑scale consumer data, support flexible AIPL analysis, crowd profiling, and rapid audience selection while cutting costs and ensuring elasticity during peak events.

AnalyticDBBig DataCold-Hot Storage
0 likes · 14 min read
How AnalyticDB Powers Petabyte-Scale Consumer Analytics in Alibaba’s Data Bank
Top Architect
Top Architect
May 13, 2021 · Databases

Understanding LEFT JOIN ON vs WHERE Conditions in SQL

The article explains why adding conditions after a LEFT JOIN using AND does not filter rows from the left table, contrasts ON and WHERE clauses, and demonstrates the behavior with SQL examples and step‑by‑step illustrations of intermediate result tables.

Join TypesLEFT JOINON clause
0 likes · 6 min read
Understanding LEFT JOIN ON vs WHERE Conditions in SQL
Aikesheng Open Source Community
Aikesheng Open Source Community
May 12, 2021 · Databases

Understanding MySQL Full-Text Indexes: Structure, Auxiliary Tables, Buffer Pool, and Transaction Handling

This article explains MySQL full-text (inverted) indexes, their underlying auxiliary tables, buffer pool configuration, document ID handling, and the special transaction semantics required for inserting and querying indexed data, providing practical SQL examples and performance considerations.

Full-Text IndexInnoDBdatabase indexing
0 likes · 9 min read
Understanding MySQL Full-Text Indexes: Structure, Auxiliary Tables, Buffer Pool, and Transaction Handling
Code Ape Tech Column
Code Ape Tech Column
May 11, 2021 · Databases

How to Speed Up MySQL LIMIT Pagination for Millions of Rows

This article analyzes six MySQL pagination techniques, presents benchmark results showing how query time grows with offset, and offers practical index‑based optimizations—including covering indexes, subqueries, and composite index design—to make LIMIT pagination fast even on very large tables.

LIMITindexmysql
0 likes · 12 min read
How to Speed Up MySQL LIMIT Pagination for Millions of Rows
Full-Stack Internet Architecture
Full-Stack Internet Architecture
May 10, 2021 · Databases

MySQL Index Design Principles and Common Index Pitfalls

This article explains MySQL index fundamentals, covering primary and unique indexes, best practices for choosing indexed columns, handling functions and large fields, avoiding excessive or frequently updated indexes, and enumerates typical scenarios where indexes become ineffective.

Database Optimizationindex designmysql
0 likes · 12 min read
MySQL Index Design Principles and Common Index Pitfalls
Programmer DD
Programmer DD
May 7, 2021 · Databases

Boost MySQL Pagination Performance: Real-World Tests and Optimizations

This article examines why full-table scans become slow on large MySQL tables, demonstrates various pagination techniques—including simple LIMIT, sub‑query, ID‑range, and IN‑clause methods—provides benchmark results for different record counts and offsets, and offers practical tips to dramatically speed up paginated queries.

Database Performancemysqlpagination
0 likes · 10 min read
Boost MySQL Pagination Performance: Real-World Tests and Optimizations
Full-Stack Internet Architecture
Full-Stack Internet Architecture
May 6, 2021 · Databases

Understanding MySQL Query Execution Process and Architecture

This article explains MySQL’s internal architecture—including server and storage engine layers—and walks through each stage of query processing from connection and authentication, through query cache, parsing, optimization, and execution, illustrated with a concrete SELECT example.

Database ArchitectureQuery Executionmysql
0 likes · 9 min read
Understanding MySQL Query Execution Process and Architecture
DataFunTalk
DataFunTalk
May 2, 2021 · Big Data

Continuous Optimization and Practice of Flink at Kuaishou

This article presents Kuaishou's comprehensive engineering practices for improving Flink's stability, task startup latency, and SQL performance, including high‑availability Kafka connectors, fault‑recovery mechanisms, I/O reductions, asynchronous job upgrades, aggregation optimizations, and future resource‑utilization plans.

Big DataFlinkKafka
0 likes · 10 min read
Continuous Optimization and Practice of Flink at Kuaishou
Laravel Tech Community
Laravel Tech Community
Apr 28, 2021 · Databases

Understanding and Analyzing MySQL Execution Plans

This article explains the three‑layer architecture of MySQL, how an execution plan is generated and interpreted, and provides a detailed walkthrough of the columns displayed by the EXPLAIN statement to help developers optimize their SQL queries.

databaseexecution planexplain
0 likes · 8 min read
Understanding and Analyzing MySQL Execution Plans
Aikesheng Open Source Community
Aikesheng Open Source Community
Apr 28, 2021 · Databases

Using pt-archiver for Batch Deletion of Large MySQL Tables

The article explains why massive MySQL tables need periodic cleanup, compares risky drop/truncate approaches, and provides a step‑by‑step guide to safely delete historical data in batches using pt‑archiver with proper parameters, session handling, and post‑deletion maintenance.

Batch Deletiondata cleanupmysql
0 likes · 7 min read
Using pt-archiver for Batch Deletion of Large MySQL Tables
Programmer DD
Programmer DD
Apr 26, 2021 · Databases

Why MySQL Subqueries Slow Down and How to Optimize Them

This article explains why MySQL subqueries often cause performance bottlenecks, describes the underlying execution mechanism, and presents practical optimization strategies—including semi‑join, materialization, and EXISTS—plus a real‑world case study showing how to rewrite a slow query into a fast join.

Subquerymysqloptimization
0 likes · 7 min read
Why MySQL Subqueries Slow Down and How to Optimize Them
macrozheng
macrozheng
Apr 25, 2021 · Databases

10 Proven Ways to Prevent Dangerous SQL Mistakes in Production

This article outlines ten practical strategies—including avoiding chat tools for SQL, compressing statements, using SELECT COUNT, adding LIMIT, updating audit fields, logical deletion, table backups, temporary tables, fully qualified names, and careful column changes—to help developers, testers, and DBAs prevent costly database errors in production environments.

Data Safetydatabasesql
0 likes · 15 min read
10 Proven Ways to Prevent Dangerous SQL Mistakes in Production
Architecture Digest
Architecture Digest
Apr 25, 2021 · Databases

MySQL Lock Types and Deadlock Analysis

This article explains MySQL's lock granularity (table, row, page), the different lock modes such as next‑key, gap and record locks, illustrates common deadlock scenarios with detailed SQL examples, and discusses InnoDB's deadlock prevention strategies and best‑practice solutions.

InnoDBLockdeadlock
0 likes · 14 min read
MySQL Lock Types and Deadlock Analysis
Programmer DD
Programmer DD
Apr 24, 2021 · Databases

50 Essential SQL Performance Optimization Tips Every Developer Should Know

This article compiles 50 practical SQL performance optimization techniques—from indexing strategies and query rewriting to avoiding full table scans, using temporary tables, proper data types, and efficient backup methods—helping developers write faster, more scalable database queries.

indexingmysqlsql
0 likes · 22 min read
50 Essential SQL Performance Optimization Tips Every Developer Should Know
Liangxu Linux
Liangxu Linux
Apr 22, 2021 · Databases

Why Developers Use ‘WHERE 1=1’ in SQL and How to Apply It Effectively

The article explains that inserting ‘WHERE 1=1’ in dynamically built SQL statements prevents syntax errors when appending additional conditions, illustrates its use with Java string concatenation examples, discusses performance considerations, and shows how to copy tables or duplicate structures using this technique.

Database PerformanceDynamic SQLTable copy
0 likes · 3 min read
Why Developers Use ‘WHERE 1=1’ in SQL and How to Apply It Effectively
Selected Java Interview Questions
Selected Java Interview Questions
Apr 22, 2021 · Databases

Key MySQL Concepts: DROP/DELETE/TRUNCATE, Data Types, Storage Engines, Transactions, Views, Procedures, Indexes, UNION, and SQL Language Parts

This article explains the differences between DROP, DELETE, and TRUNCATE, recommends appropriate MySQL data types for monetary values, compares MyISAM and InnoDB storage engines, outlines transaction ACID properties, describes views, stored procedures versus triggers, indexes, UNION vs UNION ALL, and lists the main SQL language categories.

Storage EnginesStored ProceduresTransactions
0 likes · 10 min read
Key MySQL Concepts: DROP/DELETE/TRUNCATE, Data Types, Storage Engines, Transactions, Views, Procedures, Indexes, UNION, and SQL Language Parts
Top Architect
Top Architect
Apr 21, 2021 · Databases

How Many Rows Can a Single InnoDB B+ Tree Store?

This article explains the storage units of InnoDB, calculates how many rows a B+‑tree leaf page can hold, derives the total record capacity for trees of different heights, and shows how to determine the actual B+‑tree height in a MySQL table using page metadata.

B+TreeInnoDBStorage Engine
0 likes · 9 min read
How Many Rows Can a Single InnoDB B+ Tree Store?
Intelligent Backend & Architecture
Intelligent Backend & Architecture
Apr 21, 2021 · Databases

Unlocking MySQL: Core Features, Architecture, and Index Optimization Explained

This comprehensive guide explores MySQL’s origins, key characteristics, logical architecture, storage engines, transaction handling, concurrency control, and detailed indexing strategies, offering practical insights and best‑practice recommendations for developers and database administrators seeking to master MySQL performance and reliability.

Transactionsarchitectureindexing
0 likes · 41 min read
Unlocking MySQL: Core Features, Architecture, and Index Optimization Explained
Liangxu Linux
Liangxu Linux
Apr 20, 2021 · Databases

Master MySQL Indexes: From Fundamentals to B+ Tree Mechanics

This article explains the core principles of MySQL indexes, covering their essence, various types such as hash, binary, B‑tree and B+‑tree, the structure of primary key directories and index pages, clustered versus non‑clustered indexes, and the back‑table lookup process.

B+TreeDatabase Optimizationindex
0 likes · 16 min read
Master MySQL Indexes: From Fundamentals to B+ Tree Mechanics
Laravel Tech Community
Laravel Tech Community
Apr 20, 2021 · Databases

Diagnosing and Increasing MySQL Max Connections

This guide explains how to identify MySQL max‑connection errors, check the current limit, and increase it using configuration files, global variables, source‑code changes, or mysqld_safe adjustments, with detailed commands and code examples for various MySQL versions.

Database Configurationmax_connectionsmysql
0 likes · 4 min read
Diagnosing and Increasing MySQL Max Connections
Programmer DD
Programmer DD
Apr 17, 2021 · Databases

Why Your Oracle Indexes Aren’t Used and How to Fix It

This article explains common reasons why Oracle indexes may be ignored—such as column comparisons, NULL values, NOT conditions, wildcard placement, functions, data type conversions, arithmetic predicates, and special index types—and provides practical SQL examples and tips to ensure indexes are utilized for better query performance.

Oraclesql
0 likes · 8 min read
Why Your Oracle Indexes Aren’t Used and How to Fix It
MaGe Linux Operations
MaGe Linux Operations
Apr 15, 2021 · Databases

Unlock MySQL Query Performance: Deep Dive into Architecture, Optimizer, and Index Strategies

This article demystifies MySQL’s query execution by exploring its logical architecture, client‑server protocol, query cache, parsing, optimization, and execution engine, then offers practical indexing and performance‑tuning techniques—including B‑Tree fundamentals, covering indexes, and pagination tricks—to help developers write faster, more efficient SQL.

B+TreeDatabase Performancemysql
0 likes · 35 min read
Unlock MySQL Query Performance: Deep Dive into Architecture, Optimizer, and Index Strategies
Architect's Tech Stack
Architect's Tech Stack
Apr 14, 2021 · Databases

Why Using SELECT * Is Inefficient in MySQL and How to Optimize Queries

This article explains the multiple reasons why SELECT * slows down MySQL queries—including extra parsing, unnecessary data transfer, increased I/O, and loss of covering index optimization—while also covering index fundamentals, composite indexes, and practical tips for writing efficient SELECT statements.

mysqlselectsql
0 likes · 9 min read
Why Using SELECT * Is Inefficient in MySQL and How to Optimize Queries
Programmer DD
Programmer DD
Apr 8, 2021 · Databases

Master SQL HAVING: Filter Groups Like a Pro

This article explains the purpose and proper use of the SQL HAVING clause, demonstrates how it works with GROUP BY to filter aggregated groups, shows examples for finding groups with specific counts, missing IDs, mode, median, and non‑NULL values, and clarifies best practices for query performance and semantics.

GROUP BYHAVINGaggregation
0 likes · 13 min read
Master SQL HAVING: Filter Groups Like a Pro
Sohu Tech Products
Sohu Tech Products
Apr 7, 2021 · Big Data

Data Warehouse Architecture and Modeling with Alibaba MaxCompute and DataWorks

This tutorial explains how to select a technical architecture, design a three‑layer data warehouse (ODS, CDM, ADS), model tables and dimensions, choose storage strategies, handle slowly changing dimensions, synchronize data with DataWorks, and implement dimensional modeling and fact tables using Alibaba MaxCompute for big‑data analytics.

Big DataDataWorksMaxCompute
0 likes · 32 min read
Data Warehouse Architecture and Modeling with Alibaba MaxCompute and DataWorks
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Apr 7, 2021 · Backend Development

Nine MyBatis SQL Tricks for SpringBoot Web Applications (MySQL Example)

This article presents nine practical MyBatis techniques—including pagination, preset column selection, one‑to‑many and one‑to‑one associations, foreach‑in queries, dynamic where clauses, choose/otherwise logic, hidden _parameter usage, and dynamic set updates—illustrated with SpringBoot and MySQL code examples.

Dynamic SQLMyBatisSpringBoot
0 likes · 6 min read
Nine MyBatis SQL Tricks for SpringBoot Web Applications (MySQL Example)
dbaplus Community
dbaplus Community
Apr 6, 2021 · Databases

10 Proven Strategies to Prevent Dangerous SQL Mistakes in Production

This article outlines ten practical techniques—from avoiding chat tools for SQL transmission to using soft deletes, backup tables, and proper field management—to help developers, testers, and DBAs safeguard production databases against accidental data loss and costly errors.

DevOpsdatabasemysql
0 likes · 13 min read
10 Proven Strategies to Prevent Dangerous SQL Mistakes in Production
Code Ape Tech Column
Code Ape Tech Column
Apr 6, 2021 · Backend Development

Common Reasons Why Indexes Are Ignored in SQL Queries

This article explains various situations—such as column-to-column comparisons, NULL values, NOT conditions, wildcard LIKE patterns, functions on indexed columns, low‑cardinality leading columns in composite indexes, implicit datatype conversions, arithmetic predicates, virtual and invisible indexes—that can cause an otherwise usable index to be bypassed by the optimizer, leading to full‑table scans.

Oracledatabaseindex
0 likes · 8 min read
Common Reasons Why Indexes Are Ignored in SQL Queries
Top Architect
Top Architect
Apr 2, 2021 · Databases

MySQL Index Types, Usage Guidelines, and EXPLAIN Interpretation

This article explains MySQL index types—including ordinary, unique, primary, composite, and full‑text indexes—their creation syntax, optimal usage scenarios, situations where indexes should be avoided, cases that render indexes ineffective, and how to interpret EXPLAIN output types for query performance analysis.

databaseexplainindex
0 likes · 7 min read
MySQL Index Types, Usage Guidelines, and EXPLAIN Interpretation
Qunar Tech Salon
Qunar Tech Salon
Mar 31, 2021 · Databases

Tracing Full SQL Statements in PostgreSQL Transactions Using Log Configuration

This article explains how DBAs can use PostgreSQL's extensive logging parameters and log_line_prefix settings to locate and reconstruct every SQL statement within a transaction, illustrated with practical cases, command‑line examples, and step‑by‑step log‑analysis techniques for lock troubleshooting.

DBADatabase LoggingLock Troubleshooting
0 likes · 24 min read
Tracing Full SQL Statements in PostgreSQL Transactions Using Log Configuration
ITPUB
ITPUB
Mar 30, 2021 · Databases

10 Essential MySQL Development Rules Every DBA and Developer Should Follow

This article outlines ten practical MySQL development guidelines—from always using InnoDB and simple data types to avoiding SELECT *, ENUM, and low‑cardinality indexes, while emphasizing proper naming, charset choices, NOT NULL constraints, and continuous SQL monitoring with Percona Toolkit.

DBADatabase designbest practices
0 likes · 5 min read
10 Essential MySQL Development Rules Every DBA and Developer Should Follow
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Mar 29, 2021 · Databases

Implementing Distributed Read‑Write Locks with MySQL

This article explains how to build a distributed read‑write lock using MySQL tables and transactions, covering the business scenario, lock table design, detailed SQL procedures for write and read operations, logging, dead‑lock handling, and a cleanup job.

DatabaseConcurrencyDistributedLockLockTable
0 likes · 13 min read
Implementing Distributed Read‑Write Locks with MySQL
Python Programming Learning Circle
Python Programming Learning Circle
Mar 29, 2021 · Databases

User Retention, Funnel, and Session Analysis in ClickHouse Using Bitmap and Retention Functions

The article explains how to perform efficient user retention, funnel, and session analysis on large ClickHouse datasets by replacing costly multi‑table joins with bitmap compression, the built‑in retention function, windowFunnel, and high‑order array functions, providing practical SQL examples and performance insights.

BitmapSessionclickhouse
0 likes · 18 min read
User Retention, Funnel, and Session Analysis in ClickHouse Using Bitmap and Retention Functions
Laravel Tech Community
Laravel Tech Community
Mar 27, 2021 · Databases

Using MySQL Binlog for Data Recovery and Rollback

This guide explains how to verify that MySQL binlog is enabled, locate binlog files, use the mysqlbinlog utility to extract change logs for specific time ranges or tables, and apply the extracted SQL to recover or roll back erroneous data modifications.

BinlogData Recoverymysql
0 likes · 5 min read
Using MySQL Binlog for Data Recovery and Rollback
Architect's Tech Stack
Architect's Tech Stack
Mar 27, 2021 · Databases

Introducing ClickHouse: Columnar Database Overview, MySQL Migration, Performance Comparison, and Practical Tips

This article introduces ClickHouse, explains its column‑oriented architecture versus row‑oriented databases, details a MySQL‑to‑ClickHouse migration, shows a performance benchmark that reduces query time from minutes to seconds, and shares practical deployment tips and common pitfalls.

Columnar DatabaseData Migrationclickhouse
0 likes · 8 min read
Introducing ClickHouse: Columnar Database Overview, MySQL Migration, Performance Comparison, and Practical Tips
Aikesheng Open Source Community
Aikesheng Open Source Community
Mar 24, 2021 · Databases

Understanding MySQL Multi-Value Indexes and Their Use Cases

This article explains the difference between MySQL multi-value indexes and composite indexes, demonstrates how to create and query multi-value indexes using JSON columns, and shows performance benefits and practical scenarios when dealing with tables that have a large number of columns.

JSONMulti-Value Indexdatabase indexing
0 likes · 13 min read
Understanding MySQL Multi-Value Indexes and Their Use Cases
Top Architect
Top Architect
Mar 24, 2021 · Databases

Understanding the Use of WHERE 1=1 in Dynamic SQL

The article explains why developers insert the clause "WHERE 1=1" in dynamically generated SQL statements, shows example Java code, discusses how it prevents syntax errors when concatenating AND conditions, and offers advice on adding selective filters and indexes to avoid full table scans.

Database OptimizationDynamic QueryWHERE clause
0 likes · 3 min read
Understanding the Use of WHERE 1=1 in Dynamic SQL
Selected Java Interview Questions
Selected Java Interview Questions
Mar 23, 2021 · Backend Development

Understanding MyBatis: Concepts, Advantages, Disadvantages, Usage Scenarios, and Advanced Features

This article provides a comprehensive overview of MyBatis, a semi‑ORM Java framework, covering its core concepts, benefits, drawbacks, appropriate use cases, differences from Hibernate, parameter handling, dynamic SQL, caching, lazy loading, mapper binding, plugin development, and various configuration techniques.

BackendMyBatisORM
0 likes · 22 min read
Understanding MyBatis: Concepts, Advantages, Disadvantages, Usage Scenarios, and Advanced Features
Su San Talks Tech
Su San Talks Tech
Mar 19, 2021 · Databases

10 Proven Ways to Prevent Dangerous SQL Mistakes in Production

Learn ten practical strategies—from avoiding chat tools for SQL to using logical deletes, backups, and proper field management—to dramatically reduce the risk of costly database mishaps in production environments, ensuring safer data operations and easier recovery.

Data Managementdatabase safetysql
0 likes · 13 min read
10 Proven Ways to Prevent Dangerous SQL Mistakes in Production
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Mar 17, 2021 · Backend Development

Analyzing Node.js .heapsnapshot Files and Using heapquery for Memory‑Leak Investigation

The article shows how to generate a Node.js V8 heap snapshot with v8.getHeapSnapshot, explains the JSON‑like .heapsnapshot structure of nodes, edges, and strings, and demonstrates using the heapquery tool to import the data into SQLite for SQL queries that locate and trace memory‑leaking objects such as a HugeObj instance.

HeapSnapshotNode.jsV8
0 likes · 17 min read
Analyzing Node.js .heapsnapshot Files and Using heapquery for Memory‑Leak Investigation
Code Ape Tech Column
Code Ape Tech Column
Mar 15, 2021 · Databases

Why Large OFFSETs Slow MySQL Queries and How to Fix Them

A developer discovers that massive OFFSET values in MySQL pagination cause full‑table scans and severe latency, then reproduces the issue with simulated data, benchmarks the slowdown, and presents three practical solutions—including index‑covering subqueries, cursor‑based pagination, and offset limits—to restore query performance.

Index OptimizationKeyset PaginationLarge OFFSET
0 likes · 16 min read
Why Large OFFSETs Slow MySQL Queries and How to Fix Them
Qunar Tech Salon
Qunar Tech Salon
Mar 11, 2021 · Information Security

Implementing Row-Level and Column-Level Security in PostgreSQL

This article explains how to use PostgreSQL's row-level and column-level security features to restrict user access to specific rows and columns, providing step‑by‑step examples, code snippets, and discussion of policies, BYPASSRLS, and performance considerations.

Column-Level SecurityDatabase Access Controlrow-level security
0 likes · 9 min read
Implementing Row-Level and Column-Level Security in PostgreSQL
dbaplus Community
dbaplus Community
Mar 7, 2021 · Databases

Why Does MySQL GROUP BY Return Sorted Results? Uncovering Implicit Sorting

This article explains how MySQL versions prior to 8.0 automatically sorted GROUP BY results, why the optimizer added this hidden ordering, how the behavior was removed in MySQL 8.0, and what developers must watch for when migrating, illustrated with concrete SQL examples and EXPLAIN output.

GROUP BYimplicit sortingmigration
0 likes · 11 min read
Why Does MySQL GROUP BY Return Sorted Results? Uncovering Implicit Sorting
Architecture Digest
Architecture Digest
Mar 4, 2021 · Databases

Performance Comparison Between MariaDB and MySQL

This article reviews the history of MySQL, introduces MariaDB as its open‑source fork, and presents a series of benchmark tests—including single‑row inserts, batch inserts, and various query scenarios—showing that MariaDB generally outperforms MySQL in speed while using more memory.

Database PerformanceMariaDBbenchmark
0 likes · 8 min read
Performance Comparison Between MariaDB and MySQL
Architect
Architect
Mar 2, 2021 · Databases

SQL Query Optimization for Large-Scale MES Reporting Using Stored Procedures

An in-depth case study describes how to dramatically improve the performance of a massive MES reporting query—reducing execution from over half an hour to seconds—by analyzing inefficient SQL, adding proper indexes, avoiding full table scans, redesigning with stored procedures, temporary tables, and selective use of NOLOCK.

MESStored Proceduredatabase
0 likes · 22 min read
SQL Query Optimization for Large-Scale MES Reporting Using Stored Procedures
Big Data Technology & Architecture
Big Data Technology & Architecture
Feb 28, 2021 · Databases

Understanding the SQL Execution Process in ClickHouse

This article explains in detail how ClickHouse processes a user‑submitted SQL query, covering the server’s request handling, parsing, query rewrite, optimization, interpreter execution, and result transmission, while illustrating key source code snippets and architectural components.

BackendDatabase InternalsParser
0 likes · 18 min read
Understanding the SQL Execution Process in ClickHouse
Big Data Technology & Architecture
Big Data Technology & Architecture
Feb 26, 2021 · Databases

Overview of ClickHouse Table Engines and Their Usage

This article provides a comprehensive overview of ClickHouse's table engines, explaining the purpose and characteristics of each engine series—including Log, Integration, Special, and the various MergeTree families—while offering detailed SQL examples and guidance on when to use each engine for different data workloads.

MergeTreeTable Enginesclickhouse
0 likes · 16 min read
Overview of ClickHouse Table Engines and Their Usage
Top Architect
Top Architect
Feb 26, 2021 · Databases

52 Practical SQL Query Performance Optimization Strategies

This article compiles fifty‑two actionable tips for improving SQL query performance, covering index creation, query rewriting, use of temporary tables, proper data types, server configuration, and best practices for MySQL and other relational databases.

indexesoptimizationperformance
0 likes · 18 min read
52 Practical SQL Query Performance Optimization Strategies
Code Ape Tech Column
Code Ape Tech Column
Feb 24, 2021 · Databases

Understanding HikariCP Connection Pool Sizing: Principles, Experiments, and Practical Guidelines

This article translates and expands on a HikariCP wiki post, explaining why smaller database connection pools often yield better performance, presenting benchmark videos and data, describing the underlying CPU, disk, and network constraints, and offering a simple formula to calculate an optimal pool size for typical server configurations.

Connection PoolDatabase PerformanceHikariCP
0 likes · 9 min read
Understanding HikariCP Connection Pool Sizing: Principles, Experiments, and Practical Guidelines
Java Backend Technology
Java Backend Technology
Feb 23, 2021 · Databases

Why Misplaced Quotes Turn MySQL Updates into Zeroes – A Deep Dive

This article explains how incorrectly placed double‑quotation marks in MySQL UPDATE and SELECT statements cause implicit type conversion, turning intended string assignments into zero values and making WHERE clauses always true, leading to massive data corruption and unexpected query results.

Data CorruptionImplicit ConversionQuotation Marks
0 likes · 7 min read
Why Misplaced Quotes Turn MySQL Updates into Zeroes – A Deep Dive
JavaEdge
JavaEdge
Feb 20, 2021 · Databases

Understanding SQL: DDL, DML, and DCL Explained

The article explains the three main types of SQL statements—DDL for defining database objects, DML for manipulating data, and DCL for controlling access—detailing their purposes, common keywords, and typical usage scenarios in relational database systems.

DCLDDLDML
0 likes · 3 min read
Understanding SQL: DDL, DML, and DCL Explained
Laravel Tech Community
Laravel Tech Community
Feb 18, 2021 · Databases

Why NULL Columns Can Break MySQL Indexes and How to Avoid It

This article explains how MySQL treats NULL values, why columns defined with NULL can invalidate indexes, demonstrates the behavior of IS NULL, IS NOT NULL, the spaceship operator, IFNULL, COUNT, DISTINCT, GROUP BY and ORDER BY with NULLs, and offers practical recommendations for schema design.

Database designNULLindexes
0 likes · 13 min read
Why NULL Columns Can Break MySQL Indexes and How to Avoid It
ITPUB
ITPUB
Feb 18, 2021 · Databases

52 Proven SQL Performance Optimization Techniques to Supercharge Your Queries

This article compiles fifty‑two practical SQL tuning strategies—including proper indexing, query rewriting, avoiding full table scans, using temporary tables, managing locks, and choosing the right storage engine—to help developers dramatically improve database query performance and scalability.

Query Tuningindexingperformance
0 likes · 22 min read
52 Proven SQL Performance Optimization Techniques to Supercharge Your Queries
DataFunTalk
DataFunTalk
Feb 17, 2021 · Big Data

Apache Iceberg 0.11.0: New Partition Support, SortOrder, Flink Streaming Reader, and Ecosystem Integrations

The article details Apache Iceberg 0.11.0's core enhancements—including partition changes, SortOrder, extensive Flink and Spark integrations, CDC/Upsert support, hash‑based write distribution to reduce small files, and upcoming 0.12.0 roadmap—while providing practical SQL and API examples for data‑lake practitioners.

Apache IcebergBig DataCDC
0 likes · 13 min read
Apache Iceberg 0.11.0: New Partition Support, SortOrder, Flink Streaming Reader, and Ecosystem Integrations
ITPUB
ITPUB
Feb 17, 2021 · Databases

52 Proven SQL Performance Optimization Techniques to Supercharge Your Queries

This article compiles 52 practical SQL tuning strategies—including index best practices, query rewriting, use of temporary tables, proper data types, and server configuration tips—to dramatically improve MySQL query speed and overall database efficiency.

Query Tuningindexesmysql
0 likes · 23 min read
52 Proven SQL Performance Optimization Techniques to Supercharge Your Queries
Top Architect
Top Architect
Feb 17, 2021 · Backend Development

Understanding and Optimizing MyBatis PageHelper Pagination Performance

This article analyzes the performance bottlenecks of PageHelper's pagination in MyBatis, demonstrates how large offsets degrade MySQL query speed, and presents a more efficient sub‑query join solution along with suggestions for refactoring the interceptor to improve backend pagination efficiency.

BackendMyBatisjava
0 likes · 9 min read
Understanding and Optimizing MyBatis PageHelper Pagination Performance
DataFunTalk
DataFunTalk
Feb 16, 2021 · Big Data

Understanding Presto: Architecture, Query Execution, and Youzan’s Practical Experience

This article explains Presto’s core architecture and low‑latency query execution process, describes how Youzan adopts Presto for various data‑platform scenarios, discusses the evolution of its deployment, and outlines the performance challenges and future enhancements such as Alluxio integration and session property management.

Big DataPrestoYouzan
0 likes · 13 min read
Understanding Presto: Architecture, Query Execution, and Youzan’s Practical Experience
Code Ape Tech Column
Code Ape Tech Column
Feb 16, 2021 · Databases

52 Proven SQL Optimization Techniques to Supercharge Your Queries

This article compiles 52 practical SQL performance‑tuning strategies—including indexing rules, query‑writing shortcuts, join optimizations, lock handling, temporary tables, storage‑engine choices, data‑type recommendations, backup tips, and useful code examples—to help developers dramatically improve query speed and overall database efficiency.

Query Tuningdatabaseindexing
0 likes · 20 min read
52 Proven SQL Optimization Techniques to Supercharge Your Queries