massive upgrade in plsql

I use massive upgrade in the procedure to update a column in the table.
It takes almost 4.5 hrs to update 66 k records. Is there a problem with the following code.

There are only 66 k records in the table.

PROCEDURE dummy_update
(pi_business_dt to spar_dummy_vals.business_dt%type)
IS
t_fdr_tran_no DBMS_SQL.varchar2_table;
l_today_mtm DBMS_SQL.number_table;

CURSOR fdr_cur (date pi_business_dt)
IS
SELECT TRAN_NO, sparc_mtm - sparc_prior_mtm
OF dummy_vals
When trunc (business_dt) = pi_business_dt;
BEGIN
OPEN fdr_cur (pi_business_dt);
LOOP
EXTRACTION fdr_cur
COLLECTION in BULK IN t_tran_no, l_today_mtm LIMIT 1000;
FORALL I IN 1... t_fdr_tran_no. COUNTY
UPDATE dummy_trade
SET DAY_MTM = l_today_mtm (i)
WHERE TRAN_NO = t_tran_no (i);
commit;
EXIT WHEN fdr_cur % NOTFOUND;
END LOOP;
commit;
CLOSE Fdr_cur;
END dummy_update;

Try like this:

/* Formatted on 06/04/2013 12:39:37 PM (QP5 v5.126.903.23003) */
PROCEDURE dummy_update (pi_business_dt IN spar_dummy_vals.business_dt%TYPE)
IS
   --t_fdr_tran_no   DBMS_SQL.varchar2_table;
   --l_today_mtm     DBMS_SQL.number_table;

   CURSOR fdr_cur (pi_business_dt DATE)
   IS
      SELECT   TRAN_NO, sparc_mtm - sparc_prior_mtm l_today_mtm
        FROM   dummy_vals
       WHERE   TRUNC (business_dt) = pi_business_dt;

   TYPE t IS TABLE OF fdr_cur%ROWTYPE
                INDEX BY BINARY_INTEGER;

   tt              t;
BEGIN
   OPEN fdr_cur (pi_business_dt);

   LOOP
      tt.delete;

      FETCH fdr_cur
      BULK COLLECT INTO   tt
      LIMIT 1000;

      EXIT WHEN tt.COUNT = 0;

      IF tt.COUNT > 0
      THEN
         FORALL i IN tt.FIRST .. tt.LAST
            UPDATE   dummy_trade
               SET   DAY_MTM = tt (i).l_today_mtm
             WHERE   TRAN_NO = tt (i).TRAN_NO;

         --COMMIT;
      END IF;
   END LOOP;

   CLOSE fdr_cur;
END dummy_update;

Tags: Database

Similar Questions

  • Need help with massive upgrade collection ForAll

    HI - I'm doing an update of the collection/ForAll in bulk but will have questions.

    My statements look like this:
         CURSOR cur_hhlds_for_update is
            SELECT hsh.household_id, hsh.special_handling_type_id
              FROM compas.household_special_handling hsh
                 , scr_id_lookup s
             WHERE hsh.household_id = s.id
               AND s.scr = v_scr
               AND s.run_date = TRUNC (SYSDATE)
               AND effective_date IS NULL
               AND special_handling_type_id = 1
               AND created_by != v_user;
    
         TYPE rec_hhlds_for_update IS RECORD (
              household_id  HOUSEHOLD_SPECIAL_HANDLING.household_id%type,
              spec_handl_type_id HOUSEHOLD_SPECIAL_HANDLING.SPECIAL_HANDLING_TYPE_ID%type
              );
    
         TYPE spec_handling_update_array IS TABLE OF rec_hhlds_for_update;
         l_spec_handling_update_array  spec_handling_update_array;
    And then Bulk Collect/ForAll looks like this:
           OPEN cur_hhlds_for_update;
           LOOP
           
            FETCH cur_hhlds_for_update BULK COLLECT INTO l_spec_handling_update_array LIMIT 1000;
            EXIT WHEN l_spec_handling_update_array.count = 0;
    
            FORALL i IN 1..l_spec_handling_update_array.COUNT
              
            UPDATE compas.household_special_handling
               SET effective_date =  TRUNC(SYSDATE)
                 , last_modified_by = v_user
                 , last_modified_date = SYSDATE
             WHERE household_id = l_spec_handling_update_array(i).household_id
               AND special_handling_type_id = l_spec_handling_update_array(i).spec_handl_type_id;
    
              l_special_handling_update_cnt := l_special_handling_update_cnt + SQL%ROWCOUNT;          
              
          END LOOP;
    And this is the error I get:
    ORA-06550: line 262, column 31:
    PLS-00436: implementation restriction: cannot reference fields of BULK In-BIND table of records
    ORA-06550: line 262, column 31:
    PLS-00382: expression is of wrong type
    ORA-06550: line 263, column 43:
    PL/SQL: ORA-22806: not an object or REF
    ORA-06550: line 258, column 9:
    PL/SQL: SQ
    My problem is that the update table contains a composite primary key so I have two conditions in my where clause. This the first time I try even the update of the collection/ForAll in bulk and it seems that it would be straight forward if I was only dealing with a single column primary key. Can someone please help advise me as to what I'm missing here or how can I achieve this?

    Thank you!
    Christine

    You cannot reference a column within a record when doin one for all. You need to refer as a collection. So you'll need two collections.

    Try like this,

    DECLARE
       CURSOR cur_hhlds_for_update
       IS
          SELECT hsh.household_id, hsh.special_handling_type_id
            FROM compas.household_special_handling hsh, scr_id_lookup s
           WHERE hsh.household_id = s.ID
             AND s.scr = v_scr
             AND s.run_date = TRUNC (SYSDATE)
             AND effective_date IS NULL
             AND special_handling_type_id = 1
             AND created_by != v_user;
    
       TYPE arr_household_id IS TABLE OF HOUSEHOLD_SPECIAL_HANDLING.household_id%TYPE
                                   INDEX BY BINARY_INTEGER;
    
       TYPE arr_spec_handl_type_id IS TABLE OF HOUSEHOLD_SPECIAL_HANDLING.SPECIAL_HANDLING_TYPE_ID%TYPE
                                         INDEX BY BINARY_INTEGER;
    
       l_household_id_col         arr_household_id;
       l_spec_handl_type_id_col   arr_spec_handl_type_id;
    BEGIN
       OPEN cur_hhlds_for_update;
    
       LOOP
          FETCH cur_hhlds_for_update
            BULK COLLECT INTO l_household_id_col, l_spec_handl_type_id_col
          LIMIT 1000;
    
          EXIT WHEN cur_hhlds_for_update%NOTFOUND;
    
          FORALL i IN l_household_id_col.FIRST .. l_household_id_col.LAST
             UPDATE compas.household_special_handling
                SET effective_date = TRUNC (SYSDATE),
                    last_modified_by = v_user,
                    last_modified_date = SYSDATE
              WHERE household_id = l_household_id_col(i)
                AND special_handling_type_id = l_spec_handl_type_id_col(i);
       --l_special_handling_update_cnt := l_special_handling_update_cnt + SQL%ROWCOUNT; -- Not sure what this does.
    
       END LOOP;
    END;
    

    G.

  • Software update or something bigger?

    Hello

    I have an Iphone running IOS 7.1.2 5s.  I had the phone nearly a year and half ago.  Recently, most of my applications (including those pre-installed) are struggling to work.  They crash or simply will not open at all.  Alerts do not seem to want to work more, and messages are not sent. I tried soft reset several times to nothing does not.  I am also unable to backup my iphone to Itunes.  Should it simply be updated for IOS 9 or is this something more general?  If this is the case, how my iphone will be able to manage a massive upgrade when it cannot even simple tasks process?  It will cause trouble jump to the top of two versions of the software?  How could I go to update my phone if I can't save?

    Also, I do not have jail broken my iphone so it shouldn't be a virus or any other security restrictions.

    Any help would be appreciated.

    There is no advantage to fall behind in the iOS updates.

    Follow the 3R - if this does not solve your problem proceed

    Troubleshooting of user is:

    1. reboot, IE power off / on,.

    2 reset http://support.apple.com/kb/HT1430,

    3. restore the backup, restore as a new device. http://support.Apple.com/kb/HT1414

  • For the Adobe CS6 Proxy request

    Hi people,

    I'm pulling what's left of my hair on it. Let me put the problem as clearly as possible.

    I work in a United and we are due to a massive upgrade of the hardware and software this summer so I thought it is a good idea to do some tests of installation Adobe CS6 Design & Web Premium.

    I want to install on iMac running 10.6.8 at the moment and we move on 10.8 iMacs when they arrive after Apple announce the release of Mountain Lion.

    How studio iMacs are put in place.

    • Two partitions, a native boot from disk with the operating system and all applications on 1 and 1 as a student, local work to this iMac only drive.

    • There is an Admin user and a generic student user.

    • We have to run through a proxy secured for web access on the machines of the student/studio.

    I tried the installation methods.

    • I can't install the software CS6 no problem that I can use a proxy different setting (Admin xxx.xx.xx.55) allowing unlimited access to the web. I tried this in both the Admin login and the login for the student and the software settles – no problems so far.

    • I also created a deployment package and installed via ARD. I have to say that it was much easier that I thought it would be and probably will be our method of deployment. (We tried a NetRestore image as we have done several times before, but this method has forced us to enter the serial code and register with Adobe on each station... not good on 200 + iMac).

    The problem.

    Once installed the software CS6 iMacs are then set to the secure proxy (xxx.xx.xx.221). Now when I run Illustrator, Dreamweaver, Flash, InDesign etc. I get an authentication window appears asking me to enter the connection information for the proxy. It's really annoying.

    • Why apps now make this request? We never had this problem with CS2, 3, 4, 5 or 5.5.

    How can • I stop from happening? (I can't have the proxy don't forget my ID as it will be remembered for any query http... it would really be wrong in an environment United).

    Any help would be greatly received as aid phone Adobe was not helpful at all.

    : )

    GAV

    I think I have it solved. Please let me know if what I have done is a bad thing.

    I moved the following files in the Adobe Application Support folder in folders named to break the link so that they won't load in applications.

    In the Adobe Application Support folder, I moved 'Help' and 'HelpCFg' in a folder called "of Adobe Application Support. This fixes the problem of proxy with Illustrator and Indesign.

    In the CS6ServiceManager folder, I moved the folder "SearchForHelp" in a folder of"CS6ServiceManager" caller. This solved the problem of proxy with Dreamweaver, Flash and Fireworks.

    I have a few tests to make with the rest of the Adobe applications as they are less used. The only drawback I see right now is that we lose the use of the help options.

    Now, to try to build an entire iMac NetInstall image.

    : )

    GAV

  • Role of PLSQL developer in the process of upgrading the EBS?

    Hello

    One client is currently in the process of upgrading of the EBS from V11 to V12. They are looking for a PL/SQL Developer, migrate their paintings of previous version again. What would be the role of a pl/sql developer in such situation? I want to ask that position and looking for documents related to the post but could not find one. If there is someone who had experience with this migration scenario please help me.

    Thank you

    Siva.

    PLSQL developer should be involved in the code changes between 11i and R12 - please see these links/docs.

    Changes to model data identification between 12.1.3 EBS and EBS prior releases

    https://blogs.Oracle.com/stevenChan/entry/ebs_data_model_1213

    Report of comparison data EBS model [ID 1290886.1]

    Comparison of EBS seed data reports now available

    https://blogs.Oracle.com/stevenChan/entry/ebs_seed_data_comparison_reports

    eTRM

    http://ETRM.Oracle.com

    Thank you

    Hussein

  • Memory and disk HARD upgrade question - Satellite 5200 801

    Hi all

    I really need your help to upgrade my toshiba Satellite 5200 801 (model: PS520E-31P1D-EN), basically it's the version specification factory (technical instructions on the link below)
    http://www.cwrose.de/Toshiba/S5200.html

    What I want is to get faster internal memory, you can buy for this model (currently I have two default 256 mb DDR 266 MHz CL2.5 memory sticks). Will probably do a gig of memory (I could have more, but it depends on the price).
    As well, I want to spend the HD to 160 gig (about), as well as get a faster hard drive then the current 60gig 4200 RPM Hitachi HD (as soon as possible for the specifications of my laptop).

    Anyone know what would be the best option?

    Someone said that it would cost all under 100 (that would be cool), but I don't know anything about the compatibility of different companies etc.
    Can anyone recommend what equipment... .and where * I hope that ebay or studs :)
    I need to go to get this sorted out

    PS:
    FYI, I mostly use the laptop for graphic design, video, and the interwebz.

    Thanks for any help you can give!
    Andy123n

    Hello

    You can upgrade the Satellite 5200 801 memory and HARD drive.
    S for laptop computer memory can be improved up to 1 GB of RAM. So you can use 2 x 512 MB PC2100 DDR - RAM modules.

    Check this link 5200-801 Satellite:
    http://www.orcalogic.co.UK/ASP/ProdType.asp?ProdType=6116&ft=m&St=3

    In my opinion, you can use the modules of memory from different manufacturers, but the module must support these specifications: 200-Pin PC2100 (266 MHz) DDR SODIMM
    I suppose you could also use a 400 Mhz because the laptop supports a 400 Mhz FSB too.

    I think that an upgrade of the IDE 160 GB HARD disk is not possible. To my knowledge, the BIOS can support such massive size of the HARD drive. But this is only my personal opinion. If I was you I would try a smaller HDD like 100 GB or 120 GB.

    Concerning

  • Upgrade memory 667 Mhz for Satellite U300

    Hello

    I have a new Satellite u300-11v and I was hoping to upgrade the memory standard modules of current 2 x 1 GB 2 x 2 GB ddr800 for a max speed of memory. However, after looking at intels site for specifications of the chipset for my machine (its got an intel mobile GM965 chipset) it seems that it will only support up to 667 mhz RAM modules.

    Reading a little further, I think that if I have a memory at 667 mhz bus it can only be reached through the module 1 x 2 GB at 667 mhz. Currently I put 2 x 2 GB 667 modules in the machine, the default memory bus at 533 mhz.
    I watched chipset specs of your laptop (945GM) while I was on the site intels and your in the same boat as me.

    Heres so the dilemma: you have just 1 x 2 GB 667 MHz memory to get this speed little extra memory or go for 2 x 2 GB to the slowest to 533 mhz to accommodate all these massive windows page file.

    For me, have family Vista premium running on a machine that can bring together only a bus 533 mhz memory with 4 GB of ram is not acceptable while I will now go back to XP pro which is not so heavy on resources.

    Did you really notice the difference between the memory 533 MHz bus and memory 667 MHz modules?

    Of course, there is a small difference in performance, but you will never get a performance gain by using the modules of 667 MHz instead of 553 Mhz modules.

  • Upgrade the processor to a Satellite A200-17O (PSAE6)

    Hello

    I was just curious to know if it is possible to upgrade the processor of my Satellite A200-17O (PSAE6) (it is an Intel core 2 duo T7100) to a Core 2 Duo more powerful as the T7500. I had intended to do so in a year or two, since at that time there prices for chips should go down and the power of the 2.2 ghz (or more) opposed to the 1.8 ghz may be necessary...

    I ask that is because when checking, it seems to be quite difficult to obtain for the CPU (which means I have to remove all of the bottom of the laptop to access; would be an obstacle, I could take however). My main concern is that if the Bios would then recognize the chip I use, what should essentially be compatible since it is always based on the right PM965 Chipset?

    Thank you in advance, I am grateful for any answer.

    Sorry mate but it s not possible to upgrade your system with a new processor because your system it s not like a desktop system that can be easily upgraded.
    The problem is, these components such as the processor and VGA are "wired" for the user, which means that the manufacturer of a lack of doesn´t of mobile system to change any of these comps.

    You may have a chipset that can handle more CPU, but the BIOS is not how you think. You will have massive problems since the cooling system are designed individually for each machine, but each unit has its own BIOS configuration and so on.

    Probably the most interesting is that you will lose your warranty if you really take apart your machine yourself.

    Welcome them

  • Satellite L750D - network controller does not work after upgrade 64-bit

    L750D psk36a - 038008

    Thought I'd start with my full model number then the problem

    * before the upgrade everything worked well.

    Well I just upgraded my windows 7 32-bit to 64-bit to take advantage of the 8 GB of ram.
    Everything went well, I downloaded and installed all the drivers support > downloads section for my laptop in the 64-bit section.

    It seems I have a problem with the Bluetooth and network controller.
    The controller of the network in Device Manager says no driver not found or installed, I tried to uninstall and reinstall the device as well as redownloading drivers and reinstall, but no luck so far.

    Driver departures Bluetooth installation becomes subject to halfway and crashes, saying Bluetooth is not on, I tried fn + f8 to power on but no luck, I did the same as for the network card, uninstall, do reinstall, fresh driver, no change. In Device Manager it shows RFBUS with no driver found or installed.

    Any help would be appreciated.
    Sorry for the massive post...

    On a side note, I had a fresh win7 32-bit installed yesterday evening to see if I could get it working again but same problem.

    Hello

    According to the specifications of the laptop this piece of hardware was shipped with the 32-bit versions and 64-bit Win7 then why you do not install the original recovery 64-bit image?
    I presume you didn't create recovery media, right?

    When you open the Manager, devices and network adapters is LAN or WLAN installed correctly?
    What's missing?

    On BT, you're right. Impossible to install software to peripheral BT BT is not enabled correctly.
    What is with FN + F8? When you use it you see BT option there?

    Please note: If your notebook is WLAN switch, it must be turned on (the WLAN led should be lit) and only then you can use the FN + F8 key combination to activate the BT module.

  • Mail creation of massive log files and stop the synchronization with the server

    Since the upgrade to El Capitan (10.11.1), Mail presents two problems persist:

    (1) it generates massive log files, e.g. 2015-12 - 03_IMAPSyncActivity.log these files regularly exceed 10 GB and block Mail and freeze the Mac. Mail can be over 8 GB of RAM. Once removed, Mail recreates the file and fills again, ends up doing more massive files that must also delete.

    (2) mail stop sync with my different IMAP e-mail servers. The only solution I've found that it completely delete the or the e-mail accounts and reinstalls the account. It works for a day (or even a few hours) before it just stops the synchronization, even if a connection test shows he connects with the server. This problem seems to occur on two e-mail accounts separately on two different servers / hosting companies, but not on my Gmail accounts.

    These two problems occur on both my iMac (21.5 ", mid-2011, 2.5 GHz Intel Core i5, 8 GB RAM) and MacBookPro (13', mid-2011, 2.5 GHz Intel core i5, 4 GB RAM).

    Full of ideas gratefully received!

    Thank you!

    Please take these steps to remove the mail folders 'sandbox '.

    Step 1

    Back up all data.

    Triple-click anywhere in the line below on this page to select this option:

    ~/Library/Containers/com.apple.mail

    Right-click or Ctrl-click on the highlighted line and select

    Services ▹ Reveal

    the contextual menu.* A Finder window should open up with a folder named "com.apple.mail" selected. If this is the case, move the selected folder - not only its content - on the desktop. Open the window Finder for now.

    Restart the computer. Launch Mail and test. If the problem is resolved, you may have to re-create some of your e-mail settings. Any writing paper custom that you created may be lost. Ask for instructions if you want to keep these data. You can then delete the folder that you moved and close Finder.

    CAUTION: If you change the content of the sandbox, but leave the folder itself in place, Mail may hang or starts any. Remove the tray to sand everything will be rebuilt automatically.

    Step 2

    If step 1 does not resolve the problem, repeat with this line:

    ~/Library/Containers/com.apple.MailServiceAgent

    * If you do not see the item context menu copy the selected text in the Clipboard by pressing Control-C key combination. In the Finder, select

    Go ▹ go to the folder...

    from the menu bar and paste it into the box that opens by pressing command + V. You won't see what you pasted a newline being included. Press return.

  • How to mark a .vi so it is ignored by massive compilation?

    Hello

    I'm in the progress of the update of an old project to LV 2013 and my massive compilation says this:

    #### Starting Mass Compile: 7. aug 2015 10:00:10
      Directory: "C:\MyLabviewProgram"
      ### Bad VI: "VI Tree.vi" Path="C:\MyLabviewProgram\VI Tree.vi"
    #### Finished Mass Compile: 7. aug 2015 10:00:53
    

    This .vi will ALWAYS fail (I hope you can guess why ).

    This project has only a .vi who is "a failed as expected", among other projects, I'm about to upgrade have a lot more.

    Is there a way to tag / mark a file for massive compilation will ignore it altogether?

    / Palle

    Place the contents of the VI tree in a case off.

    /Y

  • The processor upgrade help

    I have a HP Pavilion dv6000 with AMD Turion 64 x 2 Proccesor. It is extremely slow, only 1.80 Ghz. is it possible that I can update the graphic card of at least 2.4ish and possibly RAM too?

    On the background. Assuming that it is in the earlier 6499 dv6000 series and has an AMD processor here is the Manual:

    Manual

    It's the best processor:

    AMD Turion ML-60 2.0 GHz

    .2 improvement is not enough to get excited about. It tops out at 2 GB of RAM. It will simply not be able to be upgraded to be a fast computer. An SSD can help a little, but even to say a 120 gig SSD will cost $80 or more and I would not invest in this laptop. They are perhaps the most infamous laptops ever made and did not massively. There was a class action lawsuit and a silent reminder of years, involving the graphic chip nVidia.

    If it's 'the Answer' please click on 'Accept as Solution' to help others find it.

  • IdeaPad Y450 - Vista to Windows 7 upgrade comedy routine

    I looked for more information on how to upgrade my y450 (Vista) to Windows 7 but have been unable to find what I'm looking for. The lenovo Ideapad windows information page 7 is a dead link.

    What are the steps to install windows 7 on the laptop? The issue here is the app 'a key recovery. " How do I install so this software will restore in windows 7?

    To be honest, this site is a trainwreck: dead links, way extravagant different URLS and formatting and no clear information to customers. I am eligible for the DVD upgrade that I've seen mentioned (I think), but am not willing to go through the ordeal of the expedition. Lenovo could not provide us all with information how to deal with this? I would have thought that there should be a FAQ for customers of series of Y who want to upgrade, but I have not found one.

    1. Please advise how to install windows 7 so that I don't have a redundant vista hard disk for recovery. Step by step would be helpful as Lenovo have non-standard installation with their expansion of one-key. I've seen conflicting walkthroughs of randomly confused customers.

    2. Please provide a link to a support for users of Y450 package which gives all necessary Win7 drivers for massive indigestion, that they force on their customers (key to recovery/dolby buttons/comedy slide works). Or we have to manually review for each driver?

    3. Please explain how the computer come with Vista users can move successfully to Windows 7. (Yes, with a recovery of key work etc.). The goal is to have a fully operational computer - not some hybrid compromise of vista and 7. A key is absolutely useless and a insult, if we can't go back to Win7 than Vista.

    4. I saw a reference to a mythical Lenovo CD provided for those who had laptops with VIsta delivered by mistake. We can * everything * not get this software so that we can have work systems?

    If this information is out there and I missed it, I'm sorry. I spent over an hour looking without results. As the first laptop that I got had been repartitioned and used by sellers, and the second comes with a blown speaker, I'm not too impressed. I also have no idea why my laptop has vista on it rather than windows 7.  -J' I bought this laptop about a week ago.

    I hope that you will notice that it is all my fault and that the information is there. I can at least with things. If they had not bothered with a key recovery (a ' function' which puts more people out to buy the laptop that encourages them to buy it) they were recorded on R & D and makes a product more successful. You must ask that they thought WTF on this one.

    Please notify.

    EDIT: It seems that the recovery system is not supported under Windows 7 (Please confirm). If that's the case then I just format C and install Win7? I've heard of "hidden partition". Is this hidden partition on the C drive recovery and it are erased by a simple installation of Win7 (by the following basic installation wizard)?

    I just want a new installation of Windows 7 without persistent walls and unused data (that is, the vista image).

    1 / can I just insert the dvd of win7 and install without any problems? 2 / Please link driver pack for vista y450 users switch to Win7.

    TY.

    the upgrade from vista to windows7 - y450 download page

    After the upgrade, you must upgrade to volume (hidden volume) of the recovery too. for this, you can contact lenovo support (ship service) If you want to update yourself, there are previous discussions on the forum, do a search.

    There was also a free option updated for windows 7, but it expired February 28.

    to find out if your system supports windows 7, use Update Advisor.

    If you want to clean install, you can just format and install windows 7 by microsoft installation floppies.

    You can delete what is hidden and all the partition and resize them. But if you make changes on the volumes, a key recovery stops working. (if you're going to do a clean installation, back up the drivers on the volume d: d:/drivers - you may need).

  • Upgrade of large computers without having to reinstall windows 7 PRO?

    Hello, all the

    I'll be upgrading the motherboard, sound, video, memory, and processor on my current computer (I built it myself).  I will keep the same disk configuration.

    I have here some so that I can do this without having to reinstall Windows again?  My copy of Windows 7 Pro is a copy retail NOT oem.

    I read a bunch of different items on the net, but responses varied considerably.  My apps are all installed on the boot drive and all data, backups and documents are in a separate table in mirror. I'm trying NOT to do a clean install, because I have about 27 apps, some of which are quite massive and would take me more than a full day to reinstall.

    Thanks in advance,

    Jeffrey

    PS, just in case I need to specify the components, they are:

    MOBO - ASUS AM3 MSI AM3 + both with RAID support (hardware)

    Processor - AMD Phenom 8 core Core AMD FX Vichera 6

    Sound - Sound Blaster Audigy (legacy) to Sound Blaster Audigy PCI Express

    Video card will not change

    No, I think you need to perform the migration of a motherboard to another as simple as possible. No devices, cards Add on or what that what else option means that Windows is more likely to address changes in pilots limited successfully.

    Then restore optional lights preferably one at a time.

    Each RAID (manufacturer) solution can use proprietary systems, but within the same manufacturer, they tend to be fairly stable. I left a RAID Intel ICH6 for ICH9 without any problem. Also keep in mind that a mirrored pair does NOT use any form of ownership anyway. Set them on a platform no RAID and the data must be fully accessible.

  • Need some clarification for upgrade

    Experts in the morning,

    I need some references for the process to upgrade between 10 and 11 g.

    I always use DBUA to update our database.


    For most administrators recommend NOT following options. I am confused.

    Experts, please guide me to travel in the right direction.

    > > Is this really necessary until the upgrade process, which is the real benefit?

    SQL > exec DBMS_STATS. GATHER_DICTIONARY_STATS;


    > > To activate my database in NOARCHIVELOG MODE, it provides massive difference during the upgrade process?

    SQL > alter the noarchive base newspaper;


    > > TRUNCATE table audit SYS. AUD$

    SQL > truncate table SYS. Storage of AUD$ drop;


    > > Depends on length process,.

    Size of the database

    Number of synonyms

    Number of data files

    Size of the recovery logs

    Number of installed components

    For the types of data and not the XDB user objects.

    > > Deletion of FILES NETWORK completely from 10 g $ORACLE_HOME, creating newfiles in 11 g $ORACLE_HOME


    $ rm - rf tnsnames.ora

    $ rm - rf listener.ora


    Thanks in advance.

    Hello

    > Is this really necessary until the upgrade process, which is the real benefit?

    SQL > exec DBMS_STATS. GATHER_DICTIONARY_STATS;

    1 prior to advantage, was causing problem - degrade the performance of your database? What its not beneficial?

    Logically, if you see the dictionary is on your information about your database - default provided with products and items of custom applications. Now during the upgrade - given that the term refers to a new addition of things monofores or gout or new table segmetns is getting added to your existing dictionary. Now, if I don't keep his stats up to date on my dictionary itself then update itself is the process of taking time. It will hit my sqls himself upgrade performance

    Thus, in order to reduce this impact - prior to your downtime in pre-upgrade task you can collect stats on your dictionary. While during upgrade if you run / run research in its stats its would take very little time to collect minor statistics and it will not affect the order of execution of ddl or dml SQL out that focus on changes in your dictionary.

    > To activate my database in NOARCHIVELOG MODE, it provides massive difference during the upgrade process?

    SQL > alter the noarchive base newspaper;

    2. I don't know who s/n, suggested the above step to achieve. Not a good, better I would have fired the DBA immediately. Despite that I have perform the update level or no, keep you the database in log mode archive.

    To upgrade, its gives no performance improvement for your upgrade process. What is your intention on the upgrade?

    You want to run through the upgrade in 15 minutes? Listen you dictionary database or application objects develop the direcrtly would increase the upgrade. Is not all synonyms - maybe a few times - up to what the table - dictionary of data updated in upgrade tis - for example bitand 12 c on synonyms function table is changed, so his punches performance - it is not a must and was cause depends on the base of the environment for the environment. Reason for this how you store your environment that will reduce the burden of upgrading

    > TRUNCATE table audit SYS. AUD$

    3. I hope I answered this question is another thread

    > Length upgrade depends on.

    Size of the database

    Number of synonyms

    Number of data files

    Size of the recovery logs

    Number of installed components

    For the types of data and not the XDB user objects.

    It is partially dependent on the data dictionary and how clean it is, whatever. Clean - number sense of invalids and statistics.

    Number of components installed in a concern - it might be a minimum until we reached and deliver the bad SQL with performance.

    Size of database and data file and restore logs is out of reach... If my database is to have 10 k datafles, my upgrade script will go and touch all the header files of data blocks, is indicated in MOS linsks or docs. No, he will not be at level of offers to work on something of dictionary and Oracle database metadata.

    > Deleting FILES of network completely from 10 g $ORACLE_HOME, creating newfiles in 11 g $ORACLE_HOME

    You have any load 2 mins to copy files during upgrade spending. Fact the DBA is so busy that he can afford 2 mins tasks.

    It is out of reach, you have to manage.

    -Pavan Kumar N

Maybe you are looking for

  • Why Firefox crash when I try to import bookmarks from Chrome?

    Tried 3 times to import bookmarks, but Firefox crashes when it gets to "Favorites" after having copied the cookies and history of the "items to import" window navigation. Checked all Chrome bookmarks to find mistakes etc., cleaned and then tried but

  • I'M MISSSING LINKS FILE VIEW, FAVORITES, TOOLS, ETC. WHAT SHOULD I DO?

    WHAT I WROTE FIRST OF ALL, IT IS ALL THERE IS, THEY ARE MISSING.I USE THESE LINKS A LOT AND THEY ARE NOT THERE. WHAT SHOULD I DO TO GET THEM BACK IN THE UPPER LEFT SCREEN?

  • Junk folder appears on the desktop after startup

    When I boot xp home edition, a small window appears on the desktop called 'common' with a folder called 'drivers '. How do I stop this open window 'common '. Microsoft has me install SP 3, which did not work. Although it is easy to close, it's a pill

  • What is the difference between the terms "system" disk and the disk of "boot"?

    I have a Setup to dual-boot with Win7 on 2 hard drives so I can choose which drive I want to work with the Win7 OS (long explanation on why it's like that, but it works best for me).  In the management of disk/storage/computer management console, the

  • NullPointerException

    So I try to get a storage for an options screen, but apparently my method of doing this just won't work right. whenever I try to access a variable of the OptionsScreen, it is null, unless I opened the screen Options atleast once.  Now, I tried to cre