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;

  • 相关阅读:
    [Shoi2007]Vote 善意的投票
    [CQOI2015]任务查询系统
    [SDOI2013]森林
    HttpClient 教程 (二)
    /system改成可写
    Netbeans 6.8 + apktool_2.0.0b9 动态调试smali文件
    把中文版NetBeans改成英文版
    ZjDroid工具介绍及脱壳详细示例
    grep过滤搜索
    android Log图文详解(Log.v,Log.d,Log.i,Log.w,Log.e)
  • 原文地址:https://www.cnblogs.com/kwingmei/p/3278577.html
Copyright © 2011-2022 走看看