03 2021 档案

摘要:估算时间为S ktuxesiz取10S差值 ,计算出每秒恢复的量,剩余总量除以每秒恢复的量 select s.username, t.xidusn, t.xidslot, t.xidsqn, x.ktuxesiz from sys.x$ktuxe x, sys.v_$transaction t, s 阅读全文
posted @ 2021-03-26 10:28 菲阳公社 阅读(639) 评论(0) 推荐(0)
摘要:For 8.1.7 to 9.2: SELECT a.username, a.sid, a.serial#, a.osuser, b.tablespace, b.blocks, c.sql_text FROM v$session a, v$sort_usage b, v$sqlarea c WHER 阅读全文
posted @ 2021-03-18 10:00 菲阳公社 阅读(69) 评论(0) 推荐(0)
摘要:强制类型转换 -#include<stdio.h> int main(void) { int mice; mice=(int)1.6+(int)1.7; printf("Mice=%d\n",mice); return 0; } 带参数函数 -#include<stdio.h> void pound 阅读全文
posted @ 2021-03-18 09:34 菲阳公社 阅读(94) 评论(0) 推荐(0)
摘要:单行 多行 文档 public class HelloWorld { public static void main (String [] args) { //output hello world /* output hello world */ /** * @description hellowo 阅读全文
posted @ 2021-03-17 19:46 菲阳公社 阅读(33) 评论(0) 推荐(0)
摘要:1.Stop Instance srvctl stop instance -d dbname -i instance1,instance2 -o immediate 2.Start database to nomount srvctl start database -d dbname -o nomo 阅读全文
posted @ 2021-03-16 16:41 菲阳公社 阅读(86) 评论(0) 推荐(0)
摘要:Check lob status Cause The cause of these errors could be a LOB corruption. Maintaining the LOBs will solve the problem with Exp/Expdp. Copyright (c) 阅读全文
posted @ 2021-03-16 11:05 菲阳公社 阅读(770) 评论(0) 推荐(0)
摘要:OCR and VOTEDISK as root user, 1.ocrconfig -add newdiskgroup ocrconfig -delete olddiskgroup as grid user, 2.crsctl replace votedisk newdiskgroup as ro 阅读全文
posted @ 2021-03-15 17:09 菲阳公社 阅读(225) 评论(0) 推荐(0)
摘要:* -#include<stdio.h> int main(void) { unsigned int width; int num=256; printf("What filed width?\n"); scanf("%d",&width); printf("The number is %*d\n" 阅读全文
posted @ 2021-03-12 15:16 菲阳公社 阅读(89) 评论(0) 推荐(0)
摘要:输入 -#include<stdio.h> int main(void) { int age; printf("Please enter your age: \n"); scanf("%d",&age);//读取第一个非空数字,到下一个空字符截止 printf("your age is %d\n", 阅读全文
posted @ 2021-03-12 13:40 菲阳公社 阅读(136) 评论(0) 推荐(0)
摘要:## expdp需要添加 version参数 version=11.2.0.4.0(低版本号) 阅读全文
posted @ 2021-03-09 16:18 菲阳公社 阅读(110) 评论(0) 推荐(0)
摘要:1.pvcreate /dev/mapper/mpathq Physical volume "/dev/mapper/mpathq" successfully created. 2.vgcreate -s32 vgORADUMP /dev/mapper/mpathq Volume group "vg 阅读全文
posted @ 2021-03-09 16:14 菲阳公社 阅读(101) 评论(0) 推荐(0)
摘要:重要的设备文件 1./dev/console:系统控制台,错误信息和诊断信息通常会发到这个设备 2./dev/tty:如果一个进程有控制终端的话,那么他就是这个控制终端的别名 3./dev/null:文件为空的设备 系统调用和驱动程序 1.系统调用:对文件和设备进行访问和控制的函数 2.操作系统的核 阅读全文
posted @ 2021-03-09 11:40 菲阳公社 阅读(76) 评论(0) 推荐(0)
摘要:## Scanf -- scanf()会在遇到第一个空白字符空格、制表符或者换行符处停止读取。 #include<stdio.h> #define PRAISE "What a super marvelous name!" int main(void){ char name[40]; printf( 阅读全文
posted @ 2021-03-09 11:37 菲阳公社 阅读(62) 评论(0) 推荐(0)
摘要:格式宽度 -#include<stdio.h> -#define PAGES 931 int main(void) { printf("%d\n",PAGES); printf("%2d\n",PAGES); //自动扩展 printf("%10d\n",PAGES); //又对齐 printf(" 阅读全文
posted @ 2021-03-09 11:36 菲阳公社 阅读(345) 评论(0) 推荐(0)
摘要:安装(RPM 编译 GIT PIP) 1.查看安装版本 yum info ansible 2.安装yum install ansible 3.查看版本 ansible --version 4.修改主机清单文件 /etc/ansible/hosts 配置文件 1./etc/ansible/ansibl 阅读全文
posted @ 2021-03-08 17:02 菲阳公社 阅读(79) 评论(0) 推荐(0)
摘要:## 查看数据库字符集设置 1.使用工具字符集配置 2. locale操作系统字符集 3.show create database dbname; 4.show create table table_name; ## 如何转换字符集 1.GBK到UNICODE必须通过码表转换 2.GBK到UTF8: 阅读全文
posted @ 2021-03-08 14:48 菲阳公社 阅读(338) 评论(0) 推荐(0)
摘要:部分删除 set PERSIST partial_revokes=on; 针对*.*赋权情况,需要部分清除某些库权限,需要配置该参数 个人密码(安全) 密码保留期限 alter user password expire *** 修改密码 password_require_current=on --修 阅读全文
posted @ 2021-03-05 15:08 菲阳公社 阅读(127) 评论(0) 推荐(0)
摘要:##多实例出现 充分的利用主机资源 拆分数据库,限制单个实例大小 资源隔离,减小相互影响 分担连接数 ##mysql配置文件读取 读取配置文件顺序: /etc/my.cnf /etc/mysql/my.cnf /usr/local/mysql/etc/my.cnf ~/.my.cnf --defau 阅读全文
posted @ 2021-03-04 14:33 菲阳公社 阅读(187) 评论(0) 推荐(0)
摘要:MYSQL安装 安装准备 1 numactl --hardware show 2 /etc/security/limits.conf & 网络优化 3 Swap 4 IO调度 --deadline noop 5 文件系统 xfs 6 selinux&iptables 安装步骤 1 创建账号 grou 阅读全文
posted @ 2021-03-03 14:53 菲阳公社 阅读(74) 评论(0) 推荐(0)
摘要:https://www.jianshu.com/p/191d1e21f7ed 阅读全文
posted @ 2021-03-01 20:47 菲阳公社