Tagged articles

Database Design

327 articles · Page 4 of 4
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Jul 10, 2017 · Databases

How Didi Scales HBase for Real‑Time Orders, Geo‑Tracking, and ETA

This article explains how Didi leverages HBase across multiple business scenarios—including order lifecycle queries, driver‑passenger trajectory tracking, ETA calculations, and cluster monitoring—while addressing multi‑language support, rowkey design, GeoHash indexing, and multi‑tenant resource management.

Database DesignGeoHashHBase
0 likes · 13 min read
How Didi Scales HBase for Real‑Time Orders, Geo‑Tracking, and ETA
Qunar Tech Salon
Qunar Tech Salon
May 25, 2017 · Databases

PostgreSQL Best Practices Guide: Naming, Column, Constraints, Index, NULL Handling, Development and Management Recommendations

This guide provides comprehensive PostgreSQL best‑practice recommendations covering naming conventions, column design, constraints, index strategies, NULL handling, development standards, and administration tips to help users quickly adopt consistent and efficient database practices.

Database DesignPostgreSQLSQL
0 likes · 13 min read
PostgreSQL Best Practices Guide: Naming, Column, Constraints, Index, NULL Handling, Development and Management Recommendations
21CTO
21CTO
May 23, 2017 · Backend Development

How to Build a High‑Concurrency, High‑Availability E‑Commerce Platform

This article outlines the design principles and architectural strategies for constructing a high‑concurrency, high‑availability e‑commerce platform, covering space‑time tradeoffs, caching layers, indexing techniques, parallel and distributed computing, load balancing, stateless services, resource optimization, fault tolerance, data storage options, and real‑time processing components.

CachingDatabase DesignHigh concurrency
0 likes · 45 min read
How to Build a High‑Concurrency, High‑Availability E‑Commerce Platform
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Mar 9, 2017 · Databases

Master Greenplum Table Design & Performance Optimization: Practical Tips

This article explains what Greenplum is, its MPP shared‑nothing architecture, and provides concrete table‑design principles, distribution‑column strategies, indexing guidance, vacuum and table‑rebuilding techniques, as well as SQL, join, insert, update/delete, and resource‑queue optimizations for better performance.

Database DesignDistributed TablesGreenplum
0 likes · 9 min read
Master Greenplum Table Design & Performance Optimization: Practical Tips
dbaplus Community
dbaplus Community
Mar 7, 2017 · Databases

Essential MySQL DBA Best Practices: 20+ Rules for Reliable Database Management

This guide presents a comprehensive set of MySQL DBA standards covering change approvals, backup procedures, schema modifications, high‑availability architecture, security policies, indexing strategies, table and column design, and SQL writing techniques to ensure stable, performant, and secure database operations.

DBADatabase Designmysql
0 likes · 14 min read
Essential MySQL DBA Best Practices: 20+ Rules for Reliable Database Management
ITPUB
ITPUB
Feb 13, 2017 · Databases

Mastering SQL: Joins, Normal Forms, Indexes, and Optimization Techniques

This article explains SQL join types, the three normal forms, table creation and alteration commands, data integrity constraints, practical query‑optimization tips, the roles and differences of clustered and non‑clustered indexes, and the distinctions between stored procedures and functions.

Database DesignIndexesJoins
0 likes · 7 min read
Mastering SQL: Joins, Normal Forms, Indexes, and Optimization Techniques
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 DesignIndexesPerformance Tuning
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 DesignDistributed IDSnowflake
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 DesignOraclemysql
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 Designbackend servicescross‑border e‑commerce
0 likes · 18 min read
Building a Scalable Cross‑Border E‑Commerce Platform: Architecture Lessons and Pitfalls
High Availability Architecture
High Availability Architecture
Jan 21, 2016 · Databases

Design Considerations for a Scalable High‑Availability Weibo Distributed Storage System

The article outlines the design requirements, sharding strategies, capacity planning, cost trade‑offs, and indexing techniques for building a highly available, scalable distributed storage solution for Weibo, focusing on storage‑layer decisions without involving caching or ID generation.

Database DesignDistributed storageHigh Availability
0 likes · 8 min read
Design Considerations for a Scalable High‑Availability Weibo Distributed Storage System
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.

Database DesignHigh concurrencyUI 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 KeyPrimary Key
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.

CachingCloud ComputingDatabase Design
0 likes · 15 min read
50 Proven Principles for Building Highly Scalable Websites