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 · 5468 views
    This topic created in 3395 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   ·   Solana   ·   2833 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 06:52 · PVG 14:52 · LAX 23:52 · JFK 02:52
    ♥ Do have faith in what you're doing.