Elpased time

elapsed time :
i have to get transmitrates, frequency, allocated time for hash and signature, # of retransmissions
i found
Transmitrates    128bits
frequency           628 HZ
i got (  x-y ) = 102-105msec i think this is for hash and signature
can any one tell me how to calculate # of retransmission
Attachments:
felapsed.vi ‏78 KB
New Folder (4).zip ‏120 KB

i dont know much about state machine 
can you tell me how to resend
Attachments:
resend.vi ‏175 KB

Similar Messages

  • V$sqlstats and elpased time

    Hi all,
    I have a query executed with hint parrallel 8,
    SELECT /*+ PARALLEL( D 8) PARALLEL(N 8) PARALLEL(C 8) */ ...
    When I check the view v$sqlstats to get the elapsed time I found that it gets 14000 seconds to be executed but on real it get 1800 seconds.
    How can I fond the real execution time for query into oracle views:
    select SQL_id,px_servers_executions,cpu_time,elapsed_time from v$sqlstats
         SQL_ID     PX_SERVERS_EXECUTIONS     CPU_TIME     ELAPSED_TIME
         3fgw879ry3960          16     498366237     14716281085
    Edited by: BIJGA on Oct 15, 2012 1:41 AM

    Hi Helios,
    Thanks for your help :)
    I need this information because I work on performance issues on client side, if the client have a performance issue, we need to get information from oracle views. When the query is finished the only information sources were oracle views but I did not found the real elapsed time.
    When I execute the query under sqlplus I get the real time.
    Thanks,
    Edited by: BIJGA on Oct 15, 2012 3:35 AM

  • How can I view elapsed time while viewing a clip in iMovie?

    When viewing a clip is there a way to see the elpased time in iMovie?

    Are you actually running Tiger OS 10.4.11?
    Which version of iMovie?

  • Different result comparing AWR to TKPROF

    Hi,
    I runned last night event 10046 on my database using the following commands:
    ALTER SYSTEM SET statistics_level = ALL;
    ALTER SYSTEM SET events '10046 trace name context forever, level 12';
    Today, i compared a single statment from TKPROF result to the AWR and found
    big different results:
    The TKPROF shows:
    Executions is : 1
    elpased time is :51.39 seconds
    cpu time is : 0.23 second
    Gets per Exec is : 72
    SELECT CM_CUST_DIM_INST_PROD.INST_PROD_ID, CM_CUST_DIM_INST_PROD.NAP_PRODUCT_ID, CM_CUST_DIM_INST_PROD.NAP_PACKEAGE, CM_CUST_DIM_INST_PROD.PRODUCT_ID, CM_CUST_DIM_INST_PROD.PRODUCT_DESCR, CM_CUST_DIM_INST_PROD.PRODUCT_GROUP, CM_CUST_DIM_INST_PROD.PRODUCT_GROUP_DESCR, CM_CUST_DIM_INST_PROD.PROD_CATEGORY, CM_CUST_DIM_INST_PROD.PROD_CATEGORY_DESCR, CM_CUST_DIM_INST_PROD.PROD_GRP_TYPE, CM_CUST_DIM_INST_PROD.PROD_GRP_TYPE_DESCR, CM_CUST_DIM_INST_PROD.NAP_AREA2, CM_CUST_DIM_INST_PROD.NAP_PHONE_NUM, CM_CUST_DIM_INST_PROD.NAP_CANCEL_DT, CM_CUST_DIM_INST_PROD.NAP_SERVICE_OPN_DT, CM_CUST_DIM_INST_PROD.NAP_MAKAT_CD, CM_CUST_DIM_INST_PROD.NAP_CRM_STATUS, CM_CUST_DIM_INST_PROD.NAP_CRM_STATUS_DESCR, CM_CUST_DIM_INST_PROD.NAP_RTRV_INSPRD_ID
    FROM CM_CUST_DIM_INST_PROD ,
    cm_ip_service_delta, cm_ip_service_delta cm_ip_service_delta2
    WHERE CM_CUST_DIM_INST_PROD.prod_grp_type in ('INTR', 'HOST') and
    CM_CUST_DIM_INST_PROD.Inst_Prod_Id = cm_ip_service_delta.inst_prod_id(+) and
    CM_CUST_DIM_INST_PROD.Nap_Makat_Cd = cm_ip_service_delta.nap_billing_catnum(+)
    and cm_ip_service_delta.nap_billing_catnum is null and
    cm_ip_service_delta.inst_prod_id is null
    and cm_ip_service_delta2.inst_prod_id = CM_CUST_DIM_INST_PROD.Nap_Packeage
    ORDER BY INST_PROD_ID
    call count cpu elapsed disk query current rows
    Parse 1 0.01 0.03 0 22 0 0
    Execute 1 0.02 1.79 0 32 0 0
    Fetch 13 0.19 49.56 0 18 0 661
    total 15 0.23 51.39 0 72 0 661
    The AWR report shows
    Executions is : 1
    elpased time is :697.91 seconds
    cpu time is :41.89 second
    Gets per Exec is : 351,105.00
    Executions Gets per Exec CPU Time (s) Elapsed Time (s) SQL Id SQL
    1 351,105.00 41.89 697.91 6hh4jdx9dvjzw
    6hh4jdx9dvjzw
    SELECT CM_CUST_DIM_INST_PROD.INST_PROD_ID, CM_CUST_DIM_INST_PROD.NAP_PRODUCT_ID, CM_CUST_DIM_INST_PROD.NAP_PACKEAGE, CM_CUST_DIM_INST_PROD.PRODUCT_ID, CM_CUST_DIM_INST_PROD.PRODUCT_DESCR, CM_CUST_DIM_INST_PROD.PRODUCT_GROUP, CM_CUST_DIM_INST_PROD.PRODUCT_GROUP_DESCR, CM_CUST_DIM_INST_PROD.PROD_CATEGORY, CM_CUST_DIM_INST_PROD.PROD_CATEGORY_DESCR, CM_CUST_DIM_INST_PROD.PROD_GRP_TYPE, CM_CUST_DIM_INST_PROD.PROD_GRP_TYPE_DESCR, CM_CUST_DIM_INST_PROD.NAP_AREA2, CM_CUST_DIM_INST_PROD.NAP_PHONE_NUM, CM_CUST_DIM_INST_PROD.NAP_CANCEL_DT, CM_CUST_DIM_INST_PROD.NAP_SERVICE_OPN_DT, CM_CUST_DIM_INST_PROD.NAP_MAKAT_CD, CM_CUST_DIM_INST_PROD.NAP_CRM_STATUS, CM_CUST_DIM_INST_PROD.NAP_CRM_STATUS_DESCR, CM_CUST_DIM_INST_PROD.NAP_RTRV_INSPRD_ID FROM CM_CUST_DIM_INST_PROD , cm_ip_service_delta, cm_ip_service_delta cm_ip_service_delta2 WHERE CM_CUST_DIM_INST_PROD.prod_grp_type in ('INTR', 'HOST') and CM_CUST_DIM_INST_PROD.Inst_Prod_Id = cm_ip_service_delta.inst_prod_id(+) and CM_CUST_DIM_INST_PROD.Nap_Makat_Cd = cm_ip_service_delta.nap_billing_catnum(+) and cm_ip_service_delta.nap_billing_catnum is null and cm_ip_service_delta.inst_prod_id is null and cm_ip_service_delta2.inst_prod_id = CM_CUST_DIM_INST_PROD.Nap_Packeage ORDER BY INST_PROD_ID
    Does one can explain the different results ?
    Thank You

    Hi Virag,
    I ran the statment from sqlplus and after that i generated an addm report:
    As you can see below TKPROF show that elspaed time was : 50.76 second,
    while ADDM show:
    "was executed 1 times and had an average elapsed time of 751 seconds."
    ALTER SESSION SET max_dump_file_size = unlimited;
    ALTER SESSION SET tracefile_identifier = '10046';
    ALTER SESSION SET statistics_level = ALL;
    ALTER SESSION SET events '10046 trace name context forever, level 12';
    SELECT CM_CUST_DIM_INST_PROD.INST_PROD_ID, CM_CUST_DIM_INST_PROD.NAP_PRODUCT_ID, CM_CUST_DIM_INST_PROD.NAP_PACKEAGE, CM_CUST_DIM_INST_PROD.PRODUCT_ID, CM_CUST_DIM_INST_PROD.PRODUCT_DESCR, CM_CUST_DIM_INST_PROD.PRODUCT_GROUP, CM_CUST_DIM_INST_PROD.PRODUCT_GROUP_DESCR, CM_CUST_DIM_INST_PROD.PROD_CATEGORY, CM_CUST_DIM_INST_PROD.PROD_CATEGORY_DESCR, CM_CUST_DIM_INST_PROD.PROD_GRP_TYPE, CM_CUST_DIM_INST_PROD.PROD_GRP_TYPE_DESCR, CM_CUST_DIM_INST_PROD.NAP_AREA2, CM_CUST_DIM_INST_PROD.NAP_PHONE_NUM, CM_CUST_DIM_INST_PROD.NAP_CANCEL_DT, CM_CUST_DIM_INST_PROD.NAP_SERVICE_OPN_DT, CM_CUST_DIM_INST_PROD.NAP_MAKAT_CD, CM_CUST_DIM_INST_PROD.NAP_CRM_STATUS, CM_CUST_DIM_INST_PROD.NAP_CRM_STATUS_DESCR, CM_CUST_DIM_INST_PROD.NAP_RTRV_INSPRD_ID
    FROM CM_CUST_DIM_INST_PROD ,
    cm_ip_service_delta, cm_ip_service_delta cm_ip_service_delta2
    WHERE CM_CUST_DIM_INST_PROD.prod_grp_type in ('INTR', 'HOST') and
    CM_CUST_DIM_INST_PROD.Inst_Prod_Id = cm_ip_service_delta.inst_prod_id(+) and
    CM_CUST_DIM_INST_PROD.Nap_Makat_Cd = cm_ip_service_delta.nap_billing_catnum(+)
    and cm_ip_service_delta.nap_billing_catnum is null and
    cm_ip_service_delta.inst_prod_id is null
    and cm_ip_service_delta2.inst_prod_id = CM_CUST_DIM_INST_PROD.Nap_Packeage
    ORDER BY INST_PROD_ID
    ALTER SESSION SET EVENTS '10046 trace name context off';
    EXIT
    call count cpu elapsed disk query current rows
    Parse 1 0.05 0.05 0 0 0 0
    Execute 1 0.02 1.96 24 32 0 0
    Fetch 46 0.19 48.74 6 18 0 661
    total 48 0.26 50.76 30 50 0 661
    Rows Row Source Operation
    661 PX COORDINATOR (cr=50 pr=30 pw=0 time=50699289 us)
    0 PX SEND QC (ORDER) :TQ10003 (cr=0 pr=0 pw=0 time=0 us)
    0 SORT ORDER BY (cr=0 pr=0 pw=0 time=0 us)
    0 PX RECEIVE (cr=0 pr=0 pw=0 time=0 us)
    0 PX SEND RANGE :TQ10002 (cr=0 pr=0 pw=0 time=0 us)
    0 FILTER (cr=0 pr=0 pw=0 time=0 us)
    0 HASH JOIN RIGHT OUTER (cr=0 pr=0 pw=0 time=0 us)
    0 BUFFER SORT (cr=0 pr=0 pw=0 time=0 us)
    0 PX RECEIVE (cr=0 pr=0 pw=0 time=0 us)
    0 PX SEND BROADCAST :TQ10000 (cr=0 pr=0 pw=0 time=0 us)
    3366 INDEX FAST FULL SCAN IDX_CM_SERVICE_DELTA (cr=9 pr=6 pw=0 time=47132 us)(object id 1547887)
    0 HASH JOIN (cr=0 pr=0 pw=0 time=0 us)
    0 BUFFER SORT (cr=0 pr=0 pw=0 time=0 us)
    0 PX RECEIVE (cr=0 pr=0 pw=0 time=0 us)
    0 PX SEND BROADCAST :TQ10001 (cr=0 pr=0 pw=0 time=0 us)
    3366 INDEX FAST FULL SCAN IDX_CM_SERVICE_DELTA (cr=9 pr=0 pw=0 time=20340 us)(object id 1547887)
    0 PX BLOCK ITERATOR PARTITION: 1 4 (cr=0 pr=0 pw=0 time=0 us)
    0 TABLE ACCESS FULL CM_CUST_DIM_INST_PROD PARTITION: 1 4 (cr=0 pr=0 pw=0 time=0 us)
    RECOMMENDATION 1: SQL Tuning, 56% benefit (615 seconds)
    ACTION: Run SQL Tuning Advisor on the SQL statement with SQL_ID
    "6wd7sw8adqaxv".
    RELEVANT OBJECT: SQL statement with SQL_ID 6wd7sw8adqaxv and
    PLAN_HASH 2594021963
    SELECT CM_CUST_DIM_INST_PROD.INST_PROD_ID,
    CM_CUST_DIM_INST_PROD.NAP_PRODUCT_ID,
    CM_CUST_DIM_INST_PROD.NAP_PACKEAGE, CM_CUST_DIM_INST_PROD.PRODUCT_ID,
    CM_CUST_DIM_INST_PROD.PRODUCT_DESCR,
    CM_CUST_DIM_INST_PROD.PRODUCT_GROUP,
    CM_CUST_DIM_INST_PROD.PRODUCT_GROUP_DESCR,
    CM_CUST_DIM_INST_PROD.PROD_CATEGORY,
    CM_CUST_DIM_INST_PROD.PROD_CATEGORY_DESCR,
    CM_CUST_DIM_INST_PROD.PROD_GRP_TYPE,
    CM_CUST_DIM_INST_PROD.PROD_GRP_TYPE_DESCR,
    CM_CUST_DIM_INST_PROD.NAP_AREA2, CM_CUST_DIM_INST_PROD.NAP_PHONE_NUM,
    CM_CUST_DIM_INST_PROD.NAP_CANCEL_DT,
    CM_CUST_DIM_INST_PROD.NAP_SERVICE_OPN_DT,
    CM_CUST_DIM_INST_PROD.NAP_MAKAT_CD,
    CM_CUST_DIM_INST_PROD.NAP_CRM_STATUS,
    CM_CUST_DIM_INST_PROD.NAP_CRM_STATUS_DESCR,
    CM_CUST_DIM_INST_PROD.NAP_RTRV_INSPRD_ID
    FROM CM_CUST_DIM_INST_PROD ,
    cm_ip_service_delta, cm_ip_service_delta cm_ip_service_delta2
    WHERE CM_CUST_DIM_INST_PROD.prod_grp_type in ('INTR', 'HOST') and
    CM_CUST_DIM_INST_PROD.Inst_Prod_Id =
    cm_ip_service_delta.inst_prod_id(+) and
    CM_CUST_DIM_INST_PROD.Nap_Makat_Cd =
    cm_ip_service_delta.nap_billing_catnum(+)
    and cm_ip_service_delta.nap_billing_catnum is null and
    cm_ip_service_delta.inst_prod_id is null
    and cm_ip_service_delta2.inst_prod_id =
    CM_CUST_DIM_INST_PROD.Nap_Packeage
    ORDER BY INST_PROD_ID
    RATIONALE: SQL statement with SQL_ID "6wd7sw8adqaxv" was executed 1
    times and had an average elapsed time of 751 seconds.
    RATIONALE: At least one execution of the statement ran in parallel.
    Thanks.

  • Corrupt Database?

    Hello,
    We use Lookout 5.1 and plot elapsed time and accumulators on Hypertrends.  Under some unknown circumstance (maybe it was a print command?), part of the program malfuctions and the Hypertrends look all messed up.  Further investigation finds that Max is not responsive and appears hung.  A reboot is required to make Max function again, then the Hypertrends clear up but show an incorrect offset.   Review of a Spreadsheet Object that records the time, elpased time and accumulators at 30 minute intervals shows a big shift in all values at the time the malfuction occurs.  Further review shows that all of the elapsed time and accumulators change at the time of the malfuction and take on values of a previous time.  From that time on, the elasped time and accumulators march on seemingly okay, but now with a big offset error.
    Anyone heard of this?  Any ideas on how to fix or avoid this problem.  This really ruins the data that I am collecting so any help would be greatly appreciated.
    Regards,
    Joe C.

    Ryan,
    Thank you for the quick response.  The link below points to a web page with 4 pictures.  The first picture shows 10 hypertrends representing all of our wastewater pump stations for a 24 hour period.  Notice that at 10:00 am the data jumps upwards.  I believe that is when the problem began.  I observed the hypertrends messed up at 19:00 .  The trends didn't look like they do in the pictures, at that point some had numerous vertical lines,like grass, some were blank, some were oddly scaled.  I then looked at the spreadsheet that records every 30 minutes and obsereved that data was still being recorded every 30 minutes.  I tried to exit from Lookout, but couldn't because it said something like "2 documents currently printing".  I migrated to the printer properties and found that no printing was actually in progress.  I did a force kill of Lookout thru task manager and then restarted Lookout.  The hypertrends still looked messed up.  I started Max application but could not get a trace of the same sources to start.  Max was unresponsive.  I rebooted the computer and I think I had to force a kill on Max.  Lookout started and the hypertrends were back but now the data had shifted.  You can see the hypertrends running again at about 19:00.  They ran okay but were way to high, so at about 21:00 I forced a reset of all trends.   The trends typically reset at 08:00.  The second and third pictures show  hypertrends of Pump Station 1 with a 10 day window and a 3 day window respectively, just for a general feel of the trend (I caused the short horizontal glitch a couple of days earlier).  The high readings a few days earlier are attributed to infiltration from high rains in our area.  The fourth pictures shows the recorded spreadsheet data.  I looks to me like when the problem occurred, that the database got lost and at line item 911 pasted the data from line item 855 , and  then marched along with an offset from there on.
    I didn't look at cpu usage, but Lookout seemed very responsive, panels came up fast, hypercursors worked okay, but just messed up data.
    Any ideas?
    http://pages.google.com/edit/jrcamenzind/raymondscada?authtoken=0b7b52ef49187d5a2523b8cd2e79d5cae6e8...
    Thanks,
    Joe C.

  • Novell-proxydhcpd option 97 at DHCP_ACK fail

    Hi,
    my ZfD server with workin PXE Booting on OES 2 (Suse) after installing new DNSDHCP console crash. In the log file I see that proxydhcp send nonsens (DHCP_ACK after option 54). How I repair this ?
    Feb 08, 2010 10:57:28 > DHCP_ACK sent to 10.29.2.153:68
    Feb 08, 2010 10:57:28 > Opcode: 2 Feb 08, 2010 10:57:28 > BOOTREPLY
    Feb 08, 2010 10:57:28 > Hardware address type: 1
    Feb 08, 2010 10:57:28 > Hardware address len: 6
    Feb 08, 2010 10:57:28 > Hop count: 0
    Feb 08, 2010 10:57:28 > Transaction ID: 0x4c1a288e
    Feb 08, 2010 10:57:28 > Client elpased time: 0x10
    Feb 08, 2010 10:57:28 > Flags: 0x0
    Feb 08, 2010 10:57:28 > Client self-assigned addr: 0.0.0.0
    Feb 08, 2010 10:57:28 > Client IP address: 0.0.0.0
    Feb 08, 2010 10:57:28 > Next server IP address: 10.29.2.1
    Feb 08, 2010 10:57:28 > Gateway IP address: 0.0.0.0
    Feb 08, 2010 10:57:28 > Client hardware address: Feb 08, 2010 10:57:28 > 6c Feb 08, 2010 10:57:28 > f0 Feb 08, 2010 10:57:28 > 49 Feb 08, 20
    Feb 08, 2010 10:57:28 > 00 Feb 08, 2010 10:57:28 > 00 Feb 08, 2010 10:57:28 > 00 Feb 08, 2010 10:57:28 > 00 Feb 08,
    Feb 08, 2010 10:57:28 > Server host name: Novell Proxy DHCP Server
    Feb 08, 2010 10:57:28 > Boot file name: nvlnbp.sys
    Feb 08, 2010 10:57:28 > Option magic cookie: 0x63825363Feb 08, 2010 10:57:28 > valid
    Feb 08, 2010 10:57:28 > Options:
    Feb 08, 2010 10:57:28 > option 53 (len = 1): Message typeFeb 08, 2010 10:57:28 > Feb 08, 2010 10:57:28 > DHCPACK
    Feb 08, 2010 10:57:28 > option 54 (len = 4): Server IDFeb 08, 2010 10:57:28 > 10.29.2.1
    Feb 08, 2010 10:57:28 > option 0 (len = 0): PadFeb 08, 2010 10:57:28 >
    Feb 08, 2010 10:57:28 > option 0 (len = 0): PadFeb 08, 2010 10:57:28 >
    abou 60 lines
    Feb 08, 2010 10:57:28 > option 0 (len = 0): PadFeb 08, 2010 10:57:28 >

    vogl,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • Regarding Line Selection

    I am displaying the data in a alv grid /  alv list.if i double click a particular field the related data should come(As at line selection).how can i write the code for this

    check below code.....
    *& Report  ZFI_DOC_STATUS_REPORT                                       *
    REPORT  zfi_doc_status_report LINE-SIZE  120
                                  LINE-COUNT 60
                                  MESSAGE-ID zz.
                      TABLES                                            *
    TABLES: zfap_history,
            bkpf,
            bseg,
            t001.
                      TYPE POOLS                                         *
    TYPE-POOLS: slis.
                      TYPES                                              *
    TYPES: BEGIN OF ty_zfap_history,
             zbukrs     TYPE bukrs,
             zbelnr     TYPE belnr_d,
             zapprlevel TYPE zapprlevel,
             zdate      TYPE crdat,
             ztime      TYPE cvdicrtime,
             zsapuserid TYPE zuserid,
             zstatus    TYPE zstat,
           END OF ty_zfap_history,
           BEGIN OF ty_doc_data,
             blart TYPE blart,
             budat TYPE budat,
             stblg TYPE stblg,
             stodt TYPE stodt,
             waers TYPE waers,
             kzwrs TYPE kzwrs,
             bukrs TYPE bukrs,
             belnr TYPE belnr_d,
           END OF ty_doc_data,
           BEGIN OF ty_final_data,
             zbelnr TYPE belnr_d,
             blart TYPE blart,
             budat TYPE budat,
             waers TYPE waers,
             wrbtr TYPE wrbtr,
             kzwrs TYPE kzwrs,
             dmbe2 TYPE dmbe2,
             name TYPE char80,
             zdate TYPE crdat,
             zstatus TYPE zstat,
             stblg TYPE stblg,
             stodt TYPE stodt,
             writ TYPE char20,
             time TYPE p decimals 2,
           END OF ty_final_data,
           BEGIN OF ty_sec_final,
             zbelnr TYPE belnr_d,
             name TYPE char80,
             approver TYPE zrole_desc,
             date TYPE zbegdat,
             zstatus TYPE zstat,
           END OF ty_sec_final,
           BEGIN OF ty_time,
             zbukrs type bukrs,
             zbelnr type belnr_d,
             diff type p decimals 2,
           END OF ty_time.
                       I N T E R N A L  T A B L E S                     *
    DATA: it_zfap_history    TYPE STANDARD TABLE OF ty_zfap_history,
          wa_it_zfap_history TYPE ty_zfap_history,
          it_temp1           TYPE STANDARD TABLE OF ty_zfap_history,
          wa_it_temp1        TYPE ty_zfap_history,
          it_temp2           TYPE STANDARD TABLE OF ty_zfap_history,
          wa_it_temp2        TYPE ty_zfap_history,
          it_zfap_hist       TYPE STANDARD TABLE OF ty_zfap_history,
          wa_it_zfap_hist    TYPE ty_zfap_history,
          it_doc_data        TYPE STANDARD TABLE OF ty_doc_data,
          wa_it_doc_data     TYPE ty_doc_data,
          it_final_data      TYPE STANDARD TABLE OF ty_final_data,
          wa_it_final_data   TYPE ty_final_data,
          it_sec_final       TYPE STANDARD TABLE OF ty_sec_final,
          wa_it_sec_final    TYPE ty_sec_final,
          it_time            TYPE STANDARD TABLE OF ty_time,
          wa_it_time         TYPE ty_time,
          it_fcat            TYPE slis_t_fieldcat_alv WITH HEADER LINE,
          it_fcat_sec        TYPE slis_t_fieldcat_alv WITH HEADER LINE.
    *--Structure for layout settings
    DATA: wa_layout                 TYPE   slis_layout_alv.
    *--Internal table and structure for events
    DATA: it_events                 TYPE   slis_t_event,
          wa_events                 TYPE   slis_alv_event.
    Variable Declaration
    DATA : w_doc_no TYPE belnr_d ,
           w_repid  TYPE sy-repid ,
           w_diff   TYPE p decimals 2.
                      S E L E C  T I O N  S C R E E N                   *
    SELECTION-SCREEN: BEGIN OF BLOCK b1 WITH FRAME TITLE text-t01.
    SELECTION-SCREEN: SKIP.
    SELECT-OPTIONS: s_bukrs      FOR t001-bukrs,
                    s_blart      FOR bkpf-blart,
                    s_crdat      FOR zfap_history-zdate,
                    s_userid     FOR zfap_history-zsapuserid,
                    s_budat      FOR bkpf-budat.
    SELECTION-SCREEN: END OF BLOCK b1.
                   S T A R T  O F  S E L E C T I O N                    *
    START-OF-SELECTION.
    to get history data
      PERFORM get_history_data.
    to get elpased time
      PERFORM get_elapsed_time.
    to get document data
      PERFORM get_doc_data.
    to move data to final table
      PERFORM move_data.
                   E N D O F  S E L E C T I O N                         *
    END-OF-SELECTION.
    to display data
      PERFORM display_data.
    to list secondary list
    PERFORM sec_list_data.
    *&      Form  GET_HISTORY_DATA
          text
    -->  p1        text
    <--  p2        text
    FORM get_history_data .
      SELECT zbukrs
             zbelnr
             zapprlevel
             zdate
             ztime
             zsapuserid
             zstatus
         FROM zfap_history
         INTO TABLE it_zfap_history
         WHERE   zbukrs     IN s_bukrs  AND
                 zdate      IN s_crdat  AND
                 zsapuserid IN s_userid AND
                 zstatus = 'Submitted'.
      SELECT zbukrs
             zbelnr
             zapprlevel
             zdate
             ztime
             zsapuserid
             zstatus
         FROM zfap_history
         INTO TABLE it_zfap_hist
         FOR ALL ENTRIES IN it_zfap_history
         WHERE   zbukrs = it_zfap_history-zbukrs
         AND     zbelnr = it_zfap_history-zbelnr.
    ENDFORM.                    " GET_HISTORY_DATA
    *&      Form  GET_DOC_DATA
          text
    -->  p1        text
    <--  p2        text
    FORM get_doc_data .
      SELECT blart
             budat
             stblg
             stodt
             waers
             kzwrs
             bukrs
             belnr
         FROM bkpf
         INTO TABLE it_doc_data
         FOR ALL ENTRIES IN it_zfap_history
              WHERE bukrs = it_zfap_history-zbukrs
              AND   belnr = it_zfap_history-zbelnr
              AND   blart IN s_blart
              AND   budat IN s_budat.
    ENDFORM.                    " GET_DOC_DATA
    *&      Form  MOVE_DATA
          text
    -->  p1        text
    <--  p2        text
    FORM move_data .
      DATA : l_wrbtr TYPE wrbtr,
             l_dmbe2 TYPE dmbe2,
             l_persnumber TYPE ad_persnum,
             l_name_first TYPE ad_namefir,
             l_name_last TYPE ad_namelas.
      LOOP AT it_zfap_history INTO wa_it_zfap_history.
        READ TABLE it_doc_data INTO wa_it_doc_data
             WITH KEY bukrs = wa_it_zfap_history-zbukrs
                      belnr = wa_it_zfap_history-zbelnr.
        IF sy-subrc = 0.
          wa_it_final_data-zbelnr = wa_it_zfap_history-zbelnr.
          wa_it_final_data-blart = wa_it_doc_data-blart.
          wa_it_final_data-budat = wa_it_doc_data-budat.
          wa_it_final_data-waers = wa_it_doc_data-waers.
          IF wa_it_doc_data-kzwrs is INITIAL.
            wa_it_final_data-kzwrs = 'USD'.
          ELSE.
            wa_it_final_data-kzwrs = wa_it_doc_data-kzwrs.
          ENDIF.
          wa_it_final_data-zdate = wa_it_zfap_history-zdate.
          wa_it_final_data-zstatus = wa_it_zfap_history-zstatus.
          wa_it_final_data-stblg = wa_it_doc_data-stblg.
          wa_it_final_data-stodt = wa_it_doc_data-stodt.
          SELECT SINGLE wrbtr dmbe2
                 FROM bseg
                 INTO (l_wrbtr, l_dmbe2)
                 WHERE bukrs = wa_it_doc_data-bukrs
                 AND   belnr = wa_it_doc_data-belnr.
          wa_it_final_data-wrbtr = l_wrbtr.
          wa_it_final_data-dmbe2 = l_dmbe2.
          SELECT SINGLE persnumber
                 FROM usr21
                 INTO l_persnumber
                 WHERE bname = wa_it_zfap_history-zsapuserid.
          SELECT SINGLE name_first name_last
                 FROM adrp
                 INTO (l_name_first, l_name_last)
                 WHERE persnumber = l_persnumber.
          CONCATENATE l_name_last l_name_first INTO wa_it_final_data-name
                                  SEPARATED BY space.
          if wa_it_final_data-name is initial.
            wa_it_final_data-name = wa_it_zfap_history-zsapuserid.
          endif.
          wa_it_final_data-writ = ' '.
          read table it_time into wa_it_time
               with key zbukrs = wa_it_zfap_history-zbukrs
                        zbelnr = wa_it_zfap_history-zbelnr.
          if sy-subrc = 0.
            wa_it_final_data-time = wa_it_time-diff.
          endif.
          APPEND wa_it_final_data TO it_final_data.
        ENDIF.
        CLEAR : wa_it_zfap_history, wa_it_doc_data, wa_it_final_data,
                l_wrbtr, l_persnumber, l_name_first, l_name_last, l_dmbe2.
      ENDLOOP.
    ENDFORM.                    " MOVE_DATA
    *&      Form  DISPLAY_DATA
          text
    -->  p1        text
    <--  p2        text
    FORM display_data .
      w_repid = sy-repid.
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
        EXPORTING
          i_program_name         = w_repid
          i_internal_tabname     = 'IT_SRCTRANS'
          i_inclname             = w_repid
        CHANGING
          ct_fieldcat            = it_fcat[]
        EXCEPTIONS
          inconsistent_interface = 1
          program_error          = 2
          OTHERS                 = 3.
      IF sy-subrc   <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      IF NOT it_final_data[] IS INITIAL.
        IF it_fcat[] IS INITIAL.
          CLEAR  it_fcat.
          it_fcat-tabname     = 'IT_FINAL_DATA'.
          it_fcat-fieldname   = 'ZBELNR'.
          it_fcat-seltext_l  = 'Document Number'.
          it_fcat-col_pos     = 1.
          it_fcat-outputlen  = 15.
          it_fcat-key = 'X'.
          APPEND it_fcat.
          CLEAR  it_fcat.
          it_fcat-tabname     = 'IT_FINAL_DATA'.
          it_fcat-fieldname   = 'BLART'.
          it_fcat-seltext_l  = 'Document Type'.
          it_fcat-col_pos     = 2.
          it_fcat-outputlen  = 13.
          APPEND it_fcat.
          CLEAR  it_fcat.
          it_fcat-tabname     = 'IT_FINAL_DATA'.
          it_fcat-fieldname   = 'BUDAT'.
          it_fcat-seltext_l  = 'Posting Date'.
          it_fcat-col_pos     = 3.
          it_fcat-outputlen  = 12.
          APPEND it_fcat.
          CLEAR  it_fcat.
          it_fcat-tabname     = 'IT_FINAL_DATA'.
          it_fcat-fieldname   = 'WAERS'.
          it_fcat-seltext_l  = 'Document Currency'.
          it_fcat-col_pos     = 4.
          it_fcat-outputlen  = 17.
          APPEND it_fcat.
          CLEAR  it_fcat.
          it_fcat-tabname     = 'IT_FINAL_DATA'.
          it_fcat-fieldname   = 'WRBTR'.
          it_fcat-seltext_l  = 'Doc Curr Amt'.
          it_fcat-col_pos     = 5.
          it_fcat-outputlen  = 22.
          APPEND it_fcat.
          CLEAR  it_fcat.
          it_fcat-tabname     = 'IT_FINAL_DATA'.
          it_fcat-fieldname   = 'KZWRS'.
          it_fcat-seltext_l  = 'Group Currency'.
          it_fcat-col_pos     = 6.
          it_fcat-outputlen  = 14.
          APPEND it_fcat.
          CLEAR  it_fcat.
          it_fcat-tabname     = 'IT_FINAL_DATA'.
          it_fcat-fieldname   = 'DMBE2'.
          it_fcat-seltext_l  = 'Grp Curr Amt'.
          it_fcat-col_pos     = 7.
          it_fcat-outputlen  = 22.
          APPEND it_fcat.
          CLEAR  it_fcat.
          it_fcat-tabname     = 'IT_FINAL_DATA'.
          it_fcat-fieldname   = 'NAME'.
          it_fcat-seltext_l  = 'Name of Submitter/Requestor'.
          it_fcat-col_pos     = 8.
          it_fcat-outputlen  = 60.
          APPEND it_fcat.
          CLEAR  it_fcat.
          it_fcat-tabname     = 'IT_FINAL_DATA'.
          it_fcat-fieldname   = 'ZDATE'.
          it_fcat-seltext_l  = 'Creation Date'.
          it_fcat-col_pos     = 9.
          it_fcat-outputlen  = 13.
          APPEND it_fcat.
          CLEAR  it_fcat.
          it_fcat-tabname     = 'IT_FINAL_DATA'.
          it_fcat-fieldname   = 'ZSTATUS'.
          it_fcat-seltext_l  = 'Status'.
          it_fcat-col_pos     = 10.
          it_fcat-outputlen  = 6.
          APPEND it_fcat.
          CLEAR  it_fcat.
          it_fcat-tabname     = 'IT_FINAL_DATA'.
          it_fcat-fieldname   = 'TIME'.
          it_fcat-seltext_l  = 'Elpsed time in Mins'.
          it_fcat-col_pos     = 11.
          it_fcat-outputlen  = 20.
          APPEND it_fcat.
          CLEAR  it_fcat.
          it_fcat-tabname     = 'IT_FINAL_DATA'.
          it_fcat-fieldname   = 'STBLG'.
          it_fcat-seltext_l  = 'Reversal No'.
          it_fcat-col_pos     = 12.
          it_fcat-outputlen  = 12.
          APPEND it_fcat.
          CLEAR  it_fcat.
          it_fcat-tabname     = 'IT_FINAL_DATA'.
          it_fcat-fieldname   = 'STODT'.
          it_fcat-seltext_l  = 'Reversal Posting Date'.
          it_fcat-col_pos     = 13.
          it_fcat-outputlen  = 20.
          APPEND it_fcat.
          CLEAR  it_fcat.
          it_fcat-tabname     = 'IT_FINAL_DATA'.
          it_fcat-fieldname   = 'WRIT'.
          it_fcat-seltext_l  = 'Work Item'.
          it_fcat-col_pos     = 14.
          it_fcat-outputlen  = 20.
          APPEND it_fcat.
        ENDIF.
        CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
          EXPORTING
            i_list_type     = 0
          IMPORTING
            et_events       = it_events
          EXCEPTIONS
            list_type_wrong = 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.
        wa_layout-colwidth_optimize = 'X'.
        CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
            EXPORTING
            i_callback_program                = w_repid
            is_layout                = wa_layout
            i_callback_user_command  = 'USER_COMMAND_ACCT'
            i_grid_title             = 'Document Status Report'
             it_fieldcat                       = it_fcat[]
         IT_SORT                        = IT_SORT[]
             it_events                = it_events
             TABLES
               t_outtab                        = it_final_data[]
          EXCEPTIONS
            program_error                     = 1
            OTHERS                            = 2.
      ENDIF.
    ENDFORM.                    " DISPLAY_DATA
    *&      Form  user_command_acct
          text
         -->P_UCOMM    text
         -->P_SELFLD   text
    FORM user_command_acct USING p_ucomm TYPE sy-ucomm
                            p_selfld TYPE slis_selfield.
      CASE p_ucomm.
    *when double clicked on ALV grid , report id is passed to transaction
        WHEN '&IC1'.    "Double click
          clear p_ucomm.
          IF p_selfld-fieldname = 'ZBELNR'.
            w_doc_no = p_selfld-value.
    *--Form to get second list records based on Doc number
            PERFORM sec_list_data.
            IF NOT it_sec_final IS INITIAL .
    *--Form to get the second list fieldcatolog
              PERFORM fill_fieldcat_sec.
    *Perform to display the Second ALV report
              PERFORM display_sec_list.
            ENDIF.
          ELSE.
            MESSAGE i001(zz) WITH text-004.
          ENDIF.
      ENDCASE.
    ENDFORM.                    "user_command_acct
    *&      Form  SEC_LIST_DATA
          text
    -->  p1        text
    <--  p2        text
    FORM sec_list_data .
      DATA: l_role_id TYPE zroleid,
            l_zrole_desc TYPE zrole_desc,
             l_persnumber TYPE ad_persnum,
             l_name_first TYPE ad_namefir,
             l_name_last TYPE ad_namelas.
      CLEAR : it_sec_final .
      REFRESH : it_sec_final .
      LOOP AT it_zfap_hist INTO wa_it_zfap_hist WHERE zbelnr = w_doc_no.
        IF wa_it_zfap_hist-zstatus = 'Submitted'.
          CLEAR : wa_it_sec_final.
          wa_it_sec_final-zbelnr     = wa_it_zfap_hist-zbelnr.
          SELECT SINGLE persnumber
                 FROM usr21
                 INTO l_persnumber
                 WHERE bname = wa_it_zfap_hist-zsapuserid.
          SELECT SINGLE name_first name_last
                 FROM adrp
                 INTO (l_name_first, l_name_last)
                 WHERE persnumber = l_persnumber.
          CONCATENATE l_name_last l_name_first INTO wa_it_sec_final-name
                                  SEPARATED BY space.
        ENDIF.
        IF wa_it_zfap_hist-zstatus NE 'Submitted'.     " 'Approve'.
          wa_it_sec_final-date = wa_it_zfap_hist-zdate.
          wa_it_sec_final-zstatus = wa_it_zfap_hist-zstatus.
          SELECT SINGLE persnumber
                 FROM usr21
                 INTO l_persnumber
                 WHERE bname = wa_it_zfap_hist-zsapuserid.
          SELECT SINGLE name_first name_last
                 FROM adrp
                 INTO (l_name_first, l_name_last)
                 WHERE persnumber = l_persnumber.
         CONCATENATE l_name_last l_name_first INTO wa_it_sec_final-approver
                                 SEPARATED BY space.
          APPEND wa_it_sec_final TO it_sec_final.
          CLEAR : l_role_id, l_zrole_desc.
        ENDIF.
        CLEAR : wa_it_zfap_hist.
      ENDLOOP.
    sort it_sec_final by zbelnr .
    delete adjacent duplicates from it_sec_final .
    ENDFORM.                    " SEC_LIST_DATA
    *&      Form  fill_fieldcat_sec
          text
    -->  p1        text
    <--  p2        text
    FORM fill_fieldcat_sec .
      CLEAR : it_fcat_sec[]   .
      REFRESH : it_fcat_sec[].
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
        EXPORTING
          i_program_name         = w_repid
          i_internal_tabname     = 'IT_SEC_FINAL'
          i_inclname             = w_repid
        CHANGING
          ct_fieldcat            = it_fcat_sec[]
        EXCEPTIONS
          inconsistent_interface = 1
          program_error          = 2
          OTHERS                 = 3.
      IF sy-subrc   <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      IF NOT it_sec_final[] IS INITIAL.
        IF it_fcat_sec[] IS INITIAL.
          CLEAR  it_fcat_sec.
          it_fcat_sec-tabname     = 'IT_SEC_FINAL'.
          it_fcat_sec-fieldname   = 'ZBELNR'.
          it_fcat_sec-seltext_l  = 'Document Number'.
          it_fcat_sec-col_pos     = 1.
          it_fcat_sec-outputlen  = 15.
          it_fcat_sec-key = 'X'.
          APPEND it_fcat_sec.
          CLEAR  it_fcat_sec.
          it_fcat_sec-tabname     = 'IT_SEC_FINAL'.
          it_fcat_sec-fieldname   = 'NAME'.
          it_fcat_sec-seltext_l  = 'Name'.
          it_fcat_sec-col_pos     = 2.
          it_fcat_sec-outputlen  = 40.
          APPEND it_fcat_sec.
          CLEAR  it_fcat_sec.
          it_fcat_sec-tabname     = 'IT_SEC_FINAL'.
          it_fcat_sec-fieldname   = 'APPROVER'.
          it_fcat_sec-seltext_l  = 'Approver'.
          it_fcat_sec-col_pos     = 3.
          it_fcat_sec-outputlen  = 12.
          APPEND it_fcat_sec.
          CLEAR  it_fcat_sec.
          it_fcat_sec-tabname     = 'IT_SEC_FINAL'.
          it_fcat_sec-fieldname   = 'DATE'.
          it_fcat_sec-seltext_l  = 'Date'.
          it_fcat_sec-col_pos     = 4.
          it_fcat_sec-outputlen  = 17.
          APPEND it_fcat_sec.
          CLEAR  it_fcat_sec.
          it_fcat_sec-tabname     = 'IT_SEC_FINAL'.
          it_fcat_sec-fieldname   = 'ZSTATUS'.
          it_fcat_sec-seltext_l  = 'Status'.
          it_fcat_sec-col_pos     = 5.
          it_fcat_sec-outputlen  = 40.
          APPEND it_fcat_sec.
        ENDIF.
      ENDIF.
    ENDFORM.                    " fill_fieldcat_sec
    *&      Form  display_sec_list
          text
    -->  p1        text
    <--  p2        text
    FORM display_sec_list .
      wa_layout-colwidth_optimize = 'X'.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
          EXPORTING
           i_callback_program                = w_repid
          is_layout                         = wa_layout
          i_grid_title             = 'Document Status Report - Approver'
           it_fieldcat                       = it_fcat_sec[]
         IT_SORT                        = IT_SORT[]
          it_events                     =  it_events
           TABLES
             t_outtab                        = it_sec_final[]
        EXCEPTIONS
          program_error                     = 1
          OTHERS                            = 2.
    ENDFORM.                    " display_sec_list
    *&      Form  get_elapsed_time
          text
    -->  p1        text
    <--  p2        text
    form get_elapsed_time .
    DATA: date1 type d,
          date2 type d,
          time1 type t,
          time2 type t,
          date type p,
          time type p.
      it_temp1[] = it_zfap_hist[].
      it_temp2[] = it_zfap_hist[].
      delete it_temp1 where zstatus NE 'Submitted'.
      delete it_temp2 where zstatus NE 'Approve'.
      sort it_temp1 by zbukrs zbelnr zdate ztime descending.
      delete adjacent duplicates from it_temp1 comparing zbukrs zbelnr.
      sort it_temp2 by zbukrs zbelnr zdate ztime descending.
      delete adjacent duplicates from it_temp1 comparing zbukrs zbelnr.
      loop at it_temp1 into wa_it_temp1.
        read table it_temp2 into wa_it_temp2
             with key zbukrs = wa_it_temp1-zbukrs
                      zbelnr = wa_it_temp1-zbelnr.
        if sy-subrc = 0.
          date1 = wa_it_temp1-zdate.
          date2 = wa_it_temp2-zdate.
          time1 = wa_it_temp1-ztime.
          time2 = wa_it_temp2-ztime.
          PERFORM datetime_diff using date1 date2 time1 time2
                                changing time date.
          IF DATE > 0.
            DATE = DATE * 86400.
            TIME = DATE + TIME.
            w_DIFF = TIME / 60.
          ELSE.
            w_diff = TIME / 60.
          ENDIF.
        else.
          w_diff = space.
        endif.
        wa_it_time-zbukrs = wa_it_temp1-zbukrs.
        wa_it_time-zbelnr = wa_it_temp1-zbelnr.
        wa_it_time-diff   = w_diff.
        append wa_it_time to it_time.
        clear : wa_it_temp1, wa_it_temp2, date1, date2, time1, time2,
                date, time, w_diff, wa_it_time.
      endloop.
    endform.                    " get_elapsed_time
    *&      Form  datetime_diff
          text
         -->P_DATE1  text
         -->P_DATE2  text
         -->P_TIME1  text
         -->P_TIME2  text
         <--P_TIME  text
         <--P_DATE  text
    form datetime_diff using date1 type d
                             date2 type d
                             time1 type t
                             time2 type t
                       changing time type p
                                date type p.
      DATA: D1 TYPE D, D2 TYPE D, T1 TYPE T, T2 TYPE T.
        D1 = DATE1.
        T1 = TIME1.
        D2 = DATE2.
        T2 = TIME2.
    Calculate hours difference
      TIME = T2 - T1.
    If no date difference then exit
      IF D2 = D1.
        DATE = 0.
        EXIT.
      ENDIF.
    Check for time underflow and correct second date
      IF TIME > T2.
        D2 = D2 - 1.
      ENDIF.
    Calculate date difference
      DATE = D2 - D1.
    endform.                    " datetime_diff

  • Sql7 And Oracle8 Comparison

    There have been a number of messages with reference to
    performance comparisons of one sort or another.
    I decided to do a controlled, fair test of these two products
    with respect to their data warehousing peformance.
    I created a schema with 3 dimension tables ( 300,10000,1000 rows)
    and 1 fact table ( 1000000 rows )
    I designed 3 queries.
    I decided to test two things
    1) bulk load speed
    2) query response times for the 3 queries
    I used identical hardware ( HP Vectra P200 48M Ram + 2.1G
    Quantum ). Software was RedHat 5.2 + Oracle8.0.5.1 and Nt 4.0
    Sp4 + SQl7 ( 120 Day Tril...). Both databases were configured
    similarly ( fixed 16M Memory ).
    results
    Operation Elpased time (s)
    Sql7 Oracle8
    bulk Load 720 660
    Query1
    Query2
    null

    Mark Kirkwood (guest) wrote:
    : There have been a number of messages with reference to
    : performance comparisons of one sort or another.
    : I decided to do a controlled, fair test of these two products
    : with respect to their data warehousing peformance.
    : I created a schema with 3 dimension tables ( 300,10000,1000
    rows)
    : and 1 fact table ( 1000000 rows )
    : I designed 3 queries.
    : I decided to test two things
    : 1) bulk load speed
    : 2) query response times for the 3 queries
    : I used identical hardware ( HP Vectra P200 48M Ram + 2.1G
    : Quantum ). Software was RedHat 5.2 + Oracle8.0.5.1 and Nt 4.0
    : Sp4 + SQl7 ( 120 Day Tril...). Both databases were configured
    : similarly ( fixed 16M Memory ).
    : results
    : Operation Elpased time (s)
    : Sql7 Oracle8
    : bulk Load 720 660
    : Query1 3 2
    : Query2 1 1 ( watch that tab key)
    Query3 4 3
    The bulk load was performed using Dts (sql7) and sqlldr (Oracle8)
    To get to the query execution times indexes were created using
    output from Microsofts "Query Analyzer" product ( really good
    product by the way and comes with Sql7... ). The queries were
    run from Query Analyzer(sql7) and Sqlplus (Oracle8)
    So what to conclude ?
    Oracle8 on Linux is slightly quicker in general - not
    sigificantly so however.
    During testing when the "optimal" set of indexes were not there,
    it was discovered that Oracle8 was much better at doing joins
    involving large datasets. However the Query Analyzer made it so
    easy to improve the situation that the 2 products even out
    here...
    Therefore I would say that they are both good databases with
    respect to data warehouse purposes.
    Notes etc :
    What were the queries ?
    For anyone who is interested I will send data on the schema and
    queries ( mail me ).
    What did I mean by fair ?
    I had not decided which database / os was going to win before I
    started.
    I used only features common to both databases. Therefore I did
    not use partitioning (oracle8) or clustered indexes ( sql7).I
    was liasing with a Sql7 developer ( I'm an oracle boy myself )
    concerning setting up Sql7.
    I hope some people find this interesting
    Cheers
    Mark
    null

  • Same EPM Excel Report takes time to open and refresh on 1 system while it opens and refreshes faster on other system

    Hi All ,
    I am facing an issue where the EPM Excel Templates on SERVER ROOT FOLDER take time to open on 1 system . It also takes great amount of time to REFRESH . While on an another system the same Report opens rather quickly and refreshes also quickly .
    Regards,
    SHUBHAM

    Hi Shubham,
    Now day excel problems are due to some MS update.  Not sure but  have a look at below note.
    2107965 - Issues in EPM Add-in after installing Microsoft updates

  • Since I installed FF4 each time I start up internet FF doesn't open and gives the report that it cannot find the proxyserver.

    Already I have changed the settings to no proxy, but it doesn't work. Each time I want to open internet again I get the same report and I have to change the setting to no proxy again! Also I noticed that FF has changed the proxy adjustment himself to 'manual proxy configuration' where it has introduced HTTP-proxy 127.0.0.1 and port 63030 himself! How can I change this for good?! So that I don't have to change the setting each time I want to open internet.

    Thank you for this information. I am going to get rid of my  i Phone5c because of this policy of Apple!  Maybe they need sued to stop this policy!

  • Can I purchase Creative Cloud subscriptions for longer than one year at a time?

    I work in the design department of a large business, currently using Creative Suite 6 (Design Standard edition, which includes PS and AI).
    I'd like to get the some of the new CC features, but my manager won't commit to a turnkey month-to-month or even annual rental of Creative Cloud apps (it's a pain for our department's purchaser to have to do orders more than once a year). That said, if they could take care of, say, two years at once, I might get the software. Is this an option? I'm one of only a few folks who use Adobe software (it's not a design business; we're just part of a small design department, and all software purchases need to go through this person, after which they're reimbursed). I'm not interested in any of the extra storage or central administration options that come with the higher priced business subscription.
    Thanks!

    http://www.adobe.com/au/products/creativecloud/faq.html
    Are there any unique benefits that come with my paid membership?
    Yes, as a member of Creative Cloud, you get many benefits that you do not get when you purchase a traditional shrinkwrapped product:
    Access to both the Mac OS and Windows® versions of the desktop applications and the ability to install them on your primary computer and one backup computer. So, if you have a Mac at home and a PC at work, you can install your applications on both as long as they are not running at the same time. See the product license agreements page for more information.

  • How can I see Calendar event END times at a glance?

    How can I display my Calendar event titles exactly as I type them? I do not want Calendar to remove duration from the titles of my events. Otherwise I can't see event END times at a glance in month view; only start times. How can I "trick" Calendar to just show my titles as I type them - as I always could before I upgraded. I used to be able to enter "Seminar 9am-5:45" and it would appear that way regardless of how or what I chose to enter (or not enter) for duration.
    I am running OSX 10.9.3.

    It's a bit weird, but if you type in the time info TWICE into the event title then Calendar uses/deletes one of them to populate the event details and leaves the other.
    Apple - Mac OS X - Feedback

  • OBIEE Pre-Builts Loading one year at a time

    Hi,
    We are in a situation where we need to load one year at a time into the BAW (warehouse). I have seen this done before where the initial load was a full load and only went forward one year. Each subsequent load was for a complete year until we were current. After that, it was simply incremental loads with the standard prune days of 30.
    Does anyone have any detail as to how to do this?
    Regards

    Is the issue a performance issue (ETLs running for too long)? The problem is that if you do Year by year..and you want to do a "incremental" load for each year, that would be even more of a load..since you are not allowing for BULK load (where the tables get truncated). Either you can truncate and do BULK or incrmental..which may be an even heavier load. I think you are assuming that this approach will somehow help you from a hardware limitation standpoint..do you know for sure that it will?
    If you really do want to do it, as I mentioned, you can edit the INITIAL and END parameters. It would help if you clarify the Hardware limitation...I think there are better ways to handle this than to do what you are doing.

  • Airport can no longer read or write the configuration of Time Capsule

    I have a MacBook Pro running OSX 10.8.3 and maintained with all available patches. I have also a Time Capsule with version 7.6.3 of the firmware. I use AirPort 6.2. So everything seems to be updated with the latest versions.
    This has really been a good setup for nearly a year now, but earlier this month Time Machine suddenly stopped to work and could no longer do backups to the Time Capsule. I have tried to factory reset the Time Capsule several times, but I still get problems when writing the configuration to the Time Capsule. I get an error message saying "An error occurred while updating the configuration".
    Airport is furthermore not able to detect the Time Capsule correctly anymore, so I have to configure it by entering the IP address. But after setting up WLAN, disks, etc. and enhanching the security, I just receive the error message when I try to write the config. The Internet connection works perfectly anyway, both via cable and wireless.
    Anyone got any tips?

    Do the setup by ethernet in full isolation from the network.
    Start from a full factory reset.
    I would recommend you take the firmware back to 7.6.1 or even earlier if the TC is older than 12months. 7.5.2 was very reliable. All these bugs started with 7.6 and the change to Lion.
    I would also recommend installing 5.6 utility.
    How to load 5.6 into ML.
    1. Download 5.6 for Lion.
    http://support.apple.com/kb/DL1482
    Click to open the dmg but do not attempt to install the pkg.. it won't work anyway.
    2. Download and install unpkg.
    http://www.timdoug.com/unpkg/
    Run unpkg on the desktop.. it is very simple.. drag the AirPortUtility56.pkg file over to unpkg.. and it will create a new directory of the same name on the desktop.. drill down.. applications utilities .. there lo and behold is Airport utility 5.6 .. drag it to your main utilities directory or just run it from current location.
    You cannot uninstall 6.1 (now 6.2 if you updated) so don't try.. and you cannot or should not run them both at the same time.. so just ignore the toyland version.. the plastic hammer.. and start using 5.6.. a real tool.
    For screen shots see this post.
    https://discussions.apple.com/thread/4668746?tstart=0

  • Iomega external hard drive either 'not found' by Time Machine or is now in 'read only' format

    I don't know what's going on with my iomega external hard drive.  Sometimes the HD is recognised by the computer; other times it isn't; if it isn't I can restore to an earlier back up via Time Machine app; but it's like the disk isn't writable.
    Ten days ago, I had trouble backing up my iMac using Time Machine.  After turning it off and restarting my external hard drive, it backed up successfully.
    However, today I am trying to back up my files, and TM tells me it can't find the external hard drive.  Nothing has changed -- I have been out of town this past week -- but somehow my HD now seems to be in 'read only' format.  It does turn on, and I could restore my computer to an earlier back up.
    "Mac OS X can't repair the disk.  You can still open or copy files on the disk, but you can't save changes to files on the disk.  Back up the disk and reformat it as soon as you can."
    Annoyingly, despite my HD not showing in Finder or on my Desktop (as it usually does), when I simply turn it off I get that warning message "The disk was not ejected properly".
    Have tried verifying and repairing using Disk Utility, to no avail. 
    Am prompted to reformat but I don't have a good understanding of what this means and how to do it.  I'm guessing this would wipe the disk clean and I'd have to create the initial back up image all over again -- I'm reluctant to do this since this HD is my only back up and if it all goes tits up I'll be up that famous creek without a paddle.
    Thoughts, suggestions, input all welcome and deeply appreciated -- thank you!

    fzgy wrote:
    "Mac OS X can't repair the disk.  You can still open or copy files on the disk, but you can't save changes to files on the disk.  Back up the disk and reformat it as soon as you can."
    It's possible a heavy-duty 3rd-party disk repair app can fix it, but they're expensive (DiskWarrior is about $100), and there's no guarantee it can do it.
    Am prompted to reformat but I don't have a good understanding of what this means and how to do it.
    That will erase it.  See Time Machine - Frequently Asked Question #5.
    It sounds very much like the disk is beginning to fail, although it's possible there's a bad port, cable, connection or power supply (if it has its own).
    I'd suggest getting a new one, and using it for your Time Machine backups; once you have a good backup there, reformat the old one (and select Security Options to write zeros to the whole drive -- if that fails, you know the drive is toast).  Use it for secondary backups, per FAQ #27.   If it has failed, get a second new one for secondary backups. 

Maybe you are looking for