› MySQL 5.5 Community Server
› MySQL 5.6 Community Server
› Percona Configuration Wizard
› XtraBackup 搭建主从复制
Great Sites on MySQL
› Percona
› MySQL Performance Blog
› Severalnines
推荐管理工具
› Sequel Pro
› phpMyAdmin
推荐书目
› MySQL Cookbook
MySQL 相关项目
› MariaDB
› Drizzle
参考文档
› http://mysql-python.sourceforge.net/MySQLdb.html
mingyun
V2EX  ›  MySQL

关于 数据库军规 禁止使用存储过程、视图、触发器、Event

  •  
  •   mingyun · Mar 12, 2017 · 5696 views
    This topic created in 3486 days ago, the information mentioned may be changed or developed.

    看到一篇文章 里面提到

    军规:禁止使用存储过程、视图、触发器、 Event
    军规:禁止使用外键,如果有外键完整性约束,需要应用程序控制
    军规:禁止大表使用 JOIN 查询,禁止大表使用子查询
    

    在实际开发中, MySQL 提供的这些特性为什么不推荐使用呢?

    3 replies  •  2017-03-26 18:22:35 +08:00
    tonghuashuai
        1
    tonghuashuai  
       Mar 12, 2017
    使用外键的麻烦谁用谁知道
    billgreen1
        2
    billgreen1  
       Mar 21, 2017
    这些明明看看 《 SQL 反模式》就能明白的东西,居然成军规了。这和正月剃头死舅舅,坐月子不能洗头 /洗澡一样可笑。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   800 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 300ms · UTC 21:28 · PVG 05:28 · LAX 14:28 · JFK 17:28
    ♥ Do have faith in what you're doing.