Tagged articles
321 articles
Page 4 of 4
ITPUB
ITPUB
Jan 18, 2017 · Databases

Essential Database Design and Query Optimization Tips for Faster SQL Performance

This article provides practical guidelines for designing efficient database schemas and optimizing SQL queries, covering row size limits, data type choices, index usage, common pitfalls in WHERE clauses, and best practices for temporary tables and transaction handling to improve overall database performance.

Database designSQLindexes
0 likes · 11 min read
Essential Database Design and Query Optimization Tips for Faster SQL Performance
Hujiang Technology
Hujiang Technology
Nov 9, 2016 · Databases

Risks of Auto‑Increment IDs and Distributed ID Solutions

The article explains how exposing auto‑increment primary keys can leak business information, illustrates the danger with historical examples, and evaluates alternative ID generation strategies such as encoding, UUIDs, and Snowflake‑style distributed IDs, including performance comparisons in MySQL.

Database designSecurityauto_increment
0 likes · 9 min read
Risks of Auto‑Increment IDs and Distributed ID Solutions
ITPUB
ITPUB
Jun 2, 2016 · Databases

Essential MySQL & Oracle Development Best Practices for Robust Databases

This guide presents practical MySQL and Oracle development recommendations, covering table design, indexing, and SQL optimization techniques such as using appropriate data types, avoiding redundant indexes, employing efficient query patterns, and leveraging specific Oracle hints to improve performance and maintainability.

Database designOracleSQL Optimization
0 likes · 8 min read
Essential MySQL & Oracle Development Best Practices for Robust Databases

MySQL Performance Optimization Tips for Web Applications

This article presents a comprehensive set of MySQL performance optimization techniques for web applications, covering query cache usage, EXPLAIN analysis, LIMIT 1, proper indexing, join optimization, avoiding ORDER BY RAND(), selective column retrieval, proper primary keys, ENUM usage, PROCEDURE ANALYSE, NOT NULL fields, prepared statements, unbuffered queries, IP storage as unsigned int, fixed‑length tables, vertical partitioning, batch DELETE/INSERT, column size reduction, storage engine selection, ORM usage, and careful handling of persistent connections.

Database designPrepared Statementsmysql
0 likes · 21 min read
MySQL Performance Optimization Tips for Web Applications
21CTO
21CTO
Feb 6, 2016 · Backend Development

Building a Scalable Cross‑Border E‑Commerce Platform: Architecture Lessons and Pitfalls

This article examines the technical challenges and solutions involved in designing, deploying, and evolving a cross‑border e‑commerce platform, covering system architecture, network setup, database scaling, service modularization, and real‑world pitfalls encountered during rapid growth.

Database designDeploymentScalability
0 likes · 18 min read
Building a Scalable Cross‑Border E‑Commerce Platform: Architecture Lessons and Pitfalls
ITPUB
ITPUB
Dec 18, 2015 · Databases

Mastering Database Schema Design: From Normalization to Sharding and Scaling

This article explains essential database design principles—including normalization, denormalization, join avoidance, and various sharding techniques—while also covering scaling strategies such as vertical upgrades, horizontal partitioning, and the use of flash storage to boost performance.

Database designDenormalizationSQL
0 likes · 27 min read
Mastering Database Schema Design: From Normalization to Sharding and Scaling
ITPUB
ITPUB
Nov 19, 2015 · Databases

Essential MySQL & Oracle Development Guidelines for Tables, Indexes, and SQL

This guide presents practical recommendations for MySQL and Oracle development, covering table design, appropriate data types, indexing best practices, and efficient SQL patterns to improve performance, maintainability, and security.

Database designIndex OptimizationSQL Performance
0 likes · 7 min read
Essential MySQL & Oracle Development Guidelines for Tables, Indexes, and SQL
21CTO
21CTO
Oct 28, 2015 · Databases

Block SELECT * Queries with a One‑Line Computed Column Hack

This article explains why using SELECT * is problematic and demonstrates a simple technique—adding a computed column that triggers a divide‑by‑zero error—to block SELECT * queries while still allowing column‑specific selections.

Database designSQLbest practices
0 likes · 3 min read
Block SELECT * Queries with a One‑Line Computed Column Hack
21CTO
21CTO
Oct 1, 2015 · Backend Development

Inside WeChat Red Packets: User Motives, UI Flow, and Backend Architecture

This article dissects the entire WeChat red‑packet ecosystem, exploring why users send and grab packets, the entry points, detailed UI screens, database schema, random‑distribution algorithms, caching strategies, and the full front‑end/back‑end interaction sequence.

Backend ArchitectureDatabase designUI flow
0 likes · 25 min read
Inside WeChat Red Packets: User Motives, UI Flow, and Backend Architecture
21CTO
21CTO
Sep 16, 2015 · Databases

Why Physical Primary Keys and Optimistic Locks Are Essential for Reliable DB Design

This article explains why using a physical primary key for foreign‑key relationships, how to implement optimistic locking with a version column for concurrent updates, and when it’s safe to update records without any locking, providing practical SQL examples for reliable database design.

Database designForeign KeySQL
0 likes · 6 min read
Why Physical Primary Keys and Optimistic Locks Are Essential for Reliable DB Design
Qunar Tech Salon
Qunar Tech Salon
Aug 21, 2015 · Databases

Comprehensive Guide to MySQL: History, Advantages, Issues, Development Standards, Operations, and Performance Optimization

This article provides an extensive overview of MySQL, covering its history, strengths and limitations, recommended development and operational standards, replication and high‑availability strategies, backup and recovery methods, as well as detailed performance‑tuning techniques for InnoDB and alternative storage engines.

Database designInnoDBOnline DDL
0 likes · 28 min read
Comprehensive Guide to MySQL: History, Advantages, Issues, Development Standards, Operations, and Performance Optimization
Java High-Performance Architecture
Java High-Performance Architecture
Jul 3, 2015 · Databases

When to Use CHAR vs VARCHAR in MySQL? Understanding Length, Storage, and Performance

CHAR stores fixed‑length strings padded with spaces, while VARCHAR stores variable‑length strings with a length byte, leading to different maximum sizes—255 characters for CHAR and up to 65,535 bytes for VARCHAR (about 21,589 UTF‑8 characters)—and distinct use cases such as short fixed fields versus space‑saving flexible fields.

Database designcharmysql
0 likes · 2 min read
When to Use CHAR vs VARCHAR in MySQL? Understanding Length, Storage, and Performance
MaGe Linux Operations
MaGe Linux Operations
Apr 20, 2015 · Backend Development

50 Proven Principles for Building Highly Scalable Websites

This article distills the key takeaways from the book “50 Principles of High‑Scalability Websites,” presenting concise guidelines on avoiding over‑design, planning capacity, simplifying architecture, optimizing DNS and assets, leveraging horizontal scaling, proper database usage, caching, fault isolation, asynchronous messaging, and continuous learning to build robust, easily extensible web systems.

Database designScalabilitycaching
0 likes · 15 min read
50 Proven Principles for Building Highly Scalable Websites