摘要:
一、 oracle开启备份日志: shutdown immediate startup mount alter database archivelog; archive log list; show parameter db_recovery_file_dest_size; alter system 阅读全文
摘要:
1. tgz包解压 tar zxvf flink-1.15.2-bin-scala_2.12.tgz 2. 运行 sh 脚本 ./stardalone-job.sh 3、查看文件大小,带权限复制 du -h –max-depth=1 * ls -lh #查看目录下文件大小 cp -a /data.b 阅读全文
摘要:
1、查询表空间情况: select b.file_id 文件ID, b.tablespace_name 表空间, b.file_name 物理文件名, b.bytes 总字节数, (b.bytes-sum(nvl(a.bytes,0))) 已使用, sum(nvl(a.bytes,0)) 剩余, s 阅读全文
摘要:
clickhouse中文文档地址:https://clickhouse.com/docs/zh/getting-started/tutorial/ 包下载地址: https://packages.clickhouse.com/tgz/stable/ 1、centos安装部署 采用tgz的方式安装 官 阅读全文
摘要:
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 版本为 阅读全文
摘要:
1. 全屏 -bogy 全屏设置 *{ margin: 0; padding: 0; } html, body{ width: 100%; height: 100%; } 2. 里面的空间高度调节-body 高度减去 55px <div style="height: calc(100% - 55px 阅读全文
摘要:
1. 查看linux文件夹大小 du -sh /usr/app/oracle/admin/orcl/* 2. 删除oracle日志审计文件 31天前的 find ./ -type f -name “*.aud” -mtime +31|xargs rm -f 一定要注意:不要直接删除adump目录,否 阅读全文
摘要:
资料来源: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 阅读全文
摘要:
说明:Oracle 19c 相当于 12.2.0.3 版本,是 Oracle 12c 的最终版,所以这一版本中,不会有太多的新特性,更重要的是稳定性的增强,使得用户能够更多的迁移到12c这个主流版本中。所以现在如果上生产,19c是最好的选择。 一、 环境 centos 7 或 8 两个包: orac 阅读全文
摘要:
一、查询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 = '数据库名 阅读全文