自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 innodb_io_capacity、innodb_io_capacity_max 的影响

os: centos 7.4db: mysql 8.0.19版本# cat /etc/centos-releaseCentOS Linux release 7.4.1708 (Core) # # # yum list installed |grep -i mysqlmysql-community-client.x86_64 8.0.19-1.el7 ...

2020-04-30 15:27:06 1762

原创 postgis 之一 setup

os: centos 7.4db: postgresql 10.11postgis 2.5.4版本# cat /etc/centos-releaseCentOS Linux release 7.4.1708 (Core) # # # yum list installed |grep -i postgresqlpostgresql10.x86_64 1...

2020-04-29 18:21:35 1331

原创 linux 的 swappiness

vm.swappinessvm.swappiness = 0Linux 3.5 及以上:即使 oom killer 也不使用 swapLinux 3.4 及更早:即使用 swap 也不用 oom killer在内存紧张时优先减少RAM里文件系统缓存的大小,而非使用swap空间,这是一种提高数据库性能的推荐做法。vm.swappiness = 1Linux 3.5 及以上:即使用 swa...

2020-04-28 09:12:15 1012

原创 xlog、wal 分析工具 wal2json

os: centos 7.4db: postgresql 10.11版本# cat /etc/centos-releaseCentOS Linux release 7.4.1708 (Core) # # # yum list installed |grep -i postgresqlpostgresql10.x86_64 10.11-2PGDG.rhe...

2020-04-26 09:58:45 1975

原创 pgmetrics

os: centos 7.4db: postgresql 10.11pgmetrics 是一款 postgresql 健康监控指标采集、报告开源软件。https://github.com/rapidloop/pgmetricshttps://pgmetrics.io/另外结合 pgdash (收费),可以实现被监控PG实例的可视化,指标值变更告警等。https://pgdash.io/...

2020-04-24 17:25:55 813

原创 pgcompacttable

os: centos 7.4db: postgresql 10.11看上去已经不维护了版本# cat /etc/centos-releaseCentOS Linux release 7.4.1708 (Core) # # # yum list installed |grep -i postgresqlpostgresql10.x86_64 10.11...

2020-04-24 17:20:20 1008

原创 pg_track_settings

os: centos 7.4db: postgresql 10.11版本# cat /etc/centos-releaseCentOS Linux release 7.4.1708 (Core) # # # yum list installed |grep -i postgresqlpostgresql10.x86_64 10.11-2PGDG.rhe...

2020-04-22 21:12:45 315

原创 PoWA 之一 setup

os: centos 7.4db: postgresql 10.11PoWA (PostgreSQL Workload Analyzer) is a performance tool for PostgreSQL 9.4 and newer allowing to collect, aggregate and purge statistics on multiple PostgreSQL in...

2020-04-22 20:46:21 460

原创 postgresql 数据库中 like 、ilike、~~、~~*、~、~*的含义

like匹配ilike不区分大小写匹配~~等价于 like~~*等价于 ilike~匹配正则表达式,大小写相关~*匹配正则表达式,大小写无关通配符%百分号用于匹配字符串序列,可匹配任意组合_下划线用于匹配任何单一字符如果想要做前缀匹配或后缀匹配,可以用下面的方法1、前缀模糊查询。selec...

2020-04-22 19:14:13 7215

原创 postgresql 使用处理 like 'xxoo' 、like 'xxoo%' 、like '%xxoo'、like '%xxoo%'

os: centos 7.4db: postgresql 10.11版本# cat /etc/centos-releaseCentOS Linux release 7.4.1708 (Core) # # # yum list installed |grep -i postgresqlpostgresql10.x86_64 10.11-2PGDG.rhe...

2020-04-22 11:53:23 3936

原创 hypopg

os: centos 7.4db: postgresql 10.11hypopg 是 postgresql 的一个 extension,允许创建虚拟索引,观察优化器是否使用。版本# cat /etc/centos-releaseCentOS Linux release 7.4.1708 (Core) # # # yum list installed |grep -i postgre...

2020-04-21 18:44:59 572

原创 pg_wait_sampling

os: centos 7.4db: postgresql 10.11pg_wait_sampling 是 postgresql 的一个 extension,用于采集 sql 的等待事件。由 postgrespro 公司开源。版本# cat /etc/centos-releaseCentOS Linux release 7.4.1708 (Core) # # # yum list ...

2020-04-21 17:45:24 820

原创 pg_stat_kcache

os: centos 7.4db: postgresql 10.11pg_stat_kcache 是 postgresql 的一个 extension,用于 os 指标的采集。版本# cat /etc/centos-releaseCentOS Linux release 7.4.1708 (Core) # # # yum list installed |grep -i postgr...

2020-04-21 16:26:49 786

原创 pg_qualstats

os: centos 7.4db: postgresql 10.11pg_qualstats 是 postgresql 的一个 extension,用于保存"where"语句和"join"子句中谓词的统计信息。版本# cat /etc/centos-releaseCentOS Linux release 7.4.1708 (Core) # # # yum list installe...

2020-04-21 15:08:51 747

原创 error: rpmdb: BDB0113 Thread/process 2294/139634462410560 failed: BDB1507 Thread died in Berkeley DB

os: centos 7.4# yum install zip;error: rpmdb: BDB0113 Thread/process 2294/139634462410560 failed: BDB1507 Thread died in Berkeley DB libraryerror: db5 error(-30973) from dbenv->failchk: BDB0087 ...

2020-04-19 14:58:43 1153

原创 postgresql 事务隔离级别 set transaction isolation level

os: centos 7.4db: postgresql 10.11postgresql 默认的 isolation level 为 read committed,可以调整隔离级别。版本# cat /etc/centos-releaseCentOS Linux release 7.4.1708 (Core) # # # su - postgresLast login: Wed J...

2020-04-14 18:52:26 4145

原创 oracle 数据库 long 类型转换为 varchar 类型

all_tab_columns.data_default 的类型为 long,查看时不太方便,需要做个转换。CREATE OR REPLACE FUNCTION ALL_TAB_COLUMNS_DATA_DEFAULT( in_owner varchar2, in_table_name varchar2, in_column varchar2)RETURN...

2020-04-14 09:59:05 3766

原创 oracle 11g instantclient

os: centos 7.4db: postgresql 11.5db: oracle 11.2.0.4 instantclient下载 oracle 11g instantclientnodepg11 节点需要安装 oracle 11g instantclient,下载地址https://www.oracle.com/database/technologies/instant-clie...

2020-04-10 23:15:01 2058

原创 orafce

os: centos 7.4db: postgresql 11.5db: oracle 11.2.0.4orafce 是 postgresql 的一个功能,用于 oracle 迁移到 postgresql 的兼容运行。192.168.56.110 nodepg11版本# cat /etc/centos-releaseCentOS Linux release 7.4.1708 (...

2020-04-10 10:35:51 2834 1

原创 ora2pg 之一 setup

os: centos 7.4db: postgresql 11.5db: oracle 11.2.0.4ora2pg 是 postgresql 的一个 tool,用于 oracle 迁移到 postgresql。192.168.56.110 nodepg11192.168.56.111 nodeora11g版本# cat /etc/centos-releaseCentOS ...

2020-04-09 19:09:44 402

原创 oracle_fdw

os: centos 7.4db: postgresql 11.5db: oracle 11.2.0.4oracle_fdw 是 postgresql 的一个 extension,用于访问 oracle 数据库。192.168.56.110 nodepg11192.168.56.111 nodeora11g版本# cat /etc/centos-releaseCentOS ...

2020-04-09 16:17:27 1745

原创 oracle varchar2(n) 与 postgresql varchar(n) 的区别

os: centos 7.4db: postgresql 11.5db: oracle 11.2.0.4192.168.56.110 mas192.168.56.111 sla1192.168.56.112 sla2oracle varchar2(n) 表示 n 个字节postgresql varchar(n) 表示 n 个字符版本# cat /etc/centos-r...

2020-04-08 21:41:33 3510

原创 mysql 5.7 semisync replication 的事务提交模式 AFTER_COMMIT、AFTER_SYNC

os: ubuntu 16.04db: mysql 5.7.25mysql 5.7 增加了 rpl_semi_sync_master_wait_point 参数,用来控制半同步模式下主库在返回给 session 事务成功之前的事务提交方式。两个值如下:AFTER_COMMIT主库将每个事务写入 binlog,并传递给从库,刷新到中继日志中,同时主库提交事务,之后主库开始等待从库的反馈,...

2020-04-08 18:45:31 254

原创 postgres_fdw 进行分片之一

os: centos 7.4db: postgresql 11.5postgres_fdw 是使用分区表的方式进行分片.192.168.56.110 mas192.168.56.111 shard1192.168.56.112 shard2版本# cat /etc/centos-releaseCentOS Linux release 7.4.1708 (Core) # ...

2020-04-08 13:49:13 585

原创 effective_io_concurrency 控制IO性能一个参数

os: centos 7.4db: postgresql 11.5effective_io_concurrency (integer)设置PostgreSQL可以同时被执行的并发磁盘 I/O 操作的数量。调高这个值,可以增加任何单个PostgreSQL会话试图并行发起的 I/O 操作的数目。允许的范围是 1 到 1000,或 0 表示禁用异步 I/O 请求。当前这个设置仅影响位图堆扫描。...

2020-04-07 09:15:28 2292

原创 fillfactor 参数对 wal 生成量的影响

os: centos 7.4db: postgresql 11.5版本# cat /etc/centos-releaseCentOS Linux release 7.4.1708 (Core) # # su - postgresLast login: Sat Oct 26 22:55:25 CST 2019 on pts/0$$ psql -c "select version()...

2020-04-06 00:29:29 457

原创 alter session set ddl_lock_timeout=10

SQL> set lines 200;SQL> set pages 200;SQL> show parameter ddl_lock_timeout;NAME TYPE VALUE------------------------------------ -------------------------------- ---------...

2020-04-02 21:23:56 554

原创 citus.task_assignment_policy

os: centos 7.4db: postgresql 11.7citus: 9.2-2版本# cat /etc/centos-releaseCentOS Linux release 7.4.1708 (Core) # # # su - postgresLast login: Wed Jan 15 18:34:12 CST 2020 on pts/0$$$ psql -c...

2020-04-01 08:39:15 293

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

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