How to update the millions of records in oracle database?

How to update the millions of records in oracle database?
table have contraints & index.how to do this mass update.normal update taking several hours.

LostWorld wrote:
How to update the millions of records in oracle database?
table have contraints & index.how to do this mass update.normal update taking several hours.Please, refer to Tom Kyte's answer on your question
[How to Update millions or records in a table|http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:6407993912330]
Kamran Agayev A. (10g OCP)
http://kamranagayev.wordpress.com
[Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]

Similar Messages

  • How to update the field EKET-WEMNG (delivered) in database using BAPI.

    Dear All,
    How to update the values to good received field for EKET WEMNG (delivered) in database using BAPI and please give me the standard bapi and explain the process  how to update to database bcoz am new to bapi concepts and i will be thankful to your help.
    Regards,
    Tazeer.

    this field is only updated when you do a goods receipt. 
    So the only BAPI that can do this is the BAPI GoodsMovement  (BUS2017)

  • How to upgrade the 9.2.0.7 oracle database to 10gR2(10.2.0.1.0)

    Hi How can I upgrade the 9.2.0.7 oracle database to 10gR2(10.2.0.1.0)?
    What is the oracle note / doc id.
    What are pre,upgrade and post upgrad task?
    what are the various check lists?
    I request your highness to do the needful in providing the info
    Thanks
    Naveen

    You can start by reading the Upgrade guide<br>
    <br>
    Nicolas.

  • How to convert the .dmp file into my oracle database

    There is a .dmp file which produced by the oracle for NT.
    How could I use this .dmp file to create my oracle for Linux
    database?
    Please help me to solve this problem.
    Thank you very much!
    The reply Email also send to [email protected] will be
    appreciated.
    null

    You will first need to create your database on your linux
    platform complete with all necessary tablespaces and datafiles.
    If you were going from unix to unix and each platfrom's datafile
    file structure was the same then only the system tablespace
    would need to be pre-created, import would have done the rest.
    However, you are going from nt to unix so the tablespace create
    statements will have invalid paths.
    So, list out the view dba_tablespaces. Create a starter
    database (system tablespace complete with installed options).
    The system tablespace should be the same (or bigger) at the one
    on the nt platform. Then create these same tablespaces on your
    linux platform. Once the database has been created complete with
    all tablespaces then use the import utility to populate your
    database.
    Done.
    Wan-rong Jih (guest) wrote:
    : There is a .dmp file which produced by the oracle for NT.
    : How could I use this .dmp file to create my oracle for Linux
    : database?
    : Please help me to solve this problem.
    : Thank you very much!
    : The reply Email also send to [email protected] will be
    : appreciated.
    null

  • How to get the available profile names in oracle database

    How we can get the available profile names in oracle 11g

    Hi;
    It isnt to check from dictionary ?
    select * from dictionary where table_name like '%PROFILE%'
    PS:Please dont forget to change thread status to answered if it possible when u belive your thread has been answered, it pretend to lose time of other forums user while they are searching open question which is not answered,thanks for understanding
    Regard
    Helios

  • How to find the users of teamviewer using oracle database?

    Friends,
    DB: 9iR2
    OS: RHEL AS 3
    Client pc: win xp
    We have 3 branches. One of our user accessed our application from the other branch using teamviewer.
    is it possible to find the user from the database side?
    i mean from the v$session or from any other table.
    thanks

    Hello,
    you can use folloiwng script to see the OS user, database user and the programme they are using to connect to database.
    SET TRIMSPOOL ON TRIMOUT ON ECHO OFF VERIFY OFF HEAD OFF FEEDBACK ON LIN 150 PAGES 10000
    set linesize 150
    CLEAR BREAKS COMPUTES
    COL type_grp NOPRINT
    COL logon_time NOPRINT
    COL logontime FOR A14
    COL osuser FOR A21
    COL username FOR A28
    COL lastcall FOR A14
    COL program FOR A50
    --COL program   FOR A&plen
    BREAK ON type_grp SKIP 1
    --PROMPT
    PROMPT **************************************************************** SESSIONS INFORMATION ****************************************************************
    PROMPT
    PROMPT |------- O/S -------|--------- ORACLE ----------| Logon | Last Call | |
    PROMPT |Username | Pid |Username | Pid | 'SID,Ser#'| DateTime | DateTime | TYPE | PROGRAM
    PROMPT |_________|_________|_________|_____|___________|______________|______________|__________|____________________________________________________________
    SELECT ' '||rpad(nvl(osuser,p.username), 9) ||lpad(nvl(s.process,p.spid), 10) osuser,
    rpad(nvl(s.username,' '),9) ||lpad(decode(s.sid,'','',p.spid), 6) ||lpad(decode(s.sid,'','',''''||s.sid||','||s.serial#||''''),12) username,
    to_char(logon_time,'mm/dd hh24:mi:ss') logontime,
    to_char(sysdate - (s.LAST_CALL_ET / 86400),'mm/dd hh24:mi:ss') lastcall,
    s.type,
    nvl(s.program, p.program) program,
    s.type type_grp,
    logon_time
    FROM v$session s, v$process p
    WHERE spid is not null
    AND s.paddr (+) = p.addr and s.username not in('SYS','SYSTEM','SYSMAN','DBSNMP')
    ORDER BY s.type, logon_time, s.sid;
    set head on;
    Regards,
    Anil Malkai

  • How to updated the data into Database table

    Hi Guy's,
    Please help me Using Tabstrip control how to updated the related infotype records into related database table.
    Thanks and Regards,
    Sai.

    Hi Guy's,
    Please help me Using Tabstrip control how to updated the related infotype records into related database table.
    Thanks and Regards,
    Sai.

  • How to update the recorded scripts as per the new interface

    Hi,
    I am using E-tester 8.20 and generating the scripts by record and playback. Here my problem is how to update the scripts when new version of user interface (UI) comes. For example, page1 of UI has recorded with 5 text boxes. In the new version of UI, one more text box (6th text box) has been added and that is mandatory filed. So I have to update my scripts as per the new interface to enter a value in the 6th text box. Is there any way to do it? Any kind of help should be appreciated.
    Regards,
    Vinod

    Hi
    Are you talking functional or load scripts?
    Regards
    Alex

  • How to update the data in sqlserver table using procedure in biztalkserver

    Hi,
    Please can any one answer this below question
    how to update the data in sqlserver table using procedure in biztalkserver
    while am using executescalar,typedprocedure getting some warning
    Warning:The adapter failed to transmit message going to send port "SendtoSql1" with URL "mssql://nal126//MU_Stage2?". It will be retransmitted after the retry interval specified for this Send Port. Details
    Please send me asap....
    Thanks...

    Hi Messip,
    A detailed error would have helped us to answer you more appropriately but
    You can follow the post which has step by step instructions, to understand how to use Stored Procedure:
    http://tech-findings.blogspot.in/2013/07/insert-records-in-sql-server-using-wcf.html
    Maheshkumar
    S Tiwari|User
    Page|Blog|BizTalk
    2013: Inserting RawXML (Whole Incoming XML Message) in SQL database

  • Updating the HR master records from Buffer.

    Hi All,
    We have requirement to update the 0008 infotype sub type 1 when 0008 infotype sub type 0 record is updated using the dynamic action. We have created the step in the dynamic action with F step and in the sub routine using the HR_INFOTYPE_OPERATION function module we are updating the 0008 info type for sub type 1.
    But when we click on the save button the FM is getting called and data is stored in the buffer only. When i refresh the transaction PA30 the data is get refreshed and there is no data available for 0008 info type and sub type 1.
    Can you please give me some work around to update the 0008 infotype sub type 1 when 0008 info type sub type 0 is updated or let me know how to update the buffer to the database table.
    Thanks,
    Rajaraman K.

    Thats because of Logical Unit of Work violation, you cannot use BDC in Dynamin Actions or EVEN User Exit. The fm HR_INFOTYPE_OPERATION uses BDC inside it's code. So to overcome this, you have to write a small program use your update logic in that and call that program as SUBMIT and RETURN from inside the Dynamic Actions (subroutine).
    You can search on SUBMIT and RETURN to get the ball rolling.

  • How to find the number of records per months  in cube

    Hi,
      how to find the number of records per months for my all cubes?
      Can i use the ListCube transaction to find totl number f records per cube monthwise ?
    Jimmy

    Hi,
    Here is a program to generate no of records and list of ODS and Cubes in Active version.Schedule this program in background and create a cube to load this information and schedule to the data from the file generated by the program. Schedule this all per you requirement.
    1.Copy the code into your Z<programname> from Se38.
    2.change the FILENAME in CALL FUNCTION 'GUI_DOWNLOAD' in the program to the location from where you can pick the information to load data to cube(eg Application server).
    3.Save program.
    4.Schedule the program in background as required
    5.Create cube with infoobjects to hold no of records and Infoprovider name
    6.Load this cube based on event after the program job is done.
    Hence you can report on this cube to see no of records in  CUBE or ODS in your box.
    Please find the code below.
    Cheers,
    Kavitha Kamesh.
    types: begin of itabs ,
          tabname type dd02l-tabname,
          end of itabs.
    data: itab type itabs occurs 0 with header line.
    data: counter type i.
    data: begin of itab1 occurs 0,
    tabname type dd02l-tabname,
    counter type i,
    end of itab1.
    DATA: ITABTABNAME TYPE STRING.
    DATA: LENGTH TYPE I.
    DATA: OBJECT(30).
    data: str(6) type c.
    select  tabname from dd02l into table itab where ( tabname LIKE  '/BIC/F%' or tabname LIKE  '/BIC/A%00' )
    and TABCLASS = 'TRANSP' and AS4LOCAL = 'A'.
    loop at itab.
      select count(*) from (itab-tabname) into counter.
      str = itab-tabname.
      if str = '/BIC/F'.
    LENGTH  = STRLEN( ITAB-TABNAME ).
      SHIFT  itab-tabname BY 6 PLACES LEFT.
    ELSEIf  str = '/BIC/A'.
      SHIFT  itab-tabname BY 6 PLACES LEFT.
      LENGTH  = STRLEN( ITAB-TABNAME ).
    LENGTH = LENGTH - 2.
    endif.
      itab1-tabname = itab-tabname(LENGTH).
      append itab1.
      itab1-counter = counter.
      clear itab-tabname.
      clear:  COUNTER.
    endloop.
    *********** itab1
    loop at itab1.
    write:/ itab1-tabname, itab1-counter.
    endloop.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
    *   BIN_FILESIZE                    =
        FILENAME                        = 'c:records.xls'
        FILETYPE                        = 'ASC'
    *   APPEND                          = ' '
        WRITE_FIELD_SEPARATOR           = ','
    *   HEADER                          = '00'
    *   TRUNC_TRAILING_BLANKS           = ' '
    *   WRITE_LF                        = 'X'
    *   COL_SELECT                      = ' '
    *   COL_SELECT_MASK                 = ' '
    *   DAT_MODE                        = ' '
    *   CONFIRM_OVERWRITE               = ' '
    *   NO_AUTH_CHECK                   = ' '
    *   CODEPAGE                        = ' '
    *   IGNORE_CERR                     = ABAP_TRUE
    *   REPLACEMENT                     = '#'
    *   WRITE_BOM                       = ' '
    *   TRUNC_TRAILING_BLANKS_EOL       = 'X'
    *   WK1_N_FORMAT                    = ' '
    *   WK1_N_SIZE                      = ' '
    *   WK1_T_FORMAT                    = ' '
    *   WK1_T_SIZE                      = ' '
    * IMPORTING
    *   FILELENGTH                      =
      TABLES
        DATA_TAB                        = itab1
    *   FIELDNAMES                      =
    * EXCEPTIONS
    *   FILE_WRITE_ERROR                = 1
    *   NO_BATCH                        = 2
    *   GUI_REFUSE_FILETRANSFER         = 3
    *   INVALID_TYPE                    = 4
    *   NO_AUTHORITY                    = 5
    *   UNKNOWN_ERROR                   = 6
    *   HEADER_NOT_ALLOWED              = 7
    *   SEPARATOR_NOT_ALLOWED           = 8
    *   FILESIZE_NOT_ALLOWED            = 9
    *   HEADER_TOO_LONG                 = 10
    *   DP_ERROR_CREATE                 = 11
    *   DP_ERROR_SEND                   = 12
    *   DP_ERROR_WRITE                  = 13
    *   UNKNOWN_DP_ERROR                = 14
    *   ACCESS_DENIED                   = 15
    *   DP_OUT_OF_MEMORY                = 16
    *   DISK_FULL                       = 17
    *   DP_TIMEOUT                      = 18
    *   FILE_NOT_FOUND                  = 19
    *   DATAPROVIDER_EXCEPTION          = 20
    *   CONTROL_FLUSH_ERROR             = 21
    *   OTHERS                          = 22
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

  • How to find the number of records in ods?

    how to find the number of records in ods?
    Pls suggest the solution apart going to the table of ods and seeing the number of records.
    Is there any program or function module to see the number of records in ods?
    For eg: SAP_INFOCUBE_DESIGNS is a program which gives the detail (number of records) of infocube.

    Hi,
    I was looking at this and found the following tables that may be of help.
    One of these tables will include a summary of the record count of all the tables in your system based on the last time each table had it's database statistics calculated:
    DBSTATTADA
    DBSTATTDB2
    DBSTATTDB4
    DBSTATTDB6
    DBSTATTINF
    DBSTATTMSS
    DBSTATTORA
    We run on an Oracle database so the table record counts can be taken from DBSTATTORA. Type in AZ in table selection field in SE16 to restrict the output to ODS (or DSO) tables only.
    The record count is at the time indicated in the timestamp field. Obviously this is not real time but should not be too out of date - if it is you may be having performance issues and should get your DBA / Basis to run a full refresh of DB stats.
    Hope this helps, alhtough not real time the table should give you a decent indication of the size of all your ODS objects (or any other table for that matter!)

  • How to update the table value in the valuechange event?

    I have an input field in the datatable with the valueChangeListener
    <rich:dataTable id="cart" value="#{cart.cartList}" var="item">
    <h:inputText value="#{item.cost}" id="qty" valueChangeListener="#{items.updateCost}" onchange="submit()">
    <h:outputText value="#{item.errorMsg}"> </h:outputText>
    in the backing bean
         Item item = (Item) model.getRowData();
    // do some update, if the cost too larger, change to max_cost
         item.setCost(max_cost);
         item.setErrorMsg("Error Msg");
    After calling the valuechange method, the screen output doesn't update the cost.
    How to update the table value in the valuechange event?

    As you're misusing the valueChangeListener to set another input field, you need to skip the update model values phase. Otherwise the value set in the valueChangeListener will be overridden by the submitted value. You can do this by calling the FacesContext#renderResponse() inside the valueChangeListener method. This will shift the current phase immediately to the render response phase, hereby skipping the update model values and invoke application phases.

  • How to update the condition price in the sales order for all the items

    Hi,
    How to update the condition price for all the itmes in the sales order to carry out the new price automatically through a stand alone program, for all the orders in the billing due list table?
    Thanks,
    Balaram

    Hi,
    There is a change in the requirement.
    Scenario:
    I have created a sales order with some 4 condition types, in that 2 condition types are of class A & B and the other two is of class C. Here I need to update the condition price of class A & B only and the remaining condition types should not get update even though there is an updated price is available.
    For the above scenario, I need to write a standalone program. Do we have any function modules to update the price of the single condition in the sales order? Please tell me how we can update the sales order at item condition level.
    Thanks.
    Balaram

  • How to update the condition price in sales order while creating the invoice

    Hi,
    How to update the condition price in the sales order to carry out the new price while creating the invoice?
    While creating the invoice it should update the condition price in sales order.
    Thanks,
    Balaram

    No, pricing is not there in delivery.
    I found an exit for VF01transaction where we can update the price in order.
    Can you please tell me how to update the price if I have the order, material numbers and conditions number?
    Thanks,
    Balaram

Maybe you are looking for

  • Animated Globe - Please help!

    Hi Everyone, First off let me please start by saying thanks in advance! I was hoping someone could help me out. I wanted to add the rotating globe to a family movie but my OS is messed up! Can anyone just create an MOV file for me and email it?? All

  • CC in 64-bit

    My Photoshop CS6 Extended, as well as my other CS6 apps, are all 64-bit.   I donwloaded Photoshop CC and it appears to be a 32-bit app (it is in the Program Files (x86) folder).  Is there a 64-bit version or will there be?  Bridge CC did download as

  • Enable user to change channels belonging to a task

    Hi to all, I want to create a SubVI which enables the user to configure channels for a task. When the user finished adding channels to the task, the task should be returned to my main VI. I attached an image of the SubVi (I use the German version, bu

  • IPhoto in 10.7.2 just killed a dozen family movies! :-(

    I just upgraded to 10.7.2 (with several problems: intermittent success in TimeCapsule backup, Mail program that won't accept my password and tells me I'm not conencted, but still sends and and received e-mails) but the latest glitch is particularly i

  • How can I best keep a current iPhoto file between two computers?

    I currently have an iMac and a Macbook Pro. I would like to be able to use iPhoto on both computers, but what I do with one computer, it doesn't sync with the other (sorry I didn't get Mobile Me when I could!!). Anyone have an idea of how best to man