上一页 1 2 3 4 5 6 7 ··· 19 下一页
摘要: 1、安装pip 安装pip2 20.0版本 curl "https://bootstrap.pypa.io/pip/2.7/get-pip.py" -o "get-pip.py"python get-pip.py 2、安装 pyinstaller python 安装最好的pyintaller 版本为 阅读全文
posted @ 2022-09-08 17:52 leolzi 阅读(63) 评论(0) 推荐(0) 编辑
摘要: 1. 全屏 -bogy 全屏设置 *{ margin: 0; padding: 0; } html, body{ width: 100%; height: 100%; } 2. 里面的空间高度调节-body 高度减去 55px <div style="height: calc(100% - 55px 阅读全文
posted @ 2022-08-29 10:45 leolzi 阅读(22) 评论(0) 推荐(0) 编辑
摘要: 1. 查看linux文件夹大小 du -sh /usr/app/oracle/admin/orcl/* 2. 删除oracle日志审计文件 31天前的 find ./ -type f -name “*.aud” -mtime +31|xargs rm -f 一定要注意:不要直接删除adump目录,否 阅读全文
posted @ 2022-08-04 16:00 leolzi 阅读(2424) 评论(0) 推荐(0) 编辑
摘要: 资料来源:https://www.postgresql.org/docs/13/kernel-resources.html#SYSVIPC 1.系统版本及数据库版本 CentOS 7.5 postgresql-13 1.0 linux系统配置 1.0.1 修改/etc/sysctl.conf shm 阅读全文
posted @ 2022-06-14 15:52 leolzi 阅读(194) 评论(0) 推荐(0) 编辑
摘要: 说明:Oracle 19c 相当于 12.2.0.3 版本,是 Oracle 12c 的最终版,所以这一版本中,不会有太多的新特性,更重要的是稳定性的增强,使得用户能够更多的迁移到12c这个主流版本中。所以现在如果上生产,19c是最好的选择。 一、 环境 centos 7 或 8 两个包: orac 阅读全文
posted @ 2022-06-08 17:51 leolzi 阅读(840) 评论(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 阅读(1807) 评论(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 阅读(3244) 评论(0) 推荐(0) 编辑
摘要: PostgreSQL数据库对于大小写的处理规则比较特殊. 简要总结如下:1.PG数据库是严格区分大小写的.2.默认情况下,PG数据库会把所有的SQL语句都转化成小写然后再执行.说明:加双引号的语句除外.换句话说,如果想成功执行名称中带有大写字母的对象,则需要把对象名称加上双引号. -- 创建exec 阅读全文
posted @ 2022-05-14 14:02 leolzi 阅读(2396) 评论(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 阅读(342) 评论(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 阅读(1076) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 19 下一页