Tagged articles

SQL

2820 articles · Page 13 of 29
FunTester
FunTester
Nov 25, 2022 · Databases

100 Common SQL Interview Questions with Answers and Explanations

This article presents 100 typical SQL interview questions covering basic queries, advanced techniques, and database design, illustrated with three sample tables (employee, department, job) and detailed answers, code examples, and analysis for both MySQL and Oracle implementations.

QueriesSQLSQL Advanced
0 likes · 50 min read
100 Common SQL Interview Questions with Answers and Explanations
Selected Java Interview Questions
Selected Java Interview Questions
Nov 24, 2022 · Databases

Common MySQL Index Failure Scenarios and Optimization Techniques

This article explains why many MySQL queries cause index inefficiency, details the leftmost prefix rule for composite indexes, illustrates common index‑breaking patterns such as SELECT *, functions, range queries, LIKE, OR, IN, ORDER BY, and introduces Index Condition Pushdown (ICP) as an optimization to reduce row lookups.

Leftmost PrefixMySQLSQL
0 likes · 19 min read
Common MySQL Index Failure Scenarios and Optimization Techniques
DaTaobao Tech
DaTaobao Tech
Nov 23, 2022 · Big Data

Real-time Log Aggregation and Monitoring with Blink (Flink) on Mobile Endpoints

The article explains how Blink, Alibaba’s optimized Flink variant, uses dynamic tables and streaming‑SQL to ingest mobile telemetry via source tables, compute per‑minute metrics such as API success rates with tumbling windows, and write results to Alibaba Cloud Log Service, enabling real‑time dashboards and extensible use cases like fraud detection.

FlinkReal-time StreamingSQL
0 likes · 10 min read
Real-time Log Aggregation and Monitoring with Blink (Flink) on Mobile Endpoints
Architecture Digest
Architecture Digest
Nov 23, 2022 · Databases

Using MySQL Built‑in SHOW Commands for Comprehensive Database Monitoring

This article explains how to collect a wide range of MySQL performance metrics—including connections, buffer pool usage, locks, SQL statistics, statement counts, throughput, server variables, and slow‑query logs—using only MySQL's native SHOW commands and performance_schema tables, while also offering practical tuning tips and analysis tools.

Database MonitoringMySQLPerformance Schema
0 likes · 11 min read
Using MySQL Built‑in SHOW Commands for Comprehensive Database Monitoring
dbaplus Community
dbaplus Community
Nov 19, 2022 · Databases

How to Speed Up MySQL Queries: Indexing and Execution Plan Optimization

This article walks through a MySQL performance case study, showing how nested subqueries on large tables can take hours, and demonstrates step‑by‑step how creating single‑column, composite, and covering indexes, as well as rewriting queries as joins, reduces execution time from tens of thousands of seconds to milliseconds.

Execution PlanIndexingMySQL
0 likes · 12 min read
How to Speed Up MySQL Queries: Indexing and Execution Plan Optimization
Liulishuo Tech Team
Liulishuo Tech Team
Nov 17, 2022 · Big Data

Real‑time Data Warehouse Architecture and Technical Solution at Liulishuo

This article describes Liulishuo's migration to a Flink‑based real‑time data warehouse, covering background, benefits, technology selection (storage, Flink platform, dimension table connectors), overall architecture, concrete Hudi and Elasticsearch ingestion examples, processing SQL, and future outlook for unified batch‑streaming storage.

ElasticsearchFlinkHudi
0 likes · 15 min read
Real‑time Data Warehouse Architecture and Technical Solution at Liulishuo
Laravel Tech Community
Laravel Tech Community
Nov 16, 2022 · Databases

DuckDB New Release Highlights and Feature Changes

The article introduces DuckDB, a high‑performance embedded analytical database, outlines its new release’s storage, performance, and memory improvements, describes its C/C++ integration and build process, and lists key feature changes such as parallel execution, novel compression methods, and enhanced SQL capabilities.

DuckDBEmbedded DatabasePerformance
0 likes · 3 min read
DuckDB New Release Highlights and Feature Changes
政采云技术
政采云技术
Nov 15, 2022 · Databases

Introduction to Sharding-JDBC and ShardingSphere: Architecture, Sharding Strategies, and Quick Integration

This article introduces Sharding-JDBC and ShardingSphere, explains their history, core architecture, vertical and horizontal sharding concepts, sharding rule configuration, SQL parsing and rewriting, routing and result merging, and provides a quick‑start guide with Maven dependencies and Spring Boot configuration for Java applications.

JavaSQLSharding-JDBC
0 likes · 12 min read
Introduction to Sharding-JDBC and ShardingSphere: Architecture, Sharding Strategies, and Quick Integration
ITPUB
ITPUB
Nov 10, 2022 · Databases

How to Turn MySQL Slow Queries from Passive Pain to Proactive Risk Scores

This article presents a systematic approach to transform MySQL slow‑query handling from reactive troubleshooting to proactive risk management by defining a scoring model, selecting key metrics, calculating weighted risk indices, and testing the model to prioritize and reduce harmful queries.

MySQLSQLSlow Query
0 likes · 15 min read
How to Turn MySQL Slow Queries from Passive Pain to Proactive Risk Scores
政采云技术
政采云技术
Nov 8, 2022 · Big Data

User Path Analysis in the Hunyi System: Design, Computation Logic, and StarRocks Implementation

This article explains user path analysis as a method to visualize and optimize user flow, describes its productization in the Hunyi analytics platform, details the underlying computation logic, presents a complex StarRocks SQL solution, discusses performance challenges, and suggests future improvements and recruitment opportunities.

Big DataSQLStarRocks
0 likes · 21 min read
User Path Analysis in the Hunyi System: Design, Computation Logic, and StarRocks Implementation
FunTester
FunTester
Nov 8, 2022 · Databases

Comprehensive Guide to Database Testing: Concepts, Techniques, and Best Practices

Database testing ensures data integrity, security, and quality by validating data mapping, ACID properties, schema, triggers, stored procedures, and field constraints through both manual and automated methods, using SQL queries, CRUD operations, and specialized tools to verify that applications interact correctly with underlying databases.

ACIDSQLTriggers
0 likes · 13 min read
Comprehensive Guide to Database Testing: Concepts, Techniques, and Best Practices
ITPUB
ITPUB
Nov 7, 2022 · Databases

Scaling MySQL for 20k+ Concurrent Users: Sharding and Read‑Write Separation

Managing 20,000+ concurrent SQL queries requires moving beyond a single‑instance design; this guide explains why simple architectures fail, how to shard databases into multiple instances, route traffic using geographic hashing, and implement read‑write separation to sustain high read loads while keeping latency low.

Read‑Write SeparationSQLdatabase scaling
0 likes · 7 min read
Scaling MySQL for 20k+ Concurrent Users: Sharding and Read‑Write Separation
Python Programming Learning Circle
Python Programming Learning Circle
Nov 7, 2022 · Databases

Comprehensive SQL Techniques: Pivot/Unpivot, String Replacement, Date Conversion, Division, NULL Handling, and Performance Tips

This article presents a collection of practical T‑SQL techniques—including row‑to‑column pivots, column‑to‑row unpivots, string replacement, date/time conversion, division with percentage formatting, NULL handling, counting methods, UNION ALL inserts, cache inspection, plan cache clearing, line‑break handling, TRUNCATE vs DELETE, system diagnostics, and execution‑time measurement—each illustrated with complete SQL code examples.

SQLT-SQLdata manipulation
0 likes · 17 min read
Comprehensive SQL Techniques: Pivot/Unpivot, String Replacement, Date Conversion, Division, NULL Handling, and Performance Tips
Top Architect
Top Architect
Nov 6, 2022 · Backend Development

Implementing Distributed Transactions with RocketMQ Transaction Messages

This article explains the concept of distributed transactions, presents typical micro‑service scenarios that generate them, and demonstrates a complete solution using RocketMQ transaction messages together with SQL table definitions and Java code for producers, transaction listeners, and consumers to achieve eventual consistency.

JavaRocketMQSQL
0 likes · 14 min read
Implementing Distributed Transactions with RocketMQ Transaction Messages
Architecture Digest
Architecture Digest
Nov 5, 2022 · Big Data

Why Data Warehouse Modeling and Layered Architecture Matter

Data warehouse modeling organizes data into layered structures—ODS, DWD, DWS, and ADS—to improve performance, reduce costs, ensure data quality, enable traceability, simplify maintenance, and support both batch and real‑time analytics, while outlining best practices for ETL processes and schema design.

ETLSQLlayered architecture
0 likes · 37 min read
Why Data Warehouse Modeling and Layered Architecture Matter
Wukong Talks Architecture
Wukong Talks Architecture
Nov 4, 2022 · Databases

Understanding MySQL Implicit Type Conversion and Its Pitfalls

This article explains how MySQL performs implicit type conversion during queries, demonstrates the unexpected results caused by joining mismatched column types, outlines the conversion rules, and provides practical tips to avoid performance degradation and incorrect data retrieval.

MySQLSQLimplicit conversion
0 likes · 10 min read
Understanding MySQL Implicit Type Conversion and Its Pitfalls
ITPUB
ITPUB
Nov 3, 2022 · Databases

How to Diagnose and Resolve MySQL InnoDB Deadlocks in Production

This guide explains how to detect MySQL deadlock exceptions, retrieve and interpret InnoDB deadlock logs and binlog files, and use the information to pinpoint conflicting SQL statements and fix the underlying lock issues in live systems.

BinlogDatabase TroubleshootingDeadlock
0 likes · 9 min read
How to Diagnose and Resolve MySQL InnoDB Deadlocks in Production
Top Architect
Top Architect
Nov 1, 2022 · Backend Development

Deep Dive into MyBatis SQL Execution Process and Custom TypeHandler

This article thoroughly explains how MyBatis binds mapper interfaces to XML files, details the step‑by‑step SQL execution flow—including mapper retrieval, statement preparation, parameter handling, and result mapping—and demonstrates how to create custom typeHandlers for both input parameters and result sets.

JavaMyBatisPersistence
0 likes · 16 min read
Deep Dive into MyBatis SQL Execution Process and Custom TypeHandler
政采云技术
政采云技术
Nov 1, 2022 · Databases

Understanding How Indexes Influence MySQL JOIN Queries and the Mechanics of Index and Block Nested-Loop Joins

This article explains how MySQL uses indexes during JOIN operations, compares indexed and non‑indexed join execution, introduces Index Nested‑Loop Join and Block Nested‑Loop Join algorithms, discusses the role of the join buffer, and provides practical guidance on choosing the optimal driving table for efficient query performance.

Block Nested-Loop JoinJOINMySQL
0 likes · 14 min read
Understanding How Indexes Influence MySQL JOIN Queries and the Mechanics of Index and Block Nested-Loop Joins
Cognitive Technology Team
Cognitive Technology Team
Oct 31, 2022 · Backend Development

Analysis of MyBatis First-Level and Second-Level Caches and Their Configuration

This article explains MyBatis's first-level (SqlSession-scoped) and second-level (Mapper-scoped) caching mechanisms, their default behaviors, key generation, configuration options, and the impact of Spring integration, and provides recommendations for disabling caches in distributed environments to avoid data inconsistency.

Backend DevelopmentCacheJava
0 likes · 9 min read
Analysis of MyBatis First-Level and Second-Level Caches and Their Configuration
ITPUB
ITPUB
Oct 31, 2022 · Backend Development

Master MyBatis Caching: First- and Second-Level Cache Explained

This article explains MyBatis caching fundamentals, detailing first- and second-level cache concepts, configuration, cache invalidation scenarios, and custom cache integration with EHCache, supplemented by practical code snippets and quiz questions to illustrate cache behavior across SqlSessions.

CacheEhcacheJava
0 likes · 12 min read
Master MyBatis Caching: First- and Second-Level Cache Explained
DevOps Cloud Academy
DevOps Cloud Academy
Oct 29, 2022 · Databases

Why Understanding SQL Naming and Development Standards Matters

The article explains the importance of clear SQL naming conventions, table and index creation rules, and general syntax guidelines in database DevOps, highlighting developer resistance to audits, the rationale behind each rule, and how tools like Bytebase with VCS integration improve the review experience.

Database StandardsNaming ConventionsSQL
0 likes · 11 min read
Why Understanding SQL Naming and Development Standards Matters
FunTester
FunTester
Oct 28, 2022 · Databases

Understanding MySQL’s Logical Architecture and Transaction Isolation Levels

This article explains MySQL’s three‑tier logical architecture—from client services to core query processing and storage engines—and details the four ANSI SQL transaction isolation levels, highlighting their behavior, advantages, and trade‑offs in MySQL.

Database ArchitectureMySQLPerformance
0 likes · 7 min read
Understanding MySQL’s Logical Architecture and Transaction Isolation Levels
dbaplus Community
dbaplus Community
Oct 27, 2022 · Databases

How to Safely Delete Hundreds of Millions of Rows Without Locking Your Database

This guide explains why a single massive DELETE on a 500‑million‑row table creates long‑running transactions and locks, and shows step‑by‑step techniques—date‑range batching, primary‑key range slicing, and insert‑instead‑of‑delete—to break the operation into manageable chunks and improve performance.

Data MigrationLarge TableSQL
0 likes · 8 min read
How to Safely Delete Hundreds of Millions of Rows Without Locking Your Database
vivo Internet Technology
vivo Internet Technology
Oct 26, 2022 · Big Data

Cardinality Counting in Presto: Algorithms, Implementation, and Best Practices

The article explains cardinality counting in Presto, comparing exact set‑based methods with memory‑efficient bitmap, Linear Count, and HyperLogLog approximations, detailing their algorithms, implementation in Presto’s query engine, and offering best‑practice recommendations for choosing the appropriate technique in business workloads.

HyperLogLogSQLbitmap
0 likes · 16 min read
Cardinality Counting in Presto: Algorithms, Implementation, and Best Practices
macrozheng
macrozheng
Oct 25, 2022 · Backend Development

Master MyBatis in Spring Boot: Essential Tips, Dynamic SQL, and Advanced Queries

This guide walks you through integrating MyBatis with Spring Boot, covering basic CRUD operations, dynamic SQL constructs like if, choose, where, set, foreach, as well as advanced mapping techniques, pagination plugins, and practical code examples to help you master MyBatis in real-world projects.

JavaMyBatisORM
0 likes · 17 min read
Master MyBatis in Spring Boot: Essential Tips, Dynamic SQL, and Advanced Queries
Bilibili Tech
Bilibili Tech
Oct 21, 2022 · Big Data

Kyuubi at Bilibili: Architecture, Enhancements, and Production Practices for Large‑Scale Data Processing

Bilibili adopted the open‑source Kyuubi proxy to replace its unstable STS layer, enabling multi‑tenant, multi‑engine (Spark, Presto, Flink) SQL/Scala processing with Hive Thrift compatibility, fine‑grained queue isolation, UI monitoring, stability safeguards, and Kubernetes/YARN deployment, while planning further cloud‑native extensions.

Big DataKubernetesKyuubi
0 likes · 20 min read
Kyuubi at Bilibili: Architecture, Enhancements, and Production Practices for Large‑Scale Data Processing
dbaplus Community
dbaplus Community
Oct 18, 2022 · Databases

Mastering ClickHouse: Practical Table Engine Choices and Cluster Best Practices

This guide explains ClickHouse’s core concepts, application scenarios, table engine families, detailed engine configurations, SQL development standards, cluster architecture, ZooKeeper’s role, chproxy usage, client tool options, availability considerations, and performance‑tuning parameters for high‑throughput OLAP workloads.

ClickHouseSQLTable Engine
0 likes · 26 min read
Mastering ClickHouse: Practical Table Engine Choices and Cluster Best Practices
JD Cloud Developers
JD Cloud Developers
Oct 18, 2022 · Databases

How SQL Engines Turn Queries into Results: Inside ASTs and ANTLR4 Parsing

This article explores the inner workings of SQL engines, detailing the end‑to‑end process from query submission through lexical analysis, parsing, abstract syntax tree generation with ANTLR4, and subsequent logical and physical plan optimization, while also demonstrating practical Java examples for SQL parsing and rewriting.

ASTAntlr4Java
0 likes · 11 min read
How SQL Engines Turn Queries into Results: Inside ASTs and ANTLR4 Parsing
Past Memory Big Data
Past Memory Big Data
Oct 13, 2022 · Big Data

Step-by-Step Guide: Integrating Presto with Velox on macOS (Build, Configure, and Run)

This article walks through the performance bottleneck of CPU in data analytics, introduces the Velox vectorized execution engine, and provides a detailed, zero‑to‑one tutorial for downloading Presto source, syncing Velox, fixing build paths, compiling both Java and C++ components, configuring CLion and IntelliJ, launching the servers, and executing SQL queries while noting stability concerns.

JavaSQLVelox
0 likes · 19 min read
Step-by-Step Guide: Integrating Presto with Velox on macOS (Build, Configure, and Run)
Selected Java Interview Questions
Selected Java Interview Questions
Oct 12, 2022 · Backend Development

MySQL Table Splitting and Pagination Using the MERGE Engine

This article explains how to handle massive MySQL tables by splitting a single large table into multiple smaller tables, creating a MERGE (union) table to combine them, and using the merged view to implement efficient pagination, including necessary SQL statements and troubleshooting tips.

MERGE engineSQLTable Partitioning
0 likes · 5 min read
MySQL Table Splitting and Pagination Using the MERGE Engine
Top Architect
Top Architect
Oct 12, 2022 · Databases

SQL Execution Order and Performance Optimization Techniques

This article explains the logical execution order of SQL statements, highlights common performance pitfalls such as inefficient LIMIT usage, implicit type conversion, sub‑query updates, mixed sorting, EXISTS clauses, and demonstrates how to rewrite queries with JOINs, early range reduction, CTEs, and other optimizations to achieve dramatically faster execution times.

MySQLOptimizationSQL
0 likes · 15 min read
SQL Execution Order and Performance Optimization Techniques
DataFunTalk
DataFunTalk
Oct 11, 2022 · Databases

Enhancing ClickHouse Multi‑Table Join Capability with ByteHouse

This article explains the limitations of ClickHouse for multi‑table joins, describes ByteHouse’s staged execution model, various join strategies (Shuffle, Broadcast, Colocate) and runtime filters, and presents performance benchmarks that show significant speed‑ups over the original ClickHouse engine.

ByteHouseClickHouseMulti-Table Join
0 likes · 10 min read
Enhancing ClickHouse Multi‑Table Join Capability with ByteHouse
21CTO
21CTO
Oct 10, 2022 · Information Security

Top 10 Programming Languages Every Cybersecurity Professional Should Master

This article introduces the ten most important programming languages for cybersecurity, explains why each language matters, and shows how mastering them can boost your ability to protect systems, detect threats, and build secure applications in an increasingly digital world.

C++JavaScriptPython
0 likes · 10 min read
Top 10 Programming Languages Every Cybersecurity Professional Should Master
JD Cloud Developers
JD Cloud Developers
Oct 10, 2022 · Backend Development

How MyBatis Executes Queries and Fixes a Pre‑3.4.5 Bug

This article walks through MyBatis's complete query lifecycle—from configuration parsing, SqlSessionFactory creation, and mapper loading to the actual SELECT execution—while reproducing a pre‑3.4.5 bug caused by foreach variable leakage and presenting the official fix and upgrade recommendations.

JavaMyBatisORM
0 likes · 20 min read
How MyBatis Executes Queries and Fixes a Pre‑3.4.5 Bug
Top Architect
Top Architect
Oct 8, 2022 · Databases

Optimizing MySQL Pagination for Large Datasets: Techniques and Examples

This article analyzes why MySQL LIMIT pagination becomes slower on large tables, demonstrates the performance impact with real query timings, explains the underlying full‑table scan behavior, and presents three practical optimization strategies—including ordered primary‑key scans, sub‑queries, and join‑based approaches—to improve query speed.

IndexingMySQLSQL
0 likes · 7 min read
Optimizing MySQL Pagination for Large Datasets: Techniques and Examples

Solving Real‑World Data Quality Challenges with X‑Select’s DQC Platform

This article explains how X‑Select’s Data Quality Platform (DQC) addresses common data quality problems in large‑scale data development by defining six quality dimensions, leveraging open‑source solutions such as Apache Griffin and Qualitis, and implementing rule definition, execution, alerting, and workflow interruption within a Spark‑based architecture.

Big DataData PlatformData Quality
0 likes · 15 min read
Solving Real‑World Data Quality Challenges with X‑Select’s DQC Platform
Java Captain
Java Captain
Oct 8, 2022 · Databases

Redefining JOIN in Business Intelligence: From Wide Tables to DQL

This article analyzes the limitations of traditional BI multi‑dimensional analysis that relies on wide tables and complex SQL JOINs, introduces a new DQL language that redefines JOIN operations into three plus one patterns, and demonstrates how DQL simplifies data modeling, reduces errors, and enables truly self‑service analytics.

AnalyticsBIDQL
0 likes · 17 min read
Redefining JOIN in Business Intelligence: From Wide Tables to DQL
dbaplus Community
dbaplus Community
Oct 7, 2022 · Databases

30 Essential SQL Query Optimization Tips to Boost Performance

This guide presents thirty practical SQL Server optimization techniques—including proper indexing, avoiding full table scans, rewriting predicates, and minimizing temporary objects—to help developers write faster, more efficient queries and improve overall database performance.

Query OptimizationSQLSQL Server
0 likes · 10 min read
30 Essential SQL Query Optimization Tips to Boost Performance
ITPUB
ITPUB
Oct 7, 2022 · Databases

How to Efficiently Paginate Across Sharded Tables: Three Proven Methods

This article explains why sharding tables improves read/write speed, then compares three pagination strategies—global query, no‑skip pagination, and two‑phase query—detailing their SQL rewrites, execution steps, performance trade‑offs, and practical examples.

DistributedSQLSharding
0 likes · 10 min read
How to Efficiently Paginate Across Sharded Tables: Three Proven Methods
Liangxu Linux
Liangxu Linux
Oct 7, 2022 · Databases

Why MyISAM’s Table Locks Can Outperform InnoDB in High‑Concurrency Scenarios

This article provides a systematic deep‑dive into MySQL table‑lock mechanics, comparing storage engines, explaining the advantages of table locks, detailing lock acquisition and release rules, showing how to monitor lock statistics, and revealing why MyISAM can deliver superior performance for heavy concurrent insert and select workloads despite using only table‑level locking.

Database PerformanceLock MechanismMyISAM
0 likes · 7 min read
Why MyISAM’s Table Locks Can Outperform InnoDB in High‑Concurrency Scenarios
ITPUB
ITPUB
Sep 30, 2022 · Databases

21 Essential MySQL Table Design Rules Every Backend Engineer Should Follow

This guide presents 21 practical MySQL table design guidelines covering naming conventions, field types, primary key strategies, indexing, logical deletion, common columns, storage engines, character sets, time types, relationship modeling, sharding considerations, and SQL optimization tips for robust backend development.

Best PracticesMySQLSQL
0 likes · 19 min read
21 Essential MySQL Table Design Rules Every Backend Engineer Should Follow
Code Ape Tech Column
Code Ape Tech Column
Sep 26, 2022 · Databases

Cross-Database/Table Pagination Query Solutions for Sharded Systems

This article examines the challenges of pagination after database sharding and presents three practical solutions—global query, jump‑page prohibition, and two‑step query—detailing their implementations, trade‑offs, and performance considerations for large‑scale order services.

SQLpagination
0 likes · 12 min read
Cross-Database/Table Pagination Query Solutions for Sharded Systems
dbaplus Community
dbaplus Community
Sep 25, 2022 · Databases

How to Speed Up MySQL Deep Pagination on Millions of Rows

This article explains why using LIMIT with large offsets slows MySQL queries, analyzes the execution flow, and presents four practical optimization techniques—including subqueries, INNER JOIN, bookmark (tag‑record) method, and BETWEEN range scans—backed by real‑world performance data and code examples.

B+TreeMySQLOptimization
0 likes · 10 min read
How to Speed Up MySQL Deep Pagination on Millions of Rows
Java Backend Technology
Java Backend Technology
Sep 17, 2022 · Databases

What New SQL Features Did SQLite Add in 2018?

This article reviews SQLite's 2018 enhancements, covering Boolean literals, window functions, the FILTER clause, UPSERT syntax, column‑renaming support, and other API changes, while comparing SQLite's capabilities to other major database systems.

Boolean LiteralsFILTER clauseSQL
0 likes · 11 min read
What New SQL Features Did SQLite Add in 2018?
21CTO
21CTO
Sep 16, 2022 · Databases

10 Essential Database Design Practices Every Developer Should Follow

This article explains why thoughtful database design is critical for scalable applications and outlines ten best‑practice guidelines—including stakeholder input, choosing the right DB type, consistent naming, normalization, documentation, security, scalability, stored procedures, modeling effort, and thorough testing—to help developers build robust, high‑performance data stores.

Best PracticesDatabase DesignNoSQL
0 likes · 9 min read
10 Essential Database Design Practices Every Developer Should Follow
Architecture Digest
Architecture Digest
Sep 15, 2022 · Databases

Case Study: Resolving Deep Pagination Slow Queries in MySQL

This article walks through a real‑world incident caused by deep pagination in a MySQL‑based system, detailing the timeline of symptoms, root‑cause analysis, and a series of optimizations—including ID‑based queries, range scans, and rolling cursor techniques—that ultimately restored stable performance.

Database PerformanceIndex OptimizationMySQL
0 likes · 10 min read
Case Study: Resolving Deep Pagination Slow Queries in MySQL
dbaplus Community
dbaplus Community
Sep 14, 2022 · Databases

How Apache Doris Enables Real‑Time Analysis of Hudi Data Lakes

This article explains the architecture of Apache Doris, introduces Apache Hudi as a data‑lake format, compares Lambda and Kappa approaches, and details the design, implementation steps, and future roadmap for querying Hudi tables directly from Doris.

Apache DorisApache HudiBig Data
0 likes · 10 min read
How Apache Doris Enables Real‑Time Analysis of Hudi Data Lakes
DeWu Technology
DeWu Technology
Sep 14, 2022 · Databases

Introduction to StarRocks: Architecture, Storage, Use Cases, and Troubleshooting

StarRocks is a high‑performance MPP database whose simplified FE/BE architecture, fully vectorized engine, and CBO optimizer enable fast multi‑table joins, while its partition‑bucket‑tablet storage model supports real‑time metric services and dashboard migrations, accompanied by practical troubleshooting guidance and upcoming enhancements.

Data WarehouseMPP databasePerformance
0 likes · 15 min read
Introduction to StarRocks: Architecture, Storage, Use Cases, and Troubleshooting
Top Architect
Top Architect
Sep 14, 2022 · Databases

Understanding SQL Query Execution Order: From FROM to LIMIT

The article explains the logical execution order of a SQL query—starting with FROM/JOIN, then WHERE, GROUP BY, HAVING, SELECT, DISTINCT, ORDER BY, and finally LIMIT—using diagrams, code snippets, and practical examples to illustrate each step.

Backend DevelopmentQuery Execution OrderSQL
0 likes · 6 min read
Understanding SQL Query Execution Order: From FROM to LIMIT
Liangxu Linux
Liangxu Linux
Sep 13, 2022 · Databases

How to Find and Remove Duplicate Rows in SQL

This guide explains how to identify duplicate rows in a MySQL table using GROUP BY and HAVING, how to delete the extra rows while keeping the earliest entry, and how to handle duplicate detection across multiple columns with correct query patterns and common pitfalls.

GROUP BYHAVINGMySQL
0 likes · 11 min read
How to Find and Remove Duplicate Rows in SQL
HomeTech
HomeTech
Sep 13, 2022 · Big Data

Integrating Heterogeneous Data Sources with openLooKeng and Upgrading the Apache Kylin Connector at AutoHome

This article describes how AutoHome tackled the complexity of managing multiple relational, NoSQL, and Hive data stores by adopting openLooKeng for unified, cross‑source SQL queries, outlines its key features such as ANSI‑SQL support, diverse connectors, and query optimizations, and details the custom enhancements made to the Apache Kylin connector to better serve their commercial data analysis workloads.

Big DataConnectorsData Integration
0 likes · 13 min read
Integrating Heterogeneous Data Sources with openLooKeng and Upgrading the Apache Kylin Connector at AutoHome
Top Architect
Top Architect
Sep 13, 2022 · Information Security

Implementing Data Masking in MySQL and Java with MyBatis-Mate Sensitive Jackson

This article demonstrates how to mask sensitive data such as phone numbers and ID cards using SQL functions, introduces Java masking libraries, and provides a complete MyBatis-Mate Sensitive Jackson example with configuration, custom strategies, entity annotations, controller endpoints, and sample responses.

Data MaskingJavaMyBatis
0 likes · 11 min read
Implementing Data Masking in MySQL and Java with MyBatis-Mate Sensitive Jackson
MaGe Linux Operations
MaGe Linux Operations
Sep 12, 2022 · Databases

Master MySQL Monitoring with Built‑in SHOW Commands: A Complete Guide

This article explains how to collect comprehensive MySQL performance metrics using only native SHOW commands, covering connections, buffer pool, locks, SQL statements, throughput, server variables, and slow‑query analysis, while also offering practical tips for interpreting and optimizing the results.

MonitoringMySQLSQL
0 likes · 10 min read
Master MySQL Monitoring with Built‑in SHOW Commands: A Complete Guide
DataFunTalk
DataFunTalk
Sep 11, 2022 · Big Data

Flink Table Store v0.2: Application Scenarios, Core Features, and Future Roadmap

This article introduces Flink Table Store v0.2, explains its four primary application scenarios—offline warehouse acceleration, partial update, pre‑aggregation rollup, and real‑time warehouse enhancement—details the core lake‑storage architecture, bucket management, append‑only mode, and outlines the project’s future roadmap and trade‑off considerations.

BatchFlinkLake Storage
0 likes · 16 min read
Flink Table Store v0.2: Application Scenarios, Core Features, and Future Roadmap
Laravel Tech Community
Laravel Tech Community
Sep 7, 2022 · Databases

SQLite 3.39.3 Release Highlights: New JOIN Support, Binary Comparison Operators, and Performance Optimizations

SQLite 3.39.3, the latest version of the widely used embedded SQL database engine, introduces RIGHT and FULL OUTER JOIN support, new binary comparison operators IS NOT DISTINCT FROM and IS DISTINCT FROM, additional APIs such as sqlite3_db_name, enhanced file‑name handling, HAVING clause for aggregates, and overall CPU optimizations reducing cycles by about 2.3%.

APIsDatabase EngineSQL
0 likes · 2 min read
SQLite 3.39.3 Release Highlights: New JOIN Support, Binary Comparison Operators, and Performance Optimizations
Top Architect
Top Architect
Sep 7, 2022 · Backend Development

Understanding @Transactional Rollback Behavior in Spring: When Exceptions Trigger Rollback

This article demonstrates how Spring's @Transactional annotation rolls back only for RuntimeException subclasses, explains why checked exceptions like Exception do not trigger rollback by default, and shows how to configure rollbackFor to handle custom exceptions, illustrated with SQL updates and Java code examples.

ExceptionHandlingJavaRollback
0 likes · 5 min read
Understanding @Transactional Rollback Behavior in Spring: When Exceptions Trigger Rollback
Su San Talks Tech
Su San Talks Tech
Sep 5, 2022 · Backend Development

Master MyBatis: Core Concepts, Interview Questions, and Practical Tips

This comprehensive guide explains MyBatis fundamentals, compares it with Hibernate, details its lifecycle, configuration, dynamic SQL, caching, lazy loading, batch operations, pagination, and plugin development, providing code examples and best‑practice recommendations for Java backend developers.

Backend DevelopmentJavaMyBatis
0 likes · 38 min read
Master MyBatis: Core Concepts, Interview Questions, and Practical Tips
21CTO
21CTO
Sep 4, 2022 · Databases

Why SQL Remains a Must‑Learn Skill in 2022: Top 5 Reasons

Despite the rise of newer data tools, SQL continues to dominate the developer landscape in 2022, offering universal applicability, high demand, strong career prospects, and a rich history that makes it an essential skill for data analysts, developers, and high‑paying tech roles.

CareerDatabasesSQL
0 likes · 7 min read
Why SQL Remains a Must‑Learn Skill in 2022: Top 5 Reasons
DataFunTalk
DataFunTalk
Sep 3, 2022 · Databases

OpenMLDB: An Open‑Source Machine Learning Database for Consistent Online and Offline Feature Serving

This article presents OpenMLDB, an open‑source machine learning database that unifies offline and online feature computation with millisecond‑level latency, outlines its development history, architecture, recent 0.6.0 enhancements, ecosystem integrations, and multiple real‑world deployment case studies across finance, banking, research, and marketing domains.

AIFeature StoreOpenMLDB
0 likes · 16 min read
OpenMLDB: An Open‑Source Machine Learning Database for Consistent Online and Offline Feature Serving
Programmer DD
Programmer DD
Aug 27, 2022 · Databases

Top 10 PostgreSQL Bulk Import Optimizations for Faster Data Loading

When loading massive amounts of data into PostgreSQL, disabling autocommit, postponing index and foreign‑key creation, adjusting memory settings, using COPY or pg_bulkload, and fine‑tuning WAL and trigger settings can dramatically improve import speed and overall performance.

Bulk ImportPerformance TuningPostgreSQL
0 likes · 7 min read
Top 10 PostgreSQL Bulk Import Optimizations for Faster Data Loading
Alimama Tech
Alimama Tech
Aug 24, 2022 · Artificial Intelligence

Distributed High‑Performance Vector Retrieval with gpdb‑faiss‑vector Plugin on Dolphin Engine

The gpdb‑faiss‑vector plugin embeds Facebook’s Faiss library into the Dolphin (Greenplum‑compatible) engine, exposing SQL functions for distributed, high‑performance approximate nearest‑neighbor vector retrieval with caching, parallel search, configurable indexes, and sub‑millisecond latency, enabling scalable recommendation and advertising workloads.

AIFAISSSQL
0 likes · 15 min read
Distributed High‑Performance Vector Retrieval with gpdb‑faiss‑vector Plugin on Dolphin Engine
Aikesheng Open Source Community
Aikesheng Open Source Community
Aug 22, 2022 · Databases

Using mysqlreplicate to Set Up MySQL Replication: Introduction, Command Usage, and Source‑Code Analysis

This article introduces the mysqlreplicate utility, explains how to run it with common command‑line options, and provides a step‑by‑step source‑code analysis that checks server‑id and UUID uniqueness, InnoDB compatibility, storage‑engine consistency, binary‑log settings, and finally creates and starts the replication process.

PythonSQLdevops
0 likes · 19 min read
Using mysqlreplicate to Set Up MySQL Replication: Introduction, Command Usage, and Source‑Code Analysis
Programmer DD
Programmer DD
Aug 21, 2022 · Backend Development

Why PageHelper Can Break Your MyBatis Queries: Hidden ThreadLocal Pitfalls

This article examines unexpected bugs caused by PageHelper in a Java/MyBatis project—such as duplicate registrations, limited dropdown results, and password‑reset errors—traces them to ThreadLocal misuse, explains the library’s internal pagination flow, and offers practical fixes to avoid these pitfalls.

JavaMyBatisSQL
0 likes · 14 min read
Why PageHelper Can Break Your MyBatis Queries: Hidden ThreadLocal Pitfalls
Laravel Tech Community
Laravel Tech Community
Aug 17, 2022 · Databases

Comprehensive SQL Server Database Operations and Techniques Guide

This article provides a comprehensive collection of SQL Server commands and techniques, covering database creation, table manipulation, queries, indexing, backup, replication, and advanced operations, offering practical examples and code snippets for developers and database administrators.

Data ManagementSQLSQL Server
0 likes · 23 min read
Comprehensive SQL Server Database Operations and Techniques Guide
Programmer DD
Programmer DD
Aug 16, 2022 · Databases

Master MySQL Monitoring with Built‑in SHOW Commands: A Complete Guide

This article explains how to collect comprehensive MySQL performance metrics—including connections, buffer cache, locks, statement counts, throughput, server variables, and slow‑query analysis—using only MySQL's native SHOW commands, providing a fast, low‑overhead monitoring solution.

Database MonitoringMySQLPerformance
0 likes · 11 min read
Master MySQL Monitoring with Built‑in SHOW Commands: A Complete Guide
Zhuanzhuan Tech
Zhuanzhuan Tech
Aug 16, 2022 · Databases

Understanding Index Height and Page I/O in MySQL InnoDB

This article explains how the height of MySQL InnoDB B+‑tree indexes determines the number of page I/O operations for different query types, provides theoretical calculations of index height, and shows practical methods using information_schema and hexdump to inspect the actual index height of tables.

B+TreeHexdumpIndex Height
0 likes · 12 min read
Understanding Index Height and Page I/O in MySQL InnoDB
Liangxu Linux
Liangxu Linux
Aug 14, 2022 · Databases

Master 10 Advanced SQL Concepts for Data Science Interviews

This guide walks you through ten essential advanced SQL techniques—including CTEs, recursive queries, temporary functions, CASE pivots, EXCEPT vs NOT IN, self‑joins, ranking window functions, delta calculations, running totals, and date‑time manipulation—providing clear explanations and practical code examples to boost your interview performance.

Advanced QueriesCTEData Science Interviews
0 likes · 12 min read
Master 10 Advanced SQL Concepts for Data Science Interviews
dbaplus Community
dbaplus Community
Aug 11, 2022 · Databases

5 Essential Rules for Writing High‑Performance SQL Queries

This article presents five practical rules—return only needed columns, use proper indexes, avoid subqueries, replace OFFSET pagination with key‑based limits, and understand SQL's logical execution order—to help developers craft efficient SQL statements across major relational databases.

DatabasesExecution PlanIndexes
0 likes · 13 min read
5 Essential Rules for Writing High‑Performance SQL Queries
37 Interactive Technology Team
37 Interactive Technology Team
Aug 8, 2022 · Backend Development

Time Management in Programming: Concepts, Practices, and Common Pitfalls

Time management in programming spans human concepts of time, language-specific handling of zones and timestamps, 32‑bit overflow risks, sync versus async processing, log timestamping, business‑level period calculations, and common pitfalls, emphasizing that mastering these nuances prevents bugs, improves performance, and enables reliable analytics.

Backend DevelopmentClickHouseETL
0 likes · 20 min read
Time Management in Programming: Concepts, Practices, and Common Pitfalls