How the performance will increase with pipelined function.

Respects all,
Can u please help to explain one example regarding which i have mentioned in the subject line.
Thanks

Hi,
pipelined functions don't "increase performance".
1) This is an entirely wrong way to think about Oracle features. There are no Oracle features that automatically "increase performance", like some sort of a "turbo" button (not even partitioning! not even indexes!). Most of the features can work both ways -- when used appropriately, they improve performance, when not, they can cripple it.
2) Pipelined functions are not about performance. They simply provide a way for you to SELECT from a PL/SQL function (which otherwise is impossible to do). Not only you can generate sets of values this way, but also you can join it with other tables/views, that can be very convenient. Pipelined functions can also be very convenient for generating formatted text reports they allow you to bypass limitations of long/lob data types). But none of this has to do with performance.
3) Pipelined functions are inevitably associated with row-by-row processing (because there is no way to pipe a set of rows at once). So when the choice is between returning a refcursor (from which you can do a bulk fetch), and using a pipelined function, from which you'll be returning rows one by one, and none of items listed in 2) applies, then chances are that pipelined function is going to be slower.
So whoever claimed that "pipelined functions increase performance", either he/she is incompetent, or you took his/her words out of the context or misintepreted them.
Best regards,
  Nikolay

Similar Messages

  • HAs anybody noticed how the MAc Book Pro Login button function has changed with OSX 10.9?

    Has anybody noticed how the Mac Book Pro login button function has changed with OSX 10.9?

    No one in this forum will...  this is the Mac Pro forum

  • I'm trying to connect my iPad to my Samsung galaxy s by bluetooth but the ipad will pair with it but not connect and says "its not supported" does anyone know what this means and how I get it to work?

    I'm trying to connect my iPad to my Samsung galaxy s by bluetooth but the ipad will pair with it but not connect and says "its not supported" does anyone know what this means and how I get it to work?

    iOS devices do not have the BT profiles that support file sharing and othr general functions. See:
    iOS: Supported Bluetooth profiles
    Basically it support headphones, keyboards, speakers, peer-to-peer gaming

  • I was given an iMac without iPhoto. Have updated to OS to 10.6.8. How do I get a version of iPhoto that will the updates will work with? Downloaded 9.2.1 and it looked for 9.1; downloaded 9.1 and it looked for 9.0??

    I was given an iMac without iPhoto. Have updated to OS to 10.6.8. How do I get a version of iPhoto that will the updates will work with? Downloaded 9.2.1 and it looked for 9.1; downloaded 9.1 and it looked for 9.0??

    You can Purchase iPhoto in the Apps Store...

  • I use iTunes Radio via AppleTV - after I've been connected and listening for a few minutes, the TV will sych with the camera roll on my daugter's iTouch (but the music keeps playing).  How do I prevent this?

    I use iTunes Radio via AppleTV - after I've been connected and listening a few minutes, the TV will snych with my daughter's iTouch camera roll (but the music will keep playing)?  How do I prevent this?

    How do I prevent this?
    Set a password or onscreen code for Airplay to the Apple TV:
    Settings > AirPlay > Onscreen Code > On
    Settings > AirPlay > Password > [set password]
    http://support.apple.com/kb/ht5517

  • I have lost the remote that was paired. I bought another remote, but the procedure to pair the new one does not work. I suspect the the AT will work with only one remote at-a-time and i have to unpaid the first before pairing the second. How do I unpair?

    I have lost the remote that was paired. I bought another remote, but the procedure to pair the new one does not work. I suspect the the AT will work with only one remote at-a-time and i have to unpair the first before pairing the second. If this is true, how do I unpair? If not, what can I do?

    I was premature in posting the question. I found the answer in andother posting, and it was successful.
    Thanks, and sorry for the false alarm.

  • After upgrading to Lion, the Finder will increase the virtual memory while using external HD

    after upgrading to Lion, the Finder will increase the "virtual memory size" while using external HD. I check it using Activity Monitor and found that "Finder" wll increase the "Virtual Memory Size" and "Private Memory Size". and then after a while. the system told me my HD is full and hanging there.
    My External HD is 1TB. and I have installed new version Paragon NTFS for Mac V.9.01. I am not sure it is related or not.
    but I attached my external HD. the "Finder" will start to increase the "Virtual Memory Size".
    please help out this case and solve this issue.
    thank you !!!

    The one has nothing to do with the other. Virtual memory size and Private memory size are used by developers to analyze their software. it has nothing to do with anything related to the user.

  • How the pricing will be carried out in intercompany billing

    hi ginius
    my question is how the system will carry out pricing.
    2) how many pricing procedure should we maintain
    3) how customer will get price how the invoice will goes
    4) what are the configuration settings for intercompany biilling
    thanks in adavance

    Dear nag nageshwar,
    A small search on SDN SD forum will help you to answer your query. 
    I will suggest you to visit  http://sap-img.com/sap-sd.htm. It will give you the overview of SAP SD module.
    Moreover there is a separate section of FAQs with answers which will help you in great deal.
    Hope this helps you.
    Do award points if you found them useful.
    Regards,
    Rakesh
    P.S. you can send me a mail at my mail id [email protected] for any specific details

  • HT2304 IR Receiver firmware update Apple released an update that essentially changes how the IR receiver communicates with the OS

    remote no longer works the likely culprit is a missed IR Receiver firmware update.  Back around version 2.1 or 2.2 of the Apple TV operating system Apple released an update that essentially changes how the IR receiver communicates with the OS.  If your Apple TV missed that update and then later gets updated to the newer 3.0.X firmware your Apple TV will no longer respond to input from your remote, though the light on the front of the AppleTV will blink.  The solution is to load the update manually, but unfortunately that requires ssh access on the AppleTV.
    new commands

    Thanks Dave,
    You are a genius. I can't tell you how much I appreciate being benifit of your knowledge and willingness to share it with others. A thousand times over, thank you!! I burned the little utility to a CD on another machine/setup, ran the little sucker and restarted in OS X like a hoot!!! About 8 minutes later I had the processor upgrade installed and see quite an improvment. Again, thanks and kudos be upon you,
    James

  • Hi,does anyone know how the Iwatch will play music when it is not near a bluetooth device as it is stated in the feature setting..Icloud streaming,internal hard drive?

    Hi,does anyone know how the Iwatch will play music when it is not near a bluetooth device as it is stated in the feature setting..Icloud streaming,internal hard drive?

    I did not hear them state the feature requirements directly in the streaming even but there are statements on the Apple website that clearly say that an iPhone is necessary.  I'm guessing that other than Bluetooth for pairing with the iPhone, it's just not technically possible to fit any other radios such as WiFi or LTE into that form factor or battery capacity.  I don't even remember them mentioning if it had a speaker or could pair directly with bluetooth headphones.
    While I'm hoping that the watch has a reasonable stand-alone feature set, they didn't make it clear what exactly it can and can't do without an iPhone nearby.  I also hope that they communicate this better in the coming days.

  • I have an iPhone 4 on IOS5. I signed up for itunes match. After everything uploaded to the cloud, my songs are messed up. I'll select a song and the title will show with the right art work but a different song will start playing.  Anyone have a solution?

    I have an iPhone 4 on IOS5. I signed up for itunes match. After everything uploaded to the cloud, my songs are messed up. I'll select a song and the title will show with the right art work but a different song will start playing.  Some songs won't play at all even though they do appear in the itunes store. The artwork almost always shows u blank until you turn it to landscape then it will appear. Anyone know what's going on?

    I have found that scrolling through the album list (past albums without art) triggers the progress wheel next to the wifi symbol. You can scroll quickly through the whole collection and then wait! Artwork will appear gradually...
    However, repeat visits to the Music App might initially show no artwork again, but it might spontaneously appear more quickly this time. The bad news is that the whole Music App is now sluggish as ****...

  • How the system will caluclate price in billing doucment

    hi gurus
    In billing doucment.( Invoice) how the price will come. 
    2)  What is the use of document pricing procedure in billing document ( vofa) controling fields.  Where do we use this document pricing procedure In which scenario this (document pricing procedure) will be use ful.
    3)  can we see pricing in delivery.
    Thanks in advance

    HI,
    A sales document belongs to a sales area. PP is determined in SD on customer PP + Doc .PP and sales area. Docpp is field in sales doc or billing type. PP of sales order and invoice is same if doc. pp is same. The same gets copied in invoice. But, u can have diff pp for billing doc also.
    Generally, in delivery u can have frt or pkg charges.Pricing is delivery is not recommended.
    Hope it clarifies your doubts.
    Thanks,
    Pramod

  • When will the iPhone will come with an un-crippled browser?

    Is there any word when the iPhone will come with an un-crippled browser and unfettered storage capability?
    I like the iPhone BUT the primary feature I need to make me buy one is the ability to download (either from the phone frequency or WiFi) and store any software file I want to. I mean what good is the bloody thing if I can't download even Apple's own updates?
    I am on the verge of buying PDA like the Palm TX..... Because what I really need the most is to be able to leave my laptop home when I go out into the world to download large software files. I have dial-up at home because I have no need for Broadband except to download large software files and I refuse to pay the huge price for Broadband (I get my dial-up for $99 per year). But the iPhone is such a great product and would be perfect if only it had an un-crippled browser and unfettered storage capability.

    1) Crippled: As far as I know you can't go to just any site (like Apple.com, VersionTracker.com, MacUpdate.com, Amazon.com, Etc.) and download software such as being to download software updates from Apple or Intego (NetBarrier) or any other application I already own.
    2) I want to be able to buy and download any software from any site I CHOSE to, not be forced to shop at just Apple's Store. "I want what I want when I want it and from where & who I want it from". I't MY $$$$ and I'll spend it the way I want and give it to whom I want. I won't spend i in your store just because you tell me to. {;->
    3) Purchased applications and software updates of applications I already own.
    Size of files: 100Mg and larger. TX; as large as the SD(?) card you can buy.
    4) For 99% of all my online needs I DON'T need anything higher than dial-up... Banking, mail, shopping , blogging, research even music (single iTunes only). I don't do Streaming, videos or most other stuff that needs high-speed just the occasional (1%) large software downloads.
    5) DSL where I am is $30/monthly ($360/yr) and Cable Broadband is $40/month ($480/yr) I don't know anywhere DLS or Cable Broadband is $8.25/month and I've checked.

  • How come when i logg in to facebook it will load, but when i go into games like farmville it does not load, but the games will load with internet explorer?

    i play games on face book, like farmville, frontierville, it will load the main page that shows all your friends and things that have been posted, but when i click on farmville to actually go into my farm it will not load, it says if it don't load in 10 seconds, update your player, i have tried that and it still don't load..... but i can go out of firefox and use internet explorer and the games will load... can you help me fix this, i use fire fox foe school work in college and would like to use it playing games as well.

    Try using the Facebook app instead of Safari for viewing Facebook content.

  • List View Report with pipelined function in Mobile application and ORA-01007: variable not in select list

    Hi!
    I have a problem with List View Report in mobile application (theme 50 in apex) after updating to apex 4.2.2. I created Report -> List View. I used select from pipelined function in Region Source. Then when page is running and submited three times (or refreshed three times) I get an error:
    Error during rendering of region "LIST VIEW".
    ORA-01007: variable not in select list
    Technical Info (only visible for developers)
    is_internal_error: true
    apex_error_code: APEX.REGION.UNHANDLED_ERROR
    ora_sqlcode: -1007
    ora_sqlerrm: ORA-01007: variable not in select list
    component.type: APEX_APPLICATION_PAGE_REGIONS
    component.id: 21230833903737364557
    component.name: LIST VIEW
    error_backtrace:
         ORA-06512: at "APEX_040200.WWV_FLOW_DISP_PAGE_PLUGS", line 4613
         ORA-06512: at "APEX_040200.WWV_FLOW_DISP_PAGE_PLUGS", line 3220
    I get this error only when I use select from pipelined function in Region Source (for example: "select value1, value2 from table(some_pipelined_function(param1, param2)) ").
    You can check it on http://apex.oracle.com/pls/apex/f?p=50591 (login - demo, password - demo).
    In this application:
    - I created package TAB_TYPES_PKG:
    create or replace PACKAGE TAB_TYPES_PKG IS
    TYPE cur_rest_r IS RECORD (
        STR_NAME          VARCHAR2(128),
        INFO              VARCHAR2(128)
    TYPE cur_rest_t IS TABLE OF cur_rest_r;
    END TAB_TYPES_PKG;
    - I created pipelined function TEST_FUNC:
    create or replace
    FUNCTION TEST_FUNC
    RETURN TAB_TYPES_PKG.cur_rest_t  PIPELINED IS
    r_cur_rest TAB_TYPES_PKG.cur_rest_r;
    BEGIN
    r_cur_rest.STR_NAME := 'ROW 1';
    r_cur_rest.INFO := '10';
    PIPE ROW (r_cur_rest);
    r_cur_rest.STR_NAME := 'ROW 2';
    r_cur_rest.INFO := '20';
    PIPE ROW (r_cur_rest);
    r_cur_rest.STR_NAME := 'ROW 3';
    r_cur_rest.INFO := '30';
    PIPE ROW (r_cur_rest);
    r_cur_rest.STR_NAME := 'ROW 4';
    r_cur_rest.INFO := '40';
    PIPE ROW (r_cur_rest);
    r_cur_rest.STR_NAME := 'ROW 5';
    r_cur_rest.INFO := '50';
    PIPE ROW (r_cur_rest);
    RETURN;
    END TEST_FUNC;
    - I created List View Report on Page 1:
    Region Source:
    SELECT str_name,
           info
    FROM TABLE (TEST_FUNC)
    We can see error ORA-01007 after refresing (or submiting) Page 1 three times or more.
    How to fix it?

    Hi all
    I'm experiencing the same issue.  Predictably on every third refresh I receive:
    Error
    Error during rendering of region "Results".
    ORA-01007: variable not in select list
    Technical Info (only visible for developers)
    is_internal_error: true
    apex_error_code: APEX.REGION.UNHANDLED_ERROR
    ora_sqlcode: -1007
    ora_sqlerrm: ORA-01007: variable not in select list
    component.type: APEX_APPLICATION_PAGE_REGIONS
    component.id: 6910805644140264
    component.name: Results
    error_backtrace: ORA-06512: at "APEX_040200.WWV_FLOW_DISP_PAGE_PLUGS", line 4613 ORA-06512: at "APEX_040200.WWV_FLOW_DISP_PAGE_PLUGS", line 3220
    OK
    I am running Application Express 4.2.2.00.11 on GlassFish 4 using Apex Listener 2.0.3.221.10.13.
    Please note: this works perfectly using a classic report in my desktop application; however, no joy on the mobile side with a list view.  I will use a classic report in the interim.
    My region source is as follows:
    SELECT description AS "DESCRIPTION", reference AS "REFERENCE" FROM TABLE(AUTOCOMPLETE_LIST_VIEW_FNC('RESULTS'))
    The procedure:
      FUNCTION AUTOCOMPLETE_LIST_VIEW_FNC(
          p_collection_name IN VARCHAR2)
        RETURN list_row_table_type
      AS
        v_tab list_row_table_type := list_row_table_type();
      BEGIN
        DECLARE
          jsonarray json_list;
          jsonobj json;
          json_clob CLOB;
        BEGIN
          SELECT clob001
          INTO json_clob
          FROM apex_collections
          WHERE collection_name = p_collection_name;
          jsonobj              := json(json_clob);
          jsonarray            := json_ext.get_json_list(jsonobj, 'predictions');
          FOR i IN 1..jsonArray.count
          LOOP
            jsonobj := json(jsonArray.get(i));
            v_tab.extend;
            v_tab(v_tab.LAST) := list_row_type(json_ext.get_string(jsonobj, 'description'), json_ext.get_string(jsonobj, 'reference'));
          END LOOP;
          RETURN(v_tab);
        END;  
      END AUTOCOMPLETE_LIST_VIEW_FNC;
    Thanks!
    Tim

Maybe you are looking for

  • URGENT plzzz help

    HI, I had asked this question previous also but i did not get any right awnser ,now dis time i hope i get it right and if any body give d right awnser he or she will be rewarded with full 10 points ,dats promise..... i am making a report of PURCHASE

  • How to get rid of Bing in the search bar

    When downloading a game (someone not me) failed to uncheck the box for downloading a gamesbar. IE, Chrome & Firefox got a new homepage and Bing as default search engine. I fixed the homepages. I believe I fixed the search engine on all but firefox. I

  • Oracle Problemetic query

    Hi All, I encountered a strange problem in oracle PL/SQL. I have a select query which fetches records from more than one table and it returns n rows lets say 1000 rows. Note: The tables used in select query have a constant data.At any time i query, i

  • Slideshow Background Music Adjusting Slide Where Music Starts?

    I've been trying to make a slideshow with music attached and can't find a solution to this problem anywhere. The problem is as follows. I have imported all my pictures and I've imported 5 music tracks, everything okay so far. However, I want to start

  • Automate Export function of Outlook

    I am fairly new to scripting and have been tasked to split several 20GB+ pst's by year for archiving. I've got multiple pst archives per user (thanks to previous sysadmin), all with sub-folders and I need to keep the folder structures but extract all