自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(23)
  • 资源 (5)
  • 收藏
  • 关注

原创 oracle asm 磁盘组通过 ocrconfig 方式更换 ocr 磁盘

os: centos 7.4db: oracle 11.2.0.4一套 oracle rac 的 asm ocr 磁盘组的冗余方式为normal,现在需要替换之前的 asm ocr 磁盘。通过新建磁盘组的方式实现ocr、voting disk信息# /u01/app/grid/product/11.2.0/grid_1/bin/ocrcheck# /u01/app/grid/prod...

2019-09-30 15:31:28 1585

原创 ohasd failed to start, Failed to start the Clusterware. Last 20 lines of the alert log follow:

os: centos 7.4db: oracle 11.2.0.4在 centos 7 下安装 11.2.0.4 GI,运行 root.sh 时报错 Failed to start the Clusterware. Last 20 lines of the alert log follow:主要要因为 centos 7使用 systemd 而不是 initd 运行进程和重启进程,而 root...

2019-09-30 12:20:08 3545 1

原创 oracle asm 磁盘组通过 add disk,drop disk 方式更换 ocr 磁盘

os: centos 7.4db: oracle 11.2.0.4一套 oracle rac 的 asm ocr 磁盘组的冗余方式为normal,现在需要替换之前的 asm ocr 磁盘。通过加盘减盘的方式实现ocr的磁盘信息# ls -l /dev/asm/asm*ocr*asm-ocr1asm-ocr2asm-ocr3asm-ocr01asm-ocr02asm-ocr03...

2019-09-27 17:02:39 1944

原创 tidb ansible setup

os: centos 7.4db: tidbTiDB 是 PingCAP 公司的 newsql 数据库产品.是 Google Spanner/F1 的具体实现.架构非常好.TiDB 集群的三个组件(tidb-server、tikv-server、pd-server),具体可以参考公司的文档页面: https://pingcap.com/docs-cn/overview/生产环境的部署要严格...

2019-09-24 16:22:54 624

原创 oracle 的一个等待锁的分析

os: centos 7.6db: oracle 19.3早上被同事问到一个TX等待锁在什么情况下为 mode=4 或者 mode=6,之前还真没有关注过这个。做个实验研究下。oracle lock mode0 - none1 - null (NULL)2 - row-S (SS)3 - row-X (SX)4 - share (S)5 - S/Row-X (SSX)6 - ...

2019-09-19 15:43:49 440

原创 tidb docker setup

os: centos 7.4db: tidbip 规划192.168.56.99 xxoo参考 <<centos 7 安装 Docker,Docker Compose,Git>>预先安装工具。os 设置tidb安装# cd /opt;git clone https://github.com/pingcap/tidb-docker-compose.gi...

2019-09-17 17:46:32 511

原创 centos 7 安装 Docker,Docker Compose,Git

os: centos 7.4在本次虚拟机安装 TiDB 时,提示需要安装 Docker、Docker Compose、Git 这三个工具,记录一下安装过程。确保你的机器上已安装:Docker(17.06.0 及以上版本)Docker ComposeGit版本# cat /etc/centos-releaseCentOS Linux release 7.4.1708 (Core)...

2019-09-17 16:27:43 405

转载 vacuum 的描述(vacuum age )

我觉得下面这段文字应该能够描述清楚 PostgreSQL 的 vacuum.日常数据库维护工作 作者:小P来自: LinuxSir.Org摘要:为了保持所安装的 PostgreSQL 服务器平稳运行, 我们必须做一些日常性的维护工作。我们在这里讨论的这些工作都是经常重复的事情, 可以很容易地使用标准的 Unix 工具,比如cron 脚本来实现;+++++++++++++++++++++++...

2019-09-16 10:02:42 1126

转载 MySQL 性能优化的最佳20多条经验分享

在网上浏览时发现这哥们对mysql的性能优化写的不错,转发下为查询缓存优化你的查询大多数的MySQL服务器都开启了查询缓存。这是提高性最有效的方法之一,而且这是被MySQL的数据库引擎处理的。当有很多相同的查询被执行了多次的时候,这些查询结果会被放到一个缓存中,这样,后续的相同的查询就不用操作表而直接访问缓存结果了。这里最主要的问题是,对于程序员来说,这个事情是很容易被忽略的。因为,我们...

2019-09-11 21:55:11 120

原创 oracle date 类型的范围是多少?

os: centos 7.6db: oracle 19c早上一哥们在说 oracle date 类型无法插入 3000年,自己也不敢确定到底可不可以,做了个实验。事实还是挺打脸的.# su - oracle$ sqlplus / as sysdba;SQL*Plus: Release 19.0.0.0.0 - Production on Wed Sep 11 16:43:25 201...

2019-09-11 17:05:34 4427

原创 plprofiler 定位执行慢的代码位置

os: ubuntu 16.04db: postgresql 10.6plprofiler 可以找到执行慢的代码位置,对于定位性能问题非常棒.版本# lsb_release -aNo LSB modules are available.Distributor ID: UbuntuDescription: Ubuntu 16.04.5 LTSRelease: 16...

2019-09-11 15:22:40 704

原创 cstore_fdw 列式存储

os: ubuntu 16.04db: postgresql 10.6Cstore_fdw is developed by Citus Data and can be used in combination with Citus版本# lsb_release -aNo LSB modules are available.Distributor ID: UbuntuDescriptio...

2019-09-10 15:57:44 1057

原创 oracle rman backup archivelog all delete input 和 delete all input 的区别

RMAN> backup archivelog all delete input;RMAN> backup archivelog all delete all input;这两个命令在平时都有使用,但是有区别的。在 RAC环境中delete input 表示只删除target数据库的节点输入的归档文件。delete all input 标识删除所有节点输入的归档文件。a...

2019-09-10 10:34:00 1323

原创 oracle rman 的各种恢复

这里记录下 rman 的日常恢复操作recover databaserun { shutdown immediate; startup mount; restore database; recover database; alter database open;}recover tablespacerun { sql 'alter ta...

2019-09-10 09:34:29 403

原创 oracle standby redo 的日常处理

oracle standby redo 不建议复用多member。会造成io竞争,并且毫无意义。drop standby logfile groupalter database drop standby logfile group 1;alter database drop standby logfile group 2;alter database drop standby logfil...

2019-09-09 20:47:43 760

原创 oracle online redo 的日常处理

drop logfile groupalter database drop logfile group 1;alter database drop logfile group 2;alter database drop logfile group 3;alter database drop logfile group 4;drop logfile group memberadd...

2019-09-09 19:57:13 318

原创 oracle rman 删除 dataguard 环境中 role 为 physical standby 的 archivelog

oracle_ifexec.sh#!/bin/bashsqlplus -S /nolog <<EOFset heading off feedback off pagesize 0 verify off echo off numwidth 4conn / as sysdbaselect case when open_mode = 'READ WRITE' and instan...

2019-09-09 16:16:22 465

原创 initdb locale 的理解

os: ubuntu 16.04db: postgresql 10.6linux locale# lsb_release -aNo LSB modules are available.Distributor ID: UbuntuDescription: Ubuntu 16.04.5 LTSRelease: 16.04Codename: xenial...

2019-09-09 11:29:22 1748

原创 linux locale 的理解

os: centos 7.6db: postgresql 9.6.8在看德哥的这篇博客时,了解了下 linux local的一些知识.https://github.com/digoal/blog/blob/master/201704/20170426_01.mdlocale 就是本地化的意思。比如同一个时间,美国是美国的展现形式,中国是中国的展现形式。又或者英文和中文的显示.linux ...

2019-09-09 09:58:20 442

原创 gpcc 之一 gpperfmon_install

os: centos 7.4gp: gpdb-5.7.0执行 gpperfmon_install 将会安装 Greenplum Command Center 使用的 gpperfmon 数据库,并可选择启用数据收集代理。configure在开始 configure 需要添加 --enable-gpperfmon比如:$ ./configure --prefix=/usr/local/g...

2019-09-06 09:51:56 2517

原创 greeenplum 编译执行 configure 时 报错 configure: error: libsigar is required for gpperfmon

os: centos 7.4db: greeenplum 5.7greeenplum 编译执行 configure 时 报错如下:$ ./configure --prefix=/usr/local/greenplum-db --with-perl --with-python --with-libxml --with-gssapi \--enable-orca --enable-mapred...

2019-09-03 10:24:36 1267

转载 一份非常完整的 MySQL 规范

在网上发现mysql 的这篇文章,觉得写得不错,转发下.原文地址:https://www.cnblogs.com/duaimili/p/10277515.html一、数据库命令规范所有数据库对象名称必须使用小写字母并用下划线分割所有数据库对象名称禁止使用mysql保留关键字(如果表名中包含关键字查询时,需要将其用单引号括起来)数据库对象的命名要能做到见名识意,并且最后不要超过32个字符...

2019-09-03 08:28:29 109

原创 greeenplum 软件安装时的 configure,make

greenplum 5.7 configure$ $ ./configure \--prefix=/usr/local/greenplum-db --with-perl --with-python --with-libxml --with-gssapi \--with-pgport=5432 --with-libedit-preferred \--with-openssl --with-...

2019-09-02 08:38:41 269

ibatis 2.3

ibatis java jdbcibatis java jdbc

2009-07-17

J2se 1.5 api 文档

J2se api J2se api J2se api J2se api

2009-07-17

J2ee API文档

J2ee API文档,对呢的学习绝对有帮助!

2009-07-15

j2ee 1.3 英文文档

j2ee 1.3的英文doc!描述的还算清晰

2009-02-27

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除