上一页 1 2 3 4 5 6 7 8 ··· 20 下一页
摘要: 说明:Oracle 19c 相当于 12.2.0.3 版本,是 Oracle 12c 的最终版,所以这一版本中,不会有太多的新特性,更重要的是稳定性的增强,使得用户能够更多的迁移到12c这个主流版本中。所以现在如果上生产,19c是最好的选择。 一、 环境 centos 7 或 8 两个包: orac 阅读全文
posted @ 2022-06-08 17:51 leolzi 阅读(880) 评论(0) 推荐(0) 编辑
摘要: 一、查询PG_STAT_ACTIVITY的信息 select T.PID, T.STATE, T.QUERY, T.WAIT_EVENT_TYPE, T.WAIT_EVENT, T.QUERY_START from PG_STAT_ACTIVITY T where T.DATNAME = '数据库名 阅读全文
posted @ 2022-05-18 17:17 leolzi 阅读(1842) 评论(0) 推荐(0) 编辑
摘要: 博客来源:http://t.zoukankan.com/wuchangsoft-p-12039663.html,请阅读原博客 1、检查oracle用户的资源上限:cat /etc/security/limits.conforacle soft nproc 2047 # oracle告警线程oracl 阅读全文
posted @ 2022-05-17 10:25 leolzi 阅读(3305) 评论(0) 推荐(0) 编辑
摘要: PostgreSQL数据库对于大小写的处理规则比较特殊. 简要总结如下:1.PG数据库是严格区分大小写的.2.默认情况下,PG数据库会把所有的SQL语句都转化成小写然后再执行.说明:加双引号的语句除外.换句话说,如果想成功执行名称中带有大写字母的对象,则需要把对象名称加上双引号. -- 创建exec 阅读全文
posted @ 2022-05-14 14:02 leolzi 阅读(2490) 评论(0) 推荐(0) 编辑
摘要: 1. 修改linux系统配置 1.1、修改/etc/sysctl.conf shmall 是全部允许使用的共享内存大小,shmmax 是单个段允许使用的大小。这两个可以设置为内存的 90%。例如 16G 内存,16 * 1024 * 1024 * 1024 * * 90% = 15461882265 阅读全文
posted @ 2022-05-12 16:56 leolzi 阅读(362) 评论(0) 推荐(0) 编辑
摘要: 1. oracle 加密解密: 1)进入oracle命令行(sqlplus /as sysdba) 或登录oracle 管理员账号 2)执行赋权命令-赋权命令需在加密解密函数之前执行 ehrds 是用户名grant execute on sys.dbms_crypto to ehrds; grant 阅读全文
posted @ 2022-04-27 16:49 leolzi 阅读(1131) 评论(0) 推荐(0) 编辑
摘要: 1. 转发ip和端口 listen 9800; server_name localhost; #charset koi8-r; #access_log logs/host.access.log main; location /{ proxy_pass http://11.55.38.60:9800; 阅读全文
posted @ 2022-04-13 17:40 leolzi 阅读(2605) 评论(0) 推荐(0) 编辑
摘要: 1. 多键唯一索引 a.loc 和 a.qty 为符合多键索引 db.collection.createIndex( { "a.loc": 1, "a.qty": 1 }, { unique: true } ) 如: db.getCollection("Name,idcardNo").createI 阅读全文
posted @ 2022-04-03 14:54 leolzi 阅读(261) 评论(0) 推荐(0) 编辑
摘要: mongo 4.2- 4.4 1. 启用安全认证 修改配置文件: security: authorization: enabled 2. 创建用户密码:用户是相对于数据库而言的,也要设置 admin 数据库的密码 db.createUser({ user: "admin", pwd: "123qwe 阅读全文
posted @ 2022-03-15 13:53 leolzi 阅读(781) 评论(0) 推荐(0) 编辑
摘要: 思路:1.为了保证数据的一致性,必须先关闭应用的写服务。2.提升要升级为Primary节点的Secondary节点的优先级。 操作如下,在主节点上执行: arps:PRIMARY> config=rs.conf() //查看当前配置,存入config变量中。 arps:PRIMARY> config 阅读全文
posted @ 2022-03-04 08:46 leolzi 阅读(1278) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 20 下一页