按类别查询搜索结果
关于关键词 的检测结果,共 2020
dbwatcher | 2019-04-08 16:04:47 | 阅读(10990) | 评论(0)
博客文章除注明转载外,均为原创。转载请注明出处。Oracle sysaux表空间占用过大处理办法:step1:检查表空间的使用情况sysaux表空间空间使用是很大的。step2:检查表空间被内容占用:主要是awr信息库使用了sysaux表空间,step3:检查awr相关的配置信息:有2个awr资料库,分别是dbid=3737847129,和dbid=357941...【阅读全文】
dbwatcher | 2019-03-14 10:45:18 | 阅读(9460) | 评论(0)
博客文章除注明转载外,均为原创。转载请注明出处。本文链接地址:http://blog.chinaunix.net/uid-31396856-id-5818898.htmlOracle当前正在运行,但是登录出现问题,描述如下:这类问题通常是环境变量设置的问题。比如sid,但是我这里设置了sid=orcl还是这样,无法登录。处理如下:找到pmon进程的pid,然后查看pm...【阅读全文】
unix_5359 | 2019-02-15 15:27:25 | 阅读(750) | 评论(0)
12、(5-12)choose two:Examine the data in the CUSTOMERS table:You want to list all cities that have more than one customer along with the customer details.Evaluate the following query:SQL>SELECT c1.custname, c1.cityFROM Customers c1______Customers c2ON (c1.city=c2.city AND c1.custname<>c2.cus...【阅读全文】
unix_5359 | 2019-02-15 13:19:30 | 阅读(700) | 评论(0)
11、(5-8) choose the best answer:Examine the structure of the BOOKS_TRANSACTIONS table.You want to update this table such that BOOK_ID is set to 'INVALID' for all rows where no MEMBER_IDhas been entered.Examine this partial SQL statement:SQL> UPDATE books_transactionsSET book...【阅读全文】
unix_5359 | 2019-02-15 11:38:09 | 阅读(870) | 评论(0)
10、(5-6) choose the best answer:Examine the structure of the EMPLOYEES table:There is a parent/child relationship between EMPLOYEE_ID and MANAGER_ID.You want to display the name, joining date, and manager for all the employees.Newly hired employees are yet to be assigned a department or a man...【阅读全文】
unix_5359 | 2019-02-15 11:14:58 | 阅读(670) | 评论(0)
9、(5-5) choose the best answerView the Exhibit and examine the structure of the SALES and STORES tables.You want to display the store name and the total quantity sold for each item in the store.Which SQL statement will give the required output?A) SELECT str.name, s1.items_id, SUM(s1.quantit...【阅读全文】
liyf0371 | 2019-02-14 13:37:43 | 阅读(2070) | 评论(0)
-//测试bbed是否支持管道命令.txt1.环境: SCOTT@test01p> @ ver1 PORT_STRING                   VERSION       BANNER      &nb...【阅读全文】
liyf0371 | 2019-02-12 14:25:29 | 阅读(20660) | 评论(0)
无数次事故告诉我们,Truncate是一项很危险的动作。一不小心搞错,就会带来毁灭性的打击。我们都知道当Truncate命令发起之后,Oracle实际上并没有在删除底层数据块上的数据,而是要等到重用的时候才会把这一部分数据回收,于是这给了我们一个能够恢复数据库的机会。 二、知己知彼 1.建立实验环境所需要的...【阅读全文】
支付宝技术团队 | 2019-01-22 15:34:20 | 阅读(12910) | 评论(0)
本文主要介绍蚂蚁金服自主研发的通用关系型数据库OceanBase,OceanBase采用了分布式架构,其通过技术创新在普通PC服务器集群上实现了更好的可靠性、可用性和可扩展行。本文中,蚂蚁金服OceanBase团队资深技术专家潘毅(花名:柏泽)为大家介绍了OceanBase,并分享了SQL优化器,分布式事务的执行逻辑等内容,为大家全面展现OceanBase底层事务引擎的技术创新。【阅读全文】
支付宝技术团队 | 2019-01-21 16:23:01 | 阅读(19820) | 评论(0)
现任蚂蚁金服 OceanBase 团队技术专家,曾经支持过阿里云数据库和天猫双 11 大促业务,在分布式数据库的开发和架构上有着丰富的经验。目前主要从事 OceanBase 对外输出的解决方案设计和技术推广工作。OceanBase基础概念OceanBase分布式设计OceanBase性能调优集群OceanBase是一个通用的...【阅读全文】
dbwatcher | 2018-12-31 11:46:54 | 阅读(9940) | 评论(0)
博客文章除注明转载外,均为原创。转载请注明出处。上午电话被告知有一个Oracle 备库(dg)数据同步,登上去看了下延迟情况:可见数据库日志传输正常无延迟,是应用日志出了问题。看看日志应用进程发现已经中断了。看了看alert日志由日志发现备库未能同步到主库添加的数文件。经过确认,昨天晚上dba确实添加数据文件。...【阅读全文】
hxl | 2018-12-03 20:29:37 | 阅读(0) | 评论(0)
8.做DG(主库:Oracle_sid:slnngkDb_name:slnngkDb_unique_name=slnngk辅助库:Oracle_sid:slnngkdgDb_name:slnngkDb_unique_name=slnngkdg数据库文件目录原库数据文件目录/u01/app/oracle/oradat...【阅读全文】
suqiansiyang | 2018-11-22 10:49:57 | 阅读(3350) | 评论(0)
跟踪trace文件进行分析redo 恢复的时候需要扫描两次redo实际上lgwr进程在扫描redo时,是需要扫描2次的。oracle称这个是two pass reading,有隐含参数控制two pass reading----第一次扫描redo流中的BWR(block writen record),并将这部分记录穿成一个链表---第二次则直接从上面的链表中去扫描,确定哪些block是需...【阅读全文】
hxl | 2018-11-21 10:56:27 | 阅读(0) | 评论(0)
1.删除表空间和数据文件drop tablespace EPICARD including contents and datafiles CASCADE CONSTRAINTS;发现OS磁盘空间没有释放2.查看相应的deleted进程lsof -n | grep deletedoracle    36244    oracle   14u      REG           ...【阅读全文】
suqiansiyang | 2018-11-13 14:46:07 | 阅读(2850) | 评论(0)
create table t1 as select object_id,object_name from dba_objects where object_id<10;alter system switch logfile;SQL> select member from v$logfile;MEMBER--------------------------------------------------------------------------------/home/oracle/app/oradata/oracleogg/redo03.log/home/oracle/ap...【阅读全文】
东北胖子 | 2018-11-11 15:01:09 | 阅读(2470) | 评论(0)
最近在迁移一个数据库,采用的方法是完全的物理拷贝至新的环境中,但是数据文件的目录需要变更一下。前期的环境准备和物理拷贝十分顺利,但是在打开数据库至read only模式时却提示无法读取某个standby log,于是每个redo log都重新更改存储位置。关闭数据库,并启动至mount状态下shutdown immedaitestartup&nbs...【阅读全文】
hxl | 2018-11-03 21:28:07 | 阅读(0) | 评论(0)
1.创建恢复目录(在恢复数据库上操作)create user hxl identified by oracle;grant dba,recovery_catalog_owner to rman;rman catalog hxl/oraclecreate catalog;2.在目标数据库上操作rman target / catalog hxl/oracle@rman_catalog注册数据库register database;3.在恢复目录数据库上登录rman catalog hxl/orac...【阅读全文】
suqiansiyang | 2018-11-01 10:12:58 | 阅读(2510) | 评论(0)
[oracle-ogg@oracleog archivelog]$dd if=/home/oralOg/oradata/siyang/redo02.log bs=512 skip=2 count=1|od一x1+0 records in1+0 records out0000000 2201 0000 0002 0000 0021 0000 8010 f98a0000020 030c 0000 120d 0000 da41 0070 0001 OOb7这里的rba信息如下:RBA:Ox000021.00000002.0010  rba的结构是由3...【阅读全文】
suqiansiyang | 2018-10-31 10:44:58 | 阅读(2170) | 评论(0)
weijun1235 | 2018-10-26 16:04:53 | 阅读(2460) | 评论(0)
表碎片的来源当针对一个表的删除操作很多时,表会产生大量碎片。删除操作释放的空间不会被插入操作立即重用,甚至永远也不会被重用。首先收集表统计信息: exec dbms_stats.gather_table_stats(ownname=>'SCHEMA_NAME',tabname=> 'TABLE_NAME');确定碎片程度:select  round((1-a.used/b.n...【阅读全文】