Report governor?  (CPU time, clock time, # rows, etc?)

Is there any sort of report "governor" function available in the
Reports Server or 9iAS (Portal) interface to the reports server
that would let me stop a report once it had used up a certain
amount of database CPU time or simply ran for too long ("wall
clock time")?
For certain times of the night (during data loads, etc.), I need
to be able to restrict some or all of our users from taking over
the CPU by running too many reports concurrently, reports with
too broad a set of parameters, etc. The SRW.SET_MAXROW
procedure might help a bit, but ideally I'd like to be able to
control this without having to change each report. (Also, I'd
like to be able to control this on a user-by-user, group-by-
group or time-of-day basis.)
TIA for any suggestions anyone can offer!
- Bill

hello,
there is no feature in oracle reports but you might look into
the database features, they might have something like that.
regards,
the oracle reports team --pw                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • Confused about the 'cpu fsb clock frequency' setting, etc., in cell in bios

    just got a new k8n neo2-f nforce3 board with an a64 3500+ venice chip.  It is properly recognized in the bios and windows as an a64 3500+ at 2.2ghz, but I'm confused about the cell menu settings in the bios. I see a 'cpu fsb clock frequency' which was automatically set at 200mhz, but the fsb runs at 1Ghz (1000mhz), so what is the 'fsb clock frequency' if not equal to the cpu fsb?  Is 200 the correct setting for that?  Should I need to change any of the other settings in here?  I wonder, because my 3dmark03 score only went up 200 points from the same system with a AthlonXP 2500+ chip and kt4avl mobo, which seems like a low increase to me.....

    I would set that to Manual in BIOS, so that you can incremently increase the CPU speed without causing a sudden crash. Each system is different and operates within the specs of not only the CPU, but system memory and PCI-E add-ins as well. Your video card is the primary driver behgind your 3DMark scores...but you haven't listed that?!

  • Login Window clock shows incorrect time, clock time fixes itself after log in...

    Good Evening,
    This morning I turned on my MacBook Pro and while I was typing my password to log in, I noticed that the time in the login window clock had a wrong setting. The time displayed was 4 hours delayed in relation to my time zone. However, after logging into my user account I looked and the menu bar and when the clock got displayed, the correct time of my time zone appeared.
    I don't know what could have caused this issue. The only thing I know is that yesterday evening, I was using my MacBook Pro with Windows 7 via Bootcamp and used it for a prolonged time (about 5 hours), and then shutdown the computer and did not touch the computer until this morning. Could these issues be related? I know OS X and Windows measure their times differently because the former OS calculates time in relation to UTC and the latter OS calculates the time using the actual zone you have specified in the time settings.
    Other than that the issue has not manifested itself again since this morning but I haven't booted into Windows just yet.
    Thanks for your time!

    Make sure the time and date are correct.
    Open System Preferences > Date & Time then select the Date & Time tab.
    Select:   Set date and time automatically
    Then select the Time Zone tab.
    Select:  Set time zone automatically using current location
    If that doesn't help, open the Finder. From the Finder menu bar click Go > Go to Folder
    Type or copy paste the following:
    ~/Library/Preferences/com.apple.systemuiserver.plist
    Click Go then move the coml.apple.systemuiserver.plist file to the Trash.
    Then restart your Mac and check the time ...

  • How to add/create Clock, Timer, Timecode or Countdown

    Hi all,
    I've just tried to find in these forum, with google etc. but I just can't find a way:
    What do I like to do?
    How to add a time/clock/timer/timecode, visible in the picture with
    Minutes:Seconds:Hundredth (or Frames 25/30/60)
    "xx:xx:xx"
    Samples:
    Here's a sample how I'd like to do it:
    http://www.youtube.com/watch?v=ajNXfx4FBOI
    At the moment I am trying my best with some bike racing footage like this:
    http://vholdr.com/video/afm-race-round-5-650-twins-2009-full
    Goal:
    http://www.youtube.com/watch?v=Lha_ZqWxCJA
    Can anyone help?
    Regards,
    Marc

    Hi all,
    here my results.
    You can install it.
    It shows up in Effects.
    But as soon as you've put it in - Premiere Elements 8.0 crashes.
    It even shows implemented time in the preview, but as soon as you work with it for more then 2-10 seconds it let's Premiere crash.
    Seems like we have to wait for an update from the developer.
    Regards,
    Marc

  • CPU clock timer in vision builder

    Hi
    I need send to Ethernet port PC clock time as an inspection result in vision builder where can I find clock timer in vision builder tools? Like the tick counter in Labview.
    I have used some items like active timer in system variable but I have not succeeded.
    Would you please help me?
    Thank you
    Refa

    The Active Time reports how long the inspection has been running. Why does this not work for you? It sounds like this is what you want since you're looking for something like LabVIEW's Timer. The main difference is that LV's timer starts at a random offset, and VBAI's Active Time always starts at 0 from when the inspection starts. If you want the system time, there is a System Variable called Current Time that reports the time of the system. It only reports the time to the second, so if you need more accuracy, you can use a Run LabVIEW VI to get the current time with more accuracy.
    Hope this helps,
    Brad

  • Still the report is taking too much time

    Hi All,
    When i refresh a webi report the report is taken too much time to refresh(open).
    In back end i have checked all the connections, contexts, cardinalities, joins, conditions...etc, in webi i have enabled the the check box 'query stripping'.
    but still the report is taking too much time, i didn't identified the problem?
    Please help me on this.
    Thanks in advance..

    Hi Mark,
    How many queries are there--2
    How many rows are returned--- 2000+
    Are all measures defined with aggregates-- Yes
    What is the array fetch size? (I1000 if it isn't already)

  • Report Background Engine takes long time

    Hi all,
    I'm using Reports6i while the db is a 10gXE instance.
    When I click for the report, I see RBE starts but nothing happens for about 2-3 minutes; also in task manager I see RBE doesn't use CPU. After those minutes, ther parameter form appears. Even if the report doesn't require parameters, it still takes 2-3 minutes to show something.
    I also have other reports made with Reports6i and their behaviour is completely different: they take 2-3 seconds! The difference is these reports work on Oracle 8 instances.
    Maybe the problem is the Reports6i-Oracle10gXE interface?

    Formatting page 1 often means that the query is still executing, not that the page is formatting page 1.
    If the report is "Formating page 2" for a long while on a 3 page report (assuming page 2 is not another query in a different report section) it would seem that the query is passing bits of data back to the report a bit at a time.
    In this case try adding the ALL_ROWS hint which forces Oracle to retrieve all rows (you optimizer may be set to first_rows)

  • Difference between DB CPU and DB Time

    Hi,
    What is the difference between DB CPU and DB TIME in AWR report?
    Br,
    Raj

    Hi,
    Thanks for your valuable reply.
    1,DB CPU is time spent on CPU. It means only ACTIVELY working on CPU. WAIT TIME is not includeed.
    In 10 Minute interval with four CPU, Is the Maximum DB CPU 40 Minutes?
    2,I read the below document about DB time. http://www.perfvision.com/docs/JB_AAS.pdf
    I unable to understand at page 6.
    It says that DB Time = Includes CPU Time + IO Time +  Wait Time
    I understand about Wait time.
    CPU also involved  to do I/O Time? Is it RIGHT?.Hence, Why did seperate CPU Time and I/O time in the document?What is the purpose of it?
    Is it possbile to further divided the CPU TIME ? Like parse etc.....Which view provide it?
    3,If you had four sessions actively working or actively waiting 100% of the time in that 10 minute period, then your DB time would be 40 minutes.
    In a given interval,Where can i find NON Idle wait time in AWR?
    Plese help me out it
    Br,
    Raj

  • Diffrence between cpu and elapse time in tkprof

    Hi All
    i found huge diffrence between cpu and elapsed time in tkprof. can you please advice me on this issue.
    >call count cpu elapsed disk query current rows
    ==================================================
    Parse 1 0.12 1.36 2 11 0 0
    Execute 1 14.30 720.20 46548 190520 205 100
    Fetch 0 0.00 0.00 0 0 0 0
    ======================================================
    total 2 14.42 721.56 46550 190531 205 100
    Misses in library cache during parse: 1
    Optimizer goal: CHOOSE
    Parsing user id: 173 (recursive depth: 1)
    Elapsed times include waiting on following events:
    Event waited on Times waited Max. Wait Total Waited
    ===========================================
    db file sequential read 46544 0.49 632.12
    db file scattered read 1 0.00 0.00
    my select statement
    SELECT cst.customer_id> ,DECODE(COUNT(cr.deposit_date), 0, 0, ROUND(SUM(cr.deposit_date - ps.trx_date) / COUNT(cr.deposit_date))) avgdays
    > ,DECODE(COUNT(cr.deposit_date), 0, 0, ROUND(SUM(cr.deposit_date - ps.due_date) / COUNT(cr.deposit_date))) avgdayslate
    > ,NVL(SUM(DECODE(SIGN(cr.deposit_date - ps.due_date),1, 1, 0)), 0) newlate
    > ,NVL(SUM( DECODE(SIGN(cr.deposit_date - ps.due_date),1, 0, 1)), 0) newontime
    >
    > FROM ar_receivable_applications_all ra
    > ,ar_cash_receipts_all cr
    > ,ar_payment_schedules_all ps
    > ,zz_ar_customer_summary_all cst
    > WHERE ra.cash_receipt_id = cr.cash_receipt_id
    > AND ra.apply_date BETWEEN ADD_MONTHS(SYSDATE, -12) AND SYSDATE
    > AND ra.status = 'APP'
    > AND ra.display = 'Y'
    > AND ra.applied_payment_schedule_id = ps.payment_schedule_id
    > AND ps.customer_id = cst.customer_id
    > AND NVL(ps.receipt_confirmed_flag,'Y') = 'Y'
    > group by cst.customer_id ;
    Thanks,
    Anu

    user653066 wrote:
    Hi All
    i found huge diffrence between cpu and elapsed time in tkprof. can you please advice me on this issue.
    call     count       cpu    elapsed       disk      query    current        rows
    ================================================================================
    Parse        1      0.12       1.36          2         11          0           0
    Execute      1     14.30     720.20      46548     190520        205         100
    Fetch        0      0.00       0.00          0          0          0           0
    ================================================================================
    total        2     14.42     721.56      46550     190531        205         100
    Misses in library cache during parse: 1
    Optimizer goal: CHOOSE
    Parsing user id: 173     (recursive depth: 1)
    Elapsed times include waiting on following events:
    Event waited on                      Times waited   Max. Wait  Total Waited
    ===========================================================================
    db file sequential read                     46544        0.49        632.12
    db file scattered read                          1        0.00          0.00
    SELECT  cst.customer_id
             ,DECODE(COUNT(cr.deposit_date), 0, 0, ROUND(SUM(cr.deposit_date - ps.trx_date) / COUNT(cr.deposit_date))) avgdays
             ,DECODE(COUNT(cr.deposit_date), 0, 0, ROUND(SUM(cr.deposit_date - ps.due_date) / COUNT(cr.deposit_date))) avgdayslate
             ,NVL(SUM(DECODE(SIGN(cr.deposit_date - ps.due_date),1, 1, 0)), 0)  newlate
             ,NVL(SUM( DECODE(SIGN(cr.deposit_date - ps.due_date),1, 0, 1)), 0) newontime
              FROM ar_receivable_applications_all ra
                  ,ar_cash_receipts_all           cr
                  ,ar_payment_schedules_all       ps
                  ,zz_ar_customer_summary_all cst
              WHERE ra.cash_receipt_id                 = cr.cash_receipt_id
              AND   ra.apply_date                BETWEEN ADD_MONTHS(SYSDATE, -12) AND SYSDATE
              AND   ra.status                          = 'APP'
              AND   ra.display                         = 'Y'
              AND   ra.applied_payment_schedule_id     = ps.payment_schedule_id
              AND   ps.customer_id                     = cst.customer_id          
              AND   NVL(ps.receipt_confirmed_flag,'Y') = 'Y'
              group by cst.customer_id    ;           Toon Koppelaars seems to have pinpointed the problem. Where are the 74 seconds unaccounted for seconds (I might have calculated it incorrectly, but I arrived at 88.08 seconds of unaccounted for time: 721.56 total - 1.36 parse - 632.12 db file sequential reads)?
    It is interesting that the maximum wait for a single block read reported by TKPROF is 0.49 seconds - this might be an indication of excessive competition for the server's CPU - processes are waiting in the CPU run queue, and therefore not on the CPU. As Toon indicated, 632.12 of the 721.56 seconds were spent waiting for single block reads to complete with 46,544 blocks read. Note also that the query executed at dep=1, and TKPROF may be providing misleading information about what actually happened during those executions. An example of misleading information:
    CREATE TABLE T11 (
      C1 NUMBER,
      C2 VARCHAR2(30));
    CREATE TABLE T12 (
      C1 NUMBER,
      C2 VARCHAR2(30));
    CREATE TABLE T13 (
      C1 NUMBER,
      C2 VARCHAR2(30));
    CREATE TABLE T14 (
      C1 NUMBER,
      C2 VARCHAR2(30));
    CREATE OR REPLACE TRIGGER HPM_T11 AFTER
    INSERT OR DELETE OR UPDATE OF C1 ON T11
    REFERENCING OLD AS OLDDATA NEW AS NEWDATA FOR EACH ROW
    BEGIN
      IF INSERTING THEN
        INSERT INTO T12
        SELECT
          ROWNUM,
          DBMS_RANDOM.STRING('A',25)
        FROM
          DUAL
        CONNECT BY
          LEVEL <= 100;
      END IF;
    END;
    CREATE OR REPLACE TRIGGER HPM_T12 AFTER
    INSERT OR DELETE OR UPDATE OF C1 ON T12
    REFERENCING OLD AS OLDDATA NEW AS NEWDATA FOR EACH ROW
    BEGIN
      IF INSERTING THEN
        INSERT INTO T13
        SELECT
          ROWNUM,
          DBMS_RANDOM.STRING('A',25)
        FROM
          DUAL
        CONNECT BY
          LEVEL <= 100;
      END IF;
    END;
    CREATE OR REPLACE TRIGGER HPM_T13 AFTER
    INSERT OR DELETE OR UPDATE OF C1 ON T13
    REFERENCING OLD AS OLDDATA NEW AS NEWDATA FOR EACH ROW
    BEGIN
      IF INSERTING THEN
        INSERT INTO T14
        SELECT
          ROWNUM,
          DBMS_RANDOM.STRING('A',25)
        FROM
          DUAL
        CONNECT BY
          LEVEL <= 100;
      END IF;
    END;
    ALTER SESSION SET TRACEFILE_IDENTIFIER = 'MY_TEST_FIND_ME2';
    ALTER SESSION SET EVENTS '10046 TRACE NAME CONTEXT FOREVER, LEVEL 8';
    SET TIMING ON
    INSERT INTO T11 VALUES (1,'MY LITTLE TEST CASE');
    ALTER SESSION SET EVENTS '10046 TRACE NAME CONTEXT OFF';The partial TKPROF output:
    INSERT INTO T11
    VALUES
    (1,'MY LITTLE TEST CASE')
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          8          0           0
    Execute      1      0.00       0.00          0       9788         29           1
    Fetch        0      0.00       0.00          0          0          0           0
    total        2      0.00       0.00          0       9796         29           1
    Misses in library cache during parse: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 56 
    Rows     Row Source Operation
          0  LOAD TABLE CONVENTIONAL  (cr=9788 pr=7 pw=0 time=0 us)
    Elapsed times include waiting on following events:
      Event waited on                             Times   Max. Wait  Total Waited
      ----------------------------------------   Waited  ----------  ------------
      SQL*Net message to client                       1        0.00          0.00
      SQL*Net message from client                     1        0.00          0.00
    SQL ID : 6asaf110fgaqg
    INSERT INTO T12 SELECT ROWNUM, DBMS_RANDOM.STRING('A',25) FROM DUAL CONNECT
      BY LEVEL <= 100
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.04       0.09          0          2        130         100
    Fetch        0      0.00       0.00          0          0          0           0
    total        2      0.04       0.09          0          2        130         100
    Misses in library cache during parse: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 56     (recursive depth: 1)
    Rows     Row Source Operation
          0  LOAD TABLE CONVENTIONAL  (cr=9754 pr=7 pw=0 time=0 us)
        100   COUNT  (cr=0 pr=0 pw=0 time=0 us)
        100    CONNECT BY WITHOUT FILTERING (cr=0 pr=0 pw=0 time=0 us)
          1     FAST DUAL  (cr=0 pr=0 pw=0 time=0 us cost=2 size=0 card=1)
    SQL ID : db46bkvy509w4
    INSERT INTO T13 SELECT ROWNUM, DBMS_RANDOM.STRING('A',25) FROM DUAL CONNECT
      BY LEVEL <= 100
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute    100      1.31       1.27          0         93      10634       10000
    Fetch        0      0.00       0.00          0          0          0           0
    total      101      1.31       1.27          0         93      10634       10000
    Misses in library cache during parse: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 56     (recursive depth: 2)
    Rows     Row Source Operation
          0  LOAD TABLE CONVENTIONAL  (cr=164 pr=0 pw=0 time=0 us)
        100   COUNT  (cr=0 pr=0 pw=0 time=0 us)
        100    CONNECT BY WITHOUT FILTERING (cr=0 pr=0 pw=0 time=0 us)
          1     FAST DUAL  (cr=0 pr=0 pw=0 time=0 us cost=2 size=0 card=1)
    SQL ID : 6542yyk084rpu
    INSERT INTO T14 SELECT ROWNUM, DBMS_RANDOM.STRING('A',25) FROM DUAL CONNECT
      BY LEVEL <= 100
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        2      0.00       0.00          0          0          0           0
    Execute  10001     41.60      41.84          0       8961      52859     1000000
    Fetch        0      0.00       0.00          0          0          0           0
    total    10003     41.60      41.84          0       8961      52859     1000000
    Misses in library cache during parse: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 56     (recursive depth: 3)
    Rows     Row Source Operation
          0  LOAD TABLE CONVENTIONAL  (cr=2 pr=0 pw=0 time=0 us)
        100   COUNT  (cr=0 pr=0 pw=0 time=0 us)
        100    CONNECT BY WITHOUT FILTERING (cr=0 pr=0 pw=0 time=0 us)
          1     FAST DUAL  (cr=0 pr=0 pw=0 time=0 us cost=2 size=0 card=1)
    Elapsed times include waiting on following events:
      Event waited on                             Times   Max. Wait  Total Waited
      ----------------------------------------   Waited  ----------  ------------
      log file switch completion                      2        0.07          0.07
    ********************************************************************************In the above note that the "INSERT INTO T11" is reported as completing in 0 seconds, but it actually required roughly 42 seconds - and that would be visible by manually reviewing the resulting trace file. Also note that the log file switch completion wait was not reported for the "INSERT INTO T11" even though it impacted the execution time.
    Back to the possibility of CPU starvation causing lost time. Another test with an otherwise idle server, followed by a second test with the same server having 240 other processes fighting for CPU resources (a simulated load).
    ALTER SYSTEM FLUSH BUFFER_CACHE;
    ALTER SESSION SET TRACEFILE_IDENTIFIER = 'MY_TEST_QUERY_NO_LOAD';
    ALTER SESSION SET EVENTS '10046 TRACE NAME CONTEXT FOREVER, LEVEL 8';
    SET TIMING ON
    SELECT
      COUNT(*)
    FROM
      T14;
    SELECT
      SYSDATE
    FROM
      DUAL;
    SQL> SELECT
      2    COUNT(*)
      3  FROM
      4    T14;
      COUNT(*)
       1000000
    Elapsed: 00:00:01.37With no load the COUNT(*) completed in 1.37 seconds. The TKPROF output looks like this:
    SQL ID : gy8nw9xzyg3bj
    SELECT /* OPT_DYN_SAMP */ /*+ ALL_ROWS IGNORE_WHERE_CLAUSE
      NO_PARALLEL(SAMPLESUB) opt_param('parallel_execution_enabled', 'false')
      NO_PARALLEL_INDEX(SAMPLESUB) NO_SQL_TUNE */ NVL(SUM(C1),:"SYS_B_0"),
      NVL(SUM(C2),:"SYS_B_1")
    FROM
    (SELECT /*+ NO_PARALLEL("T14") FULL("T14") NO_PARALLEL_INDEX("T14") */
      :"SYS_B_2" AS C1, :"SYS_B_3" AS C2 FROM "T14" SAMPLE BLOCK (:"SYS_B_4" ,
      :"SYS_B_5") SEED (:"SYS_B_6") "T14") SAMPLESUB
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        1      0.01       0.84        523        172          1           1
    total        3      0.01       0.84        523        172          1           1
    Misses in library cache during parse: 1
    Misses in library cache during execute: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 56     (recursive depth: 1)
    Rows     Row Source Operation
          1  SORT AGGREGATE (cr=172 pr=523 pw=0 time=0 us)
       8733   TABLE ACCESS SAMPLE T14 (cr=172 pr=523 pw=0 time=0 us cost=2 size=12 card=1)
    Elapsed times include waiting on following events:
      Event waited on                             Times   Max. Wait  Total Waited
      ----------------------------------------   Waited  ----------  ------------
      db file sequential read                         3        0.02          0.04
      db file parallel read                           1        0.31          0.31
      db file scattered read                         52        0.03          0.47
    SQL ID : 96g93hntrzjtr
    select /*+ rule */ bucket_cnt, row_cnt, cache_cnt, null_cnt, timestamp#,
      sample_size, minimum, maximum, distcnt, lowval, hival, density, col#,
      spare1, spare2, avgcln
    from
    hist_head$ where obj#=:1 and intcol#=:2
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        1      0.00       0.06          2          2          0           0
    total        3      0.00       0.06          2          2          0           0
    Misses in library cache during parse: 0
    Optimizer mode: RULE
    Parsing user id: SYS   (recursive depth: 2)
    Rows     Row Source Operation
          0  TABLE ACCESS BY INDEX ROWID HIST_HEAD$ (cr=2 pr=2 pw=0 time=0 us)
          0   INDEX RANGE SCAN I_HH_OBJ#_INTCOL# (cr=2 pr=2 pw=0 time=0 us)(object id 413)
    Elapsed times include waiting on following events:
      Event waited on                             Times   Max. Wait  Total Waited
      ----------------------------------------   Waited  ----------  ------------
      db file sequential read                         2        0.02          0.04
    SELECT
      COUNT(*)
    FROM
      T14
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          1          1          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        2      0.03       0.43       6558       6983          0           1
    total        4      0.03       0.44       6559       6984          0           1
    Misses in library cache during parse: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 56 
    Rows     Row Source Operation
          1  SORT AGGREGATE (cr=6983 pr=6558 pw=0 time=0 us)
    1000000   TABLE ACCESS FULL T14 (cr=6983 pr=6558 pw=0 time=0 us cost=1916 size=0 card=976987)
    Elapsed times include waiting on following events:
      Event waited on                             Times   Max. Wait  Total Waited
      ----------------------------------------   Waited  ----------  ------------
      db file sequential read                         1        0.02          0.02
      SQL*Net message to client                       2        0.00          0.00
      db file scattered read                        111        0.02          0.38
      SQL*Net message from client                     2        0.00          0.00Note that TKPROF reported that it only required 0.44 seconds for the query to execute while the SQL*Plus timing indicate that it required 1.37 seconds for the SQL statement to execute. The SQL optimization (parse) with dynamic sampling query accounted for the remaining time, yet TKPROF provided no indication that this was the case.
    Now the query with 240 other processes competing for CPU time:
    ALTER SYSTEM FLUSH BUFFER_CACHE;
    ALTER SESSION SET TRACEFILE_IDENTIFIER = 'MY_TEST_QUERY_WITH_LOAD';
    SELECT COUNT(*) FROM T14;
    SELECT
      SYSDATE
    FROM
      DUAL;
    SQL> SELECT COUNT(*) FROM T14;
      COUNT(*)
       1000000
    Elapsed: 00:00:59.03The query this time required just over 59 seconds. The TKPROF output:
    SQL ID : gy8nw9xzyg3bj
    SELECT /* OPT_DYN_SAMP */ /*+ ALL_ROWS IGNORE_WHERE_CLAUSE
      NO_PARALLEL(SAMPLESUB) opt_param('parallel_execution_enabled', 'false')
      NO_PARALLEL_INDEX(SAMPLESUB) NO_SQL_TUNE */ NVL(SUM(C1),:"SYS_B_0"),
      NVL(SUM(C2),:"SYS_B_1")
    FROM
    (SELECT /*+ NO_PARALLEL("T14") FULL("T14") NO_PARALLEL_INDEX("T14") */
      :"SYS_B_2" AS C1, :"SYS_B_3" AS C2 FROM "T14" SAMPLE BLOCK (:"SYS_B_4" ,
      :"SYS_B_5") SEED (:"SYS_B_6") "T14") SAMPLESUB
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        1      0.00       0.28        423         69          0           1
    total        3      0.00       0.28        423         69          0           1
    Misses in library cache during parse: 0
    Optimizer mode: ALL_ROWS
    Parsing user id: 56     (recursive depth: 1)
    Rows     Row Source Operation
          1  SORT AGGREGATE (cr=69 pr=423 pw=0 time=0 us)
       8733   TABLE ACCESS SAMPLE T14 (cr=69 pr=423 pw=0 time=0 us cost=2 size=12 card=1)
    Elapsed times include waiting on following events:
      Event waited on                             Times   Max. Wait  Total Waited
      ----------------------------------------   Waited  ----------  ------------
      db file scattered read                         54        0.01          0.27
      db file sequential read                         2        0.00          0.00
    SQL ID : 7h04kxpa13w1x
    SELECT COUNT(*)
    FROM
    T14
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.03          1          1          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        2      0.06      58.71       6551       6983          0           1
    total        4      0.06      58.74       6552       6984          0           1
    Misses in library cache during parse: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 56 
    Rows     Row Source Operation
          1  SORT AGGREGATE (cr=6983 pr=6551 pw=0 time=0 us)
    1000000   TABLE ACCESS FULL T14 (cr=6983 pr=6551 pw=0 time=0 us cost=1916 size=0 card=976987)
    Elapsed times include waiting on following events:
      Event waited on                             Times   Max. Wait  Total Waited
      ----------------------------------------   Waited  ----------  ------------
      db file sequential read                         1        0.02          0.02
      SQL*Net message to client                       2        0.00          0.00
      db file scattered read                        110        1.54         58.59
      SQL*Net message from client                     1        0.00          0.00Note in the above that the max wait for the db file scattered read is 1.54 seconds due to the extra CPU competition - about 3 times longer than your max wait for a single block read. On your database platform with single block reads, it might be possible that the time in the CPU run queue is not always counted in the db file sequential read wait time or the CPU wait time - what if your operating system is slow at returning timing information to the database instance due to CPU saturation - this might explain the 74 (or 88) lost seconds.
    Charles Hooper
    IT Manager/Oracle DBA
    K&M Machine-Fabricating, Inc.
    Edited by: Charles Hooper on Aug 28, 2009 10:26 AM
    Fixing formatting problems

  • Time clocks and CATS

    Hi,
    We have a requirement to capture clock-in/out from Genesis time clock system and process time in SAP. We want the generated time pair to be stored CATS database so that the mangers can edit / approve the time punches via CATS_APPR_LITE transaction
    Since I am new to Time management I need help with the following:
    1) What is the format to upload the data using SAP report RPTCC106 (loads table CC1TEV)
    2) How is the data from CC1TEV then loaded to TEVEN table?
    3) How is the time pair formed? Is it possible to store the paired form in CATS database instead of infotype 2011?
    Thanks

    1) What is the format to upload the data using SAP report RPTCC106 (loads table CC1TEV)
    The format is the same as the structure of the CC1TEV table. Please look at this in the SE11/SE16 transaction
    2) How is the data from CC1TEV then loaded to TEVEN table?
    The standard SAP program SAPCDT45 is run to transfer data to TEVEN. In case any rows error out during the transfer, the information of these rows is stored in the table CC1REM. The CC1TEV table is completely purged of all information (correct or incorrect) on a non-test run of the SAPCDT45 program.
    3) How is the time pair formed? Is it possible to store the paired form in CATS database instead of infotype 2011?
    Time pairs are formed during time evaluation run only. Yes, it is possible to import the data into CATSDB (the central CATS table) through the use of a BAPI CATS0002. In this case, however, the CC1TEV and TEVEN tables will be rendered unusable. You will also have to create an attendance type for use with CATS.

  • Why does iTunes use 100% CPU all the time, hogging my Macbook Air?

    Decided to post this here instead of the iTunes forum, since it might be related to hardware too.
    New owner of a 2011 13" Macbook Air, core i5 based.
    My problem started about 1 week ago, after it had run out of power completely one day. At the first boot after that it was incredibly sluggish, totally unusable. After waiting for 5 minutes and still being unresponsive, I turned it off and then back on. Then it booted fine. HOWEVER, ever since that time I noticed the following behavior:
    - iTunes stays at 100% + CPU all the time, mostly between 100-120%. Even if it's not playing. Even when I deleted the entire library and left it empty.
    - iStats reports CPU idle between 50-65%. However, CPU temperature is still about 55 degrees C (which, I think, is far less than what it should have been with 50% idle cpu). I can confirm the low temperature by touching the chasis.
    - the cursor freezes and jumps every few seconds, making the mac kind of unusable with iTunes open.
    This has been going on for 2 weeks now. The problem goes away every now and then (iTunes sometimes goes back to regular CPU usage of 3-5%), but most of the time it's there.
    Help!
    P.S.
    Mac OX X 10.7.2
    iTunes 10.5.2

    Cee Pee You, is a OS modification. Apple recommends that you un-install these prior to a OS update because Apple makes changes to the OS all the time which breaks programs like these.
    I avoid Unsanity LLC products like the plague. Notice the company is a Limited Liability Corporation (LLC), which makes it difficult to sue the company in case of a defective or malicious product. So the risk using their products is all yours. Their APE framework modules have been used for malicious purposes because anyone can write a module that uses the APE framework.
    I also avoid installing anything that requires a administrative password unless I completely trust the source, like Apple mostly. That admin password is the key to the security of our machines, not to be given out lightly or carelessly.
    You'll have to contact Unsanity's [email protected] because what I'm reading online is it's very difficult to remove as it doesn't "exist".
    http://forums.macosxhints.com/archive/index.php/t-3616.html

  • My Appstore account says that my security number don´t match but my credit card got charged 3 times in a row, how can I fix this, and how can I get my money back or the apps downloaded?

    Hello, I was trying to purchase Whats app, when I try to enter my credit card info, it keep telling that my security number don´t match, but my credit card got charged, 3 time in a row. I can send a screen capture of the message telling that already charged my card.
    How can I fix this problem? I mean how can I download the app or get the credit in the store or get my money back?
    Thanks in advance

    Hi Marvin,
    Thanks for visiting Apple Support Communities.
    Did you receive an email confirmation of your purchase? If so, you can use the steps in this article to report an issue with your order:
    How to report an issue with your iTunes Store, App Store, Mac App Store, or iBookstore purchase
    http://support.apple.com/kb/HT1933
    Best Regards,
    Jeremy

  • Busy timer clock in middle of screen, common solutions not helping

    I have a Blackberry Tour 9630 with the 5.0.0.591 OS, and I am consistently seeing a busy timer/clock in the middle of my screen. It's usually there for a 10-15 sec and seems as if the BB is "thinking". I have tried the common solutions such as closing apps with the close command, doing a battery pull, etc, and have continued to have this issue. Any suggestions?
    If it helps, here are the third party apps I have installed. I've put an asterisk next to the ones that need to stay open (or at least I think they need to stay open?):
    - FourSquare   1.8.4
    - GoogleMaps   3.2.1
    - *Memory Booster   3.3
    - *MissingSync   2.0.4.301
    - OpenTable   1.0.2
    - *RingScheduler   1.0.30
    - *Skydeck   3.20
    - The Weather Channel   1.5
    Solved!
    Go to Solution.

    Are you storing pictures ON the BlackBerry device or ON the Media Card?
    Look at Options > File Free. What is the number stated there?
    Likewise, you might not think you have a lot of apps running, but if you open the Application Switcher, what's there?
    Is the browser on an active page?
    Try opening the browser > options > Cache Operations > Clear Cache.
    Now do a reboot: With the BlackBerry device powered ON, remove the battery a few seconds and then reinsert the battery to reboot.
    After the device is backup, give it five minutes to settle all the data activity down.
    Now, see if you keep having the hourglass lag?
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • When saving a document, pages unexpectedly quit three times in a row.  Any idea why?

    When I was saving a document I previously duplicated, Pages unexpectedly quit three times in a row.  Ideas?

    Welcome to the Apple Discussions.
    Are the photos still visible in the Library? If so, Back Up and try rebuild the library: hold down the apple and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild.
    It’s possible that these crashes have damaged the database file. If the above does not help:
    Try these in order - from best option on down...
    1. Do you have an up-to-date back up? If so, try copy the library6.iphoto file from the back up to the iPhoto Library allowing it to overwrite the damaged file.
    2. Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.
    3. If neither of these work then you'll need to create and populate a new library.
    To create and populate a new library:
    Note this will give you a working library with the same Rolls and pictures as before, however, you will lose your albums, keywords, modified versions, books, calendars etc.
    Move the iPhoto Library to the desktop
    Launch iPhoto. It will ask if you wish to create a new Library. Say Yes.
    Go into the iPhoto Library on your desktop and find the Originals folder. From the Originals folder drag the individual Roll Folders to the iPhoto Window and it will recreate them in the new library.
    When you're sure all is well you can delete the iPhoto Library on your desktop.
    In the future, in addition to your usual back up routine, you might like to make a copy of the library6.iPhoto file whenever you have made changes to the library as protection against database corruption.
    Regards
    TD

  • About +ive Time Mgmt with Clock Time .

    Hi SAP-HR Experts .
    Plz give me idea about +ive Time Mgmt with Clock Time.
    I maintained , Infotype 50 , (created from 01.04.2007)
    When i tried to maintained Infotype 2011 . (from 01.04.2007) record is not created , it gives
    warning (date is with in selection period) when i press Enter Key over it , No record is created in infotype 2011 .
    I sat feature TMSTA = 1 .
    In infotype 7 , i maintained Time Mgmt status = 1 .
    I want to know what Time Evaluation Report (RPTIME00) will give to me ?
    How do i confirm my self that now SAP-HR is running on +ive Time Mgmt with Clock Time.?
    Please guide me ...
    Regards : Rajneesh (9873607039)
    Edited by: Rajneesh Kumar on Nov 18, 2008 6:02 AM

    Hi Rajneesh,
    When you run time evaluation through PT60 schema TM00 you will get the following:
    1. Clock in and Clock out entry
    All recorded time data documenting the actual attendance times or the actual absence times of employees.
    Actual time has the opposite meaning of planned working time.
    Example:
    According to the work schedule, an employee is supposed to work from 8:00 a.m. to 5:00 p.m. on December 3, 1999 (planned working time). The actual time data (actual times) from this day is shown below:
    8:00 a.m. to 2:30 p.m. Attendance
    2:00 p.m. to 5:00 p.m. Absence - doctor's appointment
    2. SKELETON TIME
    skeleton time is a time account in which payment-related times of an employee are managed.
    Skeleton time is determined in time evaluation.
    Example:
    Skeleton time in the standard SAP System consists of:
    u2022     Attendance, absence, and off-site work within a contractual period (start and end of working time)
    u2022     Overtime hours that exceed approved overtime
    u2022     Paid break times
    3. FLEXTIME
    Working time pattern in which employees can individually determine their own start and end times, as long as a certain number of hours is worked within a defined period of time each day.
    *4. FILL TIME
    A specific period of working time described in time evaluation that lies within the contractual start and end of working time (excluding breaks).
    If an employee works a flextime schedule and is also expected to be at work at certain times (core times), then fill time indicates the difference between the start and end of working time (without breaks) and the core times
    5. PRODUCTIVE TIME
    The usable working time for a resource. The system determines the productive time using the working time data and utilization rate for the resource as follows:
    Productive time = (End of working time - start of working time - break
    duration) x Rate of utilization / 100%.
    You estimate the downtime at the resource using the utilization rate.
    And the results of the following will depend on your settings...
    Time evaluation will update the quotas and it will form time balances
    I hope this information is enough to understand...for more clarifications revert to me..
    Regards,
    KPJ

Maybe you are looking for

  • Surface Pro 2 tries to use word in browser instead of client in SharePoint 2010 library

    Hi - A user came to me with a new surface pro 2 with IE 11 and Office 2013 and sadly found that document libraries would try to default open in the browser.  I do not have the word app completely configured so it is unavailable. I have a Windows 8 la

  • Play my songs on two computers using remote

    Here is the skinny. I have music (public domain) for my students (K teacher) plus my own music in my library at home. It all syncs with my iphone. Works well. Now school is starting. And with the new version 2.0 software I've found and LOVE the REMOT

  • Can Coldfusion 9 and PHP 5.1 coexist on the same server?

    I found a analytics tool that I want to use for my companies intranet, and it requires PHP 5.1 to be installed on the server. This server will also have CF 9 on it as well. Will PHP 5.1 interfere with the web site and applications on the server writt

  • Punch-out Catalog Management

    Hi all, I wanted purchase a materiale from an external site, so I selected "Supplier Catalog" link, I connected to Supplier web site, I selected an item and when I clicked "Choeck" button, I saw the folloing error message:"Indicate a valid contract(P

  • MSI GT683R FPS PROBLEMS

    Hello, I am having a problem with my two year old MSI GT683R. (Intel Core i7, Windows 7) My computer has severely bad frameS per second problem. I cannot even play my games (Minecraft, CoD BO2, Chivalry, Defiance...) It starts around 70 fps but as I