How to upgrade more than 5 million records without error ORA-00257:

Hello

I need to update some of the columns in my table which is contains approximately 5 million records
I already tried this

Update AAA_CDR
Set RoamFload = Null;

but the problem is that I have the error message ("ORA-00257: archiver error.") Connect internal only, until this that released.) and the update consume about 6 hours with no results,

can I make orders (Alter system set db_recovery_file_dest_size = 50G) and the problem resolved.

but I need to be updated about 15 columns of this table to be null, what should I do to overcome this message and update the table within a reasonable


Please help me,

Hello

You can consider the following option.

1. create a new table AAA_CDR_BKP as being equal to the structure of table AAA_CDR


Create Table AAA_CDR_BKP as
Select * from AAA_CDR where 1=2;

2. check the original array (AAA_CDR) as of the clues in this regard. Make sure you take the DDL of these indices, because you will need it later.

3. now you can insert records from AAA_CDR to AAA_CDR_BKP


Insert /*+APPEND */ into AAA_CDR_BKP
select col1,col2,col3,null,null,null,null,null,col9,null,col11
from AAA_CDR;

Commit;

where you will pass nulls for the required columns. Also make sure you have space on the tablespace as equal to table AAA_CDR

You can get the size of the table in


select bytes/(1024*1024*1024) size_in_GB from user_segments where segment_name = 'AAA_CDR';

Once finished insert please post the transaction.

4 delete the index (if any) of the original table (AAA_CDR)
5. rename the original in AAA_CDR_ORG table
6. Rename AAA_CDR_BKP to AAA_CDR
7 run the DDL scripts on step 2 to re-create the index.
8. delete the AAA_CDR_ORG table after investigating the whole operation.

Using this method, you'll generate less archive logs and the process will be faster.

See you soon
LIX.

Tags: Database

Similar Questions

  • How to export more than 64000 SqlDeveloper record to Excell

    Hello

    my request to recover about 90 000 records and I should export these recodrs for the Excel file, but when finished exporting I just found about 65 000 recodrs in Excel file, is it possible to export more than 65 K in file Excel, or divide the result of the application of two files,
    also I use Oracle 10 G and SqlDeveloper Version 3.0.04.


    Please help me,

    To manage the limit of xls, SQLDeveloper will create one or more new leaves in the file for the other lines. When you open your spreadsheet, you should see a tab at the bottom of each sheet created.

    Joyce Scapicchio
    Team SQLDeveloper

  • How to combine more than 12 files into a PDF file?

    How to combine more than 12 files in a single PDF file? That's why I've upgraded to Adobe Pro XI.

    Hi Marshall32,

    If you have Acrobat Pro, you can combine more than 12 files by choosing File > create > combine files into a single PDF file. 12 file limit is only imposed by the online Adobe PDF Pack service. Acrobat itself isn't such a limit.

    (If you haven't already done so, you can download Acrobat here: https://cloud.acrobat.com/acrobat.)

    Best,

    Sara

  • My MacBook Pro was built in mid-2009, I understand that I won't be able to get the next Sierra of OS.  I just put a new hard drive 700 GB, more I added a new battery to include a new CD/DVD drive.  I spent more than 400 million dollars. What I need to by

    My MacBook Pro was built in mid-2009, a 2.6 GHz, 13-inch, I just put a new hard drive 700 GB and I added a new battery to include a new CD/DVD drive.  I spent more than 400 million dollars.

    I understand that I won't be able to get the next Sierra of OS. I need to by a new Mac?

    Talk to the people the more I would get if I turn in I'd get is about are about $ 100 million.  Please tell me it isn't so.

    If you want Siera you will need a new Mac, but you can continue to use the old one as long as you want.

  • HOW AN OPEN MORE THAN ONE WINDOW ON SCREEN SAME TIME?

    In older versions of window, I could easily open several windows on the screen.  With Windows 7, still cannot find out how to have more than one window open at the same time... work very useful when transferring photos around or bank statements to open and my own Quicken data transfer!  Pls advise.

    If you mean a window of Windows Explorer (file)... simply...

    1. open a window and go to the first folder.
    2 - Again open Windows Explorer and navigate to the location 2.
    Tip: Shift + click (or click with the middle button of the mouse) icon in the taskbar to open a 2nd copy of the same program.

    If it was useful, you can vote by clicking on the green triangle. If it solves the problem, click on propose as answer. Thank you!

  • How to incorporate more than 393 characters in form fields

    How to incorporate more than 1000 characters in the field.

    I wrote a template xsl that is about 2 pages.
    How do I incorporate into the word template fields.

    1. create a new model and report it as a model of void
    2 import in the use of the rtf

    where

    APPCODE is the Application code that you assigned to the submodel in the template Manager. By example, if you associate the application claims this model, enter "AR".

    TEMPLATE_CODE is the Model Code you assigned to the submodel in the template Manager. For example, AR_CommonComponents.

    lang is the language ISO 639 code two letters for the language of template specified for the submodel in the template Manager (for example, English is "en"). This entry must be lowercase.

    TERR is the two-letter ISO 3166 country the territory of model specified for the submodel in the template Manager (for example, United States of America is 'US'). This entry must be uppercase.

    Prasanna-

  • Played Virtual City 2: video games Paradise Resort & pickers on I win for more than a month, now has error vc2: paradise resort ifn.

    Played Virtual City 2: video games Paradise Resort & pickers on I win for more than a month, now has error vc2: paradise resort ifn. has stopped working & gatherers ifn. has stopped working all of the games I try to play with NFI in the files has the same error.  How can I get my games to play again?

    original title: problems with ifn. files

    Hello

    1. are you the game online or downloaded the game on the computer?

    2 have you made changes on the computer before this problem?

    3. If you play the online game, so what web browser do you use to play the game?

    If you have downloaded the game on the computer, I suggest you to try to uninstall and reinstall the game and check if this may help.

    Step 1: Uninstall or change a program:

    http://Windows.Microsoft.com/en-us/Windows-Vista/uninstall-or-change-a-program

    Step 2: Install a program:

    http://Windows.Microsoft.com/en-us/Windows-Vista/install-a-program

    If the given steps did not help, it would be better to post the same question in the support forum Virtual City for further assistance.

    http://www.virtualcitygame.com/

    Hope the information is useful.

  • How to upgrade to photoshop cs5 to cs6, without contract? Buy it just like in the stuck?

    How to upgrade to photoshop cs5 to cs6, without contract? Buy it just like in the stuck?

    If you go to the page linked below you should be able to click on the button buy for any product that you intend to upgrade and which should follow through with the purchase, you need to do.

    http://www.Adobe.com/products/catalog/CS6._sl_id-contentfilter_sl_catalog_sl_software_sl_c reativesuite6.html

    According to the plan released, CS6 will be the latest version, so that you can purchase a license.  Future versions al will be through a subscription

  • Performance problem of the migration of more than 500 million using OWB records.


    I need to migrate 500 millions of records. The structure of the table is similar to the table of scott.employee with the only exception being that the HIREDATE column is NOT NULL. The table is partitioned by using month-wise column HIREDATE. The target table is the same as the source.

    I used a direct correspondence with the approach based on the game but it run for more than 10 hours. I then tried to create another temporary table to store the date. I've first grouped column date and got the number for number of records by date. I have it stored in a temporary table. Then I took the first 10 dates and it is attached with the source table and inserted the result set into my target table. The performance is slightly better but still not acceptable.

    Can someone please help?

    I have the necessary indexes in place and oracle is using them. I don't know a lot about the ELP language (using OWB 10 g 2 and so I can use it), but if I understand good documentation, it changes the identity simply and does not move the data. In this case, I can't use it because I want the source data too.

    You will appreciate all the assistance. Thanks in advance.

    Concerning

    I ask you to remove data from the source.

    All I'm asking is:
    you said that your target tbal has all the lines.
    So instead of insert source to target why not make your transformation on the source table and rename the source table to target the tbalename and remove the taret table and build your constraints on source table IE

    Staged tbal - CBC - 500 million lines
    Target - TGT - 0 rows table

    create the table src_copy in select * from src - so now you have a copy of your table in the source
    do your cleaning on lines 500 million on the table of data src_copy
    build constraints on table src_copy
    drop table tgt
    Rename src_copy table table tgt.

    Do not see a problem in doing this.

  • How to extract more than a records from xml file

    I want to extract several records in the xml file

    Now, I'm able to extract only one record at a time
    using the

    Select xmltype(transaction_document).extract('//IrcPostingContentsVlEORow/CreationDate/text()').getStringVal (CreationDate)
    of hr_api_transactions
    where transaction_ref_table = 'PER_ALL_VACANCIES. '
    and transaction_ref_id = 4693;
    How can I find or retrieve multiple records?

    Hello

    and appear in several places in the document, please be specific.
    Ideally give the full path to access the data.

    It goes the same for : want you PerRequisitionsEORow or PerAllVacanciesEORow?

    Here's an overview of what you can do, assuming that you want the data from the PerAllVacanciesEORow element:

    select x.*
    from hr_api_transactions t,
         xmltable('//PerAllVacanciesEORow'
                  passing xmltype(transaction_document)
                  columns requisition_id  number        path 'RequisitionId',
                          organization_id number        path 'OrganizationId',
                          name            varchar2(100) path 'Name',
                          creation_date   varchar2(30)  path 'CreationDate'
                 ) x
    where t.transaction_ref_table = 'PER_ALL_VACANCIES'
    and t.transaction_ref_id = 4693
    ;
    
    REQUISITION_ID ORGANIZATION_ID NAME                 CREATION_DATE
    -------------- --------------- -------------------- -----------------------
              7471                 yogesh               2011-01-29 20:01:57.0
    
  • OBIEE 11.1.1.6.1 ranks BP1 how to import more than 2500?

    Hello
    I use OBIEE 11.1.1.6.2 BP1. I want to increase the number of lines that are exporting to an Excel sheet which is 2500 (by default) for the moment. Here is the configuration of th of my instance configuration file:
    but I always download not more than 2500.
    Any help would be appreciated!

    <? XML version = "1.0" encoding = "UTF-8" standalone = 'no '? >
    <! - the file of Configuration of oracle Business Intelligence Presentation Services - >
    < WebConfig xmlns="oracle.bi.presentation.services/config/v1.1" >
    < ServerInstance >

    <!-Configuration of this setting is managed by Oracle Enterprise Manager Fusion Middleware control-> < CatalogPath > D:\OBIEE_Home\instances\instance1/bifoundation/OracleBIPresentationServicesComponent/coreapplication_obips1/catalog/SampleAppLite < / CatalogPath >

    coreapplication_OH1115437442 < DSN > < / DSN >

    < record >

    < writers >
    <! - this Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware control - > < implementation of the Writer = "FileLogWriter" name = "Journal of Global file" writerClassId = "1" dir = '{ORACLE_BIPS_INSTANCE_LOGDIR %}' fichierVariables = "sawing" maxFileSizeKb = "10240" filesN = "10" fmtName = "ODL-Text" / >
    <! - this Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware control - > < implementation of the Writer = "CoutWriter" name = "Journal of the Console" writerClassId = "2" maxFileSizeKb = "10240" / >
    <! - this Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware control - > < implementation of the Writer = "EventLogWriter" name = "The system logger" writerClassId = "3" maxFileSizeKb = "10240" / >
    <!-the following writer is not centrally controlled->
    < implementation of the writer = "FileLogWriter" name = "Webcat Upgrade Logger" disableCentralControl = "true" writerClassId = "5" dir = '{ORACLE_BIPS_INSTANCE_LOGDIR %}' filePrefix = "webcatupgrade" maxFileSizeKb = '2147483647' filesN = '1' fmtName = "ODL-Text" / >
    < / writers >

    < WriterClassGroups >
    < name WriterClassGroup = "All" > 1,2,3,5 < / WriterClassGroup >
    < name WriterClassGroup = 'File' > 1 < / WriterClassGroup >
    < name WriterClassGroup = "Console" > 2 < / WriterClassGroup >
    < name WriterClassGroup = "EventLog" > 3 < / WriterClassGroup >
    < name WriterClassGroup = "UpgradeLogFile" > 5 < / WriterClassGroup >
    < / WriterClassGroups >

    < filter >
    <! - these FilterRecords are updated to centralized configuration - >
    <! - this Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware control - > < FilterRecord writerClassGroup = "path" = "given" information = '1' warning = "31" error = "31" trace = "0" incident_error = "1" / >
    <! - this Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware control - > < FilterRecord writerClassGroup = "The file" path = "saw.mktgsqlsubsystem.joblog" = "1" = "31" error warning information = "31" trace = "0" incident_error = "1" / > "

    <!-the following FilterRecords not controlled centrally->
    < FilterRecord writerClassGroup = "UpgradeLogFile" disableCentralControl = "true" path = "saw.subsystem.catalog.initialize.upgrade" = "1" = "32" error warning information = "32" trace = "1" incident_error = "32" / > "
    < FilterRecord writerClassGroup = "UpgradeLogFile" disableCentralControl = "true" path = "saw.subsystem.catalog.upgrade" = "1" = "32" error warning information = "32" trace = "1" incident_error = "32" / > "
    < / Filters >

    < / recording >

    <>Catalog
    < UpgradeAndExit > false < / UpgradeAndExit >
    < / catalogue >
    <! - this Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware control - > < listening port = "9710" ssl = "false" / >
    <!-this Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware control-> < ssl JavaHostProxy = "false" >
    < host >
    <! - this Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware control - > < host name = "coreapplication_obijh1" address = "tdc03srv161.g - mwater.com.au" port = "9810" / >
    < / hosts >
    < / JavaHostProxy >
    < alerts >
    <! - this Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware control - > < ssl ScheduleServer = "false" ccsPrimary = "tdc03srv161.g - mwater.com.au" ccsPrimaryPort = "9706" / >
    <!-Configuration of this setting is managed by Oracle Enterprise Manager Fusion Middleware control-> < OfflinePresentationServicesURL > http://10.12.3.161:9704/analytics/saw.dll < /OfflinePresentationServicesURL & gt;
    < / alerts >
    < ActionFramework >
    <!-Configuration of this setting is managed by Oracle Enterprise Manager Fusion Middleware control-> < ActionExecutionServiceEndPoint > http://10.12.3.161:9704 / Analytics/actions/ActionExecutionService < / ActionExecutionServiceEndPoint >
    <!-Configuration of this setting is managed by Oracle Enterprise Manager Fusion Middleware control-> < TargetBrowsingServiceEndPoint > http://10.12.3.161:9704 / Analytics/actions/ActionRegistryService < / TargetBrowsingServiceEndPoint >
    <!-Configuration of this setting is managed by Oracle Enterprise Manager Fusion Middleware control-> < LocationServiceEndPoint > http://10.12.3.161:9704 / Analytics/actions/LocationService < / LocationServiceEndPoint >
    <!-Configuration of this setting is managed by Oracle Enterprise Manager Fusion Middleware control-> < WorkflowServer > http://10.12.3.161:9704 < / WorkflowServer >
    < WorkflowService > ANALYTICS < / WorkflowService >
    < WorkflowSystem > obiaftests < / WorkflowSystem >
    < / ActionFramework >
    < security >
    <! - this Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware control - >
    < ClientSessionExpireMinutes > 210 < / ClientSessionExpireMinutes >
    < / security >
    < ODBC >
    <! - this Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware control - >
    < ResultRowLimit > 65000 < / ResultRowLimit >
    < / ODBC >
    < views >
    < Center >
    <! - this Configuration setting is managed by Oracle Business Intelligence Enterprise Manager - >
    < DefaultRowsDisplayedInDelivery > 75 < / DefaultRowsDisplayedInDelivery >
    <! - this Configuration setting is managed by Oracle Business Intelligence Enterprise Manager - >
    < defaultRowsDisplayedInDownload > 2500 < / DefaultRowsDisplayedInDownload >
    <! - this Configuration setting is managed by Oracle Business Intelligence Enterprise Manager - >
    < DisableAutoPreview > false < / DisableAutoPreview >
    < MaxVisibleColumns > 300 < / MaxVisibleColumns >
    < MaxVisiblePages > 1000 < / MaxVisiblePages >
    < MaxVisibleRows > 1000 < / MaxVisibleRows >
    < MaxVisibleSections > 25 < / MaxVisibleSections >
    < DefaultRowsDisplayed > 30 < / DefaultRowsDisplayed >
    < / Center >
    < table >
    <! - this Configuration setting is managed by Oracle Business Intelligence Enterprise Manager - >
    < DefaultRowsDisplayedInDelivery > 75 < / DefaultRowsDisplayedInDelivery >
    <! - this Configuration setting is managed by Oracle Business Intelligence Enterprise Manager - >
    < defaultRowsDisplayedInDownload > 25000 < / DefaultRowsDisplayedInDownload >
    < MaxVisiblePages > 1000 < / MaxVisiblePages >
    < MaxVisibleRows > 1000 < / MaxVisibleRows >
    < MaxVisibleSections > 25 < / MaxVisibleSections >
    < DefaultRowsDisplayed > 30 < / DefaultRowsDisplayed >
    < /table >
    < graphics >
    < MaxVisibleColumns > 2000 < / MaxVisibleColumns >
    < MaxVisiblePages > 1000 < / MaxVisiblePages >
    < MaxVisibleRows > 2000 < / MaxVisibleRows >
    < MaxVisibleSections > 25 < / MaxVisibleSections >
    < JavaHostReadLimitInKB > 4096 < / JavaHostReadLimitInKB >
    < / charts >
    < / views >
    <! - this Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware control - >
    < OracleHardwareAcceleration > false < / OracleHardwareAcceleration >
    <>Dashboard
    <! - this Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware control - >
    < ShowPageTabsAlways > false < / ShowPageTabsAlways >
    <! - this Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware control - >
    < ShowSectionHeadingsDefault > false < / ShowSectionHeadingsDefault >
    <! - this Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware control - >
    < CollapsibleSectionsDefault > true < / CollapsibleSectionsDefault >
    < / dashboard >
    < DeploymentProfile >
    <! - this Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware control - >
    the site < DeploymentMode > < / DeploymentMode >
    < / DeploymentProfile >
    < AsyncLogon >
    <! - this Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware control - >
    < NewLogonWaitSeconds > 30 < / NewLogonWaitSeconds >
    <! - this Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware control - >
    < NewSyncLogonWaitSeconds > 900 < / NewSyncLogonWaitSeconds >
    < / AsyncLogon >
    < marketing >
    < ContentServer >
    <! - this Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware control - >
    < URL > http://localhost:8765 < / URL >
    < / ContentServer >
    < / marketing >
    authentication <>
    <! - this Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware control - >
    < EnabledSchemas > UidPwd, borrow, UidPwd-SOAP, SOAP - impersonate < / EnabledSchemas >
    < / sign >
    < / ServerInstance >
    < / WebConfig >

    Check here
    Business Intelligence > CoreApplication > Performance tab

    Maximum number of rows to download to Excel option

    Srini VIEREN on February 13, 2013 16:18

    Connect on em-> Business Intelligence > CoreApplication > Performance tab

    Published by: Srini VIEREN on February 13, 2013 16:22

    Published by: Srini VIEREN on February 13, 2013 16:42

  • How to create more than 1000 IUCN in FDQM

    Hi gurus

    1. how to load places to FDQM without manual entry?
    Can load us locations using flat files?

    Requirement: I need to create more than 1000 entities in Application of FDM for mapping target in HFM Application.
    How to get there?

    concerning
    Dev

    Two things:

    #1-tables, you add data to are: tPOVPartition, tStructPartitionHierarchy, tStructPartitionLinks. The first table is the location of basic information. The last two tables define the hierarchy of the relationship where the pitches are. I expect that if missing information Strcut, FDM will not be able to place it anywhere on the display of the locations.

    In addition, for the tPOVPartition, there are information and you must make sure that you include this information when you create your record.

    #2-Si you are at hand to coding, I'm positive there is an API call to create a location. It would be more sensible perhaps to write a script that uses the API to create locations so that you can be sure that it is done right.

  • How to export more than 100 points of waveform to Excel

    Hello world. Novice here.

    I am sure other people have my problem, but I don't know how the word it... and impossible to find a solution for it. Maybe I don't understand Labview enough to know what is happening.

    Here's what I do: I have a waveform, and I try to save the data in the worksheet.

    Problem: the CAP is on plots of 100 data (only what is shown on the chart). In other words, I get only the data for the chart hold right now.

    Here: I want more than that - EVERYTHING. If it starts from 0 to 50 years old, I want that all the points (increments of 10 ms, which is already done) on the excel file.

    Can you guys help me? How suck this story on the graph?

    I've attached my labview (a really simple) file, so you guys know where I am.

    Thank you guys!

    I probably go this route and use import TDMS Excel add-on

  • How to scan more than 100 items of csv file in labwindows/CVI

    Hello

    I need little help related to playback of content from. CSV file.

    My code is as follows:

    FP = OpenFile ("FileName.csv", VAL_READ_ONLY, VAL_OPEN_AS_IS, VAL_ASCII);

    ReadLine (FP, Line,-1);

    I use the Scan() function to store all these values in the separate variable.

    But I am getting error near following Scan() format string.

    Please help me in this regard.

    Thank you

    Herald

    Hi Ruben,.

    the method simpler and faster to scan more than 100 arguments from a line is probably to use the keyword "rep" in the format string, as you can see in the onluen documentation and in following example taken from the ICB help: "String with separated by commas of the ASCII values in real table" search in the linked page. After reading return values, you can decide how to divide your table of values in important variables in your.

    Another option would be to read online and then manually manage in a loop using strtok () function of line in single values.

  • How to scan more than 1 page

    can not scan more than 1 page in a file... How to set preferences?

    Please consult your device documentation or contact the manufacturer.

Maybe you are looking for