Tag

Foreign Keys

0 views collected around this technical thread.

macrozheng
macrozheng
Apr 27, 2020 · Databases

Master Database Design with Navicat: A Step‑by‑Step Guide

This tutorial walks you through using Navicat 12 to design, relate, and export a database schema for a mall permission management module, covering model opening, table creation, foreign‑key setup, auto‑layout, SQL export, and reverse engineering with clear screenshots.

Database DesignForeign KeysNavicat
0 likes · 7 min read
Master Database Design with Navicat: A Step‑by‑Step Guide
Aikesheng Open Source Community
Aikesheng Open Source Community
Dec 16, 2019 · Databases

Understanding ER Tables and Their Implementation in DBLE

This article explains the concept of ER tables, demonstrates how they are configured and used in the DBLE middleware with parent‑child relationships, shows a practical SELECT example and query plan analysis, and concludes with best‑practice recommendations for leveraging foreign‑key optimizations.

DBLEDatabase DesignER tables
0 likes · 5 min read
Understanding ER Tables and Their Implementation in DBLE
High Availability Architecture
High Availability Architecture
Nov 14, 2019 · Databases

Why We Should Not Use Database Foreign Keys: Insights from a GitHub Engineer

A GitHub engineer argues that database foreign keys should be avoided because they shift integrity responsibilities to the DB, incur performance overhead, and cause complications during online schema migrations, illustrating the points with parent‑child tables, gh‑ost, and pt‑online‑schema‑change tools.

Foreign KeysPerformancedatabases
0 likes · 4 min read
Why We Should Not Use Database Foreign Keys: Insights from a GitHub Engineer
Aikesheng Open Source Community
Aikesheng Open Source Community
Jul 18, 2019 · Databases

Understanding MySQL Metadata Locks and ALTER Table Delays with Foreign Keys

The article explains how MySQL metadata locks, especially SHARED_UPGRADABLE and SHARED_READ_ONLY locks acquired during ALTER TABLE on tables with foreign keys, can cause long wait times under concurrent write transactions, and shows how adjusting the max_write_lock_count variable resolves the issue.

ALTER TABLEForeign KeysMetadata Locks
0 likes · 7 min read
Understanding MySQL Metadata Locks and ALTER Table Delays with Foreign Keys
Efficient Ops
Efficient Ops
Jul 16, 2018 · Databases

Master MySQL Advanced Features: Partitioning, Views, Triggers, and More

This article explores MySQL’s advanced capabilities—including partition tables, views, stored procedures, triggers, foreign‑key constraints, bind variables, user‑defined functions, and character‑set considerations—explaining their principles, usage patterns, performance impacts, and best‑practice recommendations for handling large‑scale data.

Foreign KeysMySQLTriggers
0 likes · 34 min read
Master MySQL Advanced Features: Partitioning, Views, Triggers, and More