Need suggestion: few records to be updated in millions

Hi All,
I need your expert comments over below senerio:
Senerio: i have a table which has 2 column. Person_Id and Country_id. it has millions of records.
1) One persion_id may have multiple country_id but maximum 4.
2) this data is get updated. But around 4000 records are updated only out of millions present in table.
This updation will be done by a procedure which i will create. We will have information about those 4000 records which will need update and will update above table.
Now from performance point of view.. how we should design this table?
1) Should i create partition on this table? if yes.. what type of?
2) Should there be any index..
Please suggest, if there is any other better way.
Thanks alot in advance.

00abfbfa-08b4-49e2-98ad-44c04ed2ac37 wrote:
yes.. records will be indentified by persion_id.
but since persion_id is not unique, will not oracle go for full scan even if there is an index.
thats why we thinking of partition.
Did you actually read what I wrote?
The important bit was
"Oracle will choose the best path to access the rows."
So, create the index, gather statistics and find out yourself!

Similar Messages

  • I had iweb on my last computer - bought a new 2013 macbook pro a few months ago and it's gone.  I have a webpage I build on it and now I need to get back in to update it.  Help.

    i had iweb on my last computer - bought a new 2013 macbook pro a few months ago and it's gone.  I have a webpage I build on it and now I need to get back in to update it.  Help.

    Well of course you won't have iWeb on a new MacBook from this year.  iWeb has not shipped on new Macs for a long time now and Apple has not sold iLife through its stores or online for over a year and does not support iWeb any longer.
    If you want iWeb now, you will either need to purchase a new copy of iLife or try and find the old install discs from your old Mac and re-install iWeb from that disc.  It also depends on what iWeb version you were using too - iWeb 08 or 09?  If 08, then this is not compatible with Mavericks which will be running on a new Mac, so you'll need iWeb 09 for this.  If you can find your old install discs and they are iWeb 09 then go ahead and use these, but if not, you will have to purchase the iLife 09 or 11 boxed set from Amazon and both of these contain iWeb 09 and you can then install it.
    Also, when you set up your new Mac, did you migrate info over?  If you had built a website on your old Mac, then you need to data file where all iWeb info is stored and that is called your domain.sites file and you need this file to be transferred if you want your website back again.
    Can you get access to thhis file on your old Mac and transfer it?  If you can then fine, you can access your website again, but if not, you are out of luck and you'll have to re-build your website from scratch using iWeb.
    If you don't have iWeb, then now might be a good time to move forward and look at the many alternatives that are out there such as RapidWeaver, Sandvox, and EverWeb which is billed as an iWeb replacement and is very much like iWeb, but with SEO and the ability to create drop down menus built in (check out http://www.everwebapp.com). Other alternatives also include Flux 4, Freeway Pro and Express and WebAcapella 4.
    Have a look and most of these allow you to download free trials so you can try before you buy.

  • I'm moderating a competition which will be about 8 hours long. I need to have a video/audio recording of the whole thing incase an answer is contested. We will need to stop recording and access the footage as the day progresses. Any suggestions?

    I'm moderating a competition which will be about 8 hours long. I need to have a video/audio recording of the whole thing in case an answer is contested.
    We will need to stop recording and access the footage as the day progresses. Any suggestions as to how best to accomplish this? I have an iPad and a Macbook Air.
    Many thanks!

    I'm moderating a competition which will be about 8 hours long. I need to have a video/audio recording of the whole thing in case an answer is contested.
    We will need to stop recording and access the footage as the day progresses. Any suggestions as to how best to accomplish this? I have an iPad and a Macbook Air.
    Many thanks!

  • When updating to target only few records got added to the target

    When updating to target only few records got added to the target from the transferred recordsu2026what could be the reason?
    Edited by: MohanDP on Jun 28, 2010 7:44 PM

    Hi Mohan,
    When updating to target only few records got added to the target from the transferred recordsu2026what could be the reason
    There might be a routine in your Transformation which might be filtering few records(or)
    It is possible that you will have multiple records for one keyfield in PSA. But when you try loading the same to datatarget like Cube, the result will be added.
    For ex, say you have Profit center US00000593 in PSA with two rows with keyfigure(say some ABC) values 100 & -50.
    Then when you load the data to datatarget, you will have only one row in it with Profit center US00000593 & values for keyfigure ABC=50 (i.e 100-50=50). So most of the times we will be having added records less than transferred records.
    Hope it is clear!
    Regards,
    Pavan

  • I have a Mac.  I need  suggestions on what program to purchase to create a few PDF files

    I have a Mac.  I need  suggestions on what program to purchase to create a few PDF files

    ~graffiti wrote:
    Why would you say that LiveCycle is the only thing to recommend (but isn't available for Macs) then bring up InDesign?
    If it can't be done by the Mac OS (she hasn't mentioned what she has) then it can be done with Acrobat. She asked about a program to create PDF files. That's pretty much what Acrobat does.
    where is whatI said.
    Being That LiveCycle designer is not availble for Mac. That would be about the only thing to recommend. InDesign Maybe but more pricey.
    The part I've underline refers to Acrobat.  InDesign Maybe but more pricey referes to, Indesign being more expensive than Acrobat.

  • Need Suggestion for Archival of a Table Data

    Hi guys,
    I want to archive one of my large table. the structure of table is as below.
    Daily there will be around 40000 rows inserted into the table.
    Need suggestion for the same. will the partitioning help and on what basis?
    CREATE TABLE IM_JMS_MESSAGES_CLOB_IN
    LOAN_NUMBER VARCHAR2(10 BYTE),
    LOAN_XML CLOB,
    LOAN_UPDATE_DT TIMESTAMP(6),
    JMS_TIMESTAMP TIMESTAMP(6),
    INSERT_DT TIMESTAMP(6)
    TABLESPACE DATA
    PCTUSED 0
    PCTFREE 10
    INITRANS 1
    MAXTRANS 255
    STORAGE (
    INITIAL 1M
    NEXT 1M
    MINEXTENTS 1
    MAXEXTENTS 2147483645
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    LOGGING
    LOB (LOAN_XML) STORE AS
    ( TABLESPACE DATA
    ENABLE STORAGE IN ROW
    CHUNK 8192
    PCTVERSION 10
    NOCACHE
    STORAGE (
    INITIAL 1M
    NEXT 1M
    MINEXTENTS 1
    MAXEXTENTS 2147483645
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    NOCACHE
    NOPARALLEL;
    do the needful.
    regards,
    Sandeep

    There will not be any updates /deletes on the table.
    I have created a partitioned table with same struture and i am inserting the records from my original table to this partitioned table where i will maintain data for 6 months.
    After loading the data from original table to archived table i will truncating the original table.
    If my original table is partitioned then what about the restoring of the data??? how will restore the data of last month???

  • Need suggestion-abap+bi

    Dear gurus,
    I need suggestion before learning new module. I did ABAP and having good experience. Now I want to update my skill please suggest me wat I should learn. I want to upgrade my skill only in technical side. Few of them suggested me BI but dont know how good it will be in US market.
    Any help will be appreciated.
    Regards
    Dave

    Hi Aasim,
    Even the carrer growth in ABAP is very Good.
    IN BW project, there is requirement of ABAPer. So if you are BW+ABAP, you will be getting paid more. Your value would be more.
    Now, making a shift, even you want to change from ABAP to BW, you need to take some training. Because BW abap is a bit different thatn general ABAP.
    The DW experience is not needed very much.but yes, its better to have knowledge in DW.
    I'll suggest you to work for 6 months in ABAP and then take a training in BW. Because its more BW than ABAP in BW.
    Hope you would have got some idea.
    Please revert for any other questions.
    Thanks..
    Shambhu

  • How to make few records editable in oracle ADF form.

    Hi,
    I am working on one scenario. here, we are sending few records to user in an ADF task form, using BPEL Human task. Now, the requirement is to put a checkbox in each row and enable that particular row-fields for editing purpose.
    please respond if there is a way to put any condition in check box design to enable row-data for editing.
    thanks,
    rps

    Hi,
    actually to implement check boxes in front of a table you need some sort of transient field that can keep persistence. One way of achieving this is to wrap the BPEL service in a WS proxy client and create a POJO DC from it. This then allows you to add an additional field to implement a solution similar to this in ADF BC
    http://sameh-nassar.blogspot.com/2009/12/use-checkbox-for-selecting-multiple.html
    Because ADF Faces tables are stamped upon rendering, rows arent created with instances of the cell renderer. For this reason you need to keep track of the select state in the model, which you can do using a transient attribute, which then makes sure the select information is part of the row object. So similar as today, you would parse the available rows but - before changing the update state - check if the user intended the update
    Frank

  • I need to insert records in a ztable through bapi

    Hello Gurus,
    I am new to bapi creation. And I need to insert records in a ztable through bapi. similarly updation.can you send me with example.Its urgent.
    Thanq you.

    Hi satish,
    I have created a bapi but what is happening is i need to insert few records through bapi.say i have to insert records for an employeeno say 1 and for that employee i need to insert other field values like item_no and value and date.but i am not givin the other fields in import parameters.that is item_no and value and date.so plz give me a solution for this querry.
    Thanq you Satish.

  • In Word 2004 I can not save documents or quit. One suggestion is the recent security update. Any suggestins on how to fix?

    In Word 2004 I can not save documents or quit. One suggestion is the recent security update. Any suggestins on how to fix?

    Security Update 2012-001 Bricks Rosetta programs
    I've outlined the restore proceedure here, it covers a lot of bases and explains what is going to occur so please don't be intimidated it's a LOT easier that it appears.
    Take your time and comprehend the steps involved and you'll be backup up like before in short order.
    Restore method.
    #1 Backup your personal data off the machine.
    If you get a gray screen or some other hangup upon booting, try holding the Shift key down while booting to enter Safe Mode.
    Backup files off the computer (not to TimeMachine). If you don't have a external drive, get one and connect to the USB/Firewire port and simply drag and drop copy your User folder to the external drive, it will copy all your files. It's best to have two backups of your data off the machine when trying to restore.
    Disconnect all drives now to prevent any mistakes from occuring.
    #2 Try Restoring from a TimeMachine or hold option bootable clone
    If you have TimeMachine drive, or a hold the option key bootable clone use that to erase and restore from before the Security Update occured.
    Obviously if you didn't make a recent backup before the update, your going to have to skip to Step #3.
    Note: A TM restore can take a awfully long time, a clone restore takes under 2 hours in most cases.
    If you don't know how to restore from TM drive
    http://pondini.org/OSX/Home.html
    #3 Reinstall OS X 10.6 from disk
    If no recent TM or bootable clone then:
    Get out your 10.6 install disk and make sure it's clean and polished (very soft cloth and a bit of rubbing alcohol, no scratches) If your disk is borked, you'll have to order a new one from Apple with your serial number.
    Hold c boot off the 10.6 disk (wired keyboard, internal optical drive), use Disk Utility First Aid to >Repair Disk and Permissions of your internal drive  (do not format or erase!!), Quit DU and simply re-install 10.6.
    Note: Simply reinstalling 10.6 version from disk (without erasing the drive) only replaces 10.6.8 with 10.6.x and bundled Apple programs, won't touch your files (backup anyway)  or most programs, unless they installed a kext file into OS X itself. (only a few on average do this)
    Note: If Disk Uitlity can't repair the drive, then come back to seek further assistance and make sure you have a copy of your data off the machine.
    #4 Update to 10.6.8 without Security Update 2012-001
    Reboot and log in, update to 10.6.8 via Software Update, but EXCLUDE THE Security Update 2012-001 by checkinig the details and unchecking the blue check box.
    #5 Reinstall any non-working third party programs
    When you reboot, make sure to reinstall any programs that require kext files installed into OS X, you'll know, they won't work when you launch them or hang for some reason.
    If for some freakish reason you get gray screen at any time when booting (possible it might occur when you reinstall older programs), hold the shift key down while booting (Safe Mode, disables kext files) and update your installed third party software so it's compatible with 10.6.8.
    https://support.apple.com/kb/TS2570
    Note: For most users likley Step #3 and #4 is likley all that is needed to be done.
    That's it really.
    Further Reading:
    Learn how to have a OS X drive restore ability using TimeMachine or cloning software
    Learn how to clone your entire OS X boot here
    http://www.bombich.com/get_ready_for_lion.html
    TimeMachine  help here
    http://pondini.org/OSX/Home.html
    Make copies of your original Snow Leopard
    http://www.walterjessen.com/make-a-bootable-backup-snow-leopard-install-disc/
    Learn how to make a bootable SL USB thumb drive
    http://www.maciverse.com/install-os-x-snow-leopard-from-usb-flash-drive.html
    Deciding on upgrading to Lion?
    Learn which programs ARE NOT compatible/updated for Lion, Rosetta programs will not run on Lion.
    http://roaringapps.com/apps:table
    Unverified hacks
    Note: You may see a "hack" for this issue floating around, it has had mixed results as people's software is different.
    You may want to try it, but it's at your own risk. It has worked fast for some and not at all for others, hopefully over time it will work for all.
    The above methods I outline are Apple approved restore methods + based upon experience here and not a quick fix, but are sure to work as Apple recommends such steps themselves.
    If at any time you feel this is beyond your capability, please seek local Mac/PC professional assistance before you lose your data.
    In fact my steps above are very simple, you might want to have a family member or friend perfrom the proceedure in about a hour or two.
    If you don't have any backup, please maintain at least a TM drive, just hook up a new blank external drive and TM will ask you to make a backup, takes some time so let it work.
    If your a bit more skilled, a option bootable clone is much superior than TM drive.
    Good Luck

  • Low level Hex disk edit & search util needed- suggestions please?

    low level Hex disk edit & search util needed- suggestions please?
    Maybe It's just late & I've had a bad day.... but I haven't needed a low level Hex disk edit & search utility suitable for an Intel 10.4.x Mac until now and can't seem to locate one.
    There should be plenty of free/shareware options (because they're handy and not particularly hard to write ... and every tech head needs one some time)...
    Any suggestions please?
    [I haven't bothered with the commercial stuff - like tech tool/Norton/*insert name here* Recover/repair, Something Genius etc. etc. because they are all without exception either unnecessary (just pretty shells for the underlying UNIX/X utils) useless AND greedy $-gougers, just useless, or just money gougers so I couldn't even say whether any still have a 'feature' like the old Norton Disk editor app had - but a quick look about suggest not...]
    grumble
    Any specific suggestions/links, please?
    TIA

    they are all without exception either unnecessary (just pretty shells for the underlying UNIX/X utils) useless AND greedy $-gougers, just
    useless, or just money gougers
    Such a high-esteem for fellow human beings - and
    programmers...
    You know, there are some good decent nice people
    behind those names?
    You'd be amazed at how much testing goes into a product.
    [SNIP]
    g'day Hatter...
    Yes, I know there are some good decent nice people behind those names..fellow human beings - and fellow programmers (so yes, I do know...) In previous incarnations I have 'thunk up' and developed, Marketed & supported considerably more complex Apps & systems myself - I even know some of the people you mention personally - and they are usually decent Blokes/women but normally, it isn't the programmers who make the decisions on pricing/features/support/performance/upgrade costs & cycles etc...
    My only error was, I agree, the phrase 'without exception' - but (mainly) only because I haven't bought/tested & used all of them very very recently. So I offer my apologies to those to whom my remarks should not apply (long, late night/early morning frustration...)
    However, I also offer a few simple pertinent examples:
    One 'top name' Utility company had a 'save your Mac HD' product on the market for some time that was almost guaranteed to TRASH it irretrievably but did NOT say so - nor did they help or compensate those they harmed.
    Several are selling what amount to simple, pretty, GUI shells for 'free' or OS-included command line tools - no more, no less but do NOT say so and are asking good money for the 'software'.
    Many are asking ridiculous prices for "regular upgrades" so you can keep their tool current with your Mac OS - one wants US$100/year for it, another, $15 per u/g, others, US$25 or $40 per u/g; one asks 'only' $10 - and these 'upgrades' are happening 3,4,5,6 times per year and are necessary for the Marketing company to keep their product Saleable to new purchasers and new Macs (as well as for important Bug Fixes - and only co-incidentally to keep it performing with your current Mac and OS - which is what you paid them for in the first place).
    I won't pay for a product 3, 6 or 9 times and I won't advise my clients to: It's not unreasonable for a person to expect a 'sensible lifetime/currency' of Product X for Computer Y - say 3 years (e.g. AppleCare). I wouldn't object to paying for an "upgrade" at that point - IF it's worth the money.
    Software is Waaay too expensive in many cases and is simply inviting 'piracy' - from people who have already PAID for the product: sadly, they are killing their own Gooses.
    Seriously, one product costs ca. US$100 to Buy in the first place
    To keep it actually working for you costs about the same again Per Year - a 3 year 'sensible lifetime' or 'currency' cost of US$300 or $400! [That'll buy a lot of 'bare drives' to put in a handy Firewire case for automatic backups in Background, differential backups etc. and other simple practices which render this product type largely unnecessary ].
    For what? A relatively simple set of utilities which would actually cost the company involved less than $5 total each - over 3 years - to make available to existing ( or 'current') owners. [Applecare 'complete' Hardware and Software warranty & support on a US$2000 iMac - which includes Tech Tools Pro Deluxe or somesuch costs about US$165 for 3 years. Total.]
    Having designed, developed, Marketed, supported & maintained more complex Applications to/for a sizeable user-base (in US terms) over multiple complete Series of Product 'life-cycles' - regular Updates and all, I think I know where the pirates are.
    These practices have been rampant in the MSWindows™ market for a longtime. It's a real shame to see it in the Mac world.
    I have all the esteem in the world for those fellow human beings who deserve such - and programmers who are 'good decent nice people'.
    I have none to spare for monopolists, 'exploitationists' or any of those who take unfair/unreasonable advantage of their fellow human beings - AND of programmers who are 'good decent nice people' (like, say, ME... .
    In any event, as I said: they are "killing their Gooses": I know of at least 6 software companies which went this route a while back. All are dead or dying.
    Thank you for your help - and the opportunity to apologise for 'mis-speaking'.
    all the best,
    orig g4 733, many others thru (the luvly) Macintels     New & old Macs, Wintels, MacIntels, other systems...

  • Error!!!!  Record has been updated by another user

    dear all
    Why i got this error when i put a value and try to write to a text item. i never change insert update etc in property pallete..
    this error appear.
    FRM-40654 Record has been updated by another user . requery to see change?
    give me advise and suggestion why i got this error..

    This message have several different causes. One cause is what wilfred indicated.
    But I've seen this message appear if there's something wrong with a primary key, and I've seen it occur when doing a post command using a master-detail block. In the latter case, you need to requiry the other tables in your form.
    In your case since you are using only one block, I'd look for a problem with your primary key.

  • FRM-40654 Record has been updated by another user.Re-query to see change.

    Hi All:
    While Updating a record in form its updating fine at first time
    if i updating the record second time its not allowing me to update its showing following error
    FRM-40654 Record has been updated by another user.Re-query to see change.
    After Re-querying its allowing me to update the record .... so anyone can give a good idea to update the record without Re-query.
    i am using following versions
    Apps 11.5.10.2
    Forms 6i
    Database 10g

    @814950,
    Welcome to the Oracle Forums. Please take a few minutes to review the following:
    <ul>
    <li>Before posting on this forum please read
    <li>10 Commandments for the OTN Forums Member
    <li>Announcement: Forums Etiquette / Reward Points
    </ul>
    It is not good to use someone else's post to ask a new question; this is commonly refered to as "Post Hi-jacking." It is always best to create a new post and add a reference link to a similar post. Please create a new post for your question!
    Also,
    >
    BEFORE I NSERT OR U PDATE
    OF quantity, price_override
    ON po.po_line_locations_all
    >
    If I recall correctly from when I worked with the Oracle Enterprise Business Suite (EBS), the PO_LINE_LOCATIONS_ALL is an EBS ta ble. Oracle does not recommend you modify EBS tables directly. There are recommended methods for performing DML on EBS tables. I suggest you review the Oracle Applications Documentation library. Select your EBS version and then scroll to the Standards section and review the following documents:
    <ul>
    <li>Oracle Applications Developer's Guide
    <li>Oracle Applications User Interface Standards for Forms-Based Products
    <li>Oracle Application Framework Personalization Guide
    </ul>
    Again, please ask your question in a new post.
    Craig...
    Edited by: CraigB on Dec 1, 2010 9:29 AM

  • Material Description is not displaying for few records in Report

    Dear Experts,
    Report Material Description is not displaying for few records in Bex Report but for records it is coming and even the heading of the material Description is also not coming for this report.
    Cud u plz suggest a good solution for it.
    Regards,
    Sai Phani.

    Hi Phani,
    For the text of the material in records, check if there is text maintained for that material in the master data. also try by changing the text to medium text and long text.
    regarding header, you will have same heading for key and text, you may use Materail ID / Description as the heading if you want.
    regards,
    Rk.

  • Need suggestion in getting data using JDBC

    Hi all need suggestion,
         i had a VO corresponding to database table.
         when i am try to get the records from that table,
         how can i initialize the particular column value to the
         corresponding VO setter method.
         please do the needful.

    Hello inform2csr,
    Your question is not so clear.
    Can you be more precise?
    What is VO?

Maybe you are looking for