Tagged articles
2670 articles
Page 23 of 27
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
Tencent Cloud Developer
Tencent Cloud Developer
May 5, 2019 · Databases

Handling ORDER BY When Index Order Differs and Using Descending Indexes in MySQL

MySQL can avoid a filesort for ORDER BY clauses that match an index’s direction by scanning the index forward or backward, and MySQL 8.0’s descending indexes let mixed‑direction sorts be satisfied similarly; for older versions you can emulate this by retrieving rows in index order and reversing groups in the application.

Descending IndexOrder Bydatabase
0 likes · 9 min read
Handling ORDER BY When Index Order Differs and Using Descending Indexes in MySQL
Aikesheng Open Source Community
Aikesheng Open Source Community
May 5, 2019 · Databases

MySQL Function Indexes: Scenarios, Implementation, and Performance Comparison

This article explains MySQL function indexes (implemented via virtual columns), demonstrates five common query scenarios—date filtering, arithmetic on two fields, substring extraction, suffix matching, and JSON value extraction—shows how to create the indexes, compares execution plans and performance with regular indexes, and highlights the strict syntax requirements for optimal use.

Function Indexdatabasemysql
0 likes · 7 min read
MySQL Function Indexes: Scenarios, Implementation, and Performance Comparison
Xianyu Technology
Xianyu Technology
Apr 30, 2019 · Mobile Development

Mobile UI Automation Framework for Xianyu App

The new mobile UI automation framework for the Xianyu app reduces script maintenance costs by using random monkey testing to record clicks and expected UI elements, organizing page‑specific scripts in MongoDB, executing them via Appium, and delivering data‑driven tests that doubled script count, achieved 98% pass rate, and cut update time from half a day to under an hour.

AppiumScript Generationdatabase
0 likes · 5 min read
Mobile UI Automation Framework for Xianyu App
Java Captain
Java Captain
Apr 27, 2019 · Databases

Redis Key Design, Command Usage, and Client Best Practices

This guide presents comprehensive best‑practice recommendations for designing Redis keys, choosing appropriate data types, managing key lifecycles, safely using commands, optimizing client connections, handling big keys, and selecting eviction policies to ensure high performance and reliability in production environments.

CacheKey Designbest practices
0 likes · 12 min read
Redis Key Design, Command Usage, and Client Best Practices
Architect's Tech Stack
Architect's Tech Stack
Apr 27, 2019 · Databases

Hybrid Hash‑Range Sharding Strategy with Group‑Based Allocation

This article presents a hybrid sharding approach that combines range partitioning to assign ID ranges to groups and hash modulo on the total number of tables to achieve uniform data distribution while avoiding hotspots and eliminating the need for data migration during scaling.

Distributed SystemsHashScalability
0 likes · 7 min read
Hybrid Hash‑Range Sharding Strategy with Group‑Based Allocation
Architecture Digest
Architecture Digest
Apr 26, 2019 · Databases

Database Bottlenecks and Sharding Strategies (Horizontal & Vertical Partitioning)

The article explains common database performance bottlenecks such as I/O and CPU limits, and details horizontal and vertical sharding techniques—including database and table partitioning—along with tools, implementation steps, common issues, scaling strategies, and practical examples for improving scalability and reliability.

ScalabilityVertical Partitioningdatabase
0 likes · 10 min read
Database Bottlenecks and Sharding Strategies (Horizontal & Vertical Partitioning)
Aikesheng Open Source Community
Aikesheng Open Source Community
Apr 25, 2019 · Databases

Understanding XtraBackup Full Backup Process for MySQL

This article explains MySQL backup classifications, then details XtraBackup's hot physical backup workflow—including redo‑log handling, global read‑lock usage, step‑by‑step file copying, and restore procedures—while addressing common FAQs and practical tips for ensuring data consistency.

BackupFull BackupInnoDB
0 likes · 6 min read
Understanding XtraBackup Full Backup Process for MySQL
dbaplus Community
dbaplus Community
Apr 18, 2019 · Databases

Mastering MySQL DDL: Algorithms, Tools, and Performance Tips

This article explains the challenges of MySQL DDL on large tables, details the built‑in COPY, INPLACE, and INSTANT algorithms, compares third‑party tools like pt‑online‑schema‑change and gh‑ost, and provides practical guidance on minimizing impact, monitoring progress, and handling metadata locks.

DDLINPLACESchema Change
0 likes · 15 min read
Mastering MySQL DDL: Algorithms, Tools, and Performance Tips
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 JoinPerformance Optimization
0 likes · 10 min read
SQL Refactoring Guide Based on Distributed Middleware
ITPUB
ITPUB
Apr 16, 2019 · Databases

How to Restore a Single MySQL Database or Table from a Full Dump

When a MySQL server contains many databases but you only need to recover one database or a single table, you can extract the relevant CREATE and INSERT statements from a full mysqldump using sed or grep, then import them, avoiding a costly full‑instance restore.

BackupRestoreTable
0 likes · 4 min read
How to Restore a Single MySQL Database or Table from a Full Dump
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
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
Youzan Coder
Youzan Coder
Apr 10, 2019 · Databases

Why Does MySQL Hold Locks Until Commit? A Deep Dive into InnoDB Locking

This article explains why MySQL acquires row locks that persist until a transaction commits, using analogies with multithreading, detailed transaction scenarios, the role of intention locks, and how isolation levels affect lock behavior, all illustrated with code examples and diagrams.

InnoDBIsolationdatabase
0 likes · 7 min read
Why Does MySQL Hold Locks Until Commit? A Deep Dive into InnoDB Locking
Java Captain
Java Captain
Apr 10, 2019 · Databases

MySQL Interview Questions and Answers: Normal Forms, Auto‑Increment IDs, ACID, Data Types, Joins, Indexes, Transactions, Engines, Locks, and Optimization

This article provides concise explanations of common MySQL interview topics, covering the three normal forms, auto‑increment behavior, version retrieval, ACID properties, char vs varchar, float vs double, join types, index implementation, isolation levels, storage engines, lock mechanisms, troubleshooting commands, and performance‑tuning tips.

databaseindexesmysql
0 likes · 11 min read
MySQL Interview Questions and Answers: Normal Forms, Auto‑Increment IDs, ACID, Data Types, Joins, Indexes, Transactions, Engines, Locks, and Optimization
Tencent TDS Service
Tencent TDS Service
Apr 4, 2019 · Databases

Understanding Redis Persistence: RDB vs AOF Explained

This article provides a detailed analysis of Redis's two persistence mechanisms—RDB snapshots and AOF logging—covering their core concepts, implementation details, trigger conditions, data safety, performance impact, and recovery speed to help engineers choose the appropriate method for their workloads.

AOFData RecoveryPersistence
0 likes · 11 min read
Understanding Redis Persistence: RDB vs AOF Explained
Architects' Tech Alliance
Architects' Tech Alliance
Apr 3, 2019 · Databases

Choosing Between Optimistic and Pessimistic Locks in Production Systems

The article explains the concepts, advantages, and drawbacks of optimistic and pessimistic locking, provides real‑world examples such as lost updates and inconsistent reads, and offers practical guidelines and implementation techniques for selecting the appropriate concurrency control strategy in database‑driven applications.

Concurrency ControlIsolationVersion Control
0 likes · 10 min read
Choosing Between Optimistic and Pessimistic Locks in Production Systems
Youzan Coder
Youzan Coder
Mar 27, 2019 · Databases

MySQL Slave Crash-Safe Feature Analysis

The article examines MySQL 5.6’s crash‑safe slave replication, explaining how earlier versions’ unsafe relay‑log handling could corrupt position data, describing the atomic update of mysql.slave_relay_log_info via table‑based relay‑log info and transaction coordination, and covering configuration options, recovery behavior, GTID implications, performance trade‑offs, and implementation guidance.

BinlogCrash SafeGTID
0 likes · 9 min read
MySQL Slave Crash-Safe Feature Analysis
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
Java Captain
Java Captain
Mar 9, 2019 · Fundamentals

Understanding Java Enums: Usage, Switch Cases, Singleton Implementation, and Database Integration

This article explores Java enums in depth, covering their basic definition, typical usage patterns such as iteration and switch statements, implementing singletons, integrating with databases via MyBatis type handlers, and addressing common misconceptions about memory consumption, illustrating each concept with clear code examples.

JavaMyBatisSingleton
0 likes · 7 min read
Understanding Java Enums: Usage, Switch Cases, Singleton Implementation, and Database Integration
JD Tech
JD Tech
Mar 7, 2019 · Databases

Distributed Transaction Solutions in Apache ShardingSphere: XA, Saga, and Flexible Transactions

Apache ShardingSphere provides an integrated distributed transaction solution combining traditional ACID‑compliant two‑phase commit, flexible Saga‑based transactions, and automatic transaction management, detailing their architectures, features, trade‑offs, and usage guidelines for developers handling multi‑database microservice environments.

Distributed TransactionsMicroservicesShardingSphere
0 likes · 18 min read
Distributed Transaction Solutions in Apache ShardingSphere: XA, Saga, and Flexible Transactions
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
Tencent Cloud Developer
Tencent Cloud Developer
Mar 6, 2019 · Cloud Native

Building a Subscription Management Mini Program with Tencent Cloud Serverless Functions

The article shows how a single front‑end developer can create the “Moly Subscription Assistant” WeChat mini‑program in five days using Tencent Cloud serverless development, covering OpenID authentication, cloud‑function CRUD for subscriptions, scheduled currency‑rate updates, and a fully managed backend without any traditional servers.

Cloud FunctionsCurrency ExchangeNode.js
0 likes · 10 min read
Building a Subscription Management Mini Program with Tencent Cloud Serverless Functions
Aikesheng Open Source Community
Aikesheng Open Source Community
Mar 4, 2019 · Databases

Quick Start Guide for DBLE Distributed Middleware Using Docker‑Compose

This article introduces DBLE, an enterprise‑grade open‑source distributed middleware, and provides a step‑by‑step Docker‑Compose quick‑start tutorial covering download links, prerequisite installations, container launch, connection details, cleanup commands, and how to customize the configuration with custom scripts.

DBLEDockerDocker Compose
0 likes · 9 min read
Quick Start Guide for DBLE Distributed Middleware Using Docker‑Compose
Java Captain
Java Captain
Mar 3, 2019 · Databases

Redis Overview: Architecture, Persistence, High Availability, and Client Features

This article explains Redis as an in‑memory data store used for caching, database, and messaging, walks through its evolution from simple HTTP caching to dedicated servers, and details server‑side features like persistence, Sentinel, replication, clustering, as well as client‑side capabilities such as rich data types, transactions, Lua scripting, pipelining, and distributed locks.

ClusterDistributed SystemsPersistence
0 likes · 11 min read
Redis Overview: Architecture, Persistence, High Availability, and Client Features
Youzan Coder
Youzan Coder
Mar 1, 2019 · Databases

Why Do MySQL Inserts Cause Deadlocks? A Deep Dive into a Real-World Case

This article analyzes a MySQL deadlock scenario where concurrent inserts and unique‑key conflicts lead to circular lock waits, explains the underlying lock behavior, walks through the full deadlock log, and proposes using INSERT ON DUPLICATE KEY UPDATE to prevent the issue.

InnoDBdatabasedeadlock
0 likes · 7 min read
Why Do MySQL Inserts Cause Deadlocks? A Deep Dive into a Real-World Case
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
dbaplus Community
dbaplus Community
Feb 24, 2019 · Databases

How to Boost MySQL Query Speed: Key Factors and Proven Optimizations

This comprehensive guide explains the main factors that slow down MySQL queries—including inefficient SQL, concurrency limits, CPU and disk I/O bottlenecks, network issues, large tables, and transaction overhead—while offering concrete configuration tweaks, storage‑engine choices, indexing strategies, and sharding techniques to dramatically improve performance.

databaseindexingmysql
0 likes · 24 min read
How to Boost MySQL Query Speed: Key Factors and Proven Optimizations
ITPUB
ITPUB
Feb 22, 2019 · Databases

Why B‑Tree vs B+Tree Matters: MySQL Indexing Essentials

This article explains MySQL’s storage engines, compares B‑Tree and B+Tree indexes, details their structures and search processes, and outlines key principles for designing efficient indexes to avoid slow queries in relational databases.

B+TreeB-Treedatabase
0 likes · 12 min read
Why B‑Tree vs B+Tree Matters: MySQL Indexing Essentials
Java Backend Technology
Java Backend Technology
Feb 22, 2019 · Databases

Mastering Redis Cluster: Evolution, Architecture, and Interview Secrets

This article walks through the evolution of Redis clustering—from early Replication+Sentinel setups, through Proxy‑based solutions, to modern Redis Cluster—detailing their architectures, advantages, drawbacks, and provides practical interview tips and high‑impact answers for candidates.

Backend DevelopmentClusterdatabase
0 likes · 11 min read
Mastering Redis Cluster: Evolution, Architecture, and Interview Secrets
360 Tech Engineering
360 Tech Engineering
Feb 20, 2019 · Databases

Pika 3.0 New Features Overview

Pika 3.0, the open‑source C++ Redis‑compatible storage built on RocksDB, introduces a new Blackwidow engine, enhanced binlog, and optimized server layer, delivering higher interface performance, reduced disk usage, extended key length, full ZSET compatibility, and improved overall efficiency.

CPikaRocksDB
0 likes · 3 min read
Pika 3.0 New Features Overview
Youzan Coder
Youzan Coder
Feb 20, 2019 · Databases

HBase Read Path Analysis

The article first outlines HBase’s overall architecture and core components, then details the end‑to‑end read path—from client request routing to RegionServer processing, data organization and filtering—and finally presents practical client‑ and server‑side optimizations such as heterogeneous storage, HDFS short‑circuit, hedged reads, high‑availability reads, and warm‑up failure fixes, illustrated with Youzan’s production cluster.

Distributed SystemsHBaseTechnical Guide
0 likes · 17 min read
HBase Read Path Analysis
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 15, 2019 · Databases

Why Three Concurrent INSERTs Trigger a Deadlock in InnoDB?

This article walks through a step‑by‑step InnoDB deadlock case where three sessions inserting rows with the same unique key cause a lock‑compatibility conflict, explains the INSERT lock phases, shows the actual deadlock log, and reveals why the deadlock occurs.

InnoDBInsert Intention Lockdatabase
0 likes · 14 min read
Why Three Concurrent INSERTs Trigger a Deadlock in InnoDB?
Efficient Ops
Efficient Ops
Feb 11, 2019 · Databases

Best Redis Cluster Options: Client Sharding, Proxy, Codis, Official

Redis, a high‑performance NoSQL database, offers multiple clustering approaches—including client‑side sharding, proxy‑based solutions like Twemproxy and Codis, and the native Redis Cluster—each with distinct trade‑offs in scalability, availability, operational complexity, and performance, guiding engineers to select the optimal architecture for their workloads.

CodisProxyclustering
0 likes · 15 min read
Best Redis Cluster Options: Client Sharding, Proxy, Codis, Official
Programmer DD
Programmer DD
Feb 11, 2019 · Databases

How Partitioned Tables Supercharge MySQL Performance and Their Limits

This article demonstrates how MySQL partition tables dramatically improve query speed for large datasets, compares partition-key, secondary-index, and full‑scan queries, outlines the practical performance gains, and details the numerous limitations and trade‑offs that influence when to adopt partitioning versus sharding.

PartitioningScalabilitydatabase
0 likes · 15 min read
How Partitioned Tables Supercharge MySQL Performance and Their Limits
JD Tech
JD Tech
Feb 11, 2019 · Backend Development

Optimizing JD Service Market's Plugin List Service: From Thread Scaling to a Unified Cache Layer

This article presents a comprehensive case study of how JD's Service Market improved the performance of its core "Available Plugin List" service by analyzing self‑optimizations, resolving external resource conflicts, designing a unified caching model, and implementing asynchronous cache construction using binlog and MQ, ultimately achieving a six‑fold traffic surge handling during peak events.

BackendMessage QueueMicroservices
0 likes · 12 min read
Optimizing JD Service Market's Plugin List Service: From Thread Scaling to a Unified Cache Layer
Java Captain
Java Captain
Feb 9, 2019 · Databases

Evolution of Redis Cluster Architecture and Interview Tips

This article reviews the progression of Redis high‑availability solutions—from simple replication with Sentinel, through proxy‑based setups, to native Redis Cluster—explains their advantages and drawbacks, and provides practical interview Q&A tips for candidates.

ClusterProxydatabase
0 likes · 9 min read
Evolution of Redis Cluster Architecture and Interview Tips
ITPUB
ITPUB
Jan 28, 2019 · Databases

How to Prevent Redis Single‑Point Failures with Sentinel and Master‑Slave Replication

This article explains Redis’s key features and common use cases, highlights the risks of single‑node deployments, compares two master‑slave replication architectures, and outlines their pros and cons, and details how Redis Sentinel provides automated monitoring, failover, and configuration to achieve high availability.

databasedisaster recoveryhigh availability
0 likes · 10 min read
How to Prevent Redis Single‑Point Failures with Sentinel and Master‑Slave Replication
dbaplus Community
dbaplus Community
Jan 27, 2019 · Databases

How to Build a Highly Available Redis Service with Sentinel and Virtual IP

This article walks through the design of a highly available Redis deployment, explains common failure scenarios, compares single‑node, master‑slave, and multi‑Sentinel architectures, and shows how adding a virtual IP and three Sentinel instances can provide robust HA while keeping client usage simple.

databasehigh availabilityredis
0 likes · 13 min read
How to Build a Highly Available Redis Service with Sentinel and Virtual IP
Youzan Coder
Youzan Coder
Jan 25, 2019 · Databases

Analyzing MySQL Deadlock Logs: A Step-by-Step Guide

The guide walks through creating a sample InnoDB table, reproducing a delete‑vs‑insert deadlock, and dissecting the SHOW ENGINE INNODB STATUS output to explain lock modes such as X, S, GAP and INSERT‑INTENTION, showing how one transaction’s IX lock and another’s X lock on the same index create a classic deadlock and why understanding these modes is crucial for diagnosis.

InnoDBLock Analysisdatabase
0 likes · 8 min read
Analyzing MySQL Deadlock Logs: A Step-by-Step Guide
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
NetEase Game Operations Platform
NetEase Game Operations Platform
Jan 19, 2019 · Databases

Design and Implementation of Redis Application Layer Protocol (RESP) and Its Python Clients

This article explains the RESP protocol used by Redis, details its five data types, demonstrates pipeline handling with raw sockets, examines the parsing and command‑packing logic of the redis‑py client, analyzes the pipeline implementation and limitations of redis‑py‑cluster, and speculates on upcoming RESP3 features.

PipelinePythonRESP
0 likes · 20 min read
Design and Implementation of Redis Application Layer Protocol (RESP) and Its Python Clients
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
DataFunTalk
DataFunTalk
Jan 16, 2019 · Big Data

NetEase Data Infrastructure: Database Technologies and Big Data Platform Overview

This article presents NetEase Hangzhou Research Institute's experience in building a data infrastructure, covering database innovations such as InnoSQL, NTSDB, and InnoRocks, as well as the integration of big‑data components like HDFS, Spark, Impala, and Kudu to enable efficient storage, processing, and real‑time analytics.

Data PlatformImpalaInnoSQL
0 likes · 12 min read
NetEase Data Infrastructure: Database Technologies and Big Data Platform Overview
Programmer DD
Programmer DD
Jan 3, 2019 · Backend Development

Mastering Idempotence: Techniques to Ensure Safe Operations in Backend Systems

This article explains the concept of idempotence, provides real‑world examples such as duplicate form submissions and payment requests, and details practical backend techniques—including query handling, unique indexes, token mechanisms, pessimistic and optimistic locks, distributed locks, and API design—to guarantee that repeated operations produce consistent results without side effects.

IdempotenceTokendatabase
0 likes · 10 min read
Mastering Idempotence: Techniques to Ensure Safe Operations in Backend Systems
dbaplus Community
dbaplus Community
Jan 2, 2019 · Operations

How to Boost Banking System Performance: A Proven Testing & Optimization Playbook

This article presents a comprehensive methodology for performance testing and optimization of a new corporate banking system, covering evaluation metrics, monitoring tools, test environment setup, common bottlenecks, detailed troubleshooting steps, and real‑world case studies to achieve higher throughput, lower latency, and better scalability.

JVMPerformance TestingSystem optimization
0 likes · 24 min read
How to Boost Banking System Performance: A Proven Testing & Optimization Playbook
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
Tencent Cloud Developer
Tencent Cloud Developer
Dec 24, 2018 · Cloud Computing

Serverless Development and Cloud Services for WeChat Mini Programs

The talk explains how Tencent’s serverless Mini Program Cloud Development platform eliminates the brain, cost, and coordination pains of backend creation by providing native, one‑click cloud functions, a MongoDB‑compatible database, and CDN‑accelerated storage, enabling single engineers to build scalable, reliable Mini Program services quickly and affordably.

Cloud FunctionsServerlessWeChat Mini Program
0 likes · 13 min read
Serverless Development and Cloud Services for WeChat Mini Programs
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
Architect's Tech Stack
Architect's Tech Stack
Dec 22, 2018 · Backend Development

Understanding Idempotency: Concepts, Examples, and Implementation Techniques

This article explains the mathematical and programming concept of idempotency, provides real‑world examples such as duplicate form submissions and payment requests, and details practical techniques—including query/select operations, unique indexes, token mechanisms, pessimistic and optimistic locks, distributed locks, and API design—to ensure idempotent behavior in backend systems.

Distributed SystemsIdempotencydatabase
0 likes · 9 min read
Understanding Idempotency: Concepts, Examples, and Implementation Techniques
dbaplus Community
dbaplus Community
Dec 17, 2018 · Databases

Exploring MongoDB 4.0 Multi-Document ACID Transactions vs MySQL

MongoDB 4.0 introduces multi‑document ACID transactions with snapshot isolation, supporting replica sets and WiredTiger, and this article explains ACID concepts, outlines limitations, demonstrates session commands, and compares transaction behavior—including conflict detection, repeatable reads, and phantom reads—to MySQL’s implementation.

ACID TransactionsMongoDBMySQL Comparison
0 likes · 10 min read
Exploring MongoDB 4.0 Multi-Document ACID Transactions vs MySQL
dbaplus Community
dbaplus Community
Dec 11, 2018 · Databases

How We Fixed MongoDB Outages and Boosted Performance in Production

This article outlines MongoDB's key features, describes a real‑world outage caused by misconfigured connection limits, details the root‑cause analysis and temporary remediation, and presents a comprehensive set of configuration, sharding, and hardware optimizations that dramatically improved the system's reliability and throughput.

ConfigurationMongoDBOps
0 likes · 14 min read
How We Fixed MongoDB Outages and Boosted Performance in Production
WeChat Client Technology Team
WeChat Client Technology Team
Dec 6, 2018 · Databases

How SQLiteLint Detects Hidden Performance Issues in Mobile Apps

This article introduces SQLiteLint, a runtime analysis tool that automatically checks SQLite usage in mobile apps for index problems, redundant indexes, SELECT *, AUTOINCREMENT, missing prepared statements, and without‑rowid opportunities, enabling developers to catch performance issues before release.

Index OptimizationMobile DevelopmentSQLite
0 likes · 17 min read
How SQLiteLint Detects Hidden Performance Issues in Mobile Apps
Tencent Cloud Developer
Tencent Cloud Developer
Nov 27, 2018 · Mobile Development

Developing a Mini Program with Cloud Functions: Posting, Viewing, and Commenting

Using the cloud‑development model, the author built a mini‑program that lets users publish posts with optional images, browse a list of posts, view details, and add comments, leveraging cloud functions for CRUD operations, cloud database for storage, and cloud storage for images, while noting the rapid prototyping advantage and the modest 2 GB database and 5 GB storage limits.

Cloud FunctionsJavaScriptMini Program
0 likes · 9 min read
Developing a Mini Program with Cloud Functions: Posting, Viewing, and Commenting
Java Captain
Java Captain
Nov 26, 2018 · Backend Development

Design and Implementation of a Gas Purchase‑Sale‑Stock System Using Maven, Spring, and ExtJS

This article walks through the complete backend development of a gas purchase‑sale‑stock management system, covering entity and database design, Maven multi‑module project setup, Spring and web.xml configuration, environment‑specific property handling with a portable‑config Maven plugin, and a sample login controller implementation using Java, Spring MVC, and ExtJS.

ExtJSJavaWeb Development
0 likes · 21 min read
Design and Implementation of a Gas Purchase‑Sale‑Stock System Using Maven, Spring, and ExtJS
21CTO
21CTO
Nov 25, 2018 · Backend Development

Inside Oracle’s 25‑Million‑Line C Code: Why Fixing One Bug Takes Weeks

An Oracle Database developer describes the massive, flag‑laden C codebase, the endless testing cycles, and why even tiny bug fixes can require weeks of work, highlighting the extreme complexity and maintenance challenges of large enterprise databases.

Oraclebug fixingdatabase
0 likes · 5 min read
Inside Oracle’s 25‑Million‑Line C Code: Why Fixing One Bug Takes Weeks
Test Development Learning Exchange
Test Development Learning Exchange
Nov 25, 2018 · Backend Development

Mastering Django Model Meta Options: A Complete Guide

This article explains every Django Model Meta attribute—including abstract, app_label, db_table, db_tablespace, get_latest_by, managed, order_with_respect_to, ordering, permissions, proxy, unique_together, verbose_name, and verbose_name_plural—detailing their purpose, usage, and code examples for precise database and admin control.

BackendDjangoMeta
0 likes · 6 min read
Mastering Django Model Meta Options: A Complete Guide
ITPUB
ITPUB
Nov 21, 2018 · Databases

Why Is Redis Lagging? Key Causes and Practical Fixes

This article explains the main factors that cause Redis latency—including network bottlenecks, Redis’s single‑threaded design, deployment choices, OS settings, and slow commands—and provides concrete commands and best‑practice solutions to diagnose and reduce the delay.

Latencydatabaseperformance tuning
0 likes · 6 min read
Why Is Redis Lagging? Key Causes and Practical Fixes
Youzan Coder
Youzan Coder
Nov 16, 2018 · Databases

Optimizing Large-Scale Pagination Queries in MySQL

When paginating millions of rows in MySQL, avoid large OFFSET scans by using delayed joins or bookmark techniques that first fetch primary‑key values via covering indexes, then retrieve the needed rows, dramatically reducing I/O and query latency.

bookmark paginationdatabasedelayed join
0 likes · 10 min read
Optimizing Large-Scale Pagination Queries in MySQL
dbaplus Community
dbaplus Community
Nov 12, 2018 · Databases

Unlocking MySQL 8.0 Optimizer: Cost Model Configuration and Histogram Usage

This article explains how MySQL 8.0 improves the optimizer by introducing configurable cost model constants and a histogram feature, showing how to query and update system tables, use ANALYZE TABLE to create and manage histograms, and explore the underlying code structures and future tuning possibilities.

Cost ModelHistogramdatabase
0 likes · 19 min read
Unlocking MySQL 8.0 Optimizer: Cost Model Configuration and Histogram Usage
Alibaba Cloud Infrastructure
Alibaba Cloud Infrastructure
Nov 10, 2018 · Databases

A Decade of Alibaba Database Evolution for Double 11: From Commercial to Open‑Source to Self‑Developed

Over ten years Alibaba's database team transformed from commercial Oracle‑based systems to open‑source AliSQL and finally to the self‑developed X‑DB, introducing distributed middleware, cloud resources, full‑link testing, intelligent optimization and storage‑compute separation to support the massive Double 11 traffic peaks.

AlibabaSelf‑Developed DBcloud
0 likes · 21 min read
A Decade of Alibaba Database Evolution for Double 11: From Commercial to Open‑Source to Self‑Developed
Alibaba Cloud Developer
Alibaba Cloud Developer
Nov 6, 2018 · Databases

How Alibaba’s Database Tech Evolved for Double 11: 10 Years of Innovation

This article chronicles Alibaba's decade‑long journey of database innovations—from commercial and open‑source systems to a self‑developed distributed engine—highlighting the technical breakthroughs, performance optimizations, and intelligent features that powered successive Double 11 shopping festivals.

AlibabaDistributed SystemsDouble 11
0 likes · 23 min read
How Alibaba’s Database Tech Evolved for Double 11: 10 Years of Innovation
Tencent Cloud Developer
Tencent Cloud Developer
Nov 5, 2018 · Databases

Best Practices for Redis Database on the Cloud

In this talk, Tencent Cloud senior engineer Zou Peng outlines cloud‑native best practices for Redis 4.0 clusters, detailing a smart‑proxy architecture with gossip‑based management, lazy‑scan big‑key handling, automatic fail‑over, the high‑performance CKV engine, and practical guidance on scaling, sharding, monitoring, and cost‑effective high‑availability deployment.

ClusterData MigrationProxy
0 likes · 14 min read
Best Practices for Redis Database on the Cloud
AntTech
AntTech
Oct 24, 2018 · Fundamentals

A Comprehensive Overview of Alibaba’s Open‑Source Projects Across Frontend, Backend, Mobile, Database, and System Domains

This article presents a curated collection of Alibaba Group’s open‑source projects, spanning frontend design systems, Java libraries, database engines, distributed file and messaging systems, as well as tutorials, highlighting each project's purpose, key features, and GitHub repository links for developers seeking robust, production‑grade solutions.

AlibabaBackendDistributed Systems
0 likes · 20 min read
A Comprehensive Overview of Alibaba’s Open‑Source Projects Across Frontend, Backend, Mobile, Database, and System Domains
21CTO
21CTO
Oct 17, 2018 · Databases

Scaling Payment Systems: Sharding, Snowflake IDs, and High‑Availability

This article explains how to design a high‑throughput payment system using database sharding, Snowflake‑style globally unique order IDs, eventual consistency via message queues, high‑availability architectures, data tiering, and coarse‑fine traffic control to handle massive request spikes.

Data Tieringdatabaseeventual consistency
0 likes · 15 min read
Scaling Payment Systems: Sharding, Snowflake IDs, and High‑Availability
dbaplus Community
dbaplus Community
Oct 16, 2018 · Databases

Master MySQL Window Functions: From Basics to Advanced Use Cases

This tutorial explains why and how to use MySQL window functions, covering their concepts, syntax, various function families, practical examples such as ranking, distribution, lead/lag, first/last, and aggregations within dynamic windows, plus detailed SQL snippets and visual illustrations.

Analyticsdatabasemysql
0 likes · 13 min read
Master MySQL Window Functions: From Basics to Advanced Use Cases
Xianyu Technology
Xianyu Technology
Oct 16, 2018 · Big Data

Millisecond-Level Counting for Billion-Scale Data via Offline Batch and Online Incremental Statistics

To achieve millisecond‑level counting on billion‑scale data, the Xianyu team replaced slow MySQL count queries with an offline batch that snapshots relational tables and computes totals, then uses KV‑store incremental statistics for online updates, delivering sub‑10 ms responses with near‑100 % success.

Big Datadatabaseincremental counting
0 likes · 7 min read
Millisecond-Level Counting for Billion-Scale Data via Offline Batch and Online Incremental Statistics
Java Backend Technology
Java Backend Technology
Oct 15, 2018 · Databases

Master MySQL Indexes and Locks: Boost Performance and Avoid Pitfalls

This article explains MySQL's index structures, how indexes accelerate queries but slow down writes, the differences between B‑tree and hash indexes, clustered versus non‑clustered indexes, the left‑most prefix rule, and provides a comprehensive overview of MySQL locking mechanisms and best practices.

InnoDBLockdatabase
0 likes · 18 min read
Master MySQL Indexes and Locks: Boost Performance and Avoid Pitfalls
dbaplus Community
dbaplus Community
Sep 23, 2018 · Operations

Key Takeaways from the 2018 Gdevops Global Agile Operations Summit in Beijing

The 2018 Gdevops Global Agile Operations Summit in Beijing gathered experts who shared practical insights on AIOps, DevOps, cloud‑native databases, MongoDB, TiDB on Kubernetes, SQL optimization, and operational best practices, providing a comprehensive snapshot of modern enterprise operations trends.

Cloud NativeDevOpsMongoDB
0 likes · 13 min read
Key Takeaways from the 2018 Gdevops Global Agile Operations Summit in Beijing
Architects' Tech Alliance
Architects' Tech Alliance
Sep 11, 2018 · Databases

Understanding Distributed Transactions: Principles, 2PC, 3PC, XA, Saga, and Message‑Based Approaches

This article explains the fundamentals of database transactions, the ACID properties, and how they are implemented, then delves into distributed transaction challenges and solutions such as two‑phase and three‑phase commit, XA, Saga patterns, choreography vs. orchestration, and message‑based transaction mechanisms.

2PC3PCACID
0 likes · 16 min read
Understanding Distributed Transactions: Principles, 2PC, 3PC, XA, Saga, and Message‑Based Approaches
Architects' Tech Alliance
Architects' Tech Alliance
Sep 11, 2018 · Databases

Pessimistic vs Optimistic Locking: A Story-Based Explanation

This article uses a humorous story of two threads battling over inventory updates to illustrate the principles, advantages, and drawbacks of pessimistic and optimistic locking in distributed systems, helping readers understand when to apply each concurrency control method.

Concurrency ControlDistributed Systemsdatabase
0 likes · 8 min read
Pessimistic vs Optimistic Locking: A Story-Based Explanation
Java Backend Technology
Java Backend Technology
Sep 8, 2018 · Databases

Master MySQL Quickly: Essential Tips, Best Practices, and Common Pitfalls

This comprehensive guide walks you through mastering MySQL by covering server configuration choices, storage engine selection, data type recommendations, index strategies, backup methods, logging options, and practical advice on triggers, views, stored procedures, and character set handling, all aimed at boosting performance and avoiding common mistakes.

Backupdatabaseindexes
0 likes · 26 min read
Master MySQL Quickly: Essential Tips, Best Practices, and Common Pitfalls