PostGreSql 12.6 的流复制(CentOS)
流复制允许一台后备服务器比使用基于文件的日志传送更能保持为最新的状态。后备服务器连接到主服务器,主服务器则在 WAL 记录产生时即将它们以流式传送给后备服务器而不必等到 WAL 文件被填充。
PostGreSql12.6的备份恢复
自己的学习记录,备查吧
初识PostGresql
初识PostGresql公司的一个项目可能需要使用PG,就学习一下,给自己留一个笔记吧:1、添加用户[root@localhost bin]# cat /etc/redhat-releaseCentOS Linux release 7.4.1708 (Core)#groupadd postgres#useradd -g postgres postgres#passwd postgres2、安装PG
Machine learning terms_01
Supervised learningThe machine learning program is both given the input data and the corresponding labelling. This means that the learn data has to be labelled by a human being beforehand.Unsupervised
numpy 中 array 和 matrix 相乘的结果比较
numpy 中 array 和 matrix 相乘的结果比较
RAC 相关的等待及原因
Wait events for Oracle RAC include the following categories:1.Block-Related Wait Events2.Message-Related Wait Events3.Contention-Related Wait Events4.Load-Related Wait EventsBlock-Related Wait EventsThe main wait events for block-related waits are:gc current block 2-waygc current blo...
OMC cloud agent 安装之后经常停止
使用客户的测试账号做一个OMC cloud agent的测试,agent 也安装好了,日志也自动收集上来了。第二天发现agent 停止服务了,于是就给启动了一下,状态也正常,下午发现又停了。看来是有问题了:在路径 /home/oracle/omcagent/cloudagent/agent_inst/sysman/log/ 下面查看log文件[oracle@orcl1 log]$ tail -n 50 gcagent...
How to Specify an INDEX Hint oracle官方文档
How to Specify an INDEX Hint (Doc ID 50607.1)Applies to:Oracle Database - Enterprise Edition - Version 9.2.0.1 to 11.2.0.2 [Release 9.2 to 11.2]Information in this document applies to any platform.PurposeThis article explains how to specify index hints successfully.Troubleshooting StepsThe ...
摘录的一段话
参与赌博的人群可以分成三种:正常人赌博是为了消遣,这种人可以随时停止赌博。职业赌徒将赌博作为谋生的职业。神经性赌徒是在下意识的需求驱使下参赌,而且无法停止。关键是我是那种呢?
Determining whether an object requires reorganization MVS DB2
You must reorganize an object if it is in the REORG-pending (REORP) restrictive status.Also, consider reorganizing an object if it is in an advisory REORG-pending status (AREO* or AREOR) or if analysis shows that reorganization might improve performance. Use the REORG INDEX...
摘录的一段话
参与赌博的人群可以分成三种:正常人赌博是为了消遣,这种人可以随时停止赌博。职业赌徒将赌博作为谋生的职业。神经性赌徒是在下意识的需求驱使下参赌,而且无法停止。关键是我是那种呢?
Oracle index 使用的一个总结
1. 什么情况需要建indexoracle中的很多表建索引是根据业务需求建的,比如:主键,常用的columns。 oracle提出了一个建index 的理论依据就是可选择性(selectivity):比较一下列中唯一数量的个数和表中的行数,就可以判断该列的可选择性。如果该列的”唯一键的数量/表中的行数”的比值越接近1,则该列的可选择性越高,该...
祝贺儿子成功冲段
在上周(14,15 Nov)举行的辽宁省围棋段位升级赛,儿子成功定段,业余初段!!! 整个过程也是一波三折,第一局赢得很轻松;第二居不到15分钟就出来了,看着挺高兴,一问说是输了,开始估计是骗我,后来看成绩的确输了,我就问你输了怎么还那么高兴? ...
太欺负人了
儿子玩华容道,我就给解释怎么玩。儿子问:为什么要五个人抓一个呢?“刘备的五虎上将要抓住曹操,抓住了,刘备就胜利了”。儿子说:那也太欺负人了。20151101
Two samples for runstate
1. To get statistics for a specific column:<br />runstate tablespace chid01r.qchssbat<br /> table(dbuchir.qchtsbat) column(R_INVOICE)<br /> sample 25;<br /><br /><br />2. To run agaist partition 2 of a TS and index:<br />runstate tablepsace chid01r.qchssbat<br />&nbs...
DB2 LOAD 的一些samples from IBM
<h2 class="title sectiontitle" style="margin-top:1em;margin-bottom:0em;color:#000000;font-size:1.17em;font-family:Arial, Helvetica, sans-serif, Verdana, Geneva;line-height:normal;white-space:normal;background-color:#FFFFFF;">1. Loading data from another table in the same system by using a declared...
MVS DB 的一些基本操作
1. 主机DB2 的 catalogMVS DB2 Catalogdb2 catalog tcpip node MVS1M remote STFMVS1M.POK.IBM.COM server 5000 SYSTEM DB2MVS OSTYPE OS390db2 catalog DCS db DD1H as USIBMVRDD1Hdb2 catalog db DD1H as DD1H at node MVS1M AUTHENTICATION DCS之后给就可以像开放平台那样操作数据库了。2. 第三方工具连...
使用RDA, 通过反向工程得到逻辑模型
主要是操作的截图,给自己留个笔记。
Datastage 8.5 连接远程Oracle 数据库
工作中需要使用Datastage 把Oracle的数据导到DB2 中,发现IBM 的文档不是很全,在问了很多人,包括同事老杜、Bryan Zhang, Robert等,终于可以连接Oralce 了,就做了一个纪录,算是备忘吧。<style.v\:* {b...
DB2 性能优化参数
(转)1、Application Support Layer Heap Size (ASLHEAPSZ)它是app和agent通信的buffer,占用实例共享内存空间。监控:get snapshot for all on | grep –i “Rejected Block Remote Cursor requests”Rejected Block ...