zoukankan      html  css  js  c++  java
  • database mysql

    数据库总是没有好好学习, 在校学 sqlserver 当时有点抵制, 现在觉得有点后悔,

    在大的时候学习 mysql 当时还不知道怎么安装。 后来多次学习 都没有深入(惭愧)

    数据的处理不在其复杂的特性, 不在其市场, 而在于其适用。

    信息的精髓 与社会的发展(引导)。

    price/performance/scalability

    MySQL is relatively light-weight, can be extremely fast when applications leverage architecture.  Lots of features stay free as the database servers grow such as replication and partitionin

    Oracle offers lots of feature/functionality for solving complex problems.  Supports large OLTP environments as well as VLDBs.

    (Very Large Data Base Endowment)

    Community (free) – more leading edge.

    参看变量

    mysql> show variables

    # mysqladmin ariables

    # mysqld --verbose --help

    mysql > status 当前状态

    mysql > show processlist; 进程列表

    mysql> show global status; 查看全局状态

    mysql> explain select ... from .. where ...

    mysql> desc select ... from ... where ...

    mysql > analyze table table_name;

    mysql > optimize table table_name;

    int > text

    char > varchar

    varchar > text

    使用枚举类型

    JION replace Sub-Queries

    不要在索引上 运行表达式

    查询条件上不要进行类型转化

    正确使用like like 'a%' ==> >'a' and <'b'

    mysql > show tables status;

  • 相关阅读:
    一次向svn中增加所有新增文件 svn add all new files
    cocos2d-x Lua与OC互相调用
    IOS8开发之实现App消息推送
    IOS Remote Notification
    再见
    vue中$router.push打开新窗口
    nuxt拦截IE浏览器
    百度统计api获取数据
    css滚动条样式自定义
    nuxt框架Universal和Spa两种render mode的区别
  • 原文地址:https://www.cnblogs.com/kwingmei/p/3278577.html
Copyright © 2011-2022 走看看