Tagged articles

SQL

2900 articles · Page 17 of 29
360 Tech Engineering
360 Tech Engineering
Dec 9, 2021 · Databases

Understanding MySQL Slow Query Analysis with EXPLAIN

This article explains why SQL queries can become slow, outlines MySQL's internal architecture, demonstrates how to use the EXPLAIN statement to view execution plans, and interprets key fields such as type, key, and Extra to help developers identify and optimize performance bottlenecks.

EXPLAINMySQLSQL
0 likes · 5 min read
Understanding MySQL Slow Query Analysis with EXPLAIN
Big Data Technology & Architecture
Big Data Technology & Architecture
Dec 8, 2021 · Big Data

Presto Overview, Architecture, and Query Optimization Techniques

This article introduces Presto, an open‑source MPP SQL engine, explains its coordinator‑worker architecture and connector model, and provides detailed storage, query, and join optimization strategies—including in‑memory parallelism, dynamic plan compilation, and practical SQL code examples—to achieve low‑latency, high‑performance analytics on big data.

Query OptimizationSQLbig data
0 likes · 7 min read
Presto Overview, Architecture, and Query Optimization Techniques
Java Interview Crash Guide
Java Interview Crash Guide
Dec 7, 2021 · Databases

Why Traditional Pagination Fails After Sharding and How to Solve It

When a table grows beyond ten million rows, sharding it across multiple databases improves performance, but the usual LIMIT offset, pagesize pagination breaks, leading to missing or incorrect records; this article examines why simple merge approaches fail and evaluates global, secondary query, and no‑skip paging strategies, highlighting their trade‑offs.

MySQLSQLdatabase
0 likes · 12 min read
Why Traditional Pagination Fails After Sharding and How to Solve It
Top Architect
Top Architect
Dec 4, 2021 · Databases

Optimizing MyBatis Batch Insert Performance with ExecutorType.BATCH and Foreach Limits

This article explains why MyBatis foreach batch inserts can become extremely slow when inserting thousands of rows, analyzes the underlying SQL and PreparedStatement overhead, and demonstrates how using ExecutorType.BATCH together with a limited batch size (20‑50 rows per statement) dramatically improves insertion speed.

Batch InsertExecutorType.BATCHJava
0 likes · 9 min read
Optimizing MyBatis Batch Insert Performance with ExecutorType.BATCH and Foreach Limits
dbaplus Community
dbaplus Community
Nov 28, 2021 · Databases

Mastering MySQL Indexes: When to Use, Combine, and Optimize Them

This article explains why indexes are vital for MySQL performance, how to decide when to add ordinary, composite, prefix, or unique indexes, the pitfalls of using non‑sequential primary keys, and advanced optimizations such as change buffer, index condition pushdown, and MRR to reduce I/O.

B+TreeMySQLSQL
0 likes · 18 min read
Mastering MySQL Indexes: When to Use, Combine, and Optimize Them
dbaplus Community
dbaplus Community
Nov 27, 2021 · Big Data

How Vipshop’s Hera Data Service Boosts Big Data Access and Performance

The article details the design, architecture, core features, scheduling logic, and performance gains of Vipshop’s self‑built Hera data service, which unifies data‑warehouse access, supports multiple engines, adapts SQL execution, and dramatically improves SLA for both B‑to‑B and B‑to‑C workloads.

Data ServiceDistributed ComputingETL
0 likes · 22 min read
How Vipshop’s Hera Data Service Boosts Big Data Access and Performance
macrozheng
macrozheng
Nov 26, 2021 · Databases

7 Common MySQL Index Pitfalls and How to Avoid Them

This article examines seven typical scenarios where MySQL indexes fail—such as OR conditions, leading wildcards, missing quotes, functions, NULL checks, arithmetic on indexed columns, and composite index order—explaining why they happen and offering practical solutions to maintain query performance.

MySQLSQLdatabase optimization
0 likes · 12 min read
7 Common MySQL Index Pitfalls and How to Avoid Them
macrozheng
macrozheng
Nov 23, 2021 · Databases

15 Essential SQL Optimization Tips to Boost Query Performance

This article presents fifteen practical SQL optimization techniques—including avoiding SELECT *, using UNION ALL, leveraging IN/EXISTS, batching inserts, applying LIMIT, controlling IN list size, incremental queries, efficient pagination, preferring JOINs, limiting join tables, managing indexes, choosing proper column types, improving GROUP BY, and using EXPLAIN—to help developers dramatically improve query speed and resource usage.

MySQLQuery TuningSQL
0 likes · 20 min read
15 Essential SQL Optimization Tips to Boost Query Performance
dbaplus Community
dbaplus Community
Nov 21, 2021 · Databases

15 Proven SQL Optimization Techniques to Boost Query Performance

This article presents fifteen practical SQL optimization tips—including avoiding SELECT *, preferring UNION ALL, leveraging small‑table‑driven queries, batching inserts, applying LIMIT, handling large IN lists, incremental fetching, efficient pagination, join strategies, index management, field‑type choices, and using EXPLAIN—to dramatically improve MySQL query speed and resource usage.

MySQLSQLdatabase
0 likes · 18 min read
15 Proven SQL Optimization Techniques to Boost Query Performance
macrozheng
macrozheng
Nov 19, 2021 · Databases

Discover chiner: A Modern Open‑Source Database Design Tool

This article introduces chiner, an open‑source, cross‑platform database design tool built with React, Electron, and Java, compares it with PowerDesigner, walks through installation, core concepts, table and relationship management, and shows import/export capabilities for efficient schema development.

ElectronReactSQL
0 likes · 8 min read
Discover chiner: A Modern Open‑Source Database Design Tool
dbaplus Community
dbaplus Community
Nov 14, 2021 · Databases

What Happens When MySQL DROP Permission Is Revoked? A Hands‑On Exploration

After a colleague accidentally dropped a production database, we revoked DROP privileges for a MySQL user and systematically tested how this restriction impacts common operations such as renaming tables, using TRUNCATE, deleting rows, dropping objects, and recovering data via binlog, revealing surprising behaviors and practical workarounds.

DROP permissionMySQLSQL
0 likes · 9 min read
What Happens When MySQL DROP Permission Is Revoked? A Hands‑On Exploration
Top Architect
Top Architect
Nov 11, 2021 · Databases

How to Remove Duplicate Data in MySQL Tables Efficiently

This article explains why duplicate rows appear in MySQL tables, demonstrates how to identify them with SELECT queries, and provides step‑by‑step SQL solutions—including safe deletion of all duplicates or retaining a single record per group—using subqueries and temporary tables for efficient cleanup.

Duplicate DataMySQLSQL
0 likes · 5 min read
How to Remove Duplicate Data in MySQL Tables Efficiently
Su San Talks Tech
Su San Talks Tech
Nov 10, 2021 · Databases

15 Proven SQL Optimization Techniques to Boost Query Performance

This article presents fifteen practical SQL optimization tips—including avoiding SELECT *, using UNION ALL, driving large tables with small ones, batch operations, LIMIT usage, index control, proper data types, and efficient GROUP BY—to help developers improve query speed, reduce resource consumption, and avoid common performance pitfalls.

MySQLQuery TuningSQL
0 likes · 20 min read
15 Proven SQL Optimization Techniques to Boost Query Performance
Top Architect
Top Architect
Nov 9, 2021 · Databases

Understanding MySQL Indexes: Types, Structures, and Usage

This article explains MySQL index fundamentals, classifies indexes by data structure, storage engine, field characteristics and column count, compares B+Tree with B‑Tree, hash and red‑black trees, and demonstrates practical creation, usage, and optimization techniques with SQL examples and diagrams.

B+ TreeInnoDBMySQL
0 likes · 14 min read
Understanding MySQL Indexes: Types, Structures, and Usage
Architect's Tech Stack
Architect's Tech Stack
Nov 9, 2021 · Backend Development

Comparative Implementation of a Student Score Statistics Query Using Fluent MyBatis, Native MyBatis, and MyBatis‑Plus

This article demonstrates how to implement a student score statistics query—calculating count, minimum, maximum, and average scores per term and subject—using Fluent MyBatis, native MyBatis, and MyBatis‑Plus, comparing code complexity, configuration, and generated code across the three approaches.

Fluent-MyBatisJavaMyBatis
0 likes · 9 min read
Comparative Implementation of a Student Score Statistics Query Using Fluent MyBatis, Native MyBatis, and MyBatis‑Plus
Ops Development Stories
Ops Development Stories
Nov 9, 2021 · Databases

Master MySQL Index Optimization: 10 Practical Tips to Avoid Index Pitfalls

This article demonstrates how to create and use a sample employees table, explains composite index structures, and provides ten concrete MySQL index best‑practice guidelines—covering full‑value matches, leftmost‑prefix rules, avoiding functions, range conditions, covering indexes, inequality, NULL checks, leading wildcards, type conversions, and OR usage—each illustrated with EXPLAIN output and code examples.

EXPLAINIndex OptimizationMySQL
0 likes · 10 min read
Master MySQL Index Optimization: 10 Practical Tips to Avoid Index Pitfalls
ITPUB
ITPUB
Nov 8, 2021 · Databases

When a Missing Index Cost $5,000: Lessons from a PlanetScale Mishap

An engineer’s oversight in a PlanetScale schema—omitting a foreign‑key‑based index—led to massive row‑scan costs, prompting a $5,000 bill, while the article also critiques junior developers’ naive schema designs and offers advice on proper database indexing and mentorship.

PlanetScaleSQLjunior developers
0 likes · 8 min read
When a Missing Index Cost $5,000: Lessons from a PlanetScale Mishap
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Nov 7, 2021 · Backend Development

Comprehensive Overview and Source Code Analysis of the MyBatis Persistence Framework

This article provides a detailed introduction to MyBatis, covering its relationship with JDBC, core components, execution flow, configuration, design patterns, caching strategies, plugin mechanisms, logging options, dynamic SQL features, and includes complete Java and XML code examples to illustrate practical usage.

BackendDesign PatternsJava
0 likes · 19 min read
Comprehensive Overview and Source Code Analysis of the MyBatis Persistence Framework
Selected Java Interview Questions
Selected Java Interview Questions
Nov 6, 2021 · Databases

Understanding MySQL Indexes: B+Tree Structure, Engine Implementations, and Optimization Techniques

This article explains the fundamentals of MySQL indexes, focusing on B+Tree structures, differences between MyISAM and InnoDB implementations, practical indexing strategies, configuration and SQL tuning tips, and provides a detailed case study with EXPLAIN analysis to help developers design efficient indexes.

B+TreeEXPLAINInnoDB
0 likes · 26 min read
Understanding MySQL Indexes: B+Tree Structure, Engine Implementations, and Optimization Techniques
Aikesheng Open Source Community
Aikesheng Open Source Community
Nov 5, 2021 · Databases

SQLE 1.2111.0-pre1 Release Notes

The SQLE 1.2111.0-pre1 preview release introduces plugin-based support for arbitrary databases, provides a PostgreSQL plugin example, includes API adjustments, fixes a rule‑passing bug, and offers links to the source repository, documentation, and release information for users and administrators.

PostgreSQLSQLaudit
0 likes · 3 min read
SQLE 1.2111.0-pre1 Release Notes
Architecture & Thinking
Architecture & Thinking
Nov 4, 2021 · Databases

Master MySQL: From DDL Basics to Advanced Table Constraints

This guide walks through SQL’s language categories—DDL, DML, DQL, DCL, and TCL—then demonstrates practical database and table management commands such as creating and dropping databases, defining tables with various constraints (not‑null, default, primary/foreign keys, unique, auto‑increment), and modifying or copying fields and tables.

DDLDatabase ManagementMySQL
0 likes · 13 min read
Master MySQL: From DDL Basics to Advanced Table Constraints
Top Architect
Top Architect
Nov 3, 2021 · Databases

Understanding SELECT ... FOR UPDATE Locking in MySQL: Row vs. Table Locks

This article explains how MySQL's SELECT ... FOR UPDATE statement adds a pessimistic lock, detailing when it results in row-level locking versus table-level locking based on the presence of indexes or primary keys, and demonstrates the behavior with multiple practical examples.

MySQLRow LockSELECT FOR UPDATE
0 likes · 5 min read
Understanding SELECT ... FOR UPDATE Locking in MySQL: Row vs. Table Locks
Programmer DD
Programmer DD
Nov 3, 2021 · Backend Development

Extending MyBatis‑Plus for ClickHouse: Custom Update, Delete, and Mapper Implementation

This article demonstrates how to extend MyBatis‑Plus to support ClickHouse-specific SQL operations by creating custom enum definitions, method classes, a SQL injector, a super mapper interface, and accompanying unit tests, enabling update, delete, and logical delete functionalities that differ from standard MySQL behavior.

ClickHouseJavaMyBatis-Plus
0 likes · 9 min read
Extending MyBatis‑Plus for ClickHouse: Custom Update, Delete, and Mapper Implementation
Aikesheng Open Source Community
Aikesheng Open Source Community
Oct 29, 2021 · Databases

SQLE 1.2110.0-pre1 Release Notes

The pre‑release version 1.2110.0‑pre1 of the open‑source SQL audit tool SQLE is announced, detailing its project overview, repository links, new feature (Online DDL support), UI optimizations, and bug fixes, followed by promotional links and unrelated personal commentary.

SQLSQLEaudit
0 likes · 3 min read
SQLE 1.2110.0-pre1 Release Notes
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Oct 28, 2021 · Databases

MySQL Upgrade Guide: Principles, 8.0 Changes, Pre‑Upgrade Checks, and Step‑by‑Step In‑Place & Logical Migration

This article outlines the principles, recommended practices, and detailed steps for upgrading MySQL from 5.7 to 8.0, covering version compatibility, major 8.0 feature changes, pre‑upgrade checks, in‑place and logical migration procedures, and essential configuration adjustments with example commands.

InnoDBMySQLSQL
0 likes · 23 min read
MySQL Upgrade Guide: Principles, 8.0 Changes, Pre‑Upgrade Checks, and Step‑by‑Step In‑Place & Logical Migration
Wukong Talks Architecture
Wukong Talks Architecture
Oct 25, 2021 · Databases

MySQL Index Optimization and Code Review Practices

This article explains MySQL index fundamentals, the B+Tree structure, various index types, the concept of covering indexes to avoid row look‑ups, the left‑most prefix rule, and presents three real‑world optimization cases that illustrate how to design effective composite indexes, reduce index size, and improve query performance while avoiding costly table scans and sorts.

Code ReviewIndex OptimizationMySQL
0 likes · 13 min read
MySQL Index Optimization and Code Review Practices
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Oct 15, 2021 · Backend Development

Comprehensive Guide to MyBatis Batch Insert: Three Methods, Performance Comparison, and Analysis

This article introduces three MyBatis batch insertion techniques—looped single inserts, MyBatis‑Plus batch inserts, and native SQL batch inserts—provides complete implementation code, performance test results for inserting 100,000 records, analyzes the causes of differences, and offers practical solutions to common pitfalls such as MySQL packet size limits.

Batch InsertJavaMyBatis
0 likes · 13 min read
Comprehensive Guide to MyBatis Batch Insert: Three Methods, Performance Comparison, and Analysis
Aikesheng Open Source Community
Aikesheng Open Source Community
Oct 13, 2021 · Databases

MySQL Native Horizontal Sharding with MERGE Tables

This article explains MySQL's native horizontal sharding using MERGE tables, covering the concepts of horizontal versus vertical splitting, table‑level sharding and partitioning, practical examples, advantages, limitations, and suitable use cases for MERGE tables.

Horizontal ShardingMERGE TableMySQL
0 likes · 11 min read
MySQL Native Horizontal Sharding with MERGE Tables
Su San Talks Tech
Su San Talks Tech
Oct 13, 2021 · Databases

How to Recover Accidentally Deleted MySQL Data Using Binlog

After a client mistakenly imported 60,000 useless rows and a developer’s faulty delete command erased over 100,000 critical records, this guide explains how to use MySQL binlog to locate, extract, and replay the missing SQL statements, restore the data, and prevent future disasters.

BinlogMySQLSQL
0 likes · 17 min read
How to Recover Accidentally Deleted MySQL Data Using Binlog
ITPUB
ITPUB
Oct 12, 2021 · Databases

How to Handle Pagination After MySQL Sharding: Pitfalls and Solutions

When a MySQL table is sharded into multiple databases or tables, the usual LIMIT offset, pagesize pagination breaks, and this article examines why simple merge fails, then presents three practical approaches—global limit, secondary queries, and jump‑page restriction—highlighting their trade‑offs and limitations.

MySQLSQLdatabase
0 likes · 13 min read
How to Handle Pagination After MySQL Sharding: Pitfalls and Solutions
Ops Development Stories
Ops Development Stories
Oct 12, 2021 · Databases

Mastering Database Indexes: From Binary Trees to B+Trees and Beyond

This article explains the fundamentals and structures of database indexes—including binary trees, red‑black trees, B‑Tree, B+Tree, hash indexes—and details how MySQL’s InnoDB and MyISAM engines implement clustered and non‑clustered indexes, covering their characteristics, storage files, and query behavior.

B+ TreeDatabase IndexesInnoDB
0 likes · 9 min read
Mastering Database Indexes: From Binary Trees to B+Trees and Beyond
Big Data Technology & Architecture
Big Data Technology & Architecture
Oct 12, 2021 · Big Data

Data Lake Evolution and a Practical Flink + Iceberg Implementation Guide

This article explores the evolution of data lakes, compares major cloud providers' lake architectures, introduces the emerging lakehouse concept, and provides a step‑by‑step Flink‑Iceberg implementation—including dependencies, catalog setup, table creation, checkpointing, and Kafka ingestion—demonstrating practical big‑data streaming solutions.

Data LakeFlinkSQL
0 likes · 14 min read
Data Lake Evolution and a Practical Flink + Iceberg Implementation Guide
Hacker Afternoon Tea
Hacker Afternoon Tea
Oct 11, 2021 · Backend Development

Inside Snuba: How Sentry’s Query Processing Pipeline Transforms Queries

The article explains Snuba’s multi‑stage query processing pipeline—from parsing legacy and SnQL languages into an AST, through logical validation and transformation, storage selection, translation, physical optimization, and final ClickHouse execution—highlighting how each step optimizes queries and safeguards the infrastructure.

ASTClickHouseQuery Processing
0 likes · 11 min read
Inside Snuba: How Sentry’s Query Processing Pipeline Transforms Queries
Java Architect Essentials
Java Architect Essentials
Oct 9, 2021 · Backend Development

Integrating Dataway with Spring Boot: A Step‑by‑Step Tutorial

This article explains how to integrate the Dataway interface‑configuration tool into a Spring Boot project by adding Hasor dependencies, configuring Dataway properties, creating required database tables, setting up the data source, wiring Hasor modules, enabling Hasor in the application, and finally creating and testing a Dataway API without writing any business code.

API ConfigurationDataQLDataway
0 likes · 15 min read
Integrating Dataway with Spring Boot: A Step‑by‑Step Tutorial
Big Data Technology & Architecture
Big Data Technology & Architecture
Oct 9, 2021 · Big Data

Apache Flink 1.7–1.14 Release Highlights and Feature Evolution

This article provides a comprehensive overview of Apache Flink's major releases from version 1.7 to 1.14, detailing new APIs, state management improvements, Kubernetes integration, SQL and Table API enhancements, checkpointing advances, and performance optimizations that together illustrate the platform's evolution for both streaming and batch processing workloads.

Apache FlinkBatch ProcessingCheckpoint
0 likes · 78 min read
Apache Flink 1.7–1.14 Release Highlights and Feature Evolution
macrozheng
macrozheng
Oct 8, 2021 · Databases

How to Speed Up MySQL Deep Pagination: 4 Proven Optimization Techniques

This article explains why MySQL LIMIT deep pagination becomes slow with large offsets and presents four practical optimization methods—including subqueries, delayed INNER JOIN, tag‑recording, and BETWEEN…AND—demonstrated with real‑world production examples.

MySQLQuery OptimizationSQL
0 likes · 11 min read
How to Speed Up MySQL Deep Pagination: 4 Proven Optimization Techniques
21CTO
21CTO
Oct 6, 2021 · Databases

Master MySQL 8.0 JSON Functions: Practical Tips and Code Samples

This article introduces MySQL 8.0's enhanced JSON capabilities, covering key constraints, storage functions, GeoJSON support, indexing, in‑place updates, essential JSON utilities, path expressions, extraction, modification techniques, and the powerful JSON_TABLE feature with clear code examples.

BackendData TypesJSON
0 likes · 7 min read
Master MySQL 8.0 JSON Functions: Practical Tips and Code Samples
21CTO
21CTO
Oct 4, 2021 · Databases

October 2023 DB‑Engines Ranking: Top 10 Databases & Emerging Trends

The October DB‑Engines popularity ranking shows the same top‑10 databases as September, highlights score gains for MySQL and PostgreSQL, notes a year‑over‑year decline for the three leading systems, and reveals Snowflake’s rise into the top‑20, all based on five key popularity indicators.

DB-EnginesNoSQLSQL
0 likes · 4 min read
October 2023 DB‑Engines Ranking: Top 10 Databases & Emerging Trends
IT Architects Alliance
IT Architects Alliance
Oct 4, 2021 · Databases

Understanding MySQL Indexes: Types, Creation, and Optimization

This article explains MySQL indexes, covering their definition, benefits, various types such as B‑tree and B+‑tree, practical techniques for creating high‑performance indexes like prefix, composite, and clustering indexes, and how to inspect and maintain index information and fragmentation.

B+ TreeMySQLSQL
0 likes · 17 min read
Understanding MySQL Indexes: Types, Creation, and Optimization
Aikesheng Open Source Community
Aikesheng Open Source Community
Sep 30, 2021 · Databases

Modifying Trusted IP Whitelist for MySQL Users

This article explains how MySQL implements trusted IP access control via user@host definitions, demonstrates creating and updating user accounts and associated metadata tables, and provides step‑by‑step procedures—including DCL commands, metadata updates, and handling of stored objects—to safely modify trusted IPs in production environments.

MySQLSQLTrusted IP
0 likes · 20 min read
Modifying Trusted IP Whitelist for MySQL Users
StarRocks
StarRocks
Sep 30, 2021 · Databases

Master StarRocks Lateral Join & Unnest for Efficient Row‑to‑Column Transformations

StarRocks 1.18 introduces Lateral Join + Unnest for elegant row‑to‑multiple‑row conversion, Fast Decimal with up to 38‑digit precision and 4× faster arithmetic, extensive Bitmap function enhancements, and a suite of import, storage, operator, and ecosystem optimizations that dramatically boost query performance and scalability.

Bitmap optimizationFast DecimalLATERAL JOIN
0 likes · 7 min read
Master StarRocks Lateral Join & Unnest for Efficient Row‑to‑Column Transformations
Java Backend Technology
Java Backend Technology
Sep 30, 2021 · Databases

Why MySQL Picks Full Table Scan Over Index with ORDER BY id LIMIT 1

The article examines a MySQL optimizer bug where a query with a WHERE clause on uid, ORDER BY id ASC, and LIMIT 1 incorrectly triggers a full table scan despite a usable composite index, explains the optimizer’s cost calculations, and offers workarounds such as FORCE INDEX or a harmless arithmetic trick to force index usage.

MySQLOptimizerSQL
0 likes · 8 min read
Why MySQL Picks Full Table Scan Over Index with ORDER BY id LIMIT 1
ITPUB
ITPUB
Sep 29, 2021 · Databases

INSERT vs LOAD DATA INFILE in MySQL: When to Choose Each for Speed and Bulk Loads

This article compares MySQL's INSERT INTO and LOAD DATA INFILE statements, explains their syntax, shows practical examples, highlights when each should be used for bulk data loading, discusses error handling with IGNORE, and explains why LOAD DATA INFILE is typically faster.

INSERTLOAD DATA INFILEMySQL
0 likes · 7 min read
INSERT vs LOAD DATA INFILE in MySQL: When to Choose Each for Speed and Bulk Loads
Aikesheng Open Source Community
Aikesheng Open Source Community
Sep 29, 2021 · Databases

Using MySQL 8.0 JSON Schema Validation Functions

This article explains how MySQL 8.0 introduces strict JSON schema validation, demonstrates the json_schema_valid and json_schema_validation_report functions with array and object examples, and shows how to enforce schema checks in tables using CHECK constraints.

JSON SchemaMySQLSQL
0 likes · 11 min read
Using MySQL 8.0 JSON Schema Validation Functions
Baidu Intelligent Testing
Baidu Intelligent Testing
Sep 28, 2021 · Databases

Design and Evolution of BaikalDB: A Cloud‑Native Distributed Database for Commercial Advertising Systems

This article examines the business storage requirements of large‑scale advertising platforms and details how BaikalDB was architected as a cloud‑native, MySQL‑compatible distributed database that combines OLTP, OLAP, KV and full‑text capabilities while ensuring high reliability, low cost and linear scalability.

AdvertisingBaikalDBRaft
0 likes · 24 min read
Design and Evolution of BaikalDB: A Cloud‑Native Distributed Database for Commercial Advertising Systems
Big Data Technology Architecture
Big Data Technology Architecture
Sep 28, 2021 · Big Data

Integrating Apache Kyuubi with CDH 6 and Spark 3: Deployment, Configuration, and Performance Tuning

This guide explains how to deploy Apache Kyuubi on a CDH 6 cluster, replace HiveServer2 with Kyuubi, integrate Spark 3, apply necessary patches, configure environment and Spark settings, and optimize engine sharing for various workloads, providing complete code snippets and step‑by‑step instructions.

CDHHiveServer2Kyuubi
0 likes · 19 min read
Integrating Apache Kyuubi with CDH 6 and Spark 3: Deployment, Configuration, and Performance Tuning
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Sep 27, 2021 · Backend Development

Implementing Batch Insert with MyBatis-Plus in Java

This article explains how to improve database insertion performance in Java by replacing per‑iteration inserts with MyBatis‑Plus’s saveBatch method, detailing dependency setup, schema creation, entity, controller, service, and mapper code for efficient bulk operations.

BackendBatch InsertJava
0 likes · 8 min read
Implementing Batch Insert with MyBatis-Plus in Java
Code Ape Tech Column
Code Ape Tech Column
Sep 26, 2021 · Databases

MySQL Index Optimization: Fundamentals, Types, and Practical Cases

This article explains MySQL index fundamentals, B+‑tree implementation, the left‑most prefix rule, back‑to‑table issues, and provides three practical optimization cases with code examples to help developers design efficient composite indexes and avoid performance pitfalls.

Index OptimizationSQLdatabase
0 likes · 15 min read
MySQL Index Optimization: Fundamentals, Types, and Practical Cases
ITPUB
ITPUB
Sep 26, 2021 · Databases

Master SQL Basics: From Zero to Simple Queries with Real Examples

This tutorial walks beginners through the fundamentals of SQL, explaining what it is, how to run simple SELECT statements, create tables, insert, update, delete records, use WHERE clauses, and even generate fun graphics like stars and calendars using advanced queries.

CRUDData TypesDatabase Basics
0 likes · 11 min read
Master SQL Basics: From Zero to Simple Queries with Real Examples
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Sep 26, 2021 · Databases

Why MySQL Optimizer Chooses a Full Table Scan for ORDER BY id ASC LIMIT 1 and How to Force the Correct Index

The article analyzes a MySQL optimizer bug where a query with ORDER BY id ASC LIMIT 1 triggers a full‑table scan despite an applicable idx_uid_stat index, explains the cost‑based decision process, and presents two practical work‑arounds—using FORCE INDEX or a harmless arithmetic expression—to ensure the index is used.

MySQLOptimizerSQL
0 likes · 7 min read
Why MySQL Optimizer Chooses a Full Table Scan for ORDER BY id ASC LIMIT 1 and How to Force the Correct Index
转转QA
转转QA
Sep 26, 2021 · Big Data

A/B Testing Process Improvement and Validation Guide

This article outlines a comprehensive A/B testing workflow, covering historical issues, business test process improvements, detailed implementation steps, SQL validation scripts, data verification in analytics platforms, and practical notes to ensure accurate experiment data collection and analysis.

A/B testingData ValidationProcess Improvement
0 likes · 10 min read
A/B Testing Process Improvement and Validation Guide
NetEase Smart Enterprise Tech+
NetEase Smart Enterprise Tech+
Sep 26, 2021 · Databases

How ClickHouse Powers a Billion‑User Profiling Platform at Sub‑5‑Second Latency

This article shares NetEase’s experience building a user‑profile platform with ClickHouse, detailing the business background, challenges of massive data and complex queries, core table designs, data ingestion, bitmap techniques, performance gains, and future plans for scaling and optimization.

Bitmap IndexClickHouseReal-time Analytics
0 likes · 13 min read
How ClickHouse Powers a Billion‑User Profiling Platform at Sub‑5‑Second Latency
ZhiKe AI
ZhiKe AI
Sep 24, 2021 · Databases

How to Manually Re‑Add a Detached MySQL MGR Cluster Node

This guide walks through exporting business databases, re‑initializing the MySQL instance, importing data, extracting GTID information, creating replication and monitoring accounts with helper functions, resetting logs, and finally re‑joining the node to a MySQL Group Replication cluster.

GTIDGroup ReplicationMySQL
0 likes · 8 min read
How to Manually Re‑Add a Detached MySQL MGR Cluster Node
Laravel Tech Community
Laravel Tech Community
Sep 23, 2021 · Databases

Common MySQL Commands and Basic Database/Table Operations

This article presents a concise guide to the most frequently used MySQL commands, covering how to list databases and tables, create and drop databases and tables, and perform essential CRUD operations such as inserting, querying, updating, and deleting records.

CRUDMySQLSQL
0 likes · 5 min read
Common MySQL Commands and Basic Database/Table Operations
Programmer DD
Programmer DD
Sep 22, 2021 · Databases

Master MySQL 8.0 JSON Functions: Practical Tips and Code Samples

This article summarizes the most useful MySQL 8.0 JSON features—including storage limits, indexing, in‑place updates, path expressions, merging, and table functions—providing clear code examples and guidance for developers who need to work with JSON data in MySQL.

JSONJSON FunctionsMySQL8
0 likes · 8 min read
Master MySQL 8.0 JSON Functions: Practical Tips and Code Samples
NetEase Game Operations Platform
NetEase Game Operations Platform
Sep 18, 2021 · Big Data

StreamflySQL: NetEase Games’ Journey from Template JAR to SQL Gateway for Flink SQL Platformization

This article details NetEase Games’ evolution of its Flink SQL platform, from the early StreamflySQL v1 template‑JAR approach to the v2 SQL‑Gateway architecture, discussing design decisions, challenges such as metadata persistence, multi‑tenant security, horizontal scaling, and job state management.

FlinkReal-time AnalyticsSQL
0 likes · 17 min read
StreamflySQL: NetEase Games’ Journey from Template JAR to SQL Gateway for Flink SQL Platformization
Selected Java Interview Questions
Selected Java Interview Questions
Sep 15, 2021 · Big Data

Performance and Feature Comparison between Elasticsearch and ClickHouse for Log Analytics

This article compares Elasticsearch and ClickHouse in terms of architecture, query capabilities, and performance for log analytics, presenting test setups, Docker‑compose configurations, query examples, and benchmark results that show ClickHouse generally outperforms Elasticsearch in most basic query scenarios.

ClickHouseElasticsearchLog Analytics
0 likes · 12 min read
Performance and Feature Comparison between Elasticsearch and ClickHouse for Log Analytics
Python Crawling & Data Mining
Python Crawling & Data Mining
Sep 12, 2021 · Databases

How ClickHouse Projections Supercharge Query Performance

The article explains ClickHouse's new Projection feature, how it overcomes MergeTree's single‑sort limitation and materialized view drawbacks, provides step‑by‑step commands to create, materialize, and query projections, demonstrates massive performance gains, and outlines the rules for automatic projection selection.

ClickHouseMaterialized ViewProjection
0 likes · 12 min read
How ClickHouse Projections Supercharge Query Performance
Big Data Technology & Architecture
Big Data Technology & Architecture
Sep 11, 2021 · Big Data

Deep Dive into Flink Table & SQL Window Functions, UDFs, and Hive Integration

This article provides a comprehensive guide to Flink Table and SQL window semantics—including group, tumbling, sliding, and session windows—covers over windows, demonstrates how to define windows in SQL, explains built‑in functions, shows how to implement scalar, table, aggregate and table‑aggregate UDFs, and details Flink's integration with Hive, complete with Maven dependencies and runnable examples.

FlinkHive IntegrationSQL
0 likes · 27 min read
Deep Dive into Flink Table & SQL Window Functions, UDFs, and Hive Integration
Laravel Tech Community
Laravel Tech Community
Sep 10, 2021 · Databases

How to Remove Duplicate Records in MySQL Tables

This article explains why duplicate rows appeared in production MySQL tables, demonstrates how to identify them with SELECT queries, and provides two SQL solutions—one to delete all duplicates and another to keep a single record per duplicated key—while preserving data integrity.

MySQLSQLdata deduplication
0 likes · 5 min read
How to Remove Duplicate Records in MySQL Tables
Big Data Technology & Architecture
Big Data Technology & Architecture
Sep 10, 2021 · Big Data

Understanding Flink Table API and SQL: Dependencies, Planners, and Practical Usage

This article provides a comprehensive guide to Apache Flink's Table API and SQL, covering required dependencies, the differences between old and Blink planners, program structure, table environment creation, catalog registration, query execution, conversion between DataStream and Table, update modes, and time attribute handling, with Scala code examples throughout.

FlinkSQLScala
0 likes · 26 min read
Understanding Flink Table API and SQL: Dependencies, Planners, and Practical Usage
Architecture Digest
Architecture Digest
Sep 8, 2021 · Databases

Why Optimize Slow SQL and Practical MySQL Performance Tuning Techniques

This article explains the impact of slow SQL on database resources and user experience, outlines priority rules for addressing slow queries, details MySQL execution steps, identifies key performance factors, and provides concrete optimization methods including enabling slow‑query logs, indexing, I/O merging, and distributed architecture.

MySQLSQLdatabase optimization
0 likes · 17 min read
Why Optimize Slow SQL and Practical MySQL Performance Tuning Techniques
Qunar Tech Salon
Qunar Tech Salon
Sep 6, 2021 · Databases

Comparison of Sequence Usage Across Oracle, PostgreSQL, and MySQL

This article examines how Oracle, PostgreSQL, and MySQL implement and use database sequences for primary keys, covering explicit calls, trigger‑based, DEFAULT, and AUTO_INCREMENT methods, version support, and the effects of INSERT, UPDATE, DELETE, and TRUNCATE operations, concluding with a comparative summary.

MySQLOracleSQL
0 likes · 30 min read
Comparison of Sequence Usage Across Oracle, PostgreSQL, and MySQL
Architects Research Society
Architects Research Society
Sep 4, 2021 · Databases

Why Data Scientists Should Learn PostgreSQL

This article explains why mastering SQL and PostgreSQL is essential for data scientists, outlines the core skills of the role, describes PostgreSQL’s features, lists its advantages and drawbacks for data science, and suggests resources for getting started.

Data ScienceHTAPPostgreSQL
0 likes · 10 min read
Why Data Scientists Should Learn PostgreSQL
Xiaolei Talks DB
Xiaolei Talks DB
Sep 4, 2021 · Databases

Mastering TiDB Performance: Layered and Scenario‑Based Optimization Strategies

This article explores TiDB performance optimization by examining layered approaches—hardware, software, and SQL—and scenario‑specific tactics such as read/write hotspot handling, OLAP challenges, and distributed transaction tuning, offering practical insights and real‑world case studies from industry experts.

HardwarePerformance OptimizationSQL
0 likes · 7 min read
Mastering TiDB Performance: Layered and Scenario‑Based Optimization Strategies
High Availability Architecture
High Availability Architecture
Sep 3, 2021 · Backend Development

MyBatis Complete Example and Internal Architecture Overview

This article provides a thorough introduction to MyBatis, including a complete beginner example with database schema, Maven configuration, XML and Java mapper files, and a demo program, followed by an in‑depth explanation of MyBatis’s lifecycle, core components such as SqlSession, Executor, StatementHandler, ParameterHandler, ResultSetHandler, and their interactions.

ExecutorJavaMyBatis
0 likes · 27 min read
MyBatis Complete Example and Internal Architecture Overview
vivo Internet Technology
vivo Internet Technology
Sep 2, 2021 · Backend Development

Complete MyBatis Example and Architecture Overview

The article presents a step‑by‑step MyBatis tutorial that creates a sample user table, adds Maven dependencies, configures MyBatis, defines mapper XML and Java interfaces, demonstrates a test program, and explains core components such as SqlSession, Executor, StatementHandler, ParameterHandler, and ResultSetHandler.

ExecutorJavaMyBatis
0 likes · 28 min read
Complete MyBatis Example and Architecture Overview
Tencent Cloud Developer
Tencent Cloud Developer
Sep 2, 2021 · Databases

Understanding Geohash: Principles, Implementation, and Applications

Geohash encodes latitude‑longitude pairs into short base‑32 strings by recursively bisecting coordinate ranges and interleaving bits, allowing fast proximity queries via prefix matching, with precision controlled by string length, and is supported natively in Redis and useful for location‑based services.

GeoHashPHPRedis
0 likes · 12 min read
Understanding Geohash: Principles, Implementation, and Applications
Wukong Talks Architecture
Wukong Talks Architecture
Sep 1, 2021 · Databases

Understanding MySQL EXPLAIN Output: Columns and Their Meaning

This article explains the purpose and interpretation of each column in MySQL's EXPLAIN output, covering identifiers, select types, table sources, partition info, access types, possible keys, actual keys, key lengths, row estimates, filtering percentages, and extra execution details, with visual examples and code snippets.

EXPLAINMySQLSQL
0 likes · 10 min read
Understanding MySQL EXPLAIN Output: Columns and Their Meaning