URGENT -- Increase the buffer of the serveroutput

Hello
I would like to know if it exists any way to increase the buffer of messages in SQL*PLUS.
I am testing the functions of a package (process very long) and I would like to know what happens in the middle to test it correctly. I have tried to write the package in Form Builder, but the version don4t let me use publics functions in selects, ... and there too many cases. I also tried to use the RESTRICT_REFERENCES pragma, and it doesn4t work very well in this version.
Please, send me any idea or suggestion that can help me.
Thanks.
Gabi

SET SERVEROUTPUT ... SIZE allows the buffer size to be changed within the predefined bounds.
- CJ

Similar Messages

  • How to increase the length of a columnin existing publication item

    We need to urgently increase the length of three columns in one of the tables that is sent offline as a publication item. I have searched everywhere to see if there is a procedure to see this. I only found process to add/drop columns but not modify to JUST increase the length.
    Can we just alter the tables on the server and republish the application? Will that cause any data loss on the client end?
    Any help is greatly appreciated.
    Thanks
    Sireesha

    I totally forgot about this method. Metalink had it in the headlines today and remembered your question.
    This should work for you.
    Applies to:
    Oracle Lite - Version: 10.2.0.1.0 to 10.2.0.2.0
    Information in this document applies to any platform.
    Goal
    The Goal of this Document is to show the right steps when it is necessary to increase the Column Size for a table
    which is used for the Synchronization with Oracle Lite 10GR2
    BECAREFULL, it is not supported to change the Column Size or make any Schema Evolution on the Primary key
    as The Synchronization Algorithm is based on Primary key
    Solution
    Create table test_sec (col1 number(10); varchar2(10));
    alter table test_sec add primary key (col1));
    Create Publication: PUB_TEST_SEC
    Create Publication: PI_TEST_SEC: select COL1, COL2 from scott.TEST_SEC fast
    Refresh, server wins, weight = 1 and add it to the Publicatio PUB_TEST_SEC
    Synchronize this PUB_TEST_SEC
    On the Server: increase the col2 WHICH IS NOT A PK, from 10 to 15
    alter Table scott.TEST_SEC modify (col2 (varchar2(15));
    To get the new Column Size on the olite DB, you need to alter the Publication item too using for example this code:
    import java.sql.*;
    import java.io.*;
    import oracle.lite.sync.Consolidator;
    import oracle.lite.sync.ConsolidatorManager;
    import oracle.mobile.admin.*;
    public class PublicationChange {
    public static void main(String argv[]) throws Throwable
    DriverManager.registerDriver ((Driver)Class.forName ("oracle.jdbc.driver.OracleDriver").newInstance());
    ConsolidatorManager consolidatorManager = new ConsolidatorManager();
    consolidatorManager.openConnection("mobileadmin","manager","JDBC:ORACLE:thin:@suppolite1.fr.oracle.com:1521:PROD");
    System.out.println("Connected");
    try
    /*You need to put a Select Statment lightly different from the Publication item,
    if you will use the same select statment, it won't take in Account
    if you used: select * from owner.table to create the Publication Item
    you need to use: select * from owner.table for the alterPublicationItem API
    consolidatorManager.alterPublicationItem("PI_TEST_SEC","SELECT * FROM SCOTT.TEST_SEC");
    System.out.println("Pub Item recreated");
    catch (Throwable e) {
    e.printStackTrace();
    try
    consolidatorManager.closeConnection();
    System.out.println("The installation is done!");
    } catch (Throwable e) {
    Compile and run this java code.
    Synchronize
    Check your table Description on Oracle Lite Database to verify that this Schema Evolution has worked as expected.

  • How to increase the buffer size ?

    Our BI system displays the following message when I execute a query on the web : buffer too small
    How to increase the buffer size ?
    Thanks in advance

    Indeed, we are using  Bex Web 7.0
    The query uses a big structure and when I execute it on the web, it takes a long time (> 5 min) and I receive folowing message on  top of the result page : " could not buffer query structures. Buffer too small "
    When I execute the query in Bex analyzer, it takes a long time too but we dont get the message
    I have checked the cache size:
          -  Local cache : 100 MB
          - Global cache : 200 MB
    Please let me know any solution as there is no BASIS  TEAM. The guy who installed the soft was a consultant and is no more reachable.
    Thanks in adavnce

  • How do you increase the Streaming buffer size in iTunes 10

    When I try to listen to the radio in ITunes it plays for 30 seconds then says rebuffering stream.
    I just upgraded to an iMac and my old dinasaur G4 does not have this problem.
    I've read things saying to increase the Streaming buffer size but I don't see how to do this anywhere.
    J

    I don't think that is possible with newer iTunes versions.

  • Is there a way to increase the video buffer for Flash Player 9?

    Does anyone know if it's possible to increase the buffer
    capacity for Flash Player 9? I'm living out in the boondocks for a
    while and am jonesing for Comedy Central videos. I just subscribed
    to a DSL provider in a rural setting but it's a little too far from
    the hub and the data transfer rate is slow. The Flash Player
    application appears to only buffer a minute of video. Currently I
    click the pause button while a selected video is playing and then
    wait for the data to buffer. Unfortunately, the data transfer is
    stopped after a minutes worth of video is loaded. Any
    suggestions?

    There's no way to do it on the client side. That can only be
    controlled by the developer of the content..

  • Will increasing the buffer size make flash streaming video stop stalling?

    I have surmised all this on my own so it could be just a fantasy, but:
    I am often the victim of slow internet connections. This means that when I try and watch streaming video it constantly pauses. It's my understanding that increasing the buffer size of flash would help prevent this but I can't figure out how to do that.
    Thanks

    You can pause the video just long enough for the player to load enough content. Most Flash player show a loading bar if you hover the player. For short pieces you can load the entire content before starting the play.

  • How to increase the size of keyboard buffer?

    Hi all,
    How can we increase the size of keyboard buffer? normally after getting OS prompt, the screen will allow you to type the characters/commands at one stretch to a limit of max 257 characters to my understanding. How do we increase this limit?
    OS is Solaris 9. OS session is taken through putty.
    Thanks
    Prasad.K

    Are you sure that it is not 255?
    There are two backgrounds to this number:
    1) There is a fixed-size buffer in the OS that has 257 (258) bytes length.
    2) The termios ioctls that can change the keyboard buffer size use an 8-bit value to indicate the new size (-> Limit is 255).
    If you write a C program you may try to get the "raw" keyboard data (possible in telnet/ssh connections, too) instead of using "gets()" and implement your own version of "gets()" that allows longer lines.
    Martin

  • How to increase the buffer size for Oracle?

    After I installed the patch 9.2.0.4, I kept getting 'ORA-03113: end-of-file on communication channel' error. According to the metalink, increasing the buffer size may solve this problem. I found when I set the trace on, this problem was gone, and after I set the trace off, it came back again. I am not sure if setting the trace on increases buffer size automatically or not, but I want to start from here.
    No matter how easy it is, I really didn't change buffer size before, can anyone show me how to do that?
    Thanks a lot.

    Hi,
    I think they asked to increase the db buffer cache size. You may try this
    alter system set db_cache_size=<new size in bytes> scope=both;
    Cheers
    Muneer

  • Urgent: regarding the increasing the performance of report

    Hi,
    I had a report which is displaying the correct data but i execute on PRD Server,it gets Request Time Out.So i want to increase the performance of it.Plzz help me out in doing this.
    REPORT  ZWIP_STOCK NO STANDARD PAGE HEADING LINE-SIZE 150.
    TABLES: AFPO, AFRU, MARA, MAKT.
    DATA: BEGIN OF ITAB OCCURS 0,
          AUFNR LIKE AFPO-AUFNR,
          MATNR LIKE AFPO-MATNR,
          LGORT LIKE AFPO-LGORT,
          MEINS LIKE MARA-MEINS,
          NTGEW LIKE MARA-NTGEW,
          MTART LIKE MARA-MTART,
          STOCK TYPE P LENGTH 10 DECIMALS 3,
          END OF ITAB.
    DATA : ITAB2 LIKE ITAB OCCURS 0 WITH HEADER LINE.
    DATA : DESC LIKE MAKT-MAKTX.
    SELECT-OPTIONS : MAT_TYPE FOR MARA-MTART.
    SELECT-OPTIONS : P_MATNR FOR AFPO-MATNR.
    DATA : V_MINOPR LIKE AFRU-VORNR,
           V_MAXOPR LIKE AFRU-VORNR,
           V_QTYMIN LIKE AFRU-GMNGA,
           V_QTYMAX LIKE AFRU-GMNGA,
           V_QTY TYPE P LENGTH 10 DECIMALS 3.
            SELECT AAUFNR AMATNR ALGORT BMEINS BNTGEW BMTART FROM AFPO AS A
              INNER JOIN MARA AS B ON AMATNR = BMATNR
                INTO TABLE ITAB WHERE ELIKZ <> 'X' AND MTART IN MAT_TYPE AND A~MATNR IN P_MATNR.
        ITAB2[] = ITAB[].
        SORT ITAB2 BY MATNR MEINS MTART NTGEW.
        DELETE ADJACENT DUPLICATES FROM ITAB2 COMPARING MATNR MEINS MTART NTGEW.
       LOOP AT ITAB2.
        V_QTY = 0.
          LOOP AT ITAB WHERE MATNR = ITAB2-MATNR.
            SELECT MIN( VORNR ) INTO V_MINOPR FROM AFRU WHERE AUFNR = ITAB-AUFNR.
            SELECT MAX( VORNR ) INTO V_MAXOPR FROM AFRU WHERE AUFNR = ITAB-AUFNR.
            SELECT SUM( GMNGA ) INTO V_QTYMIN FROM AFRU WHERE AUFNR = ITAB-AUFNR AND VORNR =  V_MINOPR.
            SELECT SUM( GMNGA ) INTO V_QTYMAX FROM AFRU WHERE AUFNR = ITAB-AUFNR AND VORNR =  V_MAXOPR.
            V_QTY = V_QTY + V_QTYMIN - V_QTYMAX.
          ENDLOOP.
          ITAB2-STOCK = V_QTY.
          MODIFY ITAB2.
        ENDLOOP.
        LOOP AT ITAB2.
              WRITE:/ ITAB2-MATNR,ITAB2-STOCK.
        ENDLOOP.

    Instead of code from
    itab2[] = itab[] till last endloop try code given below
    data : begin of minopr occurs 0,
           aufnr type afru-aurnr,
           vornr type afru-vornr,
           end of minopr.
    data : begin of maxopr occurs 0,
           aufnr type afru-aurnr,
           vornr type afru-vornr,
           end of maxopr.
    data : begin of qtymin occurs 0,
           aufnr type afru-aurnr,
           vornr type afru-vornr,
           end of qtymin.
    data : begin of qtymax occurs 0,
           aufnr type afru-aurnr,
           vornr type afru-vornr,
           end of qtymax.
    select aurnr vornr into table minopr from afru for all entries in itab where aurnr = itab-aufnr
    maxopr[] = minopr[].
    sort minopr by aufnr vornr ascending.
    sort maxopr by aufnr vornr descending.
    delete adjacent duplicates from minopr comparing aufnr.
    delete adjacent duplicates from maxopr comparing aufnr.
    SELECT aufnr vornr GMNGA INTO TABLE QTYMIN FROM AFRU for all entries in minopr WHERE AUFNR = minopr-AUFNR AND VORNR = MINOPR-vornr.
    SELECT aufnr vornr GMNGA INTO TABLE QTYMAX FROM AFRU for all entries in maxopr WHERE AUFNR = maxopr-AUFNR AND VORNR = maxopr-vornr.
    sort qtymin by aufnr.
    sort qtymax by aufnr
    sort itab by matnr MEINS MTART NTGEW.
    LOOP AT ITAB.
    v_minopr = 0.
    v_maxopr = 0.
    read table qtymin with key aufnr = itab-aufnr binary search.
    if sy-subrc = 0.
    loop at qtymin from sy-tabix.
    if qtymin-aufnr = itab-aufnr.
    V_MINOPR = V_MINOPR + itab-gmnga.
    else.
    exit.
    endif.
    endloop.
    endif.
    read table qtymax with key aufnr = itab-aufnr binary search.
    if sy-subrc = 0.
    loop at qtymax from sy-tabix.
    if qtymax-aufnr = itab-aufnr.
    V_MaxOPR = V_MaxOPR + itab-gmnga.
    else.
    exit.
    endif.
    endloop.
    endif.
    V_QTY = V_QTY + V_QTYMIN - V_QTYMAX.
    At new itab-matnr.
    if sy-tabix = 1.
    continue.
    endif.
    itab2 = itab.
    itab2-stock = v_qty.
    append itab2.
    V_QTY = 0.
    endat.
    ENDLOOP.
    itab2 = itab.
    itab2-stock = v_qty.
    append itab2.
    LOOP AT ITAB2.
    WRITE:/ ITAB2-MATNR,ITAB2-STOCK.
    ENDLOOP.

  • How To Increase The height of a line dynamically

    Dear all,
    In a table I am using expand to fit height for the text fields in the table.It's working fine.But the height of the partition lines of the table which divide the columns are not increasing.
    I have taken the rows of the table as different subform.I have written the following script on the exit event of the each subform to increase the height of the lines but it's not working.
    var fieldHeight = xfa.layout.h(xfa.form.form1.page1.subformname, "in");
    Line1.h = fieldHeight;
    Line2.h = fieldHeight;
    How can I do it?If any body can please help me.It's very urgent.
    Thanks a lot in advance
    Regards
    Rakesh

    I'm after pretty much the same thing too.
    I have a table of text fields which are all set to vertically expand to fit. If you enter data into 1 and make it expand vertically, none of the other fields in that row expand with it. This results in table rows looking uneven.
    I looked into using the 'h' property, but it doesn't seem to work. If you set up a field that displays the h value of another field it never budges from '0in', regardless of the field's height.
    I'd also be grateful for any ideas.
    Cheers,
    Craig

  • How to increase the size of a String[]

    I'm using a String[] variable that I do not know the maximal size, but i need to increase its size, how can I do that
    ex:
    String[] buffer = new String[]
    int i= 0;
    while (<condition>) {
    ???? // increase the size
    buffer [ i ] =.....
    }

    There is no way in Java to actually increase or decrease the size of an existing array. You'll have to create a new array of the appropriate size and copy elements of the first array into it, for example by using System.arraycopy.
    Or you could give your array a big enough size at start, so you won't have to do the above.
    A better idea would be to use a collection instead of an array (like an ArrayList) in the first place.

  • How to increase the length of the subject line in email using FM

    Hi
    we have maintained 50 characters for the subject line initially, but some subjects are having more than 50 characters. how can we increase the length of the subject line in email.
    urgent.
    points will be rewarded generousely.

    Hi Rana,
    In this case, you have to create a user defined field of required length under Journal Transactions Header to fill the data.
    Regards,
    Vijay Kumar
    SAP Business One Forums Team

  • How to increase the width of the column in Tableview

    Hi ALL,
    How to increase the width of the column in tableview?I have name column where big name is displaying in rows.Does any one have any idea how to increase the width of the column dynamically in tableview.Please respond its little urgent.
    Thanks in advance

    Hi Peter,
    Here is my Dynpage
    package com.ust.jcatotable;     
    import java.awt.Event;
    import javax.resource.cci.MappedRecord;
    import javax.resource.cci.RecordFactory;
    import com.sapportals.connector.connection.IConnection;
    import com.sapportals.connector.execution.functions.IInteraction;
    import com.sapportals.connector.execution.functions.IInteractionSpec;
    import com.sapportals.connector.execution.structures.IRecordSet;
    import com.sapportals.htmlb.DropdownListBox;
    import com.sapportals.htmlb.event.TableNavigationEvent;
    import com.sapportals.htmlb.page.DynPage;
    import com.sapportals.htmlb.page.PageException;
    import com.sapportals.portal.htmlb.page.JSPDynPage;
    import com.sapportals.portal.htmlb.page.PageProcessorComponent;
    import com.sapportals.portal.ivs.cg.ConnectionProperties;
    import com.sapportals.portal.ivs.cg.IConnectorGatewayService;
    import com.sapportals.portal.ivs.cg.IConnectorService;
    import com.sapportals.portal.prt.component.IPortalComponentContext;
    import com.sapportals.portal.prt.component.IPortalComponentProfile;
    import com.sapportals.portal.prt.component.IPortalComponentRequest;
    import com.sapportals.portal.prt.component.IPortalComponentResponse;
    import com.sapportals.portal.prt.runtime.PortalRuntime;
    public class Display extends PageProcessorComponent {
      public DynPage getPage(){
         return new DisplayDynPage();
    public static class DisplayDynPage extends JSPDynPage{
         private Object formatFlag;
         public static IConnection connection ;
         private IPortalComponentRequest request;
         private IPortalComponentContext context;
         private IPortalComponentProfile profile;
         private IPortalComponentResponse  response;
         private int visibleRow=1;
         TableBean myBean;
         public void doInitialization(){
                   response = (IPortalComponentResponse) this.getResponse();
                   request = (IPortalComponentRequest) this.getRequest();
                    context = request.getComponentContext();
                    profile = context.getProfile();
                    IPortalComponentProfile profile = context.getProfile();
                    Object o = context.getValue("myBean");
                    if(o==null || !(o instanceof TableBean)){
                       myBean = new TableBean();
                       setBeanFromProfile(profile, myBean);
                       context.putValue("myBean",myBean);
                     }else {
                       setBeanFromProfile(profile, myBean);
                        myBean = (TableBean) o;
                    this.getData();
         public void myOnNavigate(Event event) throws PageException{
              TableNavigationEvent tne = (TableNavigationEvent) event;
              this.visibleRow = tne.getFirstVisibleRowAfter();
              if(myBean!=null)
              myBean.setVisibleRow(new Integer(this.visibleRow).toString());

  • How to increase the memory of oracle

    Hi,
    I am having oracle database version 11.0.1.6 on windows server 2003 R2.
    My Server Ram size is 12 GB.
    select * from V$SGAINFO;
    Fixed SGA Size     1335136     No
    Redo Buffers     12529664     No
    Buffer Cache Size     1073741824     Yes
    Shared Pool Size     176160768     Yes
    Large Pool Size     8388608     Yes
    Java Pool Size     16777216     Yes
    Streams Pool Size     8388608     Yes
    Shared IO Pool Size     0     Yes
    Granule Size     8388608     No
    Maximum SGA Size     1297321984     No
    Startup overhead in Shared Pool     58720256     No
    Free SGA Memory Available     0     
    I want to increase my memory for oracle because i need to insert 31 billion rows into a table with nologging. I am inserting them chunk by chunk and commit after each chunk. But it is taking 62 hours to insert the rows. So i think if i increase the memory i could reduce the time to insert the rows.
    I really am not sure whether i am thinking in the right way. Please advise. If i want to increase the memory please let me know how to increase it.
    Thanks in advance

    Are all columns in the WHERE clause indexed?
    Are statistics current & accurate for all tables & indexes?
    post EXPLAIN PLAN for SQL below
    PROCEDURE Pro_unpvt_usm_dr
    IS
    BEGIN
        FOR k IN (SELECT DISTINCT pr_id
                  FROM   unpvt_im_dr_e0322) LOOP
            INSERT /*+ append */ INTO unpvt_usm_dr_e0322
            SELECT pr_id,
                   nr,
                   col,
                   Corr(n, m) val
            FROM   (SELECT a.pr_id,
                           a.nr,
                           b.nr  col,
                           a.n,
                           b.val m
                    FROM   unpvt_usm_drpre1_e0322 a,
                           unpvt_im_dr_e0322 b
                    WHERE  a.pr_id = k.pr_id
                           AND b.pr_id = k.pr_id
                           AND a.col = b.col)
            GROUP  BY pr_id,
                      nr,
                      col;
            COMMIT;
        END LOOP;
        dbms_output.Put_line('POPULATED UNPVT_USM_DR_E0322');
    END pro_unpvt_usm_dr;

  • How to increase the rows of a Table control on ITS

    Hi,
    I'm trying to increase the number of rows to 20 on ITS but it always shows 2 rows per navigation. Although in the backend module pool there are 8 rows and the GV_SOS_LIST_CONTROL-LINES contains the total no of rows of the internal table. yet there are always 2 rows getting printed. This screen is in different function group and being called from some other function group i.e BBP_SC_UI_ITS. Are there any parameters that we have missed out to pass from BBP_SC_UI_ITS to our function group. Reply needed urgently!!!!!!!!!!!

    Hi,
    i tried increasing the rows on the browser by hard coding the counter and then the rows do increase but the records that are shown are still 2 per navigation. i doubt if it is a screen size constraint. the transaction in which i'm trying all this is bbpsc01.

Maybe you are looking for

  • Multiple Apple Remotes

    Although it's quite funny to do I don't like that when I use my Apple Remote in my dorm room it controls my roomate's MacBook simultaneously with mine. Any ways to get around this b/c it is quite problematic.

  • KM4M-V and Installing Windows XP SP2 on WD 80GB SATA

    Here is my situation... My wifes computer had been having problems. Her older Asus Mainboard had some capacitor corrosion and we had ordered an MSI KM4M-V a while back, but we'd never used it. At the same time we decided we'd upgrade her hard drive.

  • Http interface with class

    HI EXPRTS! i am working on the Class which is the copy of CL_HTTP_EXT_CSIF BUT I HAVE USED OPEN DATASET for Create,Get and delete comands. which is used to interface with HTTP. when i execute the same with using Url i am geeting correct resules but w

  • Null Pointer when fetching VARRAY / OBJEC TYPE

    Hi, i'm trying to fetch a VARRAY, containing an Obeject Type consisiting of two NUMBERS (see scripts below). Now i used JDeveloper to generate corresponding Java Klasses. What i'm trying to do is this: String SQL = "select quantityprice from ts_trans

  • Chaning business area in asset master in AS02

    Dear SAP GURUS, We have an asset created in the system  and we assigned a business area to that asset. We have carried the depreciation run for the asset. Now we want to change the busiess area of that asset to a different business area. The system i