上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 20 下一页
摘要: 乱码相关的三个方面 读取文件的编码 python使用的编码 调用的终端的编码 因此,要实现最终的显示正确,需要三者使用的编码相同 读取内容编码 test01使用utf-8进行编码的,因此在解码的时候,需要使用utf-8进行解码。同样的,test02使用的时GB2312编码的,需要使用GB2312解码 阅读全文
posted @ 2022-02-20 21:11 monkey6 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 1.图床 顾名思义,防止图片的地方,但是需要能够以URL的形式调用。百度网盘可以存放图片但是不可以以URL的形式调用,就不能称之为图床。 在写文章的时候,图片如果放到本地,那么当把文章(例如Markdown)发布到网上的时候,是无法显示本地图片的,此时,如果图片上传到图床,因为图片是链接而不是本地文 阅读全文
posted @ 2022-02-12 12:35 monkey6 阅读(135) 评论(0) 推荐(0) 编辑
摘要: yum install wget cd /data/software wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh # 安装脚本的时候,可以自定义安装路径,本次选择/usr/local/minic 阅读全文
posted @ 2022-02-02 18:04 monkey6 阅读(711) 评论(0) 推荐(0) 编辑
摘要: 1.初始化仓库 初始化仓库即将当前目录加入Git版本控制 mkdir repository cd repository git init 2.配置用户名和邮箱 # 当前仓库(目录),此用户下的其他仓库需要重新设置,优先级最高 git config user.name "monkey monkey" 阅读全文
posted @ 2022-01-28 20:55 monkey6 阅读(43) 评论(0) 推荐(0) 编辑
摘要: 主库: db_unique_name:monkey tnsnames服务名:ori_monkey 备库: db_unique_name:standby_monkey ​tnsnames服务名:sdby_monkey db_unique_name 在DataGuard因为数据库的数据库名等相同,因此需 阅读全文
posted @ 2022-01-26 17:27 monkey6 阅读(263) 评论(0) 推荐(0) 编辑
摘要: 1.转换excel文件为csv格式 档案 》另存新档 》浏览 》存储类型(*.csv) 》存储 2.上传至服务器 3.新建表 4.新建控制文件 vi input.ctl ###################################################### options(sk 阅读全文
posted @ 2022-01-26 17:08 monkey6 阅读(275) 评论(0) 推荐(0) 编辑
摘要: 1.什么是审计 审计是用来监控和记录用户的数据库操作的 2.未开启审计 即使未开启审计,Oracle数据库也会将以下三种操作记录在OS的$ORACLE_BASE/admin/$ORACLE_SID/adump/ 以sysdba或者sysoper等管理员用户连接数据库实例(不管实例是否打开) 关闭数据 阅读全文
posted @ 2021-12-28 13:40 monkey6 阅读(1385) 评论(0) 推荐(0) 编辑
摘要: 1.受影响文件统计 文件 关联参数 NID是否处理 Password File DBNAME 否 Parameter File DBNAME 否 Data File DBNAME,DBID 是 Online Redo Log DBID 是 Archived Redo Log DBID 否 Backu 阅读全文
posted @ 2021-11-26 11:10 monkey6 阅读(261) 评论(0) 推荐(0) 编辑
摘要: 1.安装 1.1.下载 下载要根据数据库版本下载 pg_rman下载地址 1.2.解压安装 用root用户安装 # root用户执行 cd /data/soft tar vxf pg_rman-1.3.13-pg10.tar.gz cd pg_rman-1.3.13-pg10 # pg_rman执行 阅读全文
posted @ 2021-11-24 15:00 monkey6 阅读(975) 评论(0) 推荐(0) 编辑
摘要: 1.禁用审计 1.1.查看数据库有哪些审计 select * from dba_audit_policies; 1.2.生成禁用审计脚本 select 'exec sys.dbms_fga.enable_policy(object_schema=>'''||object_schema||''',ob 阅读全文
posted @ 2021-11-23 13:43 monkey6 阅读(290) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 20 下一页