环境:OS:Red Hat Linux As 5DB:10.2.0.5 之前rac部署完毕后,试着导出ocr,但发现无法导出,报如下的错误.[root@node1 ~]# /u01/app/oracle/product/10.2.0/crs_1/bin/ocrconfig -export /u01/app/oracle/ocr_export140210_8.bakPROT-4: Failed to retrieve data from the cluster registrynode1-> ocrcheck...【阅读全文】
--delete from sims_config c where c.config_name in (select config_name from sims_config t group by t.config_name having count(config_name) >1)比如现在有一人员表 (表名:peosons) 若想将姓名、身份证号、住址这三个字段完全相同的记录查询出来 &nbs...【阅读全文】
可以table形式返回數據.点击(此处)折叠或打开create or replace package PKG_LDAP AUTHID CURRENT_USER as/**************************************** Ver Date Author Description --...【阅读全文】
因为机房停电,备库重启后发现数据库无法打开数据库无法打开SQL> startupORACLE instance started.Total System Global Area 422670336 bytesFixed Size 1336960 bytesVariable Size &nbs...【阅读全文】
创建一张表,其中status字段数据存在倾斜,该字段上存在索引SQL> create index idx_tab3_status on tab3(status);SQL> select status,count(*) from tab3 group by status;STATUS COUNT(*)--------------- ----------20 &nb...【阅读全文】