Louis Liu

Louis Liu

Head of Data & AI Innovation @ Ping An Good Doctor

AI models / AI Infra / Bigdata

创建index之前如何确定其大小

昨天看了roger的一篇文章,如何在创建index 之前估算它的大小,这里有一种更简单的方法实现:

主要思路就是采用了dbms_space.create_index_cost这个包

–create a testing table named t
SQL> create table t as select * from dba_objects;

Table created.

SQL> declare
begin
for i in 1..10 loop
insert /*+ APPEND */ into t select * from t;
commit;[……]

Read more

Create a database link with the new host:port/service syntax

Create a database link with the new host:port/service syntax

Submitted by tanelpoder on Mon, 2012-03-05 15:57

Share
I just noticed that (finally) in 11.2 this syntax is supported:

SQL> CREATE DATABASE LINK demo_x2
2 CONNECT TO tanel IDENTIFIED BY password
3 USING ‘exadb03:1521/DEM[……]

Read more

logic standby ORA-01403 故障处理一例

昨天的logic standby 事故处理:

夜里12点左右 2台logic standby 全部停止日志apply 查看logic standby 相关进程发现:

1.select spid, type, status from v$logstdby_process no rows returns

2.2012-03-12 23:36:16 update “PROD_DATA2″.”PM_SUPPLIER” set xxx…..

ORA-01403: no data found

报出如下错误,这种错误一般是由于standby 端的表数据与[……]

Read more

[转] 11g Release 2 RMAN Backup Compression

11g Release 2 RMAN Backup Compression
Oracle 11g Release 2 introduced compression algorithm levels which can be used for compressing table data, Data Pump exports and RMAN backups as well.

The compression levels are BASIC, LOW, MEDIUM and HIGH and each affords a trade off related to backup throu[……]

Read more

快速升级Oracle 11.2.0.2 RAC到11.2.0.3 on Windows 2008

基于windows 2008平台升级rac 11.2.0.2.0->11.2.0.3.0

OS环境windows 2008 x64 数据库环境oracle 11g rac ,version 11.2.0.2.0 64bit

SQL> conn / as sysdba
已连接。
SQL> select * from v$version;

BANNER
——————————————————————————–
Oracle Database 11g Enterpris[……]

Read more

Scroll to Top