自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 oracle oradebug systemstate 的日常使用

oracle oradebug systemstate 是dba分析instance的重要方法,需要勤加练习、多多分析。数据库版本$sqlplus system/oracleoracleSQL*Plus: Release 12.2.0.1.0 Production on Fri Apr 27 17:35:11 2018Copyright (c) 1982, 2016, Or...

2018-04-27 19:56:36 435

原创 oracle oradebug hanganalyze 的日常使用

oracle oradebug analyze 是dba分析问题的必备技能,建议dba们空闲的时候可以多做做实验,熟能生巧。数据库版本$sqlplus system/oracleoracleSQL*Plus: Release 12.2.0.1.0 Production on Fri Apr 27 17:35:11 2018Copyright (c) 1982, 2016, Or...

2018-04-27 18:12:02 885

原创 postgresql 10.3 的一些参数

alter system set listen_addresses = '0.0.0.0'; alter system set port = 5432; alter system set max_connections = 200; alter system set superuser_reserved_connections = 10; alter system set tcp_kee...

2018-04-24 16:43:20 709

原创 centos 6.x 设置默认的 python 2.6 为 python 2.7

centos 6.x 的yum使用的是python 2.6,现在需要更新系统默认python为python 2.7安装 python2.7# yum install python27-python python27-python-devel查询 python2.7 的安装位置# rpm -ql python27-python/opt/rh/python27/root/u...

2018-04-19 19:07:29 995

原创 greenplum 5.7 + gpadmin 用户的一些设置

创建 greenplum 组# groupadd -g 10000 gpadmin创建 greenplum 用户# useradd -u 10000 -g gpadmin gpadmin# usermod -G root gpadmin# passwd gpadmin创建 greenplum 软件目录# mkdir -p /usr/local/greenplum-d...

2018-04-19 14:20:40 1839

原创 greenplum 5.7 + gpinitsystem gpdeletesystem

gpinitsystem# su - gpadmin$ cd $GPHOME$ gpinitsystem --help*****************************************************SYNOPSIS*****************************************************gpinitsystem -c...

2018-04-18 19:47:33 977

原创 greenplum 5.7 + gpstart gpstop gpstate

gpstart 启动数据库$ gpstart --help$ gpstart直接启动,不提示终端用户输入确认$ gpstart -a只启动master 实例,主要在故障处理时使用$ gpstart -mPGOPTIONS='-c gp_session_role=utility' psql限制模式,只有超级管理员可以连接$ gpstart -Rgpstop 关闭...

2018-04-18 17:48:50 2788

原创 greenplum 5.7 + gpinitsystem_config

os: centos 7.4 gp: greenplum 5.7.0# FILE NAME: gpinitsystem_config# Configuration file needed by the gpinitsystem#################################################### REQUIRED PARAMETERS####...

2018-04-17 18:34:45 704

原创 greenplum 5.7 + centos 7.4 + make

os: centos 7.4 gp: gpdb-5.7.0greenplum 简称gp,是由postgresql演变而来,感兴趣的哥们可以baidu一下三台机器 node1 为master host node2、node3为segment hostos设置# cat /etc/centos-releaseCentOS Linux release 7.4.1708 (...

2018-04-17 18:03:36 3311 1

原创 linux 常用的几个网址

org https://www.redhat.com/ https://www.centos.org/https://linux.oracle.com https://edelivery.oracle.com/osdc/faces/Home.jspxhttps://www.debian.org/ https://www.ubuntu.com/mirrors http://mi...

2018-04-16 10:51:08 1295

原创 mongodb 常用的几个网址

org https://www.mongodb.com/https://www.mongodb.com/download-center?jmp=tutorials#community https://docs.mongodb.com/http://www.mongoing.com/

2018-04-16 10:41:05 430

原创 greenplum 常用的几个网址

org https://greenplum.org/ https://greenplum.org/calc/https://greenplum.org/documentation/ https://greenplum.org/docs/570/common/gpdb-features.htmlhttps://github.com/greenplum-db/gpdb https://...

2018-04-16 09:12:10 898

原创 mysql 常用的几个网址

org https://www.mysql.com/ https://www.mysql.com/downloads/ https://www.mysql.com/cn/products/community/https://dev.mysql.com/doc/ https://dev.mysql.com/doc/refman/5.5/en/ https://dev.mysql.com...

2018-04-13 17:46:22 523

原创 mysql 5.7 master、salve 切换

切换前 192.168.56.100 master 192.168.56.200 slave切换后 192.168.56.100 slave 192.168.56.200 masterMySQL [(none)]> select version();+------------+| version() |+------------+| 5.7.21-log |...

2018-04-13 17:00:09 920

原创 oracle ebs 12.1.3 的一些日志路径

ebs 12.1.3 ,经常需要查看一些日志,这里自己记录一下,方便以后快速查找。# find /ebsfs/EBSPROD/inst -type f -mmin -100/ebsfs/EBSPROD/inst/apps/EBSPROD_erp/logs/appl/conc/log/javacache.log/ebsfs/EBSPROD/inst/apps/EBSPROD_erp/...

2018-04-13 14:46:08 1911

原创 postgresql 10.x 的命令 pg_test_fsync

pg_test_fsync 是测试 wal_sync_method设置哪个值最快,还可以在发生认定的 I/O 问题时提供诊断信息。 pg_test_fsync为 wal_sync_method报告以微秒计的平均文件同步操作时间, 也能被用来提示用于优化commit_delay值的方法。# lsb_release -aLSB Version: :base-4.0-amd64:bas...

2018-04-13 11:39:16 1024

原创 dbms_stat 采集统计信息

dbms_stat 是oracle database 采集统计信息的集成工具。非常方便和高效。备份创建stat_tablebegin dbms_stats.create_stat_table( ownname => 'drp', stattab => 'stat_table' ) ; end;导出整个scheme...

2018-04-12 14:21:28 882

原创 oracle database 12cr2 的 sys_context 函数

sys_context虽然用的地方不多,但是十分强大,属于oracle的系统函数。归属于STANDARD 包SQL> select * from v$version ;BANNER CON_ID---------------------------------------------------...

2018-04-12 10:49:50 462

原创 postgresql 10.3 下的 pg_dump、pg_restore

pg_dump$ which pg_dump/usr/pgsql-10/bin/pg_dump$ pg_dump --helppg_dump dumps a database as a text file or to other formats.Usage: pg_dump [OPTION]... [DBNAME]General options: -f, --fil...

2018-04-10 15:16:38 1659

原创 mongodb 用户的一些操作

mongodb 版本> version();3.2.6查看用户> db.system.users.find();> db.getUsers();删除用户> db.dropUser('peiyb')创建用户> db.createUser({user:"peiyb",pwd:"peiybpeiyb",roles:[{role:"ro...

2018-04-09 09:25:18 593

原创 mongodb 副本集重新配置

> db.version();3.2.6> conf=rs.conf()> conf.members[0].host="192.168.56.200:27017";> rs.reconfig(rsconf,{"force":true});

2018-04-08 18:08:42 8018

原创 linux tmpfs /dev/shm 简述

简单描述下什么是tmpfs和/dev/shmtmpfs是Linux/Unix系统上的一种基于内存的文件系统。可以简单理解为内存文件系统,所以优点就是快。那么缺点就是重启后,内容就没了。 /dev/shm 是一个设备文件,它使用就是tmpfs文件系统。/dev/shm 这个目录不在硬盘上,而是在内存里,它就所谓的tmpfs。在Redhat/CentOS等linux发行版中默认大小为物理内存...

2018-04-03 17:45:54 1706

原创 postgresql 常用的几个网址

org https://www.postgresql.org/ https://www.postgresql.org/about/featurematrix/https://git.postgresql.org/gitweb/ http://pgfoundry.org/ https://wiki.postgresql.org/wiki/Main_Page https://en.wik...

2018-04-03 15:12:33 732

原创 oracle 常用的几个网址

https://www.oracle.com/index.htmldatabase http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html http://www.oracle.com/technetwork/database/enterprise-edition/documenta...

2018-04-03 15:00:23 1498

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关注的人

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