Tagged articles
2769 articles
Page 24 of 28
Aikesheng Open Source Community
Aikesheng Open Source Community
Jul 15, 2019 · Databases

Common Causes and Fixes for MySQL Error 1045 (Access Denied)

This article enumerates the typical reasons why MySQL returns error 1045 – such as connecting to the wrong host, using a non‑existent user, host‑based access restrictions, incorrect passwords, special characters in Bash, and missing SSL – and provides step‑by‑step commands to diagnose and resolve each issue.

Access deniedDatabase AuthenticationError 1045
0 likes · 9 min read
Common Causes and Fixes for MySQL Error 1045 (Access Denied)
Architecture Digest
Architecture Digest
Jul 15, 2019 · Databases

Oracle Database Troubleshooting: Common Scripts and Diagnostic Procedures

This article presents a practical guide for Oracle DBAs to quickly diagnose and resolve application‑related database issues by checking OS load, analyzing wait events, querying session and object details, capturing diagnostic dumps, and using scripted commands to kill sessions or restart the database.

DBAOraclediagnostics
0 likes · 13 min read
Oracle Database Troubleshooting: Common Scripts and Diagnostic Procedures
Architecture Digest
Architecture Digest
Jul 11, 2019 · Databases

The Rise of Oracle and the Evolution of the Database Industry

This article chronicles the origins and growth of Oracle, the colorful personality of its founder Larry Ellison, the early development of relational databases, the fierce competition among IBM, Sybase, Borland and other vendors, and the later impact of open‑source and cloud‑computing trends on the database market.

Database HistoryLarry EllisonOracle
0 likes · 43 min read
The Rise of Oracle and the Evolution of the Database Industry
Qunar Tech Salon
Qunar Tech Salon
Jul 9, 2019 · Databases

SQL Fundamentals and Query Optimization Techniques for PostgreSQL

This article introduces SQL fundamentals, explains DDL/DML/DCL categories, and provides practical PostgreSQL query optimization techniques—including index selection, condition rewriting, sub‑query removal, expression and partial indexes, DDL decomposition, CTE usage, and key configuration parameters—to help developers and DBAs improve performance and maintainability.

Database PerformanceSQL Fundamentalspostgresql
0 likes · 12 min read
SQL Fundamentals and Query Optimization Techniques for PostgreSQL
Aikesheng Open Source Community
Aikesheng Open Source Community
Jul 8, 2019 · Databases

Understanding and Resolving MySQL Table Fragmentation

This article explains MySQL table fragmentation, how to detect it with SHOW TABLE STATUS, the reasons such as frequent DELETE and UPDATE operations, demonstrates its effects, and presents cleanup methods like OPTIMIZE TABLE and engine conversion, showing significant space savings and query speed improvements.

fragmentationmysqloptimization
0 likes · 5 min read
Understanding and Resolving MySQL Table Fragmentation
JD Retail Technology
JD Retail Technology
Jul 3, 2019 · Databases

CB‑SQL: JD Retail’s Elastic Distributed Database Built on CockroachDB – Architecture and Implementation Details

The article introduces CB‑SQL, JD Retail’s next‑generation elastic database based on CockroachDB, and comprehensively explains its overview, layered architecture, storage replication, cluster management, MVCC, hybrid logical clocks, lock‑free distributed transactions, CDC changefeeds, and SQL interface support.

CDCCockroachDBMVCC
0 likes · 14 min read
CB‑SQL: JD Retail’s Elastic Distributed Database Built on CockroachDB – Architecture and Implementation Details
Programmer DD
Programmer DD
Jul 2, 2019 · Databases

Why MySQL LIMIT Slows Down on Large Offsets and How to Fix It

This article analyzes why MySQL LIMIT pagination becomes increasingly slow with larger offsets, presents six optimization techniques—including using primary keys, covering indexes, prepared statements, subqueries, and composite indexes—and provides experimental results that demonstrate dramatic performance improvements.

Index Optimizationmysqlpagination
0 likes · 12 min read
Why MySQL LIMIT Slows Down on Large Offsets and How to Fix It
Architect's Tech Stack
Architect's Tech Stack
Jun 29, 2019 · Databases

Practical MySQL Optimization Guide: Philosophy, Tools, and Tuning Techniques

This article provides a comprehensive, step‑by‑step guide to MySQL performance tuning, covering the underlying query process, optimization philosophy, practical tools, system‑level diagnostics, hardware and OS recommendations, as well as detailed configuration parameters for both the server and storage engine.

Database OptimizationSystem Tuningmysql
0 likes · 16 min read
Practical MySQL Optimization Guide: Philosophy, Tools, and Tuning Techniques
DataFunTalk
DataFunTalk
Jun 28, 2019 · Databases

Deep Dive into Phoenix Index Creation, Maintenance, and SQL Compilation

This article provides a detailed technical analysis of Phoenix's native index creation and maintenance mechanisms, the underlying source code for index building, the role of coprocessors, and the complete SQL compilation pipeline from parsing to execution, highlighting how hints and optimizers influence index usage.

CoprocessorHBasePhoenix
0 likes · 26 min read
Deep Dive into Phoenix Index Creation, Maintenance, and SQL Compilation
Programmer DD
Programmer DD
Jun 28, 2019 · Databases

19 Essential MySQL Optimization Techniques Every Developer Should Know

The article outlines 19 practical MySQL optimization methods—from using EXPLAIN and limiting IN clause size to proper pagination, index usage, and JOIN strategies—providing clear explanations and example SQL snippets to help developers improve query performance and reduce resource consumption.

mysqlperformancesql
0 likes · 10 min read
19 Essential MySQL Optimization Techniques Every Developer Should Know
Python Crawling & Data Mining
Python Crawling & Data Mining
Jun 26, 2019 · Databases

Why Your MySQL Queries Run Slow and How to Fix Common Index Issues

This article explains why MySQL queries can become slow—covering occasional delays from dirty‑page flushing or lock contention and persistent slowness caused by missing, unused, or mis‑chosen indexes—while offering practical tips such as checking process lists, correcting index usage, and refreshing statistics.

indexmysqlperformance
0 likes · 12 min read
Why Your MySQL Queries Run Slow and How to Fix Common Index Issues
Big Data Technology & Architecture
Big Data Technology & Architecture
Jun 20, 2019 · Big Data

Comprehensive Guide to Flink SQL: Background, New Features, Programming Model, Operators, Functions, and a Practical NBA Scoring Leader Example

This article provides an in‑depth overview of Flink SQL, covering its origins, the latest 1.7.0 and 1.8.0 enhancements, the underlying programming model, common operators and built‑in functions, and a complete end‑to‑end example that analyzes NBA scoring‑leader data using Flink SQL.

Apache FlinkBig DataFlink SQL
0 likes · 27 min read
Comprehensive Guide to Flink SQL: Background, New Features, Programming Model, Operators, Functions, and a Practical NBA Scoring Leader Example
ITPUB
ITPUB
Jun 18, 2019 · Databases

Why MySQL LIMIT Pagination Slows Down and 6 Proven Optimization Techniques

This article examines why MySQL LIMIT pagination becomes slower as the offset grows, presents six practical methods—including direct LIMIT, primary‑key indexing, ordered index scans, prepared statements, sub‑queries, and joins—provides benchmark results on large tables, and distills actionable guidelines for designing covering and composite indexes to achieve fast, stable pagination.

Index OptimizationLIMITmysql
0 likes · 12 min read
Why MySQL LIMIT Pagination Slows Down and 6 Proven Optimization Techniques
Big Data Technology & Architecture
Big Data Technology & Architecture
Jun 17, 2019 · Big Data

Understanding Spark SQL: Concepts, Queries, Data Sources, and Practical Examples

This article introduces Spark SQL fundamentals, including its architecture, DataFrame and Dataset abstractions, query methods, interoperability with RDD, user-defined functions, integration with Hive, data source handling, and provides step‑by‑step Scala code examples for loading data, performing aggregations, and solving common analytical tasks.

DataFramesScalaSparkSQL
0 likes · 15 min read
Understanding Spark SQL: Concepts, Queries, Data Sources, and Practical Examples
Programmer DD
Programmer DD
Jun 12, 2019 · Databases

Why CentOS 7 Boosts MySQL Performance: Real‑World Sysbench Test Results

An in‑depth performance benchmark compares MySQL on CentOS 6 and CentOS 7 using sysbench with 10 tables of 5 million rows, revealing up to 40% higher QPS on CentOS 7, detailing test setup, results, and key configuration tweaks that dramatically improve throughput.

CentOSDatabase OptimizationPerformance Testing
0 likes · 7 min read
Why CentOS 7 Boosts MySQL Performance: Real‑World Sysbench Test Results
Programmer DD
Programmer DD
Jun 6, 2019 · Databases

Why Your SQL Queries Are Slow: 15 Real‑World Causes & Fixes

This article examines a wide range of factors that can cause MySQL queries to run slowly—including network latency, OS and hardware bottlenecks, storage I/O scheduling, CPU power settings, RAID cache behavior, index design, implicit type conversion, execution plan errors, large data volumes, metadata locks, concurrent row updates, data skew, inefficient pagination, table schema choices, InnoDB dirty‑page flushing, and undo log retention—offering concrete examples and mitigation strategies for each scenario.

mysqlslow-querysql
0 likes · 19 min read
Why Your SQL Queries Are Slow: 15 Real‑World Causes & Fixes
dbaplus Community
dbaplus Community
Jun 5, 2019 · Databases

How to Scale SQL Databases for 20,000+ Concurrent Users: Single Instance, Sharding, and Read‑Write Separation

This article explains how to handle 20,000+ concurrent SQL requests by moving from a simple single‑instance setup to multi‑instance sharding and finally to read‑write separation, detailing the architectural decisions, routing algorithms, and practical limits for high‑traffic e‑commerce systems.

high concurrencyperformanceread-write separation
0 likes · 7 min read
How to Scale SQL Databases for 20,000+ Concurrent Users: Single Instance, Sharding, and Read‑Write Separation
dbaplus Community
dbaplus Community
Jun 5, 2019 · Databases

Boost Oracle Hierarchical Query Performance: Filtering, CBO, and Parallel Strategies

This article examines common performance pitfalls in Oracle hierarchical (CONNECT BY) queries, compares filtering after tree generation versus during traversal, explains why CBO estimates can be wildly inaccurate, and demonstrates how to rewrite queries with pipelined table functions and parallel hints for dramatic speed gains.

CBOHierarchical QueryOracle
0 likes · 9 min read
Boost Oracle Hierarchical Query Performance: Filtering, CBO, and Parallel Strategies
21CTO
21CTO
Jun 5, 2019 · Databases

12 Proven SQL Tricks to Supercharge Your Database Performance

This article presents twelve practical SQL optimization techniques—from using proper comparison operators and LIMIT clauses to indexing strategies and query consistency—to dramatically improve database query speed and overall application performance.

Database OptimizationQuery PlanningSQL Tips
0 likes · 5 min read
12 Proven SQL Tricks to Supercharge Your Database Performance
Tencent Database Technology
Tencent Database Technology
Jun 4, 2019 · Databases

From SEQUEL to JSON: Tracing the Evolution of SQL Standards

This article chronicles the origins, standardization process, historical milestones, learning resources, and conformance challenges of SQL standards, highlighting key ISO/IEC versions, the roles of major vendors, and the growing complexity of the language over more than three decades.

ANSIDatabase StandardsISO
0 likes · 11 min read
From SEQUEL to JSON: Tracing the Evolution of SQL Standards
Java Captain
Java Captain
May 31, 2019 · Databases

Common MySQL Query Performance Issues and Optimization Techniques

This article examines frequent MySQL performance problems such as inefficient LIMIT pagination, implicit type conversion, sub‑query updates, mixed ordering, EXISTS usage, condition push‑down limits, early result set reduction, and intermediate result set optimization, providing rewritten SQL examples that dramatically improve execution speed.

databaseindexesmysql
0 likes · 11 min read
Common MySQL Query Performance Issues and Optimization Techniques
Aikesheng Open Source Community
Aikesheng Open Source Community
May 30, 2019 · Databases

Oracle GoldenGate Migration Guide: Oracle to MySQL Data Replication

This article provides a comprehensive step‑by‑step guide for migrating data from Oracle to MySQL using Oracle GoldenGate, covering architecture overview, environment setup, table and data migration, configuration of source and target processes, handling of common issues, data validation, and reference resources.

Data MigrationDatabase ReplicationOGG
0 likes · 22 min read
Oracle GoldenGate Migration Guide: Oracle to MySQL Data Replication
Programmer DD
Programmer DD
May 29, 2019 · Backend Development

MyBatis Pitfalls and Best Practices: A Guide for Java Developers

Discover the most common MyBatis pitfalls—from # vs $ usage, handling nulls, resultMap quirks, and dynamic SQL issues—to master safe query practices, optimize performance, and avoid runtime errors, while comparing its strengths and weaknesses against Hibernate for effective Java backend development.

MyBatisORMbackend-development
0 likes · 23 min read
MyBatis Pitfalls and Best Practices: A Guide for Java Developers
Aikesheng Open Source Community
Aikesheng Open Source Community
May 28, 2019 · Databases

Unlocking MySQL 8.0 Invisible Indexes for Safer Query Optimization

This article explains MySQL 8.0's invisible index feature, outlines practical scenarios for its use, provides step‑by‑step SQL examples to create, hide, and test indexes, and shows how to enable the optimizer to consider invisible indexes for better performance and safer schema changes.

Database OptimizationIndex ManagementInvisible Index
0 likes · 18 min read
Unlocking MySQL 8.0 Invisible Indexes for Safer Query Optimization
dbaplus Community
dbaplus Community
May 26, 2019 · Databases

Why Is MySQL Query Slow? Common Causes and How to Diagnose Them

This article explains why a MySQL statement may run slowly—whether only occasionally or every time—by examining redo‑log flushing, lock contention, missing or misused indexes, optimizer mis‑estimates, and provides practical commands to identify and resolve each issue.

databaseindexesmysql
0 likes · 12 min read
Why Is MySQL Query Slow? Common Causes and How to Diagnose Them
Programmer DD
Programmer DD
May 15, 2019 · Backend Development

Why MyBatis Runs Extra SQLs and How to Tune Its Cache

This article explains why MyBatis may execute unexpected additional SQL statements, reveals the default caching behavior, shows the required XML configuration and Serializable implementation, and offers practical steps to prevent cache clearing on inserts for more efficient backend data access.

CacheMyBatisORM
0 likes · 3 min read
Why MyBatis Runs Extra SQLs and How to Tune Its Cache
Aikesheng Open Source Community
Aikesheng Open Source Community
May 8, 2019 · Databases

MySQL 8.0.16 New Upgrade Method: Replacing mysql_upgrade with the --upgrade Option

Starting with MySQL 8.0.16, the traditional mysql_upgrade command is deprecated and replaced by a new server upgrade method using the --upgrade option, which offers faster, simpler, and safer upgrades without restarting, and provides four modes (NONE, AUTO, MINIMAL, FORCE) to control data dictionary and system table updates.

Serverdata dictionarydatabase
0 likes · 4 min read
MySQL 8.0.16 New Upgrade Method: Replacing mysql_upgrade with the --upgrade Option
Alibaba Cloud Developer
Alibaba Cloud Developer
May 8, 2019 · Artificial Intelligence

How SQLFlow Lets You Build AI Models with Just a Few SQL Commands

SQLFlow, an open‑source project from Ant Financial, bridges SQL engines and AI frameworks so that users can train and predict machine‑learning models with simple SQL statements, dramatically lowering the technical barrier for analysts and engineers across diverse data platforms.

Artificial IntelligenceGoSQLFlow
0 likes · 14 min read
How SQLFlow Lets You Build AI Models with Just a Few SQL Commands
AntTech
AntTech
May 7, 2019 · Artificial Intelligence

SQLFlow: Bridging SQL Engines and AI Platforms for End‑to‑End Machine Learning

SQLFlow is an open‑source project that connects diverse SQL engines (MySQL, Hive, SparkSQL, etc.) with AI frameworks (TensorFlow, PyTorch, XGBoost, etc.) through extended SQL syntax, enabling analysts to train and predict models using only a few SQL statements while aiming for high scalability and performance.

AI integrationGoSQLFlow
0 likes · 13 min read
SQLFlow: Bridging SQL Engines and AI Platforms for End‑to‑End Machine Learning
Aikesheng Open Source Community
Aikesheng Open Source Community
May 7, 2019 · Databases

Understanding MySQL 8.0 Index Skip Scan (ISS)

MySQL 8.0 introduces Index Skip Scan (ISS), allowing queries that filter on non‑leftmost columns of a composite index to use the index without creating additional indexes, improving performance especially when the leftmost column has few distinct values, as demonstrated with example tables and execution plans.

ISSIndex Skip Scanmysql
0 likes · 4 min read
Understanding MySQL 8.0 Index Skip Scan (ISS)
Aikesheng Open Source Community
Aikesheng Open Source Community
May 6, 2019 · Databases

How MySQL Finally Supports CHECK Constraints and Why It Matters for Data Integrity

This article explains why MySQL lacked CHECK constraints for years, demonstrates the data quality issues caused by missing checks, shows how to work around them with unsigned types, and provides step‑by‑step examples of using the new CHECK constraint in MySQL 8.0.16+ while highlighting its absence in earlier versions.

CHECK constraintDomain integrityVersion 8.0.16
0 likes · 6 min read
How MySQL Finally Supports CHECK Constraints and Why It Matters for Data Integrity
Big Data Technology & Architecture
Big Data Technology & Architecture
Apr 24, 2019 · Big Data

Hive SQL Optimization Techniques and Best Practices

This article provides a comprehensive guide to Hive SQL performance tuning, covering optimization goals, common pitfalls, execution flow, table and job settings, map, shuffle, reduce, and query-level improvements such as join, bucket join, group‑by, and count‑distinct optimizations.

Big DataHadoophive
0 likes · 11 min read
Hive SQL Optimization Techniques and Best Practices
DataFunTalk
DataFunTalk
Apr 24, 2019 · Big Data

Practical Experience with Druid SQL and Security at Meituan: Challenges, Improvements, and Best Practices

This article presents Meituan's real‑world experience with Apache Druid, detailing the platform’s current usage, the usability, security and stability challenges faced, the principles and architecture of Druid SQL, the enhancements made to schema inference, logging, query safety, and the custom security extensions implemented to achieve fine‑grained access control and SSO integration.

DruidOLAPplatform
0 likes · 14 min read
Practical Experience with Druid SQL and Security at Meituan: Challenges, Improvements, and Best Practices
Tencent Database Technology
Tencent Database Technology
Apr 18, 2019 · Databases

MySQL Execution Process and SemiJoin Optimization Techniques

This article explains MySQL's execution stages, defines SemiJoin, details how IN subqueries can be transformed into SemiJoin queries, outlines conversion constraints, provides example transformations, and describes the various execution strategies MySQL may use for SemiJoins.

databasemysqlquery optimization
0 likes · 13 min read
MySQL Execution Process and SemiJoin Optimization Techniques
Aikesheng Open Source Community
Aikesheng Open Source Community
Apr 17, 2019 · Databases

SQL Refactoring Guide Based on Distributed Middleware

This article explains how distributed middleware processes simple SQL, ER‑based joins, and cross‑database joins, analyzes their performance impacts, and provides practical recommendations for optimizing SQL statements by using shard conditions, limiting clauses, low‑cardinality columns, and table ordering.

Cross-DB JoinER Joindatabase
0 likes · 10 min read
SQL Refactoring Guide Based on Distributed Middleware
Python Crawling & Data Mining
Python Crawling & Data Mining
Apr 15, 2019 · Databases

Master SQL Basics: A Concise Review Guide for Data Analysts

This guide provides a concise review of fundamental database concepts—including definitions of databases, RDBMS, SQL, and tables—and walks through essential SQL query techniques, data manipulation commands, schema definition statements, and control language basics, offering practical examples for data analysts.

DDLDMLdata analysis
0 likes · 9 min read
Master SQL Basics: A Concise Review Guide for Data Analysts
Java Captain
Java Captain
Apr 12, 2019 · Databases

Understanding MySQL Indexes in InnoDB: Structures, Types, and Optimization Techniques

This article explains MySQL indexes—defining what they are, classifying them by structure, storage, and logic, illustrating InnoDB clustered and secondary index structures with examples, and covering advanced concepts such as covering indexes, the leftmost‑prefix rule, and index condition pushdown to improve query performance.

Database IndexesInnoDBcovering index
0 likes · 10 min read
Understanding MySQL Indexes in InnoDB: Structures, Types, and Optimization Techniques
Aikesheng Open Source Community
Aikesheng Open Source Community
Apr 10, 2019 · Databases

MySQL 8.0.14 Group Replication Read/Write Consistency: Parameters, Levels, and Use Cases

MySQL 8.0.14 introduces a read/write consistency feature for Group Replication, explaining why MGR can still be inconsistent, detailing the group_replication_consistency parameter with its five levels, their advantages, disadvantages, and appropriate application scenarios, plus example session settings.

Consistency LevelsGroup ReplicationRead Write Consistency
0 likes · 7 min read
MySQL 8.0.14 Group Replication Read/Write Consistency: Parameters, Levels, and Use Cases
Java Captain
Java Captain
Apr 6, 2019 · Backend Development

MyBatis Q&A: #{} vs ${}, Pagination Techniques, Caching, Lazy Loading, Executors, and Custom Plugin Development

This article explains MyBatis fundamentals including the difference between #{} and ${} placeholders, various pagination approaches, logical versus physical pagination, first‑ and second‑level caching, lazy‑loading mechanisms, executor types, pagination plugin principles, and how to create a custom MyBatis plugin with code examples.

MyBatisbackend-developmentcaching
0 likes · 8 min read
MyBatis Q&A: #{} vs ${}, Pagination Techniques, Caching, Lazy Loading, Executors, and Custom Plugin Development
Java High-Performance Architecture
Java High-Performance Architecture
Mar 28, 2019 · Databases

Mastering MySQL Indexes: From Hash Tables to B+ Trees and Beyond

This article explains the main index structures used in MySQL—including hash tables, ordered arrays, search trees, and B+ trees—covers why InnoDB prefers B+ trees, the benefits of auto‑increment primary keys, and key concepts such as covering indexes, the left‑most prefix rule, and index‑pushdown for query optimization.

B+TreeDatabase Optimizationindexing
0 likes · 7 min read
Mastering MySQL Indexes: From Hash Tables to B+ Trees and Beyond
Big Data Technology & Architecture
Big Data Technology & Architecture
Mar 22, 2019 · Big Data

Weekly Knowledge Points: Apache Flink Continuous Queries, Kafka Connectors, SQL Overview, JOIN Operator, and Table API

This weekly briefing introduces Apache Flink's continuous query mechanism, demonstrates how to integrate Kafka as a DataStream connector, provides an overview of Flink SQL features, explains the implementation and optimization of dual‑stream JOIN operators, and showcases the Table API with end‑to‑end examples.

Apache FlinkBig DataTable API
0 likes · 3 min read
Weekly Knowledge Points: Apache Flink Continuous Queries, Kafka Connectors, SQL Overview, JOIN Operator, and Table API
Big Data Technology & Architecture
Big Data Technology & Architecture
Mar 21, 2019 · Big Data

Apache Flink Table API Tutorial and End‑to‑End Examples

This article provides a comprehensive tutorial on Apache Flink's Table API, explaining its concepts, core features, and a wide range of operators such as SELECT, WHERE, GROUP BY, UNION, JOIN, and various window functions, while offering complete Scala code examples, custom sources, sinks, and an end‑to‑end job that computes page‑view counts per region using event‑time tumbling windows.

Big DataFlinkScala
0 likes · 36 min read
Apache Flink Table API Tutorial and End‑to‑End Examples
Big Data Technology & Architecture
Big Data Technology & Architecture
Mar 20, 2019 · Databases

Understanding JOIN Operators: From Traditional Databases to Apache Flink Streaming

This article explains the purpose and types of SQL JOIN operators, demonstrates their syntax and semantics with examples, compares traditional database joins to Apache Flink's streaming two‑stream join implementation, and discusses optimization techniques such as state management, shuffle handling, and join reordering.

Apache FlinkState ManagementStreaming
0 likes · 22 min read
Understanding JOIN Operators: From Traditional Databases to Apache Flink Streaming
Big Data Technology & Architecture
Big Data Technology & Architecture
Mar 19, 2019 · Big Data

Comprehensive Overview of SQL and Apache Flink SQL Features with Practical Code Examples

This article provides an in-depth introduction to SQL, its history and ANSI standards, then details Apache Flink's SQL capabilities—including SELECT, WHERE, GROUP BY, UNION, JOIN, window functions, and user-defined functions—accompanied by extensive code examples and a complete end‑to‑end Flink job implementation.

Apache FlinkBig DataStreaming
0 likes · 34 min read
Comprehensive Overview of SQL and Apache Flink SQL Features with Practical Code Examples
Aikesheng Open Source Community
Aikesheng Open Source Community
Mar 18, 2019 · Databases

Improving MyCat Pitfalls with the Distributed Middleware DBLE: Technical Review and Comparison

This article reviews the shortcomings of MyCat in handling sharding, joins, inserts, and session variables, demonstrates how the DBLE middleware addresses those issues with better correctness, performance, security, and operational management, and discusses code‑quality improvements and automated testing practices.

DBLEDistributed Systemssql
0 likes · 19 min read
Improving MyCat Pitfalls with the Distributed Middleware DBLE: Technical Review and Comparison
Programmer DD
Programmer DD
Mar 18, 2019 · Databases

Why Database Indexes Are the Secret Weapon for Faster Queries

Database indexes, akin to a dictionary’s table of contents, dramatically speed up data retrieval, and this article explains what indexes are, how composite indexes work, the left‑most prefix rule, and the difference between clustered and non‑clustered indexes, using clear analogies and examples.

Clustered IndexComposite IndexDatabase Index
0 likes · 8 min read
Why Database Indexes Are the Secret Weapon for Faster Queries
Liangxu Linux
Liangxu Linux
Mar 17, 2019 · Databases

How to Find and Remove Duplicate Rows in SQL Tables

This guide explains how to define duplicate rows, use GROUP BY and HAVING to locate them, and apply temporary tables and DELETE statements to remove duplicates while preserving the row with the smallest ID.

DELETEGROUP BYHAVING
0 likes · 11 min read
How to Find and Remove Duplicate Rows in SQL Tables
Tencent Database Technology
Tencent Database Technology
Mar 12, 2019 · Databases

Understanding MySQL 8.0 Data Dictionary, Atomic DDL, and Persistent Autoincrement

This article explains the evolution of MySQL's data dictionary from pre‑8.0 scattered metadata to the unified InnoDB dictionary tables in MySQL 8.0, covering storage structures, dictionary caching, information_schema changes, serialized dictionary information (SDI), atomic DDL mechanisms, persistent autoincrement handling, upgrade considerations, and provides practical code examples.

Atomic DDLInnoDBdata dictionary
0 likes · 22 min read
Understanding MySQL 8.0 Data Dictionary, Atomic DDL, and Persistent Autoincrement
Youzan Coder
Youzan Coder
Mar 8, 2019 · Databases

MySQL InnoDB Deadlock Case Study and Resolution

An InnoDB deadlock occurs when concurrent UPDATEs on a table with a composite (c,d) index generate conflicting GAP and Next‑Key locks during internal delete‑plus‑insert operations, and the simplest resolution is to drop column d from the index, leaving a single‑column index to prevent the lock clash.

InnoDBdeadlocklocking
0 likes · 10 min read
MySQL InnoDB Deadlock Case Study and Resolution
Youzan Coder
Youzan Coder
Mar 6, 2019 · Databases

Why Concurrent Inserts Trigger MySQL Deadlocks: An In‑Depth InnoDB Lock Analysis

This article examines a MySQL 5.6 InnoDB deadlock scenario caused by concurrent batch INSERTs, detailing the table schema, test cases, lock acquisition phases, log analysis, lock compatibility matrix, and discusses why typical SQL‑level fixes are limited, suggesting index redesign or data sharding as mitigation.

InnoDBconcurrencydatabase
0 likes · 11 min read
Why Concurrent Inserts Trigger MySQL Deadlocks: An In‑Depth InnoDB Lock Analysis
MaGe Linux Operations
MaGe Linux Operations
Feb 28, 2019 · Databases

How to Find and Remove Duplicate Rows in MySQL

This article shows step‑by‑step how to identify duplicate rows in a MySQL table—whether the duplication is based on a single column, multiple columns, or either column—and provides reliable SQL patterns, including GROUP BY with HAVING, UNION, sub‑queries, temporary tables, and a safe DELETE statement to clean the data.

DELETEGROUP BYHAVING
0 likes · 11 min read
How to Find and Remove Duplicate Rows in MySQL
dbaplus Community
dbaplus Community
Feb 25, 2019 · Databases

Unlock Oracle SQL Performance with the Rare num_index_keys Hint

A SAP month‑end CO module query suffered severe slowdown despite standard index hints, prompting a deep dive into execution plans, statistics, and a little‑known num_index_keys hint that dramatically improves IN‑list iterator access and reduces filter overhead.

Index HintOracledatabase
0 likes · 7 min read
Unlock Oracle SQL Performance with the Rare num_index_keys Hint
Java Captain
Java Captain
Feb 16, 2019 · Databases

Seven SQL JOIN Types Explained with Example Queries

The article explains seven SQL join techniques—including INNER, LEFT, RIGHT, FULL OUTER, and their exclusive variants—illustrated with diagrams and accompanied by complete SELECT statements that demonstrate how to combine rows from two tables based on matching keys.

INNER JOINJOINLEFT JOIN
0 likes · 3 min read
Seven SQL JOIN Types Explained with Example Queries
Youzan Coder
Youzan Coder
Feb 1, 2019 · Databases

Why Gap Locks Trigger Deadlocks in InnoDB: A Real‑World MySQL Case Study

An in‑depth MySQL case study shows how concurrent gap‑locks under REPEATABLE READ can cause a deadlock when two transactions delete non‑existent rows and then attempt inserts, includes full DDL, log excerpts, step‑by‑step analysis, and practical mitigation strategies.

Gap LockInnoDBdeadlock
0 likes · 8 min read
Why Gap Locks Trigger Deadlocks in InnoDB: A Real‑World MySQL Case Study
Youzan Coder
Youzan Coder
Jan 30, 2019 · Operations

Why Do MySQL RR Transactions Deadlock? A Deep Dive into Index Locking

This article examines two MySQL deadlock scenarios under REPEATABLE READ isolation—one with a non‑unique index and another with a unique index—by presenting table definitions, test data, raw deadlock logs, and step‑by‑step analysis of lock acquisition and waiting, ultimately offering practical recommendations to avoid such deadlocks.

Database operationsInnoDBRR Isolation
0 likes · 12 min read
Why Do MySQL RR Transactions Deadlock? A Deep Dive into Index Locking
Efficient Ops
Efficient Ops
Jan 22, 2019 · Databases

Master MySQL Optimization: Proven Strategies, Tools, and System Tuning

An in‑depth guide to MySQL optimization covering the query execution process, risk‑aware philosophy, hardware and system tuning, essential diagnostic tools, practical SQL and index adjustments, and comprehensive configuration settings to boost performance while maintaining stability and security.

Database Optimizationmysqlperformance tuning
0 likes · 17 min read
Master MySQL Optimization: Proven Strategies, Tools, and System Tuning
dbaplus Community
dbaplus Community
Jan 21, 2019 · Databases

52 Proven SQL Performance Optimization Tips to Supercharge Your Queries

This article compiles 52 practical SQL performance optimization strategies—including indexing best practices, query rewriting, use of temporary tables, storage engine selection, data type choices, backup procedures, and diagnostic tools—to help developers write faster, more efficient database queries.

Database Tuningindexingmysql
0 likes · 23 min read
52 Proven SQL Performance Optimization Tips to Supercharge Your Queries
Java Captain
Java Captain
Jan 21, 2019 · Databases

19 Common MySQL Optimization Techniques

The article lists nineteen practical MySQL optimization methods—including using EXPLAIN, limiting IN clause size, avoiding SELECT *, using LIMIT 1, reducing unnecessary sorting, preferring UNION ALL, avoiding ORDER BY RAND(), distinguishing IN/EXISTS, applying proper pagination, segment queries, avoiding NULL checks, using full‑text indexes, preventing expression‑based WHERE clauses, respecting left‑most prefix, forcing indexes, handling range queries, and optimizing JOINs—to improve query performance and resource usage.

Query Tuningdatabasemysql
0 likes · 11 min read
19 Common MySQL Optimization Techniques
HomeTech
HomeTech
Jan 18, 2019 · Big Data

Data Mill: A Real‑Time Spark Streaming Framework for DSP Business Support

Data Mill is a Spark‑Streaming‑based real‑time computation framework that abstracts tasks as DataFrames, enables SQL‑driven development, and supports DSP business requirements by reducing latency to 15‑30 minutes while providing a scalable architecture, caching strategy, and automated fault handling.

CacheDSPReal‑Time Computing
0 likes · 10 min read
Data Mill: A Real‑Time Spark Streaming Framework for DSP Business Support
Youzan Coder
Youzan Coder
Jan 16, 2019 · Big Data

How Youzan Scaled Real‑Time Analytics with Flink: Architecture, Pitfalls, and Lessons

This article walks through Youzan's real‑time platform architecture, explains why Flink was chosen over Spark Structured Streaming, details practical challenges such as container over‑provisioning and monitoring overhead, shares solutions for Spring integration and async caching, and outlines future directions for SQL‑based streaming and scheduler improvements.

Big DataFlinkReal-time Streaming
0 likes · 19 min read
How Youzan Scaled Real‑Time Analytics with Flink: Architecture, Pitfalls, and Lessons
StarRing Big Data Open Lab
StarRing Big Data Open Lab
Jan 16, 2019 · Big Data

What’s New in Transwarp TDH 5.2.3? Key Performance and Stability Enhancements

TDH 5.2.3 introduces a series of stability and performance upgrades—including transaction and compaction optimizations, enhanced error handling, SQL length protection, improved Oracle‑compatible UDFs, default resource pool support, Guardian caching, TxSQL monitoring, and workflow and OLAP engine fixes—aimed at delivering a more reliable big‑data platform.

Big Datadatabasemonitoring
0 likes · 10 min read
What’s New in Transwarp TDH 5.2.3? Key Performance and Stability Enhancements
HomeTech
HomeTech
Jan 9, 2019 · Big Data

Leveraging Apache Ignite as a Memory‑Centric Data Platform to Replace MySQL for High‑Performance Data Synchronization

This article explains how Apache Ignite, a memory‑centric data platform with strong SQL support, can replace costly MySQL join queries, reduce data‑sync time from over 20 minutes to 15 minutes, improve performance fourfold, and outlines architectural changes, SQL advantages, current limitations, and future scaling plans.

Apache IgniteDistributed QueriesIn-Memory Data Grid
0 likes · 8 min read
Leveraging Apache Ignite as a Memory‑Centric Data Platform to Replace MySQL for High‑Performance Data Synchronization
360 Tech Engineering
360 Tech Engineering
Jan 7, 2019 · Databases

SQL Query Analysis and Access Path Strategies

This article explains how relational optimizers validate, analyze, and transform SQL statements into executable code, detailing the four-step optimization process, query‑analysis factors, cost‑based access‑path selection, table scans, index lookups, and the role of data prefetching in improving performance.

Access PathDatabase PerformanceIndex Scan
0 likes · 12 min read
SQL Query Analysis and Access Path Strategies
Java High-Performance Architecture
Java High-Performance Architecture
Jan 3, 2019 · Databases

Understanding Transaction Isolation Levels: Dirty, Non‑Repeatable, and Phantom Reads Explained

This article explains the three classic concurrency anomalies—dirty read, non‑repeatable read, and phantom read—describes the four standard isolation levels (read uncommitted, read committed, repeatable read, serializable), and shows how databases implement isolation using rollback logs and read‑views.

Database ConcurrencyRepeatable Readdirty read
0 likes · 6 min read
Understanding Transaction Isolation Levels: Dirty, Non‑Repeatable, and Phantom Reads Explained
dbaplus Community
dbaplus Community
Jan 1, 2019 · Databases

19 Essential MySQL Optimization Techniques Every Developer Should Know

This article presents 19 practical MySQL optimization tips, ranging from using EXPLAIN and proper indexing to rewriting IN/EXISTS queries, avoiding costly ORDER BY RAND(), improving pagination, leveraging full‑text indexes, and applying join and execution‑plan strategies for faster, more efficient database performance.

Query Tuningdatabaseindexing
0 likes · 12 min read
19 Essential MySQL Optimization Techniques Every Developer Should Know
Java Captain
Java Captain
Dec 30, 2018 · Backend Development

Using MyBatis3 Annotations to Replace XML Configuration: A Comprehensive Guide

This article provides a step‑by‑step tutorial on using MyBatis3 annotation‑based CRUD, mapping, and provider annotations to replace XML configuration in a Spring Boot project, covering basic annotations, result mapping, dynamic SQL, Maven dependencies, configuration files, entity classes, database scripts, controller code, and testing procedures.

CRUDMyBatisORM
0 likes · 11 min read
Using MyBatis3 Annotations to Replace XML Configuration: A Comprehensive Guide
Java Captain
Java Captain
Dec 26, 2018 · Backend Development

Understanding MyBatis Initialization: Configuration Creation and Design Patterns

This article explains the complete MyBatis initialization process, detailing how the XML configuration file is parsed into a Configuration object, how SqlSessionFactory and SqlSession are built, and highlights the Builder design pattern used throughout the setup, with code examples for manual configuration loading.

Builder PatternConfigurationInitialization
0 likes · 13 min read
Understanding MyBatis Initialization: Configuration Creation and Design Patterns
21CTO
21CTO
Dec 23, 2018 · Databases

Why Misplaced Quotes in MySQL UPDATE Can Zero Out Your Data

This article examines a MySQL data‑update mishap caused by misplaced quotation marks, showing how such syntax errors turn intended string assignments into zero values, and explains the underlying expression evaluation that leads to all rows being updated to 0.

Data lossQuote ErrorUPDATE
0 likes · 6 min read
Why Misplaced Quotes in MySQL UPDATE Can Zero Out Your Data
ITPUB
ITPUB
Dec 21, 2018 · Databases

Why Misplaced Double Quotes Turn MySQL UPDATE Results into Zero

A developer ran a series of UPDATE statements that appeared correct, but due to misplaced double‑quotation marks the WHERE clause was parsed incorrectly, causing every row's column to be set to 0; the article explains MySQL's expression evaluation, shows binlog analysis, and offers practical debugging tips.

Implicit ConversionUPDATEdebugging
0 likes · 7 min read
Why Misplaced Double Quotes Turn MySQL UPDATE Results into Zero
Java Captain
Java Captain
Dec 21, 2018 · Backend Development

How to Prepare for Java Backend Developer Interviews: Frameworks, Distributed Systems, and Performance Optimization

This article provides practical guidance for Java backend interview preparation, emphasizing solid Java fundamentals, hands‑on framework experience, distributed system knowledge, database performance tuning, core data‑structure and concurrency concepts, Linux log troubleshooting, and how to showcase real project achievements.

DistributedLinuxinterview
0 likes · 13 min read
How to Prepare for Java Backend Developer Interviews: Frameworks, Distributed Systems, and Performance Optimization
dbaplus Community
dbaplus Community
Dec 16, 2018 · Databases

How to Design an Effective SQL Audit System for Better DB Performance

This article explains why SQL auditing is essential, outlines its core principles, dimensions, scoring model, and workflow, and provides practical guidance on building a self‑service, visualized, and automated audit solution that improves database reliability and developer productivity.

DBADatabase Auditingautomation
0 likes · 14 min read
How to Design an Effective SQL Audit System for Better DB Performance