Tag

database schema

0 views collected around this technical thread.

Lobster Programming
Lobster Programming
Jun 9, 2025 · Databases

How to Add a Column to Billion‑Row Tables Without Downtime

This article explains a metadata‑driven approach for extending massive tables—using a separate extension table, sharding, and Elasticsearch sync—to add new fields to billion‑row databases without locking the primary table or disrupting online services.

Big DataElasticsearchSharding
0 likes · 6 min read
How to Add a Column to Billion‑Row Tables Without Downtime
IT Services Circle
IT Services Circle
Apr 28, 2025 · Databases

Choosing the Right Data Type for Storing Billions of Phone Numbers: INT vs VARCHAR

This article examines why storing 2 billion phone numbers using INT or BIGINT is problematic and argues for using VARCHAR(20) to preserve data integrity, support international formats, simplify queries, and avoid common pitfalls in database design and development.

Data IntegritySQLVARCHAR vs BIGINT
0 likes · 8 min read
Choosing the Right Data Type for Storing Billions of Phone Numbers: INT vs VARCHAR
vivo Internet Technology
vivo Internet Technology
Aug 7, 2024 · Databases

MySQL 5.7 DDL vs GH-OST: A Comprehensive Comparison of Online Schema Change Tools

While MySQL 5.7 native DDL methods (copy, inplace rebuild, index build, metadata‑only) vary in speed, space use, lock impact, and binlog output, GH‑OST consistently offers the fastest execution, lowest lock blocking, real‑time replication, albeit at roughly double storage cost, making it ideal for risk‑averse online schema changes.

DDLInnoDBMySQL
0 likes · 11 min read
MySQL 5.7 DDL vs GH-OST: A Comprehensive Comparison of Online Schema Change Tools
Java Architect Essentials
Java Architect Essentials
Mar 16, 2024 · Backend Development

One-Click Front-End Generation from Database Schema – A Free Tool for Backend Developers

This article introduces a free, low‑code tool that lets backend developers automatically generate functional front‑end management pages from database structures or description files, detailing two generation methods, configuration steps, code snippets, and deployment tips.

auto UIbackend developmentdatabase schema
0 likes · 6 min read
One-Click Front-End Generation from Database Schema – A Free Tool for Backend Developers
Aikesheng Open Source Community
Aikesheng Open Source Community
Aug 7, 2023 · Databases

Understanding Invisible Columns, Generated Invisible Primary Keys, and Invisible Indexes in MySQL 8.0

This article explains three relatively new MySQL 8.0 features—hidden (invisible) columns, generated invisible primary keys, and invisible indexes—detailing their purpose, how to create and use them, and practical scenarios where they can help avoid schema‑change issues or test query performance.

Generated Primary KeyInvisible ColumnsInvisible Indexes
0 likes · 11 min read
Understanding Invisible Columns, Generated Invisible Primary Keys, and Invisible Indexes in MySQL 8.0
Selected Java Interview Questions
Selected Java Interview Questions
Jul 10, 2023 · Backend Development

Designing a Unified Multi‑Account Login System with Phone, Password, and Third‑Party Authentication

This article outlines a comprehensive approach to building a scalable multi‑account login system that supports phone‑number/password, phone‑number/verification‑code, and various third‑party OAuth providers, detailing workflow steps, database schema, advantages, drawbacks, and a one‑click login integration.

Authenticationaccount designbackend
0 likes · 15 min read
Designing a Unified Multi‑Account Login System with Phone, Password, and Third‑Party Authentication
macrozheng
macrozheng
Jun 20, 2023 · Backend Development

Mastering E‑Commerce Product Module Design with the Mall Project

This article walks through the Mall project's product module—covering its architecture, feature design, database schema, and API implementation—while providing links to source code, video tutorials, and a mind‑map that together serve as a comprehensive guide for building robust e‑commerce systems.

API designSpringBootbackend development
0 likes · 10 min read
Mastering E‑Commerce Product Module Design with the Mall Project
Architecture Digest
Architecture Digest
Nov 14, 2022 · Backend Development

Design and Implementation of a Coupon System for a Rental Platform

This article details the design and implementation of a coupon system for a rental platform, covering business flow, database schema, backend services, caching strategies, state management, and future optimization directions to ensure reliable coupon distribution and redemption.

backend designcachingcoupon system
0 likes · 20 min read
Design and Implementation of a Coupon System for a Rental Platform
macrozheng
macrozheng
May 27, 2022 · Backend Development

Designing a Scalable Coupon System: From Distribution to Redemption

This article explains the end‑to‑end design of a coupon system for e‑commerce, covering promotion types, core workflows, service architecture, database schema, distributed transaction handling, scaling strategies, rate limiting, and consistency mechanisms such as TCC.

Redisbackend designcoupon system
0 likes · 15 min read
Designing a Scalable Coupon System: From Distribution to Redemption
macrozheng
macrozheng
Aug 9, 2019 · Databases

Mastering Coupon System Design: Database Schemas and UI Integration

This article provides a comprehensive walkthrough of the coupon feature's database tables—including definitions for coupons, coupon history, product relations, and category relations—along with screenshots of both admin and mobile interfaces that illustrate how these tables are used in an e‑commerce system.

SQLbackendcoupon
0 likes · 6 min read
Mastering Coupon System Design: Database Schemas and UI Integration
macrozheng
macrozheng
Jul 25, 2019 · Databases

Mastering Order Return Database Design: Schemas, Statuses, and UI Flow

This article provides a comprehensive walkthrough of the order return and return‑reason database tables, detailing each field, status codes, and the corresponding admin and mobile UI screens that illustrate how the return process works in an e‑commerce system.

SQLbackenddatabase schema
0 likes · 7 min read
Mastering Order Return Database Design: Schemas, Statuses, and UI Flow
macrozheng
macrozheng
Jul 23, 2019 · Backend Development

Mastering E‑Commerce Cart & Order Flow: Database Schema and Process Walkthrough

This article dissects the e‑commerce shopping cart database schema, explains the end‑to‑end order lifecycle—from adding items and calculating promotions to generating confirmation orders, creating orders, and handling cancellations—while highlighting key implementation details and code references for backend developers.

backend developmentdatabase schemae-commerce
0 likes · 7 min read
Mastering E‑Commerce Cart & Order Flow: Database Schema and Process Walkthrough