Triggers or Programs, which is better?

Hello,
I have a simple question, say, I have 40Mil records to process or even higher and which is better, to have the functions in a program that reads the database or as a database triggers with functions?
How good is Oracle to process 200Mil records or more?
Thanks.
-Nair

I couldn't understand your problem. Anyway a trigger is attached to the table, so whenever you have an action updating a table the trigger automatically fires. On the other hand a program or function is an outer entity and must be loaded and run to make process whatever request/modification to your table.
Oracle databse is capable of working with very large volumes of data. Refer to the manuls to get accurate info.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Unni Krishnan ([email protected]):
Hello,
I have a simple question, say, I have 40Mil records to process or even higher and which is better, to have the functions in a program that reads the database or as a database triggers with functions?
How good is Oracle to process 200Mil records or more?
Thanks.
-Nair<HR></BLOCKQUOTE>
null

Similar Messages

  • Hi friends , in mapping program ,which is better one.why? explain me.

    1)In mapping program ,which is better one.why? explain me.

    Actually the sequence is
    Graphical
    Java
    XSLT
    ABAP
    graphical mapping can prove to be the simplest of all mappings and easy to so also as u have a mapping editor and standard functions available.
    when this becomes too complex v generally opt for java / xslt mappings.
    when u are much comfortable with abap u may also opt for abap mapping.
    still the choice depends on scenario. performance wise graphical and java mappings have
    good results (also depends on ur code in java mapping).
    refer this:
    Comparing performance of mapping programs:
    /people/udo.martens/blog/2006/08/23/comparing-performance-of-mapping-programs

  • Which is better for computer and program... sleep or turn off?

    When not using, which is better for the program, sleep or turn off the computer and any explanations are welcome...

    I advise shutting down rather than sleep. A good shut down often clears up nascent problems, and of course you're saving electricity by not running your machine and also saving those precious MTBF hours on all the mechanical components. Think of the hours it would sleep vs. the number of hours you actually use the machine. Even though sleep consumes less electricity, it still consumes.

  • What is the Transaction/Program which gets triggered when file

    What is the Transaction or Program which gets triggered when file has been placed on application server to generate the Inbound IDoc from the same.
    Please let me know the procedure to automate the process of generating Inbound IDoc when the file has been placed in application server path...
    Thanks for your reply ....
    regards,
    G.Reddy

    hi
    MASTER_IDOC_DISTRIBUTE fm is used to create a IDOC for outbound & for inbound
    try this
    you can use master_ale_distribute function module to create the idoc.but before that you need to populate two internal table to pass in to this function module.
    1.it_edidc = this internal table tells the port,partner profile etc.this internal table having the same structure of edidc table
    2,second you create the internal table conatains the data records.this table got the the structure of edid4.
    3.populate these two internal table and pass this to this function module
    4.you can populate the second internal table from your flat file by writing some upload program
    FORM master_ale_distribute .
    *PERFORM get_mestype.
      wa_edidc-mestyp = wrk_mestyp.
      wa_edidc-idoctp = wrk_idoctyp.
      CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE'
      EXPORTING
        master_idoc_control                  = wa_edidc
      OBJ_TYPE                             = ''
      CHNUM                                = ''
      TABLES
        communication_idoc_control           = it_edidc
        master_idoc_data                     = it_idoc_data.
      IF sy-subrc  0.
      ELSE.     
        READ TABLE it_edidc INTO wa_edidc INDEX 1.
        IF sy-subrc = 0.
          MESSAGE s006(msg) WITH wa_edidc-docnum.
          PERFORM modify_idocnum.
        ENDIF.
      ENDIF.
    ENDFORM.
    Regards

  • FM which determines which job triggered the program

    Hi all,
    I have a programmed triggerred by several jobs.
    when the program is trigerred i want to know which job triggerred the program because i have different conditions for different jobs.
    Is there any FM which determines which job triggered the program
    Thanks

    Hi,
    I passed the dialog type as N for BP_FIND_JOBS_WITH_PROGRAM
    What does N means.
    Also the above FM brings the entries from  TBTCP.
    Iam not sure whether TBTCP gets an entry after the job is completed or once the job is created in SM36.
    Let me know
    Thanks

  • Which is better an android or apple

    Which is better getting an android smart phone or an Apple I Phone?

    As the poster Horses 547 said its a matter of personal preference. However I own and use both. Printing via air print is smooth and easy on an iphone. Printing on a android phone is iffy and tedious and you will have to find an app to print since there is no native app to do so. I purchased http://www.printhand.com which costs around $12 from the app store. but it is in my opinion the best printing app out there for android. I use it on my android tablet as well and its great. This company is the maker of the print app on iphones.
    The iphone is a little harder to put your own ringtone on the device. However very easy from the Itunes you put on your computer and hook into.
    Another thing an iphone does is if you use their cloud service or pay for a song it is available on all your ios devices. Iphone, ipad, or ipod or up to five computers registered through itunes on those computers.
    Google play music also can sync with all your android devices.
    Iphone don't have external Micro SD card slots, so the storage on the phone is all you have.
    Iphones use imessage which does not count against your text allotment  to another iphone or ipad user. it send regular text to non iphone users.
    Another thing is Face Time but I found a better program called oovoo at http://www.oovoo.com or in the Google Play Store for free.
    Iphones are paper thin but I have an android that has a larger view area and is also paper thin and light. Depending on the android phone it may have a removable battery, whereas iphones are sealed as are some new androids. I have found the sound for music better on my iphone, and videos are crystal clear. Again on some better androids the music and video is comparable .
    There is really not many differences but it up to the user.
    One last good thing is iphones are updated via Apple, no long waits for OS updates like is done with Android devices, and android devices on Verizon.

  • Which is better for newbies?

    Which is better for newbies, Jgrasp or Netbeans? I need something that explains errors more thoroughly than Jgrasp.

    Here's my code with 3 errors. Now bear in mind that my program has compiled completely and ran correctly up to this method. All I'm trying to do with this method is get the average of all grades in a multi-array. I researched and found some code that was similar to what I needed to do but it's not working out yet. All other methods in my program work perfectly but I can't get this one to compile.
    public double getMean(int allGrades[][])
              int total = 0;
              for (int grade : allGrades)
              total += grade;
         System.out.println("Total is "+getMean(grades));     
              return total/allGrades.length;
    } // end class GradeBookGradebook.java:100: illegal start of type
              return total/allGrades.length;
              ^
    Gradebook.java:100: <identifier> expected
              return total/allGrades.length;
              ^
    Gradebook.java:100: <identifier> expected
              return total/allGrades.length;
              ^
    3 errors

  • Which is Better? Mac or PC?

    Which is Better?
    Intel iMac   Mac OS X (10.4.5)  

    Hello,
    I'm not going to argue that a Mac is better, but I do have a response to:
    looking computers and the software is great however
    they have major compatibility issues. for example
    many websites do not support mac's Ex.
    www.aircanada.com
    I have never had any problem exchanging documents or viewing web pages with the Mac.
    All my document exchanges have worked flawlessly, and work going both to and from Windows PC's.
    But, you need to make sure you are using the right program on the Mac if you want to share files with PC users.
    As for the website compatibility, the site you provided as an example will work just fine. They just don't want you to know it.
    What that website is doing, is running a check to see what web-browser you are using. Beyond that, they are also running a check to see which computer you are using.
    So, what you need to do is make sure that your browser tells their website what it wants to hear.
    So, in Safari, you can use the "Debug" menu to have Safari report itself as the Windows version of Internet Explorer.
    Go to the Debug menu, then pick "User Agent", then choose: "Windows MSIE 6.0".
    If the site still won't load, then go to the site first, and perform the selection again from the Debug menu.
    Basically, what you are doing is changing what Safari identifies itself as.
    Additionally, the website that you listed does list that it is compatible with Mac OS 9.0 or later. So, it should work provided you pass it's checks.
    If for some reason it still won't work, contact them since they say that it is compatible with the Mac.
    The only sites that absolutely will not work with a Mac are sites that use "Active X" to take over control of your computer or communicate directly with the operating system. Fortunately, those sites are getting rarer and rarer.
    The only site I've run across in recent times that uses Active X is Microsoft's Windows Update site (which you wouldn't need with a Mac anyway).
    As for enabling the "Debug" menu in Safari, if it is not already there, you can do that by:
    Closing Safari
    Open "Terminal" which is located at:
    Hard Drive --> Applications --> Utilities --> Terminal
    Then type the following at the command line:
    defaults write com.apple.Safari IncludeDebugMenu 1
    If you would prefer an automated method of enabling the Debug menu, you can always download the free Safari Enhancer program which includes a setting for this feature:
    http://www.lordofthecows.com/softwarelist.php

  • Why assertion instead of if statement ?  Which is better to use ?

    Why assertion instead of if statement ? Which is better to use ?

    Never assertion instead of if statement. The two have fundamentally different intents. Using assert to control program flow is a bad idea

  • Which is better Apple Ear Pods vs. In Ear Earbuds

    So which is better? I can't really tell the difference because there like the same. Unless I'm not paying attention to the bass and tremble.

    Haven't tried multiple EAR files before but encountered constraints when using one EAR file.
    For example, we may need to wait for another colleague to complete his portion on programming so that we can proceed to implement the entire EAR file. Is this also a constraint for multiple EAR files application ?
    If we can separate the EAR files into different modules, different colleagues can work on different modules concurrently. It could be more efficient... Is that the case ??

  • Singleton vs static - which is better?

    Of the two approaches -
    a class which can be used by accessing its ONLY instance(singleton) or a class which has a set of static methods which can be invoked on the class itself
    which is better and why? Or are these just two 'styles' of programming?
    I always get confused as to which way to go? I tend to prefer to have static methods on the class instead of a singleton.
    All insights/comments/ideas welcome.
    Thanks

    Well, there are a few questions you can ask - does the method cause any changes of state, or is it a pure function? If the latter, static is probably the way to go.
    The way you are talking, I gather that there is some state involved.
    Next question: does it make sense for there to be more than one of these per JVM? Not only in the way you currently envision it, but at all, anywhere. For example, consider the list of Strings that the String class keeps so it can consolidate memory and avoid duplication (see String.intern() ). That list makes sense to be static.
    On the other hand, the representation of the state of a board game should not be static, because someone could want to write a program which has multiple games within it - or you could within one game wish to have contingencies or undo-ability (essentially, it might not be as singleton as you think).
    Next, if you think the methods will ever need to be overridden, use a singleton, because static methods aren't, well, dynamic! (in case the singleton is a one-at-a-time singleton but it makes sense to have a change of identity over time).
    I have never written a true singleton - though often written classes which I did not PLAN on instantiating more than once.

  • Which is better for usb camera between VISA and imaqdx in labview 2010?

    i have done a program for usb camera to acquire images with imaqdx.
    now i want to know which is better between VISA and  imaqdx in labview 2010?
    i didn't study visa before
    thans for help.

    VISA is primarily used to communicate with instruments via GPIB/TCP-IP/Serial/USB. In order to use easily VISA with an instrument over USB the instrument must adhere to the USBTMC spec. A camera is not likely to have this. Otherwise you have to use USB RAW, and that requires detailed knowledge of the data that is transmitted by the instrument. Manufacturers rarely give this information out. Normally they will provide a DLL to communicate with the instrument.
    Thus, in your case, VISA is not going to be an appropriate API to use for a USB camera.
    Out of curiosity, what prompted this question?

  • Which is better and newer, virus scan 6 or pc cillin 2000?

    which is better and newer, mcafee virus scan v6 or pc cillin 2000?
    thanks,
    edison

    edison,
    I run without a Virus Smasher Program.  If I am going to download something I run Housecall.  Also I do not use Outlook or Outlook Express for email so I do not get those types of attacks.
    You could try Housecall here:
    Trend Micro's free online virus scanner
    This thing is a browser plugin.  Does not run unless you are on their site. It is Free. It does not take up any recourses.  It is Free. It is always up to date. It is Free. It never expires. It is Free. You never need to register to use it. Oh, and did I mention it is FREE!!!   :D
    Take Care,
    Richard

  • Which is better? Extend JFrame or Wrap it in a class???

    Just a random thought, have been programming swing for a long time now and during the time have been researhed a lot of swing examples on web and found out that most people tend to make a class extend JFrame in order to use it stuff.
    However the way i've been programming is to wrap it around a class by creating an instance of JFrame inside my class. In that way i feel is more easier to program.
    But which is better style of programming and which is better programming technique in terms of robustness, reusablitity & good general programming practice?

    The usual answer, it depends. If you don't want to change a JFrame's behaviour, you wrap it. If the JFrame class is lacking a feature you need, you extend it and implement the desired feature.

  • Which is better for solving Mac issues

    I have been experiencing Kernel Panics and program crashes. I want something that is good for testing hardware and OS issues. Can either of these find corrupted data files? I am looking at two utilities for purchase. Which is better for solving Mac Issues?
    TechTool Pro
    or
    Disk Warrior?

    When you say "complete bootable backup" do you mean that it contains the OS + all my applications? Basically a clone of the start-up?
    Yes, you have that very clear. I use Tri-backup or CCC for this normally, but there are other options.
    If I have this clone, and I start getting issues on my Mac, I can Zero the HD and reinstall the OS via the clone (including all the applications)?
    Yes, and if pressed for time you can just keep working off the Clone.
    I can Zero the HD and reinstall the OS via the clone (including all the applications)?
    Yep, right back to 100%, excluding HW issues.
    With all my software... it takes a day to reinstall all of it to a complete image.
    Yes, the only sensible thing is a Clone... or two. Most problems can be overcome by simply Verifying/Repairing the HD once in awhile, Repairing Permissions before and after every update/upgrade, and turning off Auto Updates in SW Update CP... wait a couple of weeks and check these forums for the number of problems with any update.
    PS. DiskWarrior has saved me hundreds of times from having to do complete new Installs or cloning back of Installs, I figure that's saved me 10's of thousands of hours & grief... I appreciate Alsoft so much that I don't even go for the generous upgrade offers on new versions... I just buy the new version completely at Retail.
    PPS. Funny thing, you'll read something like DiskWarrior is a one Pony Dog Show or something... just does one thing... I just have to laugh outloud... Yeah, the one thing is... cure my incurable Mac Problems 99.9% of the time!

Maybe you are looking for

  • PSE 8 and Premier Elements 8--A New PC

    I've got about 26,000 photos and 30 hours of video on an older pc running XP Pro.  I need to transfer all of this onto a new pc running Windows 7. I've got the photos and videos backed up on an external hard drive, so reinstalling the two programs an

  • How do I copy files from my old pc to my new imac?

    how do I copy files from my old pc to my new imac?

  • Combining Workflows in Automator

    I am trying to figure out if there is a way to combine workflows in Apple's Automator application. Basically I saved out the automation as an application and it works like this: I can drag a folder of images onto it and it scales and renames them. At

  • Where have all the Gurus gone?

    If the DW gurus are not going to be in this forum answering questions, where can we find them? Did they start their own forum?

  • Aaargh, what am I doing wrong?

    I have been working with iBooks Author and have become extremely frustrated with a few problems. I'd greatly appreciate any help on the following. When previewing my book on my iPad, the book routinely crashes. Not sure why. I am using iOs 5.01, iBoo