码迷,mamicode.com
首页 >  
搜索关键字:postgresql 安全级别    ( 3321个结果
PostgreSQL数据库常用归档配置
1. 非压缩 archive_command = 'cp %p /appdata/pgsql/pg_wal/%f && echo %f >> /appdata/pgsql/pg_wal/archive.list' restore_command = 'cp /appdata/pgsql/pg_wal ...
分类:数据库   时间:2020-07-11 10:04:36    阅读次数:146
【Gerrit】【Postgresql】psql数据库基本操作
1.命令行登录数据库: psql -p 5432 -Upostgres -W 2.列出所有数据库 \l 3.切换数据库 \c dbname 4.列出当前数据库的所有表 \d 5.查看指定表的所有字段 \d tablename 6.退出数据库 \q 7.数据库备份 pg_dump -h localho ...
分类:数据库   时间:2020-07-10 18:36:25    阅读次数:88
windows下PostgreSQL 12.3.1简易安装
1、安装地址: https://www.enterprisedb.com/downloads/postgres-postgresql-downloads 这里选择了最新版本。下载速度还算可以,不上传百度云了。 2、下载完成以后 双击运行,安装目录不建议装在C盘,可能因为权限问题导致安装失败 这里默认 ...
分类:数据库   时间:2020-07-10 15:31:20    阅读次数:306
Configure PostgreSQL Replication With Repmgr
本文介绍使用开源的repmgr组件配置PostgreSQL12的replication以及failover。1、环境信息2、安装PG软件包所有节点安装PostgreSQL12以及repmgr软件包。[root@hwd04~]#dnf-yinstallhttps://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-red
分类:数据库   时间:2020-07-09 17:58:16    阅读次数:75
python如何监控PostgreSQL代码运行
如何监控PostgreSQL存储过程/函数代码运行?本文介绍用python+微信/邮件的方式进行报警、监控。 首先要有一张表、用于存放PostgreSQL存储过程/函数代码运行异常的信息。 处理原则:若出现异常;把“发生时间+所在的程序+**原因”**通过微信/邮件发给对应人员。当然发送一次即可;起 ...
分类:数据库   时间:2020-07-08 13:07:28    阅读次数:85
linux postgresql 离线安装记录
由于服务器无法连接外网,通过yum指令来安装PostgreSQL的可能性是零,所以需要离线安装操作。 下载离线 rpm 包:https://yum.postgresql.org/rpmchart/ 由于几个rpm彼此之间的依赖关系,所以我安装的先后顺序是:rpm -ivh example.rpm 1 ...
分类:数据库   时间:2020-07-07 17:57:45    阅读次数:89
PostgreSql 聚合函数string_agg与array_agg
string_agg(expression, delimiter) 非空输入值连接成字符串,由分隔符分隔 array_agg(expression) 输入值(包括空值)连接到一个数组中 ;输入数组连接成一个更高维度的数组(输入必须具有相同的维度,不能为空或空); 1.查询同一个部门下的员工且合并起来 ...
分类:数据库   时间:2020-07-07 15:17:29    阅读次数:220
ubuntu16.04下安装postgres
原博客地址:https://blog.csdn.net/weixin_44313745/article/details/93464298 1、安装postgreSQLsudo apt-get updatesudo apt-get install postgresql-9.5 1 2 2、修改数据库用 ...
分类:系统相关   时间:2020-07-06 18:05:20    阅读次数:81
PostgreSQL--信号量和shmall 和 shmmax相关设置
一、shared_buffers与shmmax,shmall,max_connections的关系 1.1、shared_buffers与max_connections的关系 shared_buffers 是查询缓存,设置比较大可以提高PostgreSQL的效率,一般建议设置为系统内存的3/4,但是 ...
分类:数据库   时间:2020-07-04 16:52:42    阅读次数:80
sonarqube newest version installation
dnf install java-11-openjdk postgresql-server postgresql postgresql-contrib useradd sonar unzip sonarqube-VERSION.zip -d /opt ln -sv /opt/sonarqube-VE ...
分类:其他好文   时间:2020-07-04 15:26:29    阅读次数:60
3321条   上一页 1 ... 12 13 14 15 16 ... 333 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!