Oracle performance, slow for larger and more complex results.

Hello Oracle forum,
At the moment i have a Oracle database running and i'm specifically interested in the efficiency spatial extension for webmaps and GIS.
I've been testing the database with large shape files (400mb - 1gigabyte) loaded them into the database with shp2sdo->sql*loader.
Using Benchmark factory i've test the speed of transactions an these drop relatively quickly. I've started with a simple query:
SELECT id FROM map WHERE id = 3 when I increase the amount of id's to 3-10000 the performance decreases drastically.
so :
SELECT id FROM map WHERE id >=3 and id <= 10000
The explain plan shows the second query , both query's use the index.
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 9828 | 49140 | 22 (0)| 00:00:01 |
|* 1 | INDEX RANGE SCAN| SYS_C009650 | 9828 | 49140 | 22 (0)| 00:00:01 |
Statistics
0 recursive calls
0 db block gets
675 consistent gets
0 physical reads
0 redo size
134248 bytes sent via SQL*Net to client
7599 bytes received via SQL*Net from client
655 SQL*Net roundtrips to/from client
0 sorts (memory)
0 sorts (disk)
9796 rows processed
The statistics does not show very weird stuff, but maybe i'm wrong. Nothing changed in the explain plan except for the range scan instead of a unique scan.
The query returns lots of results and this is I think the reason why my measured time of the query is large. The time it takes returning large amount of rows increases quickly for more rows.
. Can this be solved? The table has been analyzed before starting the query.
The parameters of the database are not really changed from standard, I increased the amount of memory used by Oracle 11g to 1+ gigabyte.
and let the database itself decide how it uses this memory.
The system specs are and db_parameters are:
Oracle 11G
Memory Processor # of CPUs OS OS Version OS B
1.99 gb Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz 2 Microsoft WindowsXP 5.2600
0=Oracle decides which value will be given
cursor_sharing EXACT
cursor_space_for_time FALSE
db_block_size 8192
db_recovery_file_dest_size 2147483648
diagnostic_dest C:\DBBENCHMARK\ORACLE
dispatchers (PROTOCOL=TCP) (SERVICE=gistestXDB)
hash_area_size 131072
log_buffer 5656576
memory_max_target 1115684864
memory_target 1048576000
open_cursors 300
parallel_max_servers 20
pga_aggregate_target 0
processes 150
resumable_timeout 2162688
sort_area_size 65536
Sga=632mb
PGA=368mb
javapool=16mb
largepool=8mb
other=8mb
So I indexed and analyzed the data what did i forget? I can speed it up with soft parsing, but the problem remains . Hopefully this enough information for some analysis, does anyone experienced the same problems ? I tested with SQLdeveloper the speed and is shows the same speed as Benchmark factory. What could be wrong with the parameters?
Thanks,
Jan Martijn
Edited by: user12227964 on 25-jan-2010 4:53
Edited by: user12227964 on 26-jan-2010 2:20

Sand wrote:
select count(id) , resulted in 3669015 counted id's.
The database counted 18,345,075 rows per second without binded variables , which is ten times slower as your result. This can be possible because of hardware but my question is specifically about the number of rows returned thus large amount of results. The idea was not to compare the speed of "+select count(*)+" statements - but to illustrate that even when dealing with a huge number of rows, one can decrease the amount of I/O that needs to be performed to deal with that number of rows.
Select id from map where id <= 1
4000 rows per second are selected, Rows/sec is a meaningless measurement - due to physical I/O (PIO) versus logical I/O (LIO). You can select a 100 rows and these require PIO. Resulting in an elapsed time of 1 sec. You can select a 1000 rows that require only LIO. With an an elapsed time of 0.5 sec.
Is the 2nd method better or faster? No. It simply needed less time to be spend on I/O as the data blocks were in the buffer cache (memory) and did not require very slow and expensive disk access.
Another database i testes returns 6 times 25425 rows back per second for the same query (100 ids). What could be a parameter that limits the output speed of multiple rows in a query?.Every single row that needs to be read/processed by a SQL statement has a cost associated with it. This cost is not consistent! It differs depending on how that row can reached - what I/O paths are available to find that rows? Does the full table need to be scanned? Does an index need to be scanned? Is there a unique index that can be used? Is the table partitioned and can partitioning pruning be applied and local partition indexes used? Are there are user functions that need to be applied to the row's data? Etc. Etc.
All these together determine how fast the client gets a row from the cursor executing that SQL.
The more rows you want to process, the bigger the increase in the cost/expense - specifically more I/O. As I/O is the biggest expense (slowest ito elapsed time).
So you want to do as little I/O as possible and read as little data as possible. For example, instead of a full table scan, a fast full index scan. For example, instead of reading the complete contents of a 10GB table, reading the complete contents of a 12MB index for that table.
I suggest that you read the Oracle Performance Guide to familiarise yourself with basic performance concepts. Use http://tahiti.oracle.com for finding the the guide for your applicable Oracle version.

Similar Messages

  • How to make address book larger and more readable?

    extra large isn't big enough. is there a way to make the address book interface larger and more readable?

    This won't cover the entire interface (although there is a somewhat experimental way to do that as well), but try quitting "Address Book.app" if it is running, opening "/Applications" > "Utilities" > "Terminal.app" and entering this command:<pre>defaults write com.apple.AddressBook ABTextSizeIncrement -int 10</pre>Then relaunch "Address Book.app". Substitute whatever integer value you prefer in place of "10" (the default sizes are 1, 2 and 3 respectively for "regular", "large" and "extra large").

  • [svn:fx-trunk] 8712: Fix embedded fonts in RSLs ( and more complex module topologies)

    Revision: 8712
    Author:   [email protected]
    Date:     2009-07-21 10:39:03 -0700 (Tue, 21 Jul 2009)
    Log Message:
    Fix embedded fonts in RSLs (and more complex module topologies)
    QE Notes: None
    Doc Notes: None
    Bugs: SDK-22313
    Reviewer: Darrell, Gordon
    API Change: None
    Is noteworthy for integration: No
    tests: checkintests mustella/gumbo/components/TextInput mustella/gumbo/components/TextArea
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-22313
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/core/FlexModuleFactory.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/RichEditableText.as
        flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PreLink.java

    Hi Stephan,
    this solved placing both animation on one page.  Make sure all your fonts are called out in the <head> section like for example:
    <script>var __adobewebfontsappname__="dreamweaver"</script>
    <script src="http://use.edgefonts.net/quicksand:n3,n4:default.js" type="text/javascript"></script>
    Dreamweaver does this automatic for you.  If you are having a font conflict I recommend under command  (if you are using dreamweaver)
    Clean up the font Tag and add only the ones that you are using again,  sometimes they accumulate.
    Good Luck.

  • Is Oracle 11g released for NW04s and ECC6.0?

    Is Oracle 11g released for NW04s and ECC6.0?
    Please help. Thanks!

    Plain and simple: No, it isn't.
    Check the SAP on Oracle homepage [here|SAP on Oracle] in SDN and read the latest development news on this topic including a rough schedule.
    regards,
    Lars

  • Oracle Fusion Intelligence for E1 and the old EPM Data Marts

    I just received the latest edition of the "JD Edwards EnterpriseOne: The Complete Reference" book. Chapter 5 deals with Data Warehousing and OBI. This chapter mentions that Oracle has plans to make the old JDE EPM data marts compatible with OBIEE. The new offering will be called Oracle Fusion Intelligence for EnterpriseOne.
    I was wondering if anyone has more information about what this means as far as joining E1 to OBIEE. Does anyone have experience with the EPM data marts from JDE? I've never used them and was just wondering if I could get some specifics on the entire E1/OBIEE concept.
    I've also heard that Oracle is creating some adapters for E1 into OBIEE, so I'm assuming that those are along these same lines.
    Thanks,

    I am now hearing about finance analytics. I am more confused.

  • Skyp file transfer on LAN slow for windows and Mac...

    Hi,
    We are extensively use skype and since we upgrade skype to 6.18 and above ... file transfer on LAN is super slow... to transfer file 200MB it took over 15 minutes but when i'm skype 6.16 it took about 45 seconds... can anyone lemme know to fix it or tweak it on both Mac and windows so i can speed up file transfer on LAN....

    I've been experiencing the same issue. I keep having to downgrade to 6.16 and cancel automatic updates for this same reason. It's really frustrating as my work involves sendig and receiving files via Skype. Versions 6.18 and up not only are too slow (a large file, for example, that would normally take 18 hours or less to transfer takes 1 week! on 6.18 and higher) but also slow down my whole connection while surfing. 6.16 allows me to transfer at a fast speed and I can watch videos and have a 256k livestream radio going, be on a skype call and still have enough speed to download from the Internet without slowing anything down. This is completely unacceptable. I see that no one has replied to this and nothing has been done to fix this issue. I wonder if Skype even browses through these. 

  • 3D Interactive UI, Papervision w/ Flex for Games and more- hands on, from intro to expert

    In SF on 11/20.
    more info at:
    http://papervision.proj.com
    A 10 hour bootcamp in Flex to learn 3D using Papervision.
    Taught by professional trainer Vic Cekvenich.
    We will cover hands on labs from scratch:
    * Setting up the SDK
    * Warm up: 2D Motion
    * 3D Primitives
    * 3D Math
    * Materials
    * Make a complex objects (Collada)
    * Interactions
    * Shadows/Reflection
    * Flash 10
    * Calling a remote (web java/data ) service
    * and more.
    This is an intensive all day class stressing techniques
    useful for gaming and traditional 3D. You will walk out comfortable
    creating simple 3D games or a Rich UI Web site.
    You must provide your own laptop, over 1 GB ram recommended.
    Power will be provided for each laptop. We will mail you class prep
    materials on a usb stick 10 days before the class. You will also
    have support after the class.

    In SF on 11/20.
    more info at:
    http://papervision.proj.com
    A 10 hour bootcamp in Flex to learn 3D using Papervision.
    Taught by professional trainer Vic Cekvenich.
    We will cover hands on labs from scratch:
    * Setting up the SDK
    * Warm up: 2D Motion
    * 3D Primitives
    * 3D Math
    * Materials
    * Make a complex objects (Collada)
    * Interactions
    * Shadows/Reflection
    * Flash 10
    * Calling a remote (web java/data ) service
    * and more.
    This is an intensive all day class stressing techniques
    useful for gaming and traditional 3D. You will walk out comfortable
    creating simple 3D games or a Rich UI Web site.
    You must provide your own laptop, over 1 GB ram recommended.
    Power will be provided for each laptop. We will mail you class prep
    materials on a usb stick 10 days before the class. You will also
    have support after the class.

  • Performance Issue For Opening And Closing Balance In FBL1N/3N/5N

    Dear experts,
                        I Am Having Requirement to Bring Opening And Closing Balance In FBL1N, FBL3N, FBL5N.
    For This requirement I Used BADI : FI_ITEMS_CH_DATA~CHANGE_ITEMS, below is my Code For FBL1N, And I've Done the same For 3N/5N...With Related BAPI
    *   IF SY-TCODE = 'FBL1N'.
    *    LOOP AT ct_items INTO gs_items.
    *      CALL FUNCTION 'RP_CALC_DATE_IN_INTERVAL'
    *        EXPORTING
    *          date      = gs_items-budat
    *          days      = '01'
    *          months    = '00'
    *          signum    = '-'
    *          years     = '00'
    *        IMPORTING
    *          calc_date = lv_date.
    *      CALL FUNCTION 'BAPI_AP_ACC_GETKEYDATEBALANCE'
    *        EXPORTING
    *          companycode        = gs_items-bukrs
    *          vendor             = gs_items-konto
    *          keydate            = lv_date
    **   BALANCESPGLI       = ' '
    **   NOTEDITEMS         = ' '
    ** IMPORTING
    **   RETURN             =
    *        TABLES
    *          keybalance         =  lv_obal.
    *      CALL FUNCTION 'BAPI_AP_ACC_GETKEYDATEBALANCE'
    *        EXPORTING
    *          companycode        = gs_items-bukrs
    *          vendor             = gs_items-konto
    *          keydate            = gs_items-budat
    **   BALANCESPGLI       = ' '
    **   NOTEDITEMS         = ' '
    ** IMPORTING
    **   RETURN             =
    *        TABLES
    *          keybalance         = lv_cbal
    *      READ TABLE lv_cbal INTO gs_cbal INDEX 1.
    *      gs_items-cbal = gs_cbal-lc_bal.
    *      READ TABLE lv_obal INTO gs_obal INDEX 1.
    *      gs_items-obal = gs_obal-lc_bal.
    *      MODIFY ct_items FROM gs_items TRANSPORTING obal cbal.
    *      CLEAR: gs_items,gs_obal,gs_cbal.
    *    ENDLOOP.
    *   ENDIF.
    So, Above Code Causing Me the Performance Issue, Kindly Suggest Me the Solution..
    Regards,
    uday.

    Hi Uday,
    I am sending you the code i used for the creation a Zreport based on FBL5N. Please check if it can of any help.
    *& Report  ZFBL5N                                                      *
    REPORT  zfbl5n_new  .
    TABLES : bsid,knc1,lfc1.
    TYPE-POOLS: slis.
    TYPES: BEGIN OF ty_bsid,
              bukrs TYPE bsid-bukrs,
              kunnr TYPE bsid-kunnr,
              belnr TYPE bsid-belnr,
              buzei TYPE bsid-buzei,
              bldat TYPE bsid-bldat,
              blart TYPE bsid-blart,
              bschl TYPE bsid-bschl,
              shkzg TYPE bsid-shkzg,
              dmbtr TYPE bsid-dmbtr,
              augdt TYPE bsid-augdt,
              augbl TYPE bsid-augbl,
              zuonr TYPE bsid-zuonr,
              sgtxt TYPE bsid-sgtxt,
              zfbdt TYPE bsid-zfbdt,
              zterm TYPE bsid-zterm,
              zbd1t TYPE bsid-zbd1t,
              zbd2t TYPE bsid-zbd2t,
              zbd3t TYPE bsid-zbd3t,
              kkber TYPE bsid-kkber,
              bstat TYPE bsid-bstat,
              umskz TYPE bsid-umskz,
            END OF ty_bsid.
    TYPES: BEGIN OF ty_bsik,
             bukrs TYPE bsik-bukrs,
              lifnr TYPE bsik-lifnr,
              belnr TYPE bsik-belnr,
              buzei TYPE bsik-buzei,
              bldat TYPE bsik-bldat,
              blart TYPE bsik-blart,
              bschl TYPE bsik-bschl,
              shkzg TYPE bsik-shkzg,
              dmbtr TYPE bsik-dmbtr,
              augdt TYPE bsik-augdt,
              augbl TYPE bsik-augbl,
              zuonr TYPE bsik-zuonr,
              sgtxt TYPE bsik-sgtxt,
               zfbdt TYPE bsik-zfbdt,
    *         KKBER TYPE bsik-kkber,
              zterm TYPE bsik-zterm,
               zbd1t TYPE bsik-zbd1t,
              zbd2t TYPE bsik-zbd2t,
              zbd3t TYPE bsik-zbd3t,
              bstat TYPE bsid-bstat,
              umskz TYPE bsid-umskz,
            END OF ty_bsik.
    TYPES: BEGIN OF ty_final,
              belnr TYPE bsid-belnr,
    *         buzei TYPE bsak-buzei,
              bldat TYPE bsid-bldat,
              blart TYPE bsid-blart,
              chq TYPE bsid-zuonr,
              debit TYPE bsid-dmbtr,
              credit TYPE bsid-dmbtr,
              txt TYPE bsid-sgtxt,
              date TYPE bsid-zfbdt,
              kkber TYPE bsid-kkber,
              zterm TYPE bsid-zterm,
              augbl TYPE bsid-augbl,
              augdt TYPE bsid-augdt,
              flag TYPE c,
            END OF ty_final.
    TYPES : BEGIN OF gs_openbal,
              bukrs TYPE bapi3007_2-comp_code,
              kunnr TYPE bapi3007_2-customer,
              dmbtr TYPE bapi3007_2-lc_amount,
             END OF gs_openbal.
    DATA: it_bsid TYPE STANDARD TABLE OF ty_bsid,
           it_bsik TYPE STANDARD TABLE OF ty_bsik,
           it_final TYPE STANDARD TABLE OF ty_final.
    DATA: wa_bsid TYPE ty_bsid,
           wa_bsik TYPE ty_bsik,
           wa_final TYPE ty_final.
    DATA: w_days TYPE t5a4a-dlydy,
           w_month TYPE t5a4a-dlymo,
           w_year TYPE t5a4a-dlyyr,
           w_date TYPE p0001-begda,
           w_name1 TYPE kna1-name1,
           w_ort01 TYPE kna1-ort01,
           w_lifnr TYPE kna1-lifnr,
           w_dmbtr1 TYPE bsid-dmbtr,
           w_dmbtr2 TYPE bsid-dmbtr,
           w_dmbtr3 TYPE bsad-dmbtr,
           w_dmbtr4 TYPE bsad-dmbtr,
           w_opbal TYPE bsid-dmbtr,
           w_credit TYPE bsik-dmbtr,
           w_debit TYPE bsik-dmbtr,
           w_clobal TYPE bsik-dmbtr,
           w_credit1 TYPE bsik-dmbtr,
           w_debit1 TYPE bsik-dmbtr,
           w_clobal1 TYPE bsik-dmbtr.
    DATA: ld_yrper LIKE rwcoom-fiscper,
           kunnr LIKE kna1-kunnr,
           x_norm TYPE c,
           x_park,
           x_apar,
           x_merk,
           ok_code(4),
           wa_x001 LIKE x001,
           return LIKE bapireturn,
           line_count LIKE sy-loopc,
           number_of_records TYPE i,
           xindex LIKE sy-tabix,
           open LIKE knc1-um01s,
           temp(20),
           close LIKE knc1-um01s,
           gjahr LIKE bsid-gjahr,
           period LIKE bkpf-monat,
           f(1),
           v_char(2),
           closec(20),
           openc(20),
           debit LIKE bapi3007_2-lc_amount,
           credit LIKE debit.
    DATA : v_dmbtr LIKE bsid-dmbtr.
    *DATA : tot_debit LIKE t_ar-debit,
    *       tot_credit LIKE t_ar-credit.
    DATA : t_kna1 LIKE kna1 OCCURS 1  WITH HEADER LINE,
            t_knb1 LIKE knb1 OCCURS 10 WITH HEADER LINE.
    DATA ibsid LIKE bsid OCCURS 0 WITH HEADER LINE.
    DATA ibsad LIKE bsad OCCURS 0 WITH HEADER LINE.
    DATA ibsik LIKE bsik OCCURS 0 WITH HEADER LINE.
    DATA ibsak LIKE bsak OCCURS 0 WITH HEADER LINE.
    DATA : it_fieldcat_alv   TYPE slis_t_fieldcat_alv,
            wa_fieldcat_alv     TYPE slis_fieldcat_alv,
            is_layout_alv  TYPE slis_layout_alv,
            wa_layout_alv  TYPE slis_layout_alv,
            it_list_top_of_page TYPE slis_t_listheader,
            it_events TYPE slis_t_event,
            wa_events TYPE LINE OF slis_t_event.
    DATA : BEGIN OF ibukrs OCCURS 0,
               bukrs LIKE t001-bukrs,
              END OF ibukrs.
    DATA : BEGIN OF ikunnr1 OCCURS 0,
              kunnr LIKE knc1-kunnr,
             END OF ikunnr1.
    DATA : BEGIN OF ikunnr OCCURS 0,
               kunnr LIKE knc1-kunnr,
               bukrs LIKE t001-bukrs,
               lifnr LIKE lfc1-lifnr,
              END OF ikunnr.
    DATA: it_sort TYPE slis_t_sortinfo_alv,
           wa_sort TYPE slis_sortinfo_alv.
    DATA:    r_bschl TYPE RANGE OF bschl,
              wa_bschl LIKE LINE OF r_bschl.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS : p_kunnr TYPE bsid-kunnr OBLIGATORY,
                  p_bukrs TYPE bsid-bukrs OBLIGATORY.
    SELECT-OPTIONS: so_budat FOR bsid-budat .
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
    PARAMETERS : p_normal AS CHECKBOX,
                  p_spl    AS CHECKBOX,
                  p_vendor AS CHECKBOX.
    SELECTION-SCREEN END OF BLOCK b2.
    PERFORM get_data.
    PERFORM process_data.
    *PERFORM calculate_openbal. " Commented by anish
    PERFORM calculate_open_bal.
    PERFORM calculate_closing_bal.
    PERFORM build_catalog_sort USING it_sort.
    PERFORM reuse_alv_events_get .
    PERFORM display_data.
    *&      Form  GET_DATA
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM get_data .
       SELECT bukrs kunnr belnr buzei bldat blart bschl shkzg dmbtr augdt augbl zuonr sgtxt zfbdt zterm zbd1t zbd2t zbd3t kkber
         bstat umskz FROM bsid
         INTO TABLE it_bsid
         WHERE bukrs = p_bukrs
          AND kunnr = p_kunnr
          AND budat IN so_budat.
       SELECT bukrs kunnr belnr buzei bldat blart bschl shkzg dmbtr augdt augbl zuonr sgtxt zfbdt zterm zbd1t zbd2t zbd3t kkber
        bstat umskz FROM bsad
        APPENDING TABLE it_bsid
        WHERE bukrs = p_bukrs
         AND kunnr = p_kunnr
         AND budat IN so_budat.
       SELECT SINGLE name1 ort01 lifnr FROM kna1
         INTO (w_name1 , w_ort01 , w_lifnr)
         WHERE kunnr = p_kunnr.
       IF p_vendor IS NOT INITIAL.
         SELECT bukrs lifnr belnr buzei bldat blart bschl shkzg dmbtr augdt augbl zuonr sgtxt zfbdt zterm zbd1t zbd2t zbd3t
         bstat umskz   FROM bsik
         APPENDING TABLE it_bsik
         WHERE bukrs = p_bukrs
           AND lifnr = w_lifnr
           AND budat IN so_budat.
         SELECT bukrs lifnr belnr buzei bldat blart bschl shkzg dmbtr augdt augbl zuonr sgtxt zfbdt zterm zbd1t zbd2t zbd3t
         bstat umskz  FROM bsak
        APPENDING TABLE it_bsik
        WHERE bukrs = p_bukrs
          AND lifnr = w_lifnr
          AND budat IN so_budat.
       ENDIF.
       SORT it_bsid BY bschl.
       DELETE  it_bsid WHERE bschl = '04'.
       DELETE  it_bsid WHERE bschl = '07'.
       DELETE  it_bsid WHERE bschl = '17'.
       DELETE  it_bsid WHERE bschl = '34'.
       DELETE  it_bsid WHERE bschl = '27'.
       DELETE  it_bsid WHERE bschl = '37'.
       SORT it_bsik BY bschl.
       DELETE  it_bsik WHERE bschl = '04'.
       DELETE  it_bsik WHERE bschl = '07'.
       DELETE  it_bsik WHERE bschl = '17'.
       DELETE  it_bsik WHERE bschl = '34'.
       DELETE  it_bsik WHERE bschl = '27'.
       DELETE  it_bsik WHERE bschl = '37'.
    ENDFORM.                    " GET_DATA
    *&      Form  PROCESS_DATA
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM process_data .
       DATA:okay       TYPE c VALUE space.
       w_month = '00'.
       w_year = '00'.
       SORT it_bsid BY bldat .
       LOOP AT it_bsid INTO wa_bsid.
         PERFORM check_item_ok  USING p_normal
                                      p_spl
                                      p_vendor
    *                               x_park
                                      wa_bsid
                                CHANGING okay.
         CHECK okay = 'X'.
         wa_final-belnr = wa_bsid-belnr.
         wa_final-bldat = wa_bsid-bldat.
         wa_final-blart = wa_bsid-blart.
         wa_final-txt = wa_bsid-sgtxt.
         wa_final-kkber = wa_bsid-kkber.
         wa_final-zterm = wa_bsid-zterm.
         wa_final-augbl = wa_bsid-augbl.
         wa_final-augdt = wa_bsid-augdt.
         wa_final-flag = 'C'.
         IF wa_bsid-blart = 'DZ'.
           wa_final-chq = wa_bsid-zuonr.
         ENDIF.
         IF wa_bsid-shkzg = 'S'.
           wa_final-debit = wa_bsid-dmbtr.
         ELSEIF wa_bsid-shkzg = 'H'.
           wa_final-credit = wa_bsid-dmbtr.
         ENDIF.
         w_credit = w_credit + wa_final-credit.
         w_debit = w_debit + wa_final-debit.
    ****** Net due  date
         IF wa_bsid-zbd1t IS NOT INITIAL.
           w_days = wa_bsid-zbd1t.
         ELSEIF wa_bsid-zbd2t IS NOT INITIAL.
           w_days = wa_bsid-zbd2t.
         ELSEIF wa_bsid-zbd3t IS NOT INITIAL.
           w_days = wa_bsid-zbd3t.
         ENDIF.
         IF w_days IS INITIAL.
           wa_final-date = wa_bsid-zfbdt.
         ELSE.
           CALL FUNCTION 'RP_CALC_DATE_IN_INTERVAL'
             EXPORTING
               date      = wa_bsid-zfbdt
               days      = w_days
               months    = w_month
               signum    = '+'
               years     = w_year
             IMPORTING
               calc_date = w_date.
           wa_final-date = w_date.
         ENDIF.
         APPEND wa_final TO it_final.
         CLEAR: w_days , w_date , wa_final .
       ENDLOOP.
       IF it_bsik IS NOT INITIAL.
         CLEAR: w_days , w_date.
         SORT it_bsik BY bldat.
         LOOP AT it_bsik INTO wa_bsik.
           wa_final-belnr = wa_bsik-belnr.
           wa_final-bldat = wa_bsik-bldat.
           wa_final-blart = wa_bsik-blart.
           wa_final-txt = wa_bsik-sgtxt.
    *    wa_final-kkber = wa_bsik-kkber.
           wa_final-zterm = wa_bsik-zterm.
           wa_final-augbl = wa_bsik-augbl.
           wa_final-augdt = wa_bsik-augdt.
           wa_final-flag = 'V'.
           IF wa_bsik-blart = 'DZ'.
             wa_final-chq = wa_bsik-zuonr.
           ENDIF.
           IF wa_bsik-shkzg = 'S'.
             wa_final-debit = wa_bsik-dmbtr.
           ELSEIF wa_bsik-shkzg = 'H'.
             wa_final-credit = wa_bsik-dmbtr.
           ENDIF.
           w_credit1 = w_credit1 + wa_final-credit.
           w_debit1 = w_debit1 + wa_final-debit.
    *******  Net Due date
           IF wa_bsik-zbd1t IS NOT INITIAL.
             w_days = wa_bsik-zbd1t.
           ELSEIF wa_bsik-zbd2t IS NOT INITIAL.
             w_days = wa_bsik-zbd2t.
           ELSEIF wa_bsik-zbd3t IS NOT INITIAL.
             w_days = wa_bsik-zbd3t.
           ENDIF.
           IF w_days IS INITIAL.
             wa_final-date = wa_bsik-zfbdt.
           ELSE.
             CALL FUNCTION 'RP_CALC_DATE_IN_INTERVAL'
               EXPORTING
                 date      = wa_bsik-zfbdt
                 days      = w_days
                 months    = w_month
                 signum    = '+'
                 years     = w_year
               IMPORTING
                 calc_date = w_date.
           ENDIF.
           wa_final-date = w_date.
           APPEND wa_final TO it_final.
           CLEAR: wa_final.
         ENDLOOP.
       ENDIF.
    ENDFORM.                    " PROCESS_DATA
    *&      Form  DISPLAY_DATA
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM display_data .
       wa_fieldcat_alv-fieldname = 'BELNR'.
       wa_fieldcat_alv-tabname = 'IT_FINAL'.
       wa_fieldcat_alv-seltext_l = text-003.
       wa_fieldcat_alv-outputlen = '11'.
       APPEND wa_fieldcat_alv TO it_fieldcat_alv.
       CLEAR wa_fieldcat_alv.
       wa_fieldcat_alv-fieldname = 'BLDAT'.
       wa_fieldcat_alv-tabname = 'IT_FINAL'.
       wa_fieldcat_alv-seltext_l = text-004.
       wa_fieldcat_alv-outputlen = '13'.
       APPEND wa_fieldcat_alv TO it_fieldcat_alv.
       CLEAR wa_fieldcat_alv.
       wa_fieldcat_alv-fieldname = 'BLART'.
       wa_fieldcat_alv-tabname = 'IT_FINAL'.
       wa_fieldcat_alv-seltext_l = text-005.
       wa_fieldcat_alv-outputlen = '02'.
       APPEND wa_fieldcat_alv TO it_fieldcat_alv.
       CLEAR wa_fieldcat_alv.
       wa_fieldcat_alv-fieldname = 'CHQ'.
       wa_fieldcat_alv-tabname = 'IT_FINAL'.
       wa_fieldcat_alv-seltext_l = text-006.
       wa_fieldcat_alv-outputlen = '09'.
       APPEND wa_fieldcat_alv TO it_fieldcat_alv.
       CLEAR wa_fieldcat_alv.
       wa_fieldcat_alv-fieldname = 'DEBIT'.
       wa_fieldcat_alv-tabname = 'IT_FINAL'.
       wa_fieldcat_alv-seltext_l = text-007.
       wa_fieldcat_alv-outputlen = '15'.
       wa_fieldcat_alv-do_sum = 'X'.
       APPEND wa_fieldcat_alv TO it_fieldcat_alv.
       CLEAR wa_fieldcat_alv.
       wa_fieldcat_alv-fieldname = 'CREDIT'.
       wa_fieldcat_alv-tabname = 'IT_FINAL'.
       wa_fieldcat_alv-seltext_l = text-008.
       wa_fieldcat_alv-outputlen = '15'.
       wa_fieldcat_alv-do_sum = 'X'.
       APPEND wa_fieldcat_alv TO it_fieldcat_alv.
       CLEAR wa_fieldcat_alv.
       wa_fieldcat_alv-fieldname = 'TXT'.
       wa_fieldcat_alv-tabname = 'IT_FINAL'.
       wa_fieldcat_alv-seltext_l = text-009.
       wa_fieldcat_alv-outputlen = '50'.
       APPEND wa_fieldcat_alv TO it_fieldcat_alv.
       CLEAR wa_fieldcat_alv.
       wa_fieldcat_alv-fieldname = 'DATE'.
       wa_fieldcat_alv-tabname = 'IT_FINAL'.
       wa_fieldcat_alv-seltext_l = text-010.
       wa_fieldcat_alv-outputlen = '12'.
       APPEND wa_fieldcat_alv TO it_fieldcat_alv.
       CLEAR wa_fieldcat_alv.
       wa_fieldcat_alv-fieldname = 'KKBER'.
       wa_fieldcat_alv-tabname = 'IT_FINAL'.
       wa_fieldcat_alv-seltext_l = text-011.
       wa_fieldcat_alv-outputlen = '04'.
       APPEND wa_fieldcat_alv TO it_fieldcat_alv.
       CLEAR wa_fieldcat_alv.
       wa_fieldcat_alv-fieldname = 'ZTERM'.
       wa_fieldcat_alv-tabname = 'IT_FINAL'.
       wa_fieldcat_alv-seltext_l = text-012.
       wa_fieldcat_alv-outputlen = '13'.
       APPEND wa_fieldcat_alv TO it_fieldcat_alv.
       CLEAR wa_fieldcat_alv.
       wa_fieldcat_alv-fieldname = 'AUGBL'.
       wa_fieldcat_alv-tabname = 'IT_FINAL'.
       wa_fieldcat_alv-seltext_l = text-013.
       wa_fieldcat_alv-outputlen = '15'.
       APPEND wa_fieldcat_alv TO it_fieldcat_alv.
       CLEAR wa_fieldcat_alv.
       wa_fieldcat_alv-fieldname = 'AUGDT'.
       wa_fieldcat_alv-tabname = 'IT_FINAL'.
       wa_fieldcat_alv-seltext_l = text-014.
       wa_fieldcat_alv-outputlen = '17'.
       APPEND wa_fieldcat_alv TO it_fieldcat_alv.
       CLEAR wa_fieldcat_alv.
       wa_fieldcat_alv-fieldname = 'FLAG'.
       wa_fieldcat_alv-tabname = 'IT_FINAL'.
       wa_fieldcat_alv-tech = 'X'.
       APPEND wa_fieldcat_alv TO it_fieldcat_alv.
       CLEAR wa_fieldcat_alv.
       CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
        EXPORTING
          i_callback_program             = sy-repid
          is_layout                      = wa_layout_alv
          it_fieldcat                    = it_fieldcat_alv
    *   IT_EXCLUDING                   =
    *   IT_SPECIAL_GROUPS              =
          it_sort                        = it_sort
          it_events                      = it_events
          i_save                            = 'A'
         TABLES
           t_outtab                       = it_final
        EXCEPTIONS
          program_error                  = 1
          OTHERS                         = 2
       IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
       ENDIF.
    *  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    *    EXPORTING
    *      i_callback_program                = sy-repid
    *     i_callback_top_of_page            = 'TOP_OF_PAGE'
    *      is_layout                         = wa_layout_alv
    *      it_fieldcat                       = it_fieldcat_alv
    *      it_sort                           = it_sort
    ***   I_DEFAULT                         = 'X'
    **      i_save                            = 'A'
    ***   IT_EVENTS                         =
    *     TABLES
    *       t_outtab                          = it_final
    *    EXCEPTIONS
    *      program_error                     = 1
    *      OTHERS                            = 2
    *  IF sy-subrc <> 0.
    *** MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    ***         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    *  ENDIF.
    ENDFORM.                    " DISPLAY_DATA
    *&      Form  TOP_OF_PAGE
    *       Header at top of page.
    FORM top_of_page.
       SKIP 1.
       WRITE: AT 35 'Account Statement from' , so_budat-low , 'to' , so_budat-high.
       SKIP 2.
       WRITE: AT /5 'CUSTOMER:' , p_kunnr.
       WRITE: AT 35 'Name:' , w_name1.
       WRITE: AT /5 'Company:' , p_bukrs.
       WRITE: AT 35 'City:' , w_ort01.
       SKIP 1.
       WRITE: AT /5 'Opening Balance as on' , so_budat-low , '   ' ,  w_opbal LEFT-JUSTIFIED.
       SKIP 2.
    ENDFORM.                    "TOP_OF_PAGE
    *&      Form  END_OF_PAGE
    *       Footer at End of page.
    FORM end_of_page.
       SKIP 2.
       IF so_budat-high IS NOT INITIAL.
         WRITE: AT 5 'Closing Balance as on' , so_budat-high , '   ' ,  w_clobal LEFT-JUSTIFIED.
       ELSE.
         WRITE: AT 5 'Closing Balance  ' , w_clobal LEFT-JUSTIFIED.
       ENDIF.
    ENDFORM.                    "end_of_page
    *&      Form  CALCULATE_OPENBAL
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM calculate_openbal .
       DATA:v_gjahr       TYPE bsid-gjahr.
       DATA: v_period LIKE  t009b-poper,v_monat LIKE t001-periv.
       CALL FUNCTION 'FI_PERIOD_DETERMINE'
              EXPORTING
                   i_budat        = so_budat-low
                   i_bukrs        = p_bukrs
    *           I_PERIV        = ' '
    *           I_GJAHR        = 0000
    *           I_MONAT        = 00
    *           X_XMO16        = ' '
              IMPORTING
                   e_gjahr        = v_gjahr
    *            e_monat        = v_monat
                   e_poper        = v_period.
       IF sy-subrc NE 0.
       ENDIF.
       DATA: f_date LIKE sy-datum.
       CALL FUNCTION 'FIRST_DAY_IN_PERIOD_GET'
         EXPORTING
           i_gjahr  = v_gjahr
           i_monmit = 00
           i_periv  = 'V3'
           i_poper  = v_period
         IMPORTING
           e_date   = f_date.
       period = v_period - 1.
       gjahr = v_gjahr.
       DATA wa_kna1 LIKE kna1.
       CALL FUNCTION 'READ_KNA1'
         EXPORTING
           xkunnr         = p_kunnr
         IMPORTING
           xkna1          = wa_kna1
         EXCEPTIONS
           key_incomplete = 1
           not_authorized = 2
           not_found      = 3
           OTHERS         = 4.
       IF sy-subrc <> 0.
         MESSAGE w023(zwww).
         CALL SCREEN 0010.
       ENDIF.
       MOVE-CORRESPONDING wa_kna1 TO t_kna1.
       APPEND t_kna1.
       SELECT kunnr FROM kna1 INTO TABLE ikunnr1
         WHERE kunnr = p_kunnr.
       SELECT bukrs FROM t001 INTO TABLE ibukrs
        FOR ALL ENTRIES IN t_knb1
        WHERE bukrs = t_knb1-bukrs.
       LOOP AT ikunnr1.
         LOOP AT ibukrs.
           ikunnr-kunnr = ikunnr1-kunnr.
           ikunnr-bukrs = ibukrs-bukrs.
           READ TABLE t_kna1 WITH  KEY kunnr = ikunnr1-kunnr.
           ikunnr-lifnr = t_kna1-lifnr.
           APPEND ikunnr.
         ENDLOOP.
       ENDLOOP.
       DELETE ikunnr WHERE bukrs NE p_bukrs.
       LOOP AT ikunnr.
         CLEAR: knc1,lfc1,f.
         IF NOT ( ikunnr-kunnr IS INITIAL ) AND NOT ( p_vendor IS INITIAL ).
           SELECT SINGLE * FROM lfc1
                  WHERE gjahr = gjahr AND bukrs = ikunnr-bukrs
                                      AND lifnr = ikunnr-lifnr.
         ENDIF.
         SELECT SINGLE * FROM knc1
           WHERE gjahr = gjahr AND bukrs = p_bukrs
                 AND kunnr = p_kunnr.
         IF sy-subrc = 0.
           CASE period .
             WHEN 12.
               open = knc1-umsav +
               knc1-um01s - knc1-um01h + knc1-um02s - knc1-um02h +
               knc1-um03s - knc1-um03h + knc1-um04s - knc1-um04h +
               knc1-um05s - knc1-um05h + knc1-um06s - knc1-um06h +
               knc1-um07s - knc1-um07h + knc1-um08s - knc1-um08h +
               knc1-um09s - knc1-um09h + knc1-um10s - knc1-um10h +
               knc1-um11s - knc1-um11h + knc1-um12s - knc1-um12h.
               IF NOT ( lfc1 IS INITIAL ).
                 open = open + lfc1-umsav +
                 lfc1-um01s - lfc1-um01h + lfc1-um02s - lfc1-um02h +
                 lfc1-um03s - lfc1-um03h + lfc1-um04s - lfc1-um04h +
                 lfc1-um05s - lfc1-um05h + lfc1-um06s - lfc1-um06h +
                 lfc1-um07s - lfc1-um07h + lfc1-um08s - lfc1-um08h +
                 lfc1-um09s - lfc1-um09h + lfc1-um10s - lfc1-um10h +
                 lfc1-um11s - lfc1-um11h + lfc1-um12s - lfc1-um12h.
               ENDIF.
             WHEN 11.
               open = knc1-umsav +
               knc1-um01s - knc1-um01h + knc1-um02s - knc1-um02h +
               knc1-um03s - knc1-um03h + knc1-um04s - knc1-um04h +
               knc1-um05s - knc1-um05h + knc1-um06s - knc1-um06h +
               knc1-um07s - knc1-um07h + knc1-um08s - knc1-um08h +
               knc1-um09s - knc1-um09h + knc1-um10s - knc1-um10h +
               knc1-um11s - knc1-um11h.
               IF NOT ( lfc1 IS INITIAL ) .
                 open = open + lfc1-umsav +
                 lfc1-um01s - lfc1-um01h + lfc1-um02s - lfc1-um02h +
                 lfc1-um03s - lfc1-um03h + lfc1-um04s - lfc1-um04h +
                 lfc1-um05s - lfc1-um05h + lfc1-um06s - lfc1-um06h +
                 lfc1-um07s - lfc1-um07h + lfc1-um08s - lfc1-um08h +
                 lfc1-um09s - lfc1-um09h + lfc1-um10s - lfc1-um10h +
                 lfc1-um11s - lfc1-um11h.
               ENDIF.
             WHEN 10.
               open = knc1-umsav +
               knc1-um01s - knc1-um01h + knc1-um02s - knc1-um02h +
               knc1-um03s - knc1-um03h + knc1-um04s - knc1-um04h +
               knc1-um05s - knc1-um05h + knc1-um06s - knc1-um06h +
               knc1-um07s - knc1-um07h + knc1-um08s - knc1-um08h +
               knc1-um09s - knc1-um09h + knc1-um10s - knc1-um10h .
               IF NOT ( lfc1 IS INITIAL ) .
                 open = open + lfc1-umsav +
                 lfc1-um01s - lfc1-um01h + lfc1-um02s - lfc1-um02h +
                 lfc1-um03s - lfc1-um03h + lfc1-um04s - lfc1-um04h +
                 lfc1-um05s - lfc1-um05h + lfc1-um06s - lfc1-um06h +
                 lfc1-um07s - lfc1-um07h + lfc1-um08s - lfc1-um08h +
                 lfc1-um09s - lfc1-um09h + lfc1-um10s - lfc1-um10h.
               ENDIF.
             WHEN 9.
               open = knc1-umsav +
               knc1-um01s - knc1-um01h + knc1-um02s - knc1-um02h +
               knc1-um03s - knc1-um03h + knc1-um04s - knc1-um04h +
               knc1-um05s - knc1-um05h + knc1-um06s - knc1-um06h +
               knc1-um07s - knc1-um07h + knc1-um08s - knc1-um08h +
               knc1-um09s - knc1-um09h .
               IF NOT ( lfc1 IS INITIAL ) .
                 open = open + lfc1-umsav +
                 lfc1-um01s - lfc1-um01h + lfc1-um02s - lfc1-um02h +
                 lfc1-um03s - lfc1-um03h + lfc1-um04s - lfc1-um04h +
                 lfc1-um05s - lfc1-um05h + lfc1-um06s - lfc1-um06h +
                 lfc1-um07s - lfc1-um07h + lfc1-um08s - lfc1-um08h +
                 lfc1-um09s - lfc1-um09h.
               ENDIF.
             WHEN 8.
               open = knc1-umsav +
               knc1-um01s - knc1-um01h + knc1-um02s - knc1-um02h +
               knc1-um03s - knc1-um03h + knc1-um04s - knc1-um04h +
               knc1-um05s - knc1-um05h + knc1-um06s - knc1-um06h +
               knc1-um07s - knc1-um07h + knc1-um08s - knc1-um08h.
               IF NOT ( lfc1 IS INITIAL ) .
                 open = open + lfc1-umsav +
                 lfc1-um01s - lfc1-um01h + lfc1-um02s - lfc1-um02h +
                 lfc1-um03s - lfc1-um03h + lfc1-um04s - lfc1-um04h +
                 lfc1-um05s - lfc1-um05h + lfc1-um06s - lfc1-um06h +
                 lfc1-um07s - lfc1-um07h + lfc1-um08s - lfc1-um08h .
               ENDIF.
             WHEN 7.
               open = knc1-umsav +
               knc1-um01s - knc1-um01h + knc1-um02s - knc1-um02h +
               knc1-um03s - knc1-um03h + knc1-um04s - knc1-um04h +
               knc1-um05s - knc1-um05h + knc1-um06s - knc1-um06h +
               knc1-um07s - knc1-um07h .
               IF NOT ( lfc1 IS INITIAL ) .
                 open = open + lfc1-umsav +
                 lfc1-um01s - lfc1-um01h + lfc1-um02s - lfc1-um02h +
                 lfc1-um03s - lfc1-um03h + lfc1-um04s - lfc1-um04h +
                 lfc1-um05s - lfc1-um

  • Which edition of Oracle is certified for Vista and Windows 7?

    Many thanks.

    Windows 7, is projected.
    As for Windows Vista (10g and 11g):
    Oracle Database (EE, SE, PE and Client) are supported on these platforms:
    - Business edition
    - Enterprise Edition
    - Ultimate Edition
    -Andy

  • Performance upgrade for Lightroom and Photoshop on a MacPro Quad Xeon

    I have a MacPro Quad Xeon 2.26(on OSX 10.5.8) with an internal 1tb RAID 0 for a PS scratch. It has 8gb of RAM and I run my apps off the main (boot) drive. My LR cache resides on this boot drive as well. I have dual ACD 23's each running off a GeForce GT 120.
    I'm looking for opinions and options to make my life faster.
    1. upgrade to 10.6?
    2. RAM up to 16gb?
    3. OWC Mercury Pro SSD 115gb for my boot and a second for my user files?
    I have been reading Diglloyd's stuff but I'm looking for other opinions on cheap speed.
    thanks in advance
    R

    Have you ever cracked open activity monitor? Unless your CPU's regularly peak out, they aren't your weak link.
    Congratulations - they are also the most expensive to replace since you basically have to buy a new computer! I'd start with the hard drives - absolutely the slowest link in any modern computer. Start off with an SSD for the system/Applications. Then try moving files you are working on to the SSD to see if that makes a difference as well. I don't know about LightRoom, but with Aperture, once the database files in the Aperture library fragment it's performance drops off dramatically. Changing my Aperture library to be on an SSD and referencing my masters on my internal RAID made a dramatic difference. It feels like I have a new computer!
    If you have lots of scratch activity you could be low on memory. Or you could be dealing with photoshop wonkiness like this:
    http://macperformanceguide.com/OptimizingPhotoshopCS5-Warmup.html
    Throwing hardware at software coding errors like the above won't get you anywhere.
    Start with activity monitor. If you aren't routinely maxing out your CPU's focus on disk drives and then memory.
    Message was edited by: Eric Eskam

  • Thunderbirs has stoped working in any way for me and more others

    Hello. Starting on 04/08/2014 the Thunderbird has stopped working in any way in my PC. I am running Windows 8.1 Pro x64. Before that day everything was ok and Thunderbird was working. I asked some friends using Windows 8 and they have the same problem. Thunderbird won't load the email accounts and won't send and receive any email. It won't even let us add a new email account. The message received when trying to add a new account is the following "Sorry - we're unable to communicate with our sign-up server. Please check your connection.". Also if we will try to move forward and add a new email account anyway the answer will be that Thunderbird can't connect to any server. We have uninstalled Thunderbird and install it again several times in the past days with no success. I was looking t delete the Thunderbird folder in Program files but I can't find it. The uninstall and install again procedure including deleting folder was a solution few years ago but it seams that now is not working anymore. I will really appreciate some help as my whole work is based on working with an email client and my work is stacked at the moment. I really don't know what other email client to use as the 2013 Outlook looks just terrible. Thank you very much

    When I try to open Thunderbird, first time I receive the message, "Sorry - we're unable to communicate with our sign-up server. Please check your connection."
    I will press the "skip and using my existing email", I will enter any Gmail or AOL email account (which usually works perfect with Thunderbird) and after enter it the name, email and password the message will be "Thunderbird failed to find the settings for your email account" (even if everything is correct). 2 days before was another message. Thunderbird found the settings for the email account but after pressing "Done", the message was something like the mail or password are not correct. (even if everything was correct). In the same time in browser the email will work. The email settings are correct. Everything was working fine and 3-4 days before Thunderbird just stopped working. Stopped to get emails or sending emails and after uninstall and install it again I couldn't even add my emails accounts again.
    Thank you for everything and I really hope in some help as soon as possible. I will really appreciate it.

  • Performance over DG from mysql to oracle very slow for inserts

    configured het services over gateway from oracle 11.2.0.4 to mysql 5.6
    Have a table I want to pull over into oracle.  1000 rows.
    On mysql : create view vw_mysql_t1 as select columns from my_mysql_table.    
    On Oracle:  create view vw_ora as select columns from  vw_mysql_t1@mysql_link
    On oracle: select * from vw_ora data returns data in 3-4 seconds. 
    however, try an insert to get the data over
         insert into a_table_on_oracle
             (select * from vw_ora)
    takes 11-12 minutes.     
    create table as or insert into same performance.  Tried just inserting 1 row  and same performance 11-12 minutes.  any ideas?

    cant seem to get the trace file to generate.  any ideas, I have the config as below, the gateway is working, I can select data no problem from table@dcv   , just performance is terrible
    logfile not in $ORACLE_HOME/hs/log
    or
    /tmp
    this is my tns
    dcv =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = tcp)(HOST = <IP of server>)(PORT = 1521))
        (CONNECT_DATA =
          (SID = dcv)
        (HS = OK)
    this is my init file
    # HS init parameters
    HS_FDS_CONNECT_INFO=dcv
    HS_FDS_TRACE_LEVEL=255
    HS_FDS_SHAREABLE_NAME = /usr/lib64/libmyodbc5a.so
    HS_RPC_FETCH_SIZE=50000               
    HS_ROWID_CACHE_SIZE=10000
    #HS_LONG_PIECE_TRANSFER_SIZE=1024
    HS_LONG_PIECE_TRANSFER_SIZE=65536
    HS_LANGUAGE=AMERICAN_AMERICA.WE8ISO8859P15    ## The Oracle RDBMS is using a Unicode characterset [ID 756186.1]
    HS_FDS_FETCH_ROWS=1                           ## This is select int datatype
    HS_FDS_SQLLEN_INTERPRETATION=32               ## This is to select NULL values via DB Link [ID 554409.1]
    # ODBC specific environment variables
    set ODBCINI=/etc/odbc.ini
    more /etc/odbc.ini
    [dcv]
    Driver       = /usr/lib64/libmyodbc5a.so
    SERVER       = <IP of mysql server>
    PORT         = 3306
    USER         = un
    Password     = pw
    Database     = dcv
    OPTION       = 3
    CHARSET      = latin1
    [ODBC]
    TRACE        = ON     # also tried 0 and 1 and DEBUG and USER
    TraceFile    = /tmp/odbc.trace
    10:11:19 SQL> select count(*) from "vw_t1"@dcv;
      COUNT(*)
         24794
    Elapsed: 00:00:00.23
    10:11:45 SQL>
    10:11:57 SQL>
    10:11:57 SQL>
    10:11:57 SQL>
    10:11:57 SQL>
    10:11:58 SQL> create table backup_data.delete_me as
    10:11:59   2  select   * from
    10:11:59   3        "vw_t1"@dcv;
    Table created.
    Elapsed: 00:09:47.07
    10:21:49 SQL>
    Theres around 130 columns, varchars, numerics and floats.  Is there a conversion going on that would take that long?

  • Oracle MDS cache for B2B and BPEL performance Issue

    Hi All,
    We have xmx set to 4GB and we have set the b2b.mdsCache to 400 MB.
    Our process runs as JMS --> B2B --> JMS --> Composite app(mediator and BPEL)--> OSB
    In composite application in one of the step mediator publishes events to EDN.
    Now when we dont have B2B MDS cache set to 400 MB, The composite process completes within a second
    But when we have b2b mds cache in b2b-config.xml set to 400 MB then the composite app takes 20 sec to complete. when we analyzed this we found that mediator is taking 10 second to publish the even to EDN which inturn increasing the over all processing time as message is being published to END twice in this composite app.
    Even subscribing to event is very slow almost 9 sec.
    Env Details :
    Soa 11.1.1.5 on linus 5.1, in dev mode with default settings
    xms - xmx = 2GB - 4GB
    We set the b2b.mdscache to 400 mb as per the Oracle doc as below:
    A ratio of 5:1 is recommended for the xmx-to-mdsCache values. For example, if the xmx size is 1024, maintain mdsCache at 200 MB
    Regards
    SVS

    Unfortunatly, the only way to tune the cach buffer chains latch is on the application side.
    Look for ways to eliminate subqueries by replacing them with inline views and joins. Given the high fetch rate in the buffer cache, this would appear to be the problem.

  • Control Center performance improvement for large (runtime) repositories

    Hi all,
    I'm currently working on a large OWB project. We have serious performance issues with the Control Center (version 10.2.0.3) I have investigated what happens when you start the Control Center (SQL traces) and have implemented the following:
    -- slow query 1
    -- also added parent_audit_object_id to this index to help with slow query 3
    CREATE INDEX colin_wb_rt_audit_objects_1 ON
      wb_rt_audit_objects(audit_object_id, parent_audit_object_id, audit_unit_id, number_of_script_errors, number_of_script_warnings);
    -- slow query 2
    CREATE INDEX colin_wb_rt_audit_scripts_1 ON
      wb_rt_audit_scripts(audit_object_id, audit_script_id);
    -- slow query 3
    CREATE INDEX colin_wb_rt_audit_objects_2 ON
      wb_rt_audit_objects(object_uoid, audit_object_id DESC, audit_unit_id);
    CREATE INDEX colin_wb_rt_audit_objects_3 ON
      wb_rt_audit_objects(parent_audit_object_id, audit_object_id);The reason this helps is that now the indexes contain all the data needed in the slow queries obviating the need to go to the tables, which in these cases are particularly expensive as the tables contain large LOB columns.
    It is very interesting to see that two of the indexes can replace existing indexes that were added in a recent patch!
    For the wb_rt_warehouse_objects table I've implemented an alternative solution, and that is to move the storage of 2 of the 3 CLOBs out-of-row:
    ALTER TABLE wb_rt_warehouse_objects MOVE
      TABLESPACE <xxx>
      LOB (creation_script)
      STORE AS (
        TABLESPACE <xxx>
        DISABLE STORAGE IN ROW
      LOB (client_info)
      STORE AS (
        TABLESPACE <xxx>
        DISABLE STORAGE IN ROW
    ;where you should replace <xxx> with the tablespaces of your choice.
    I hope this will help some of you with large repositories.
    Cheers,
    Colin

    Hi David,
    I hope these improvements can be implemented! ;-)
    We have a runtime repository with some 2300 deployed tables and an equivalent number of mappings.
    Total number of rows in wb_rt_warehouse_objects is more than 40,000
    I used an SQL trace and tkprof to identify some high cost queries -- individually these queries perform quite reasonably but when executed many times (as happens when starting the Control Center) these can cost many tens of extra seconds.
    If you're interested I can send you
    * traces
    * tkprofs
    * the slow queries
    and then you can see the before and after explain plans and why this works.
    Please contact me at colinthart at the Google mail service :-)
    Cheers,
    Colin

  • Best DPI for Motion, and more!

    Question in response to thread below...Thanks.
    Hey folks!! What size do these images have to be to start? I'm working with 14th 15th cen. text/illustrations and I only get to scan them once. Can you recomend the best settings for scaning.
    Also can someone recap this thread? I'm a little confussed... I feel very comfortable in FCP, I've not really used Motion yet but it seems the obvious choice. I'm on a G5Q so I don't think it will run slow/bad. I do like seeing what I'm doing without rendering. Does this take a long time in FCP?
    Finally, I recently saw that Riding Giants movie and really liked some of the techniques they used. Are these effects, effects that you can apply in Motion? What other programs can pull this off? I have lots of ancient documents with images that I want to sort jump out off the page and onto the screen. I've heard about this "motion matte camera", how is this different than using a program like Motion? I've heard that AF can be used to creat the 3D layered images. 3D sounds cool as long as it is not overdone. Isthe 3D effect a really tough thing to accomplish given that layers need to be created?
    Many thanks! Alex

    Normally I use FCP to keyframe the animation ... for example, here's what I did earlier this week to make the headline jump off a newspaper clipping:
    The client had a newspaper clipping which I scanned (I forget the exact resolution). In Photoshop, I cleaned up the image a bit (old newspaper blotchiness, etc), then using the Select->Color Range command, I selected the black print only. Next, I feathered the selection about 1.2 pixels or so and copied the selection.
    Next, I started a new PS document with a transparent background and pasted the selected text onto it. Saved both and imported them into FCP. With the original newspaper image on V1, I animated it (Viewer window, Motion tab) to make it look like it was falling away from the camera. Once it reached a certain point, I placed the new PS image (text only) on V2, scaled it to match the text on the newspaper image below, then quickly scaled up the text image only (V2). I also used a little distortion (keyframed) to give the movement a little 3D effect.
    Its kinda hard to explain in writing, but the end result was that it appeared that the text jumped off the page at the viewer ... kind of an 'in your face' type of thing.
    And then there are other times I'll scan an image twice; once for what I'd normally use, and the second time, I might scan a smaller area of the image at a higher resolution. One example I've done using this method was a rather large portrait collage of a medical school graduating class. My client was one of the doctors and the project was a docu-tribute to him.
    The original photo was one of those that has an oval matted head shot of each graduate that you often see framed and hanging on the wall. The photo was about 16" x 20" so I actually had to do 4 scans (one for each quadrant) and then stitch them together into one document in PS - but I'll count that as one scan for this example. The second scan was of just the one particular graduate, so the scan was of a much smaller area - about 1.5" x 2". Needless to say, I used a higher resolution setting for this scan.
    In FCP, I placed the full image on V1; fading in with a slight scale up over the duration. At the point in time I wanted the smaller image to "lift off," I placed it on V2 and scaled it to match the size and movement of the image below. As it "lifts off," I increased the rate of scale while at the same time slightly reducing the opacity and ramp up a bit of Gaussian Blur to the image on V1 as it remains in the background. Then they both transitioned to the next scene together.
    Make sense?
    After Effects is probably a much better tool for this type of thing, but I'm just now trying to get myself reacquainted with that program.
    -DH

Maybe you are looking for

  • IPod not detected in "My Computer" but fine in iTunes

    Well for Christmas my dad got me a new 4GB iPod Nano 3rd Gen. I am very pleased with it except for the fact that when I enable disk use on my iPod I don't see it in "My Computer" (where like I can access my hard drive, you know). I have restarted bot

  • Acrobat reader updates

    Adobe should really work on the user-friendliness of those updates! Those are quite frequent, and every single time - you have to agree to install the update (annoying popup#1) - shortcuts are installed on the desktop - now McAffee is installed... Wh

  • Publish Client App with My Adobe Account or Clients?

    I have a client and they don't have an Adobe Account so they want me to publish their app with my personal Creative Cloud design account. Is this a bad idea. I'm thinking that the app will FOREVER have to be updated by my account because it will be t

  • I am currently on OS 10.8.5, how can I go to 10.9 now ?

    I am on 10.8.5, how can I now go to 10.9 ?

  • Cp5 - Bug? Editing backgrounds in external editor causes Cp5 to freeze

    Has anyone experienced this problem. From the library, I select a background graphic and select Edit With PaintDotNet (should not matter which editor is used) Make appropriate changes to graphic Save graphic Exit graphic editor Adobe Captivate goes '