当前位置: 首页 > news >正文

怎么做的英文网站wordpress关键字查询

怎么做的英文网站,wordpress关键字查询,云手机,太原网络营销公司文章目录 一、删除测试表二、重命名旧表#xff1a;三、验证#xff1a;四、检查alert日志和昨天到今天的统计信息任务收集是否正常 一、删除测试表 #xshell登录用户hthis用户连接登录处理#xff1a; sqlplus ht/123456 sqlplus ht/12345610.8.5.… 文章目录 一、删除测试表二、重命名旧表三、验证四、检查alert日志和昨天到今天的统计信息任务收集是否正常 一、删除测试表 #xshell登录用户hthis用户连接登录处理 sqlplus ht/123456 sqlplus ht/12345610.8.5.23/htdb drop table rcd_record_data_26 purge; #创建新表的操作脚本参考如下注意检查where条件是否满足要求。 cd /u01/app/oracle/product/19,0.0,0/dbhome 1/OPatch/ sqlplus ht/123456 #c.sql是建表语句create as where c.sql #创建完成后注释可能乱码PL/SQL工具核查一下字段默认值和注释 #处理办法打开command窗口执行如下 comment on table RCD_RECORD_DATA_26 is xx数据; comment on column RCD_RECORD_DATA_26.id is ID; comment on column RCD_RECORD_DATA_26.data is xx数据;#创建时注意表空间占用 alter tablespace TBS52023 add datafile DATAC1 size 20480m autoextend on next 10m; alter tablespace TBS52022 add datafile DATAC1 size 20480m autoextend on next 10m; alter tablespace TBS52021 add datafile DATAC1 size 20480m autoextend on next 10m; alter tablespace TBS52020 add datafile DATAC1 size 20480m autoextend on next 10m; alter tablespace TBS52019 add datafile DATAC1 size 20480m autoextend on next 10m; 二、重命名旧表 #重命名前检查 select * from dba_dependencies where REFERENCED_NAMERCD_RECORD_DATA; #解锁防止占用select d.spid, c.object_name,a.USERNAME,a.OSUSER,a.MACHINE, a.STATUS,ALTER SYSTEM KILL SESSION ||a.sid||,||a.SERIAL#||; from gv$session a ,gv$locked_object b,dba_objects c,gv$process d where a.SID b.SESSION_ID and b.OBJECT_ID c.object_id and a.paddrd.addr and c.object_nameRCD_RECORD_DATA;#重命名 alter table RCD_RECORD_DATA rename to RCD_RECORD_DATA_27; #如果报错失败需先处理锁表问题再重命名。 #检查确认备份表数据正常select count(*) from RCD_RECORD_DATA_27; #处理完成后再把新表重命名为生产表 alter table RCD_RECORD_DATA_26 rename to RCD_RECORD_DATA; #检查确认生产表数据正常select count(*) from RCD_RECORD_DATA;#检查表空间大小 /home/oracle/tbs#编译失效对象 sqlplus / as sysdba ?/rdbms/admin/utrlp.sql;#补充缺失数据 insert into RCD_RECORD_DATA(ID,DATA,CREATE_TIEM) select ID,DATA,CREATE_TIEM from RCD_RECORD_DATA_27 where id 39716984;insert into RCD_RECORD_DATA_26(ID,DATA,CREATE_TIEM) select ID,DATA,CREATE_TIEM from RCD_RECORD_DATA where id 39716984; 三、验证 #查询lob字段占用大小 select * from dba_tables where owner HTHIS and table_nameRCD_RECORD_DATA;select e.segment_name,e.segment_type,sum(e.BYTES)/1024/1024/1024 as Gb from dba_extents e where e.segment_nameSYS_LOB0000629267C00002$$ group by e.segment_name,e.segment_type;四、检查alert日志和昨天到今天的统计信息任务收集是否正常 #检查节点12的alert日志看是否还有异常报错 #检查统计信息是否正常了 select * from (select ACTUAL_START_DATE,RUN_DURATION,STATUS FROM dba_scheduler_job_run_details where job_name like ORA$AT_OS_OPT% order by actual_start_date desc) where rownum 30;陈哈哈: select d.spid, c.object_name,a.USERNAME,a.OSUSER,a.MACHINE, a.STATUS,ALTER SYSTEM KILL SESSION ||a.sid||,||a.SERIAL#||; from v$session a ,v$locked_object b,dba_objects c,v$process d where a.SID b.SESSION_ID and b.OBJECT_ID c.object_id and a.paddrd.addr and c.object_nameupper(rcd_record_data);陈哈哈: -- tablespace usage select a.tablespace_name,round(a.bytes_alloc / 1024 / 1024) megs_alloc,round(nvl(b.bytes_free, 0) / 1024 / 1024) megs_free,round((a.bytes_alloc - nvl(b.bytes_free, 0)) / 1024 / 1024) megs_used,round((nvl(b.bytes_free, 0) / a.bytes_alloc) * 100) Pct_Free,100 - round((nvl(b.bytes_free, 0) / a.bytes_alloc) * 100) Pct_used,round(maxbytes/1048576) Max from ( select f.tablespace_name,sum(f.bytes) bytes_alloc,sum(decode(f.autoextensible, YES,f.maxbytes,NO, f.bytes)) maxbytesfrom dba_data_files fgroup by tablespace_name) a,( select f.tablespace_name,sum(f.bytes) bytes_freefrom dba_free_space fgroup by tablespace_name) b where a.tablespace_name b.tablespace_name () union all select h.tablespace_name,round(sum(h.bytes_free h.bytes_used) / 1048576) megs_alloc,round(sum((h.bytes_free h.bytes_used) - nvl(p.bytes_used, 0)) / 1048576) megs_free,round(sum(nvl(p.bytes_used, 0))/ 1048576) megs_used,round((sum((h.bytes_free h.bytes_used) - nvl(p.bytes_used, 0)) / sum(h.bytes_used h.bytes_free)) * 100) Pct_Free,100 - round((sum((h.bytes_free h.bytes_used) - nvl(p.bytes_used, 0)) / sum(h.bytes_used h.bytes_free)) * 100) pct_used,round(sum(f.maxbytes) / 1048576) max from sys.v_$TEMP_SPACE_HEADER h, sys.v_$Temp_extent_pool p, dba_temp_files f where p.file_id() h.file_id and p.tablespace_name() h.tablespace_name and f.file_id h.file_id and f.tablespace_name h.tablespace_name group by h.tablespace_name ORDER BY pct_used desc ;
http://www.zqtcl.cn/news/434249/

相关文章:

  • 网站推广到底应该怎么做中国建设银行网上登录入口
  • 东莞网站建设服务商wordpress页面样式
  • 亿星网站建设创业网站怎么做
  • 绿韵建设有限公司网站重庆景点分布图
  • 咨询类网站模板wordpress怎样切换语言
  • 大连网站建设与维护题库网站建设目标是
  • 威海网站开发询广西南宁网站运营
  • 网站的素材做logo长沙专业的网站建设企业
  • 网站显示速度的代码是什么情况专门做中式服装平台的网站
  • 驻马店做网站的公司大连网站模板建站
  • aso如何优化网站优化分析软件
  • IT周末做网站违反制度么wordpress 图床 插件
  • 成都网站建设scjsc888因网站建设关闭的公告
  • 唐山公司建设网站十大牌子网
  • 网站开发的选题依据电子商务网站建设内容
  • 中企动力做的网站被百度屏蔽推销网站话术
  • 四川网站制作广告设计自学网教程
  • 做个简单的企业小网站单纯做网站的公司
  • 河北省建设厅官方网站哈尔滨建设工程招聘信息网站
  • 茂名网站制作网页个人博客登录首页
  • 类似qq空间的网站wordpress 简历主题
  • 专业网站运营制作怎么写代码做网站
  • 安徽免费网站制作西安做行业平台网站的公司
  • 我想做服装网站怎么做网页设计优秀案例分析
  • 网站建设技术教程视频wordpress中文模版
  • 高端企业网站 程序纸牌网站建设
  • html制作网站推广最有效的办法
  • 做网站推广的工作内容凡客诚品创始人
  • 网站开发pc端和手机端外贸建设网站公司
  • 长沙哪家网站设计好上海成品网站