- 博客(18)
- 资源 (15)
- 收藏
- 关注
原创 psql --help输出中的default user值的来源
[highgo432@abc ~]$ env | grep PGPGPORT=5432PGUSER=u_lei_aa ---->>>注意此处PGHOME=/data/highgo/4.3.2PGDATA=/data/highgo/4.3.2/data[highgo432@abc ~]$ psql--help-bash: psql--help: command no...
2018-05-31 23:24:06 484
转载 【转帖】pg_control file recover
今天一位朋友在问pg_control文件丢失或损坏是否可以启动PostgreSQL的问题,于是在测试系统尝试了一下。首先记录下正常情况下的pg_controldata信息如下:这个信息非常有用,需要用于恢复.pg_control version number: 903Catalog version number: 201008051Databa...
2018-05-25 10:27:19 893
原创 查询PostgreSQL数据库的运行时间
[pg104@dbserver ~]$ psql -d postgrespsql (10.4)Type "help" for help.postgres=# select version(); version ...
2018-05-24 14:01:14 4182
转载 在RHEL7.5上安装kernel文档
[root@dbserver ~]# cd /usr/share/doc[root@dbserver doc]# ls -lrt | grep ker[root@dbserver doc]# yum install kernel-docLoaded plugins: product-id, search-disabled-repos, subscription-managerThis sy...
2018-05-23 15:24:02 1586
原创 PostgreSQL 10.4在RHEL7.5上的源码安装
下载postgresql 10.4的源码:https://www.postgresql.org/ftp/source/v10.4/rhel7.5配置iso yum源:https://blog.csdn.net/msdnchina/article/details/52452296[root@dbserver yum.repos.d]# yum -y install gcc-4* [root@db...
2018-05-23 12:23:58 924
转载 RHEL7中关于ssd固态盘的性能优化措施
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/performance_tuning_guide/sect-red_hat_enterprise_linux-performance_tuning_guide-considerations-solid_state_disks8.3. SOLID...
2018-05-22 22:25:25 791
原创 rhel7.5新特性--回文密码无法安装rhel7.5
安装完成rhel7.5之后,新建用户,该新建用户的密码可以是回文密码[root@dbserver yum.repos.d]# passwd pg104Changing password for user pg104.New password: BAD PASSWORD: The password is a palindromeRetype new password: passwd: al...
2018-05-22 21:22:35 654
原创 安装netdata并配置netdata来监控HGDB的步骤
背景:netdata能提供对os和各种数据库(包括pg)的监控相关网址为:https://github.com/firehol/netdata 如下是安装后的web展示结果:https://my-netdata.io/ 是运行可以通过互联网访问的网址,该网址安装有netdata和mysql,只要能联网,就能查看。如下操作的前提:1.确保受监控主机能连接互联网。2.如下命令均在受监控主机上运行3.受...
2018-05-17 19:04:38 3872
原创 在datadog中对某个主机上的进程进行监控
参考:https://docs.datadoghq.com/graphing/infrastructure/process/登录该主机,[root@pgserver ~]# vi /etc/datadog-agent/datadog.yaml直接在最后一行添加如下内容:process_config: enabled: "true"重启agent:systemctl restart datado...
2018-05-16 12:25:13 1394
原创 使用datadog来监控os和postgresql数据库
前提:datadog监控软件有14天试用期,需要在www.datadoghq.com注册账号才能进行软件的试用。背景:192.168.1.148 是受监控os的ip地址,在该主机上,安装有一个10.2版本的pg cluster。参考:https://app.datadoghq.com/account/settings#agent/centos在受监控os上安装datadog的agent:[root...
2018-05-16 06:44:55 8322 1
原创 在HGDB v4.3.2版本上进行BenchmarkSQL测试
下载https://sourceforge.net/projects/benchmarksql/?source=typ_redirect0. Requirements Use of JDK7 is required.---经过我测试,使用rhel自带的openjdk就行。1. Create the benchmarksql user and a datab
2018-05-08 20:28:47 459
原创 部署telegraf+influxdb+granfana
一、grafana的(192.168.80.174,rhel7.4)安装:1.按照如下的指导进行按照http://docs.grafana.org/installation/rpm/2. systemctl disable firewalldsystemctl stop firewalld二、influxdb的安装:安装在grafana服务器上,
2018-05-08 20:21:32 1117
转载 【转自MOS文章】升级到Oracle Linux 7.5之后无法启动操作系统
转自:rubby 8.28: Unbootable System After Upgrade to Oracle Linux 7.5 (文档 ID 2388490.1)Applies to: Linux OS - Version Oracle Linux 7.4 to Oracle Linux 7.4 [Release OL7U4]Linux x86-64Sym
2018-05-05 12:01:25 607
转载 【转】influxdb+grafana搭建业务监控平台前篇-相关环境搭建
本文转自:https://blog.csdn.net/u010185262/article/details/53118711 引言在介绍具体的业务监控搭建之前还是现在介绍介绍influxdb和grafana。时间序列数据库在开始介绍Influxdb之前先简要介绍一下时间序列数据库。何谓时间序列数据库?什么是时间序列数据库,最简单的定义就是数据格式里包含Timestamp字段的数据,比如某一时间...
2018-05-03 18:19:40 415
转载 【转帖】建立安全SSL连接PostgreSQL数据库服务器
转自:https://blog.csdn.net/zhu4674548/article/details/71248365前物联网的挑战之一就是提供最高的安全级别。这就是为什么需要开启SSL连接到 PostgreSQL。 当你想要安全的存储数据到PostgreSQL数据中时,第一件事就是通过加密的连接保护身份认证凭证和存储数据被拦截。下面,我们将对数据库服务器进行适当的调整,来开启SSL和生成证书。...
2018-05-03 09:25:15 771
原创 pg schema
db_lei2=# select * from information_schema.schemata; catalog_name | schema_name | schema_owner | default_character_set_catalog | default_character_set_schema | default_character_set_name | sql...
2018-05-02 19:43:46 443
Oracle数据库产品中文资料大全
2019-02-10
PostgreSQL 10 New Features en
2018-05-26
example codes for using Oracle Text to index ms word docx
2016-04-03
使用HVR数据复制软件完成文件系统上文件的实时复制
2016-03-11
Sustainable Compliance for the Payment Card Industry Data Security Standard
2015-07-08
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人