上一页 1 2 3 4 5 6 7 ··· 20 下一页
摘要: 相关命令: 挂载 假设当前挂载点只有 root,即 /,现在要将 home 文件夹单独挂载到一个逻辑卷中: # 假设虚拟机中已经新建硬盘 pvs # 查看新硬盘名称,假设为 /dev/sdb1,容量为 10G fdisk -l # 创建 LVM pvcreate [device1] [device2 阅读全文
posted @ 2022-11-26 08:20 leolzi 阅读(379) 评论(0) 推荐(0) 编辑
摘要: 1. 修改字段属性; ALTER TABLE CREGISTRATION MODIFY COLUMN RECORDSTATE Nullable(String); 2. 建表,日期操作,字符串相加, case 几天前数据: select * from ehrds.CDRUGADVICEDETAIL w 阅读全文
posted @ 2022-11-02 10:22 leolzi 阅读(254) 评论(0) 推荐(0) 编辑
摘要: 一、 oracle开启备份日志: shutdown immediate startup mount alter database archivelog; archive log list; show parameter db_recovery_file_dest_size; alter system 阅读全文
posted @ 2022-10-25 16:46 leolzi 阅读(3235) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2022-10-22 10:34 leolzi 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2022-10-20 14:43 leolzi 阅读(131) 评论(0) 推荐(0) 编辑
摘要: clickhouse中文文档地址:https://clickhouse.com/docs/zh/getting-started/tutorial/ 1、centos安装部署 采用tgz的方式安装 官网上安装部署有比较详细的说明,具体文档地址如下,支持deb、rpm、tgz、docker等安装部署方式 阅读全文
posted @ 2022-09-15 17:32 leolzi 阅读(601) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(65) 评论(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 阅读(2555) 评论(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 阅读(200) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 20 下一页