innodb_lru_scan_depth:每个缓冲池刷脏页的能力 innodb_io_capacity: iops inoodb_buffer_pool_instances=8 :缓冲池的个数 .关系: innodb_io_capacity >= innodb_lru_scan_depth * i ...
分类:
数据库 时间:
2016-07-22 18:38:00
阅读次数:
524
innodb_lru_scan_depth是5.6新增加的参数,根据 官方文档 描述,它会影响page cleaner线程每次刷脏页的数量, 这是一个每1秒 loop一次的线程。在Innodb内部,这个参数对应变量为srv_LRU_scan_depth,grep了一把,有几个地方会涉及到这个参数 1 ...
分类:
数据库 时间:
2016-07-21 19:30:14
阅读次数:
287
需求:对hbase的一张表进行拷贝 一、table1的内容如下 二、现在将table1拷贝 hbase org.apache.hadoop.hbase.mapreduce.CopyTable --new.name=table2 table1 三、scan table2中的数据 ...
分类:
其他好文 时间:
2016-07-21 12:33:34
阅读次数:
140
1.使用内置函数 例如使用date函数 2.使用resigeterPlugin注册到smarty模板里面 先自定义函数 注册到模板里面 使用 结果: ...
分类:
其他好文 时间:
2016-07-19 15:23:14
阅读次数:
839
Smart Forms是ABAP设计单据打印的工具,设计过程由两部分组成:
(1)在Smart Forms设计单据的样式、输入输出数据接口;
(2)编程调用设计单据、输出数据,实现打印输出。
本博文先以一个简单的例子,将Form与程序联调,快速了解整个设计过程,再详细介绍Smart forms相关设计及较复杂的例子。
1、一个简单的例子
本例完成有图标(公司LOGO)、表头(公司名称)、...
分类:
其他好文 时间:
2016-07-19 10:07:50
阅读次数:
303
习惯了c++的cin.cout之后,也不怎么关注空格,反正cin.cout会自动处理。有一次实验,创建Huffman树,要求输入空格字符,当时就懵逼了.cin咋输入空格呢? 没办法,只能重新用scanf函数了,结果各种悲剧,足足debug一个多小时,这难道就是越学越差劲系列?o(╯□╰)o scan ...
分类:
其他好文 时间:
2016-07-14 01:14:02
阅读次数:
191
一 :根节点 <configuration></configuration> 属性 : debug : 默认为false ,设置为true时,将打印出logback内部日志信息,实时查看logback运行状态。 scan : 配置文件如果发生改变,将会重新加载,默认值为true; scanPerio ...
分类:
其他好文 时间:
2016-07-12 19:16:20
阅读次数:
327
1.定义Student类packagecn;
importorg.springframework.stereotype.Component;
/**
*Student类
*@authorAdministrator
*
*/
@Component
publicclassStudent{
/**
*定义学生说话的方法
*/
publicvoidsay(){
System.out.println("学生说话");
}
}2.定义Person类packagecn;
/**..
分类:
其他好文 时间:
2016-07-11 10:41:52
阅读次数:
541
查看当前系统信息
[root@node1 ~]# crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora.DATA.dg ora....up.type ONLINE...
分类:
数据库 时间:
2016-07-10 19:08:19
阅读次数:
312
为了更好的设计一个scan design,一些scan design的rule必须遵循。 1)tristate bus在shift mode下必须保持bus contention; 2)bidirectional IO port在shift mode下,必须force在input或者output; ...
分类:
其他好文 时间:
2016-07-10 16:49:02
阅读次数:
755