升级生产的DB,有一些预检查条件,这些需要提前修复,以便在升级的时候不会成为影响进度的绊脚石。生产中的components有一些显示是invalid状态,从dba_registry中可以查到。select comp_id,comp_name,status,version from dba_Registry;还有一些显示是loading.COMP_ID ...【阅读全文】
看了一下国外dba的招聘要求,自己目前的情况和要求还有很大差距。也可以作为一个参考,继续努力。Oracle Database Administrator DATABASE We have a OracleDatabase Administrator position based in Wellesley, MA.It’s a 9 months contract position. Below is th...【阅读全文】
今天碰到一个问题,在drop primary key的时候,提示ORA-02273的错误。SQL> ALTER TABLE AR1_ACCOUNT DROP PRIMARY KEY;ALTER TABLE AR1_ACCOUNT DROP PRIMARY KEY*ERROR at line 1:ORA-02273: this unique/primary key is referenced by some foreign keys通过下面的字典表查找的关联的表SQL> SELECT con.constrain...【阅读全文】
今天碰到一个问题,在drop primary key的时候,提示ORA-02273的错误。SQL> ALTER TABLE AR1_ACCOUNT DROP PRIMARY KEY;ALTER TABLE AR1_ACCOUNT DROP PRIMARY KEY*ERROR at line 1:ORA-02273: this unique/primary key is referenced by some foreign keys通过下面的字典表查找的关联的表SQL> SELECT con.constrain...【阅读全文】
10g升级至11g除了需要做一个详尽的计划,需要采集10g系统的负载情况,做一个整体的把握,在升级之后,再做负载分析。保证不会出现大的问题,sql的执行计划不会有大的变动。参数优化方面,需要考虑下面3个方面。à对于 deprecated Parameter in 11GThe following parameters aredeprecated from 11G onwards...【阅读全文】
10g升级至11g除了需要做一个详尽的计划,需要采集10g系统的负载情况,做一个整体的把握,在升级之后,再做负载分析。保证不会出现大的问题,sql的执行计划不会有大的变动。参数优化方面,需要考虑下面3个方面。à对于 deprecated Parameter in 11GThe following parameters aredeprecated from 11G onwards...【阅读全文】
--初始化操作,创建两个用户一个,testo,一个test.在testo上创建表,test上创建物化视图。SQL> create user testo identified by testo;User created.SQL> create user test identified by test;User created.SQL> grant connect,resource to testo,test;Grant succeeded.SQL> grant create materialized view ...【阅读全文】
--初始化操作,创建两个用户一个,testo,一个test.在testo上创建表,test上创建物化视图。SQL> create user testo identified by testo;User created.SQL> create user test identified by test;User created.SQL> grant connect,resource to testo,test;Grant succeeded.SQL> grant create materialized view ...【阅读全文】