MySQL innodb buffer pool
1.InnoDB缓存池 InnoDB缓存池(InnoDB buffer pool)是InnoDB性能提升的核心,它既可以缓存数据还可以缓存索引,甚至其他管理数据(例如元数据信息,行级锁信息)。使用MySQL命令”show variables like 'innodb%pool%';“可以查看InnoDB缓存池的相关参数信息。...
SQLyog可视化导入工具
<strong>SQLyog--></strong><strong>高级工具--->可视化数据比较向导<br /><img src="/attachment/201509/28/29990276_144342253326au.jpg" width="598" height="514" alt="" /><br /><br /><img src="/attachment/201509/28/29990276_1443422556o2ag.jpg" width="598" height="514" alt="" /><br /><br /><img ...
MySQL的concat函数
<br /><div><div class="codeheads"><p>点击(<span style="cursor:pointer;color:red;" onclick="code_hide('code332')">此处</span>)折叠或打开</p></div><div id="code332" class="codeText"><ol style="margin:0 1px 0 0px;padding-left:40px;" start="1" class="dp-css"><li><span style=...
for update
<br /><div><div class="codeheads"><p>点击(<span style="cursor:pointer;color:red;" onclick="code_hide('code22')">此处</span>)折叠或打开</p></div><div id="code22" class="codeText"><ol style="margin:0 1px 0 0px;padding-left:40px;" start="1" class="dp-css"><li><span style="c...
MySQL 索引之ICP
Index Condition Pushdown(IPC)是MySQL 5.6中新特性,是一种在存储引擎层使用索引过滤数据的一种 优化方式。下面是普通的模式下索引访问数据的方式即当关闭ICP时,index仅仅是data access的一种访问模式,存数引擎通过索引回表获取的数据会传递到MySQL server层进行where条件过滤;当ICP打开...
MySQL SQLyog 导入sql报错 Error Code: 2006
<br /><div><div class="codeheads"><p>点击(<span style="cursor:pointer;color:red;" onclick="code_hide('code791')">此处</span>)折叠或打开</p></div><div id="code791" class="codeText"><ol style="margin:0 1px 0 0px;padding-left:40px;" start="1" class="dp-css"><li><span style=...
sql 练习
要求:入职在2005年之前(老员工才有资格中奖),并且中奖员工是尾数为0的员工,我们要联系所在部门颁发奖品。点击(
12c 中的标量子查询被transform成外连接
select (select max(object_id) from test2 b where b.object_id =a.object_id) from test1 a变成如下:点击(此处)折叠或打开
redis redis中的hash结构【八】
点击(此处)折叠或打开
redis 简单命令的应用-位图法统计用户登陆【五】
<strong>情景:一亿个用户,用户有活跃用户,不活跃用户,如何来记录用户的登陆信息,如何来查询活跃用户,比如一周内登陆5次的用户。<br /><br />1/0 登陆表示1,没登录表示0,用bit表示即可。<br /><img src="/attachment/201508/19/29990276_1439961007TvvP.bmp" width="700" height="352.70618556701" alt="" /><br ...
redis list链表结构及命令浅谈【四】
<img src="/attachment/201508/19/29990276_1439951031i3Gz.bmp" width="700" height="181.44963144963" alt="" /><br /><br /><strong><span style="color:#4C33E5;">lpush/rpush:lpush从链表左边插入,rpush从链表右边插入<br /><br /><div><div class="codeheads"><p>点击(<span style="cursor:pointer;co...
redis string结构及命令详解【三】
在key设置之处就有生命周期:set key value [ex 秒]/[px 毫秒] set key value [nx]/[xx] nx:表示key不存在时执行操作(NOT EXIST)xx:表示key存在时执行操作点击(
redis 通用key操作命令简谈【二】
<img src="/attachment/201508/17/29990276_14397929130iHD.jpg" width="700" height="199.88974641676" alt="" /><br /><strong>点开,我们开redis的数据结构和命令<br /></strong><br /><img src="/attachment/201508/17/29990276_1439793066zxNG.jpg" width="700" height="178.18181818182" alt="" /><br /><br />...
redis 介绍及安装【一】
<strong><strong style="white-space:normal;"><span style="font-size:14px;">redis官网:http://redis.io/</span></strong><br /><br /><span style="color:#333333;font-family:'Open Sans', Helvetica, sans-serif;font-size:20px;line-height:32px;white-space:normal;background-color:#FFFFFF;">Redis is an open ...
MYSQL字符集 【1】
<strong>5.5之后多了utf8mb4<br /><br /><br /><div><div class="codeheads"><p>点击(<span style="cursor:pointer;color:red;" onclick="code_hide('code8')">此处</span>)折叠或打开</p></div><div id="code8" class="codeText"><ol style="margin:0 1px 0 0px;padding-left:40px;" start="1" clas...
MySQL 参数简单理解【五】
tcpip 三次握手,准备好了吗?准备好了,ok,当网络攻击的时候,从客户端伪装肉机 无限的发送请求,这样syn queue队列就被占满,back_log:就是定义accept queue多大,如果说我这个参数只有500...
MySQL基本概念【一】
1.看表的DDL创建语句show create table TABLE_NAME\G;点击(此处)折叠或打开
12c
下面这个单进程限制pga大小没有变,默认值还是200M点击(此处)折叠或打开
11g与12c视图对比
12.1.0.2.0与11.2.0.3.0在12c(12.1.0.2)上创建db_link点击(此处)折叠或打开
processes 不够用了 ,用户登陆不了
<strong>数据库processes是2000 <br />select count(*) from v$session;<br />--1997</strong><br />起初os层面 kill -9 select spid from $process where paddr in(select addr from v$session where username ='BI_SJJS' and status = 'INACTIVE');<br /><br /><strong>什么是inactive的会话呢?</strong...