Row chaining and row migration in Oracle 10g R2/11g R2

Hi,
Due to the business rule changes, one of the numeric column in a large table (20 millions rows) will be expanded from number(8) to number(10). Also, the values of this column of each row will be updated from 6 digits to 10 digits. All the indexes that use this column will be dropped and recreated after update. I would like to know if there is any row chaining or row migration issue in Oracle 10g R2 /11g R2.
Thanks for your help

neemin wrote:
Hi,
Due to the business rule changes, one of the numeric column in a large table (20 millions rows) will be expanded from number(8) to number(10). Also, the values of this column of each row will be updated from 6 digits to 10 digits. All the indexes that use this column will be dropped and recreated after update. I would like to know if there is any row chaining or row migration issue in Oracle 10g R2 /11g R2.
Thanks for your helpIt depends.
what you do observe after TESTING against the Development DB?

Similar Messages

  • Row chaining and row migration ???

    hi
    Can someone tell me what are the oprions to over come row chaining and row migration in 10g and 11g databases ???
    thanx in advance.
    s

    WIP  wrote:
    hi
    Can someone tell me what are the oprions to over come row chaining and row migration in 10g and 11g databases ???
    thanx in advance.
    sHi.Chained row is a row that is too large to fit into a single database data block. row migration mean is update some rows would cause it to not fit on the block anymore,then these migrates to new address.For more information see below links
    http://blog.tanelpoder.com/2009/11/04/detect-chained-and-migrated-rows-in-oracle/
    http://www.akadia.com/services/ora_chained_rows.html

  • Row chaining and Row migrate

    Hi,
    how to do the difference between row chaining and row migrate.
    In what table may i see the difference.

    http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:4423420997870

  • Manually Migrating from Oracle 10g to 11g

    Hello, I'm currently a student in an Oracle DBA class. I'm totally new to the Oracle world.
    One of our final assignments concerns upgrading Oracle instances without the use of DBUA.
    I've currently got Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 and am trying to upgrade to 11.1.0.7.0
    This is all inside of VirtualBox, running Windows Server 2008. I've been using 10g with absolutely no issues for the duration of this class.
    I successfully installed 11g, choosing to install the software only and not use dbua.
    I changed my environment variables to point towards the 10g installation; ORACLE_HOME, ORACLE_SID, PATH, and LD_LIBRARY_PATH.
    Then logged into 10g's SQLPlus and ran utlu111i.sql, which ran successfully. I issued a shutdown immediate and exited SQLPlus.
    Changed my environment variables to point towards the 11g home and set ORACLE_SID as the 10g database name. I was able to log into 11g's SQL plus, was told I was connected to an idle instance, which I expected. I issued a startup upgrade command, and then attempted to run catupgrd.sql, but got an error stating that I had to run the script from 11g.
    If I don't set the environment variables then when I try to log into 11g's sqlplus, I get an ORA-12560: TNS:protocol adapter error... I've tried reinstalling 11g from scratch, but to no avail. My instructor and I have been emailing back and forth frequently over the past few days but we have not been able to reach a solution, so I thought I would see if I could pick your brains.
    Here's all of the terminal output from the process:
    C:\Users\Administrator>sqlplus
    SQL*Plus: Release 10.2.0.3.0 - Production on Fri Apr 29 20:15:09 2011
    Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
    Enter user-name: connect /as sysdba
    Enter password:
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> @?
    SP2-0310: unable to open file "C:\270Oracle.sql"
    SQL> @C:\NewCIS270\product\11.1.0\db_1\rdbms\admin\utlu111i
    Oracle Database 11.1 Pre-Upgrade Information Tool 04-29-2011 20:16:16
    Database:
    --> name: KYLMAN
    --> version: 10.2.0.3.0
    --> compatible: 10.2.0.3.0
    --> blocksize: 8192
    --> platform: Microsoft Windows IA (32-bit)
    --> timezone file: V4
    Tablespaces: [make adjustments in the current environment]
    --> SYSTEM tablespace is adequate for the upgrade.
    .... minimum required size: 729 MB
    .... AUTOEXTEND additional space required: 249 MB
    --> UNDOTBS1 tablespace is adequate for the upgrade.
    .... minimum required size: 417 MB
    .... AUTOEXTEND additional space required: 352 MB
    --> SYSAUX tablespace is adequate for the upgrade.
    .... minimum required size: 455 MB
    .... AUTOEXTEND additional space required: 215 MB
    --> TEMP tablespace is adequate for the upgrade.
    .... minimum required size: 61 MB
    .... AUTOEXTEND additional space required: 33 MB
    --> EXAMPLE tablespace is adequate for the upgrade.
    .... minimum required size: 78 MB
    Update Parameters: [Update Oracle Database 11.1 init.ora or spfile]
    -- No update parameter changes are required.
    Renamed Parameters: [Update Oracle Database 11.1 init.ora or spfile]
    -- No renamed parameters found. No changes are required.
    Obsolete/Deprecated Parameters: [Update Oracle Database 11.1 init.ora or spfile]
    --> "background_dump_dest" replaced by "diagnostic_dest"
    --> "user_dump_dest" replaced by "diagnostic_dest"
    --> "core_dump_dest" replaced by "diagnostic_dest"
    Components: [The following database components will be upgraded or installed]
    --> Oracle Catalog Views [upgrade] VALID
    --> Oracle Packages and Types [upgrade] VALID
    --> JServer JAVA Virtual Machine [upgrade] VALID
    --> Oracle XDK for Java [upgrade] VALID
    --> Oracle Workspace Manager [upgrade] VALID
    --> OLAP Analytic Workspace [upgrade] VALID
    --> OLAP Catalog [upgrade] VALID
    --> EM Repository [upgrade] VALID
    --> Oracle Text [upgrade] VALID
    --> Oracle XML Database [upgrade] VALID
    --> Oracle Java Packages [upgrade] VALID
    --> Oracle interMedia [upgrade] VALID
    --> Spatial [upgrade] VALID
    --> Data Mining [upgrade] VALID
    --> Expression Filter [upgrade] VALID
    --> Rule Manager [upgrade] VALID
    --> Oracle OLAP API [upgrade] VALID
    Miscellaneous Warnings
    WARNING: --> Database contains stale optimizer statistics.
    .... Refer to the 11g Upgrade Guide for instructions to update
    .... statistics prior to upgrading the database.
    .... Component Schemas with stale statistics:
    .... SYS
    .... OLAPSYS
    .... SYSMAN
    .... CTXSYS
    .... XDB
    WARNING: --> Database contains schemas with objects dependent on network
    packages.
    .... Refer to the 11g Upgrade Guide for instructions to configure Network ACLs.
    WARNING: --> EM Database Control Repository exists in the database.
    .... Direct downgrade of EM Database Control is not supported. Refer to the
    .... 11g Upgrade Guide for instructions to save the EM data prior to upgrade.
    PL/SQL procedure successfully completed.
    SQL> shutdown immediate;
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Pr
    oduction
    With the Partitioning, OLAP and Data Mining options
    C:\Users\Administrator>set ORACLE_HOME=C:\NewCIS270\product\11.1.0\db_1
    C:\Users\Administrator>set ORACLE_SID=KYLMAN
    C:\Users\Administrator>set PATH=%ORACLE_HOME%\bin
    C:\Users\Administrator>sqlplus "/as sysdba"
    SQL*Plus: Release 11.1.0.7.0 - Production on Fri Apr 29 20:22:49 2011
    Copyright (c) 1982, 2008, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL> startup upgrade;
    ORACLE instance started.
    Total System Global Area 440401920 bytes
    Fixed Size 1291072 bytes
    Variable Size 146803904 bytes
    Database Buffers 289406976 bytes
    Redo Buffers 2899968 bytes
    Database mounted.
    Database opened.
    SQL> @?
    SP2-0310: unable to open file "C:\NewCIS270\product\11.1.0\db_1.sql"
    SQL> @?/rdbms/admin/catupgrd
    DOC>#######################################################################
    DOC>#######################################################################
    DOC>
    DOC> The first time this script is run, there should be no error messages
    DOC> generated; all normal upgrade error messages are suppressed.
    DOC>
    DOC> If this script is being re-run after correcting some problem, then
    DOC> expect the following error which is not automatically suppressed:
    DOC>
    DOC> ORA-00001: unique constraint (<constraint_name>) violated
    DOC> possibly in conjunction with
    DOC> ORA-06512: at "<procedure/function name>", line NN
    DOC>
    DOC> These errors will automatically be suppressed by the Database Upgrade
    DOC> Assistant (DBUA) when it re-runs an upgrade.
    DOC>
    DOC>#######################################################################
    DOC>#######################################################################
    DOC>#
    DOC>######################################################################
    DOC>######################################################################
    DOC> The following statement will cause an "ORA-01722: invalid number"
    DOC> error if the user running this script is not SYS. Disconnect
    DOC> and reconnect with AS SYSDBA.
    DOC>######################################################################
    DOC>######################################################################
    DOC>#
    no rows selected
    DOC>######################################################################
    DOC>######################################################################
    DOC> The following statement will cause an "ORA-01722: invalid number"
    DOC> error if the database server version is not correct for this script.
    DOC> Shutdown ABORT and use a different script or a different server.
    DOC>######################################################################
    DOC>######################################################################
    DOC>#
    SELECT TO_NUMBER('MUST_BE_11_1') FROM v$instance
    ERROR at line 1:
    ORA-01722: invalid number
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Pr
    oduction
    With the Partitioning, OLAP and Data Mining options
    C:\Users\Administrator>
    Edited by: 855732 on Apr 29, 2011 6:59 PM

    Hi,
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Pr
    oduction
    With the Partitioning, OLAP and Data Mining options
    Your instance is started from the 10g ORACLE_HOME. You mentioned you started it from the 11g ORACLE_HOME but it's not the case.
    Here is an example with a 10gR2 database started from a 11gR2 ORACLE_HOME :
    SQL> startup upgrade pfile =/u01/app/oracle/product/10.2.0/db_1/dbs/initP102.ora
    ORA-32006: BACKGROUND_DUMP_DEST initialization parameter has been deprecated
    ORA-32006: USER_DUMP_DEST initialization parameter has been deprecated
    ORACLE instance started.
    Total System Global Area  167387136 bytes
    Fixed Size                  1335248 bytes
    Variable Size              88080432 bytes
    Database Buffers           75497472 bytes
    Redo Buffers                2473984 bytes
    Database mounted.
    Database opened.
    SQL> exit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing optionsNotice the Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 part.
    In your case it was Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0
    To solve the issue follow the official documentation, you have specific actions with oradim etc. to do (it's always a bit more complicated than with Unix/Linux but it's documented) :
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28300/upgrade.htm#insertedID8
    Best regards
    Phil

  • Database migrated from Oracle 10g to 11g Discoverer report performance issu

    Hi All,
    We are now getting issue in Discoverer Report performance as the report is keep on running when database got upgrade from 10g to 11g.
    In database 10g the report is working fine but the same report is not working fine in 11g.
    The query i have changed as I have passed the date format TO_CHAR("DD-MON-YYYY" and removed the NVL & TRUNC function from the existing query.
    The report is now working fine in Database 11g backhand but when I am using the same query in Discoverer it is not working and report is keep on running.
    Please advise.
    Regards,

    Pl post exact OS, database and Discoverer versions. After the upgrade, have statistics been updated ? Have you traced the Discoverer query to determine where the performance issue is ?
    How To Find Oracle Discoverer Diagnostic and Tracing Guides [ID 290658.1]
    How To Enable SQL Tracing For Discoverer Sessions [ID 133055.1]
    Discoverer 11g: Performance degradation after Upgrade to Database 11g [ID 1514929.1]
    HTH
    Srini

  • Challenge question and password migration from oimm 10g to 11g r2

    hi all,
    can you please tell me how do i do the migration of oim 10g user's password and challenge questions to oim 11g r2. Do we have any api to do it. these values are in encrypted format in oim db.
    thanks

    Run your sql query to output the encrypted fields to a flatfile or csv, and include the usr_login field so you know which user to assign the values to.
    Copy your config folder from your oim server and create a patch like c:\xellerate\config. In your code, when you connect to OIM, use this:
    System.setProperty("XL.HomeDir", "c:/xellerate");
    System.setProperty("java.security.auth.login.config", "c:/xellerate/config/authwl.conf");
    Now, when you read the file and have the encrypted field, use this code:
    String decryptValue= tcCryptoUtil.decrypt(encryptValue, "DBSecretKey");
    Now that you have the unencrypted value from your 9x instance, you can use the APIs to set challenge questions, and set user passwords with the 11g APIs.
    -Kevin

  • How to migrate Spatial SDE from 9.3 to 10 and Oracle 10g to 11g

    Hi,
    I would like ti post a question to ask a help.
    We have a task of migrating from Oracle 10g to 11g and at the same time from ArcGis 9.3 to version 10; SDE to SDO but no experience in this type of work.
    We are looking for any information that may help us understand what is the best strategy to complete the activity.
    Any help is very appreciated.
    Thanks in advance.

    Hello unnamed user8111502,
    In general you want to post your ArcSDE question to the ESRI forums at
    http://forums.arcgis.com/forums/32-Geodatabase-amp-ArcSDE
    But if you want some advice then I would suggest doing the Oracle upgrade first and the SDE upgrade second - for no other reason than this is what I did and had no problems.
    Upgrading Oracle from 10g to 11g is pretty straightforward, there is nothing "special" you need to do as regards your SDE middleware. Just do the 11g upgrade and then upgrade SDE to the 9.3.1 11g version (again not a big deal).
    You did not mention the storage type you are using. If you are using SDO_GEOMETRY, then one thing I did notice is the 11g upgrade process will drop and rebuild all your spatial indexes so if you have an huge amount of SDO spatial data on an underpowered machine then your upgrade person should bring a book along as it can take some time.
    Upgrading SDE from 9.3.1 to 10 is similarly pretty straightforward. ESRI has made extensive changes to their SDE schema data model but their underlying storage types and indexes and such have not changed. So there is no change to the data itself that I know of. The important thing is that all the ESRI users of your database need to upgrade to version 10 as well. Anyone still on a 9.3 client - this includes desktop users and servers (AGS, IMS) will no longer be able to use the database after the upgrade. As version 10 is backwards compatible with 9.3 it would make sense to have all your clients upgrade to 10 first (and troubleshoot any issues with this) and then do SDE last.
    Cheers and good luck,
    Paul

  • Porting data from Oracle8i to XML and from XML  to Oracle 10g

    Hai
    I have a client database (using oracle 8i) and a server database (oracle 10g).
    Due to lack of leased line connectivity i want to port these offline data from 8i to 10g
    using a modem(dial up connection).Is there is any way to port data from 8i to XML
    and from XML to 10g.
    thanks in advance
    dejies

    Thanks Nicolas,
    As per documentation, it seems to be difficult for export/import from Oracle8i to 10g. Is that any way to achieve this? I have to append the newly imported data with old or exisiting data into Oracle10g.
    Regards
    Nikhil

  • What is the function of _xdb and _xpt services in oracle 10g database.

    what is the function of xdb and xpt services in oracle 10g database.?

    Hi,
    If you are troubleshooting check the below link too:
    Issues installing.  Listener not working
    Best regards,
    Rafi.
    http://rafioracledba.blogspot.com/

  • How to install NW2004s abap and/or java on Oracle 10g on SLES 10 32 bit?

    Does anyone know - How to install NW2004s abap and/or java on Oracle 10g on SLES 10 32 bit?
    Does SAP offer the software for trial for this?
    Jay

    Hi Check the link page you shall get the PDF and then goto Page 50 .you shall find the details.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/3096e412-7308-2b10-4999-e16c64ce5eeb
    Thanks
    Rishi Abrol

  • Installing and configuring PHP for ORACLE 10g Release 1

    Hello Lads,
    Please can anybody help me finish PHP install...
    I have got this error when executing the following command..
    #make install
    Here is the error:
    /usr/local/php-5.1.4/sapi/cli/php: error while loading shared libraries: libclntsh.so.10.1: cannot open shared object file: No such file or directory
    Thanks!

    I answered in your other thread... the one without the I in the title :)
    nstalling and configuring PHP for ORACLE 10g Release 1

  • Catalog Migration Problem from 10g to 11g

    Hi,
    When i am trying to migrate catalog of 10g to 11g. They have some problems
    1. In obiee 10g (under root folder) it shows only around 5 dashboards. But actually when i am seeing in the I catalog manager of obiee 10g it shows 12 dashboards and pages.
    Can some please help me on this how to see the other dashboards and page in obiee 10g ( under root folder ).
    2. When i am trying to migrate the catalog folder in obiee 11g it also shows around 5 dashboards. And other dashboards are not seeing after migration.
    Can someone please help me on this how to see the other dashboards and pages in obiee 11g as well.

    Hi,
    In Webcat, there can be some contents that are inconsistent/invalid. And such contents have 0 byte size. Please check if dashboards files that are not visible and their corresponding .atr files have 0 byte size.
    Other possibility can be dashboards are hidden for the user-id you are using for login.
    Please mark as helpful/correct if this reply helps.
    Thanks,
    Vijay
    Edited by: user5814724 on Apr 8, 2013 4:58 AM

  • Oracle 10g or 11g

    sir,
    i want to do ocp.
    so , does it make any sense if am doing oracle 10g not 11g ?

    Your question isn't really clear. My guess is that you are asking if you should pursue the "Oracle Database 10g Administrator Certified Professional" or "Oracle Database 11g Administrator Certified Professional" certifications.
    In general, I always recommend pursuing the most recent certification unless you have a good reason why the older one is a better fit for you. If you are currently working for a company that is using Oracle 10G, then it might make sense to pursue the 10G certification. An added benefit of that is the ability to then take the 11G upgrade test, at which point you will be certified in both 10G and 11G.

  • OSDB migration and R3SETUP to support Oracle 10g

    Hi All,
    I have a SAP 46C with kernel 46D_EXT on AIX 5.3 with Oracle 10g.
    I want to do an heterogeneous system copy but the R3Setup that i have can only support Oracle up to 9.2.0.8.
    Do you have any idea for me in order to do my export ?
    regards.

    Hi,
    you may not use any installation CD for R3setup.
    There is a special Download Archive to install 4.6C with 10g
    46CSR2_7-10002583.SAR Installation Oracle 10.2.0 
    You can find it in the kernel PATCH (Not installation) section.
    You might require additional CDs from the Installation Section,
    but the R3setup has to be used from this extracted archive!
    And the corresponding *.R3S files must be from this archive as well.
    (which would be dbexport.r3s in your case
    Best regards
    Volker

  • Nested tables and multiset operators in Oracle 10g

    Consider the following scenario:
    We have two identical relations R and S defined as:
    CREATE TABLE R(
    a INTEGER,
    b table_type)
    NESTED TABLE b STORE as b_1;
    CREATE TABLE S(
    a INTEGER,
    b table_type)
    NESTED TABLE b STORE as b_2;
    where table_typ is defined as
    CREATE TYPE table_typ AS TABLE OF VARCHAR2(8);
    Suppose we have two instances of R and S, each having one tuple as follows: R(1,table_typ('a','b')) and S(1,table_typ('b','c')).
    I would like to "merge" these two simple instances (e.g., achieve the effect of a simple SELECT * FROM R UNION SELECT * FROM S query) and obtain the following resulting instance: Result(1,table_typ('a','b','c')).
    Would this be possible in Oracle 10g? A simple UNION does not work (I got a "inconsistent datatypes: expected - got SCOTT.TABLE_TYP" error). I also took a look at the MULTISET UNION operator over nested tables available in Oracle 10g, but it doesn't seem to get me anywhere. Any help on this would be greatly appreciated.
    Thank you,
    Laura

    Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    SQL> CREATE OR REPLACE TYPE table_type AS TABLE OF VARCHAR2 (8);
      2  /
    Type created.
    SQL> CREATE TABLE r(
      2    a INTEGER,
      3    b table_type)
      4    NESTED TABLE b STORE as b_1;
    Table created.
    SQL> CREATE TABLE s(
      2    a INTEGER,
      3    b table_type)
      4    NESTED TABLE b STORE as b_2;
    Table created.
    SQL> INSERT INTO r VALUES (1, table_type ('a', 'b'));
    1 row created.
    SQL> INSERT INTO s VALUES (1, table_type ('b', 'c'));
    1 row created.
    SQL> COLUMN c FORMAT A10;
    SQL> SELECT r.a, r.b MULTISET UNION DISTINCT s.b c
      2  FROM   r, s
      3  WHERE  r.a = s.a;
             A C
             1 TABLE_TYPE('a', 'b', 'c')
    SQL>

Maybe you are looking for

  • Some songs don't show up on the playlist after syncing

    All of the songs on the playlist show up on my iPhone. But they just aren't in the playlists. It seems like it's the older songs I had before I transfered everything onto my new computer that are getting left off. All the songs are checked and play f

  • Using DBMS_JOB,SUBMIT

    Hello, I would like to find out how to use DBMS_JOB.SUBMIT to run a certain procedure evry morning at say 5:00 AM Thanks Doug

  • Descarga de libros

    Tengo el adobe digital edition 3.0, el ID autorizado; igual  ME SALE QUE:  "NO SE HA ENCONTRADO APLICACIÓN" ¿Por qué?

  • Dynamic Table Selection in Forms?

    Hi, In form creation the options available are, 1. Selecting schema name(only one) 2. Selecting table name(only one). My requirement is we are having same table in many schemas. We need to create a form on this table but user should be given with a l

  • Anyone got a email for apple uk customer services

    theres no email contact on the site only phone numbers and i tried that i want to contact a manager or someone higher up