"Physics read total multi block applications ' wrong?

Hello

The statistics "block the physical demands reading total multi" should count the number of calls to e/s over a reading block (doc here). So I expect to be equal to the 'file db scattered read' (or 'direct path read' if read series direct-path of access is used).

But this isn't what I get in the following unit test:

SQL > create table DEMO pctfree 99 as select rpad('x',1000,'x') n from dual connect by level < = 1000;

-I get the v$ filestat statistics in order to make a difference at the end:

SQL > select phyrds, phyblkrd, singleblkrds from v$ filestat when file #= 6;

PHYRDS PHYBLKRD SINGLEBLKRDS

---------- ---------- ------------

6291-96488-3286

I'm doing a table scan complete on a table of 1000 blocks, forcing sql_tracing and stamped readings

SQL > connect demo/demo

Connected.

SQL > alter session set "_serial_direct_read" = never;

Modified session.

SQL > alter session set events =' waiting sql_trace = true ";

Modified session.

SQL > select count (*) in the DEMO.

COUNT (*)

----------

1000

SQL > alter session set events = 'off sql_trace. "

session statistics see the 30 requests for e/s, but only 14 requests for multi block:

SQL > select name, value of v$ mystat join v$ statname using(statistic#) whose name like "% phy" and the value > 0;

NAME                                          VALUE

---------------------------------------- ----------

total read physics applications of e/s 30

physical read total multi block 14 requests

total number of physical read 8192000 bytes

physical reads 1000

physical reads cache 1000

physical read IO request 30

bytes read physical 8192000

physical reads cache prefetch 970

However, I did 30 'db file squattered read:

SQL > select event, total_waits from v$ session_evenement where sid = sys_context ('userenv', 'sid');

TOTAL_WAITS EVENT

---------------------------------------- -----------

File disk IO 1 operations

1 log file sync

db file scattered read 30

SQL * Net message to client 20

SQL * Net client message 19

V$ FILESTAT counts them as multiblock reads as follows:

SQL > Select phyrds-6291 phyrds, phyblkrd-96488 phyblkrd, singleblkrds-3286 singleblkrds in v$ filestat when file #= 6

PHYRDS PHYBLKRD SINGLEBLKRDS

---------- ---------- ------------

30       1000            0

And this is confirmed by sql_trace

SQL > column tracefile new_value by trace file

SQL > select the process trace file $ v where addr = (select paddr in session $ v where sid = sys_context ('USERENV', 'SID'));

TRACE FILE

------------------------------------------------------------------------

/U01/app/Oracle/diag/RDBMS/dbvs103/DBVS103/trace/DBVS103_ora_31822.TRC

SQL > host mv and tracefile series-live - path.trc

SQL > host grep ^ WAITING series-live - path.trc | grep read | NL

1. WAIT #139711696129328: nam = "db-scattered files reading" ela = 456 file #= 6 block #= 5723 blocks = 5 obj #= tim 95361 = 48370540177

2. WAIT #139711696129328: nam = "db-scattered files reading" ela = 397 file #= 6 block #= 5728 blocks = 8 obj #= tim 95361 = 48370542452

3. wait FOR #139711696129328: nam = "db-scattered files reading" ela = 449 file #= 6 block #= 5737 blocks = 7 obj #= tim 95361 = 48370543216

4 WAIT #139711696129328: nam = "db-scattered files reading" ela = 472 file #= 6 block #= 5744 blocks = 8 obj #= tim 95361 = 48370543816

5. WAIT #139711696129328: nam = "db-scattered files reading" ela = 334 file #= 6 block #= 5753 blocks = 7 obj #= tim 95361 = 48370544276

6 WAIT #139711696129328: nam = "db-scattered files reading" ela = 425 file #= 6 block #= 5888 blocks = 8 obj #= tim 95361 = 48370544848

7 WAIT #139711696129328: nam = "db-scattered files reading" ela = 304 case #= 6 block #= 5897 blocks = 7 obj #= tim 95361 = 48370545370

8 WAIT #139711696129328: nam = "db-scattered files reading" ela = 599 file #= 6 block #= 5904 blocks = 8 obj #= tim 95361 = 48370546190

9 WAIT #139711696129328: nam = "db-scattered files reading" ela = 361 file #= 6 block #= 5913 blocks = 7 obj #= tim 95361 = 48370546682

10 WAIT #139711696129328: nam = "db-scattered files reading" ela = 407 file #= 6 block #= 5920 blocks = 8 obj #= tim 95361 = 48370547224

11 WAIT #139711696129328: nam = "db-scattered files reading" ela = 359 file #= 6 block #= 5929 blocks = 7 obj #= tim 95361 = 48370547697

12 WAIT #139711696129328: nam = "db-scattered files reading" ela = 381 file #= 6 block #= 5936 blocks = 8 obj #= tim 95361 = 48370548287

13 WAIT #139711696129328: nam = "db-scattered files reading" ela = 362 files #= 6 block #= 6345 blocks = 7 obj #= tim 95361 = 48370548762

14 WAIT #139711696129328: nam = "db-scattered files reading" ela = 355 file #= 6 block # 6352 blocks = 8 obj #= tim 95361 = 48370549218

15 WAIT #139711696129328: nam = "db-scattered files reading" ela = 439 file #= 6 block #= 6361 blocks = 7 obj #= tim 95361 = 48370549765

16 WAIT #139711696129328: nam = "db-scattered files reading" ela = 370 file #= 6 block #= 6368 blocks = 8 obj #= tim 95361 = 48370550276

17 WAIT #139711696129328: nam = "db-scattered files reading" ela = 1379 file #= 6 block #= 7170 blocks = 66 obj #= tim 95361 = 48370552358

18 WAIT #139711696129328: nam = "db-scattered files reading" ela = 1205 file #= 6 block #= 7236 blocks = 60 obj #= tim 95361 = 48370554221

19 WAIT #139711696129328: nam = "db-scattered files reading" ela = 1356 file #= 6 block #= 7298 blocks = 66 obj #= tim 95361 = 48370556081

20 WAIT #139711696129328: nam = "db-scattered files reading" ela = 1385 file #= 6 block #= 7364 blocks = 60 obj #= tim 95361 = 48370557969

21 WAIT #139711696129328: nam = "db-scattered files reading" ela = 832 file #= 6 block #= 7426 blocks = 66 obj #= tim 95361 = 48370560016

22 WAITING #139711696129328: nam = "db-scattered files reading" ela = 1310 file #= 6 block #= 7492 blocks = 60 obj #= tim 95361 = 48370563004

23 WAIT #139711696129328: nam = "db-scattered files reading" ela = 1315 file #= 6 block # 9602 blocks = 66 obj #= tim 95361 = 48370564728

24 WAIT #139711696129328: nam = "db-scattered files reading" ela = 420 file #= 6 block # 9668 blocks = 60 obj #= tim 95361 = 48370565786

25 WAIT #139711696129328: nam = "db-scattered files reading" ela = 1218 file #= 6 block # 9730 blocks = 66 obj #= tim 95361 = 48370568282

26 WAIT #139711696129328: nam = "db-scattered files reading" ela = 1041 file #= 6 block #= 9796 blocks = 60 obj #= tim 95361 = 48370569809

27 WAIT #139711696129328: nam = "db-scattered files reading" ela = file No. 300 = 6 block #= 9858 blocks = 66 obj #= tim 95361 = 48370570501

28 WAIT #139711696129328: nam = "db-scattered files reading" ela = 281 file #= 6 block #= 9924 blocks = 60 obj #= tim 95361 = 48370571248

29 WAIT #139711696129328: nam = "db-scattered files reading" ela = 305 file #= 6 block #= 9986 blocks = 66 obj #= tim 95361 = 48370572021

30 WAIT #139711696129328: nam = "db-scattered files reading" ela = 347 file #= 6 block #= 10052 blocks = 60 obj #= tim 95361 = 48370573387

So, I'm sure that I did 30 reading diluvium but block total multi physical read request = 14

No idea why?

Thanks in advance,

Franck.

Couldn't leave it alone.

A ran some additional tests with sizes of different measure, with and without the SAMS.

It seems that my platform includes no readings of scattered file db less than 128KB in the physical count. (or 16 blocks, given that I was with a block size of 8 KB).

Concerning

Jonathan Lewis

Tags: Database

Similar Questions

  • more physical reads the blocks (in this partition)

    Hi all

    I have the partitioned table hash on an indexed column 'id', which is non-unique and a part of my primary key. Inside each partition, lines with the same id are located close to each other which is done by dbms_redefinition reorg using orderby_cols. The intention is to reduce the amount of physical reads as there are no requests that don't filter on the column id.

    However, what I see is a large number of physical reads. The first partition has roughly 80K lines, a length of 347, block size of 8K and compression mean line... resulting in 821 blocks. And when (after flushing cache in the memory buffer and shared pool) submit a query that filters on 'id' only and results is 106 selected lines, I see to roughly 1400 physical reads.

    --------------------------------------------------------------------------------------------------------------------------------
    | ID | Operation | Name | Lines | Bytes | Cost (% CPU). Time | Pstart. Pstop |
    --------------------------------------------------------------------------------------------------------------------------------
    | 0 | SELECT STATEMENT | 106. 36782 | 3 (0) | 00:00:01 |
    | 1. SIMPLE HASH PARTITION | 106. 36782 | 3 (0) | 00:00:01 | 1. 1.
    | 2. TABLE ACCESS BY LOCAL INDEX ROWID | XXX MOVIES | 106. 36782 | 3 (0) | 00:00:01 | 1. 1.
    |* 3 | INDEX RANGE SCAN | XXXXX | 1 | | 1 (0) | 00:00:01 | 1. 1.
    --------------------------------------------------------------------------------------------------------------------------------

    Information of predicates (identified by the operation identity card):
    ---------------------------------------------------

    3 - access ("ID" = 49743)


    Statistics
    ----------------------------------------------------------
    22243 recursive calls
    0 db block Gets
    66651 compatible Gets
    physical reads 1404
    0 redo size
    10933 bytes sent via SQL * Net to client
    299 bytes received via SQL * Net from client
    9 SQL * Net back and forth to and from the client
    150 sorts (memory)
    0 sorts (disk)
    106 lines processed


    I expect to see around 10-15 physical reads. And I don't understand how it can be 1400 physical reads with only 821 blocks in this partition. Can someone explain this behavior to me?

    Thanks in advance,
    Dirk

    DRabbit wrote:
    However, what I see is a large number of physical reads. The first partition has roughly 80K lines, a length of 347, block size of 8K and compression mean line... resulting in 821 blocks. And when (after flushing cache in the memory buffer and shared pool) submit a query that filters on 'id' only and results is 106 selected lines, I see to roughly 1400 physical reads.

    --------------------------------------------------------------------------------------------------------------------------------
    | Id  | Operation                          | Name  | Rows  | Bytes | Cost (%CPU)| Time     | Pstart| Pstop |
    --------------------------------------------------------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT                   |       |   106 | 36782 |     3   (0)| 00:00:01 |       |       |
    |   1 |  PARTITION HASH SINGLE             |       |   106 | 36782 |     3   (0)| 00:00:01 |     1 |     1 |
    |   2 |   TABLE ACCESS BY LOCAL INDEX ROWID| XXX   |   106 | 36782 |     3   (0)| 00:00:01 |     1 |     1 |
    |*  3 |    INDEX RANGE SCAN                | XXXXX |     1 |       |     1   (0)| 00:00:01 |     1 |     1 |
    --------------------------------------------------------------------------------------------------------------------------------
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
    3 - access("ID"=49743)
    
    Statistiken
    ----------------------------------------------------------
    22243  recursive calls
    0  db block gets
    66651  consistent gets
    1404  physical reads
    0  redo size
    10933  bytes sent via SQL*Net to client
    299  bytes received via SQL*Net from client
    9  SQL*Net roundtrips to/from client
    150  sorts (memory)
    0  sorts (disk)
    106  rows processed
    

    For me, the most important statistic is recursive calls. Even for a partitioned table with (for example) a few thousands of partitions, this seems very high for a simple analysis and perform call that eventually access a single partition known by index.

    Test strategies - rerun the query immediately to see if you get similar results, run the query again ONLY after a buffer_cache (not shared_pool) hunt.
    It is possible that more work on optimization, or calls to (for example) a pl/sql function embedded. The behavior of the repeated executions can give you a clue on this subject.
    (And if none of these options can help, then activation trace and check the trace file should help).

    Concerning
    Jonathan Lewis

  • The Oracle trace: number of physical reads of the signifier of disk buffer

    Hi all


    Since yesterday, I was under the impression that, in a trace file Oracle, the "number of physical buffer of disk reads" should be reflected in the wait events section.

    Yesterday we add this trace file (Oracle 11 g 2):

    call the query of disc elapsed to cpu count current lines

    ------- ------  -------- ---------- ---------- ---------- ----------  ----------

    Parse        1      0.00       0.00          0          0          0           0

    Run 1 0.04 0.02 0 87 0 0

    Get 9 1.96 7.81 65957 174756 0 873

    ------- ------  -------- ---------- ---------- ---------- ----------  ----------

    total 11 2.01 7.84 65957 174843 0 873

    Elapsed time are waiting on the following events:

    Event waited on times max wait for the Total WHEREAS

    ----------------------------------------   Waited  ----------  ------------

    SQL * Net message to client 9 0.00 0.00

    reliable message 1 0.00 0.00

    ENQ: KO - checkpoint fast object 1 0.00 0.00

    direct path read 5074 0.05 5,88

    SQL * Net more data to the customer 5 0.00 0.00

    SQL * Net client message 9 0.01 0.00

    ********************************************************************************

    We can see that the 65957 physical disk reads resulted only 5074 direct path read. Normally, the number of physical reads from disk is more directly reflected in the wait events section.

    Is this normal? Why is that? Maybe because these discs are on a San have a cache?

    Best regards.

    Carl

    direct path read is an operation of e/s diluvium, is not just to read 1 block

  • question about physical reads

    RMAN I/o is taken into account in the stat of physical reads ?

    I mean, it's blocks read from disk by RMAN to backup the database is represented in physical reads statistics?

    One of our databases has a value for the IO requests total physical reading greater than physical reads , so I guess that the missing physical reads are RMAN.

    Thanks in advance

    blocks read from disk by RMAN to back up the database represented by physical reads statistics?

    Yes, I do. It is something that can be tested by looking at the session for the RMAN sessions statistics.

    Hemant K Collette

  • How to check the instance datafile I/O? solve the high physical reads/writes?

    Method-1
    identify 'hot spots' or I/O contention
    Select NAME,
    "Physical reads," PHYRDS
    round ((PHYRDS/PD.)) (PHYS_READS) * 100, 2) «Read %»,
    PHYWRTS "physical Scriptures."
    Round (PHYWRTS * 100/PD.) PHYS_WRTS, 2) "% of writing."
    FS. PHYBLKRD + FS. PHYBLKWRT "Total block I / O of.
    de)
    Select sum (PHYRDS) PHYS_READS,
    Sum (PHYWRTS) PHYS_WRTS
    v $ filestat
    ) pd,.
    v$ datafile df,.
    v$ filestat fs
    where df. FILE # = fs. FILE NO.
    ranking by fs. PHYBLKRD + fs. PHYBLKWRT / / desc


    Another method-
    On Oracle10g, CWA also provides the dba_hist_filestatxs table to track the disk i/o:

    break on begin_interval_time jump 2

    column phyrds 999 999 999 format
    column begin_interval_time format a25

    Select
    begin_interval_time,
    file name,
    phyrds
    Of
    dba_hist_filestatxs
    natural join
    dba_hist_snapshot;

    It is - method that you use to check for errors in data I/O file? AND how to solve high physical reads and writes?

    Ankit Ashok Aggarwal wrote:
    AWR project stat e/s in terms of segments, query and etc.
    Here, my concern is what should be the value of ideal threashold for a DBA to act on the high physical reads/writes?
    and how he can fix this problem if it affects database performance?

    I don't think that there is any possibility to mention that the amount of an e/s is going to be good or bad for a database in general. The reason is that it is not quantifiable. For example, in a store, maybe one day that no one gets and another day, there is no place to stand (because there was a sale announced by the store). So now, how do you say that it was not necessary? Rather than search for best practice values, it is best that you keep track of the normal functioning of your db and when you see a special summit in the values of events scattered user IO as DB file read, DB file parallel read etc and when this happens, you should check back the work you are doing and see if that can be refined somehow.

    Aman...

  • Why the adobe reader software is blocking all access to pdf files

    software Adobe reader doesn't block my access to pdf files.  Says I have to sign the contract of use I did.  How can I get on it?

    If you are on Mac and installed the Adobe Reader software to the deafult location.

    Try this:

    1. Quit Safari

    2. from Finder > go > go to folder... > type in the path: /Applications/ and click 'Go '.

    3. run "Adobe Reader"

    4. accept the end user license

    5. open a PDF file in Safari.

  • physical reads...

    Hello
    I want to gather statistics on special applications and want to know how many physical reads this query do?
    How can I get that... Statistics v$ sysstat gives a long list...

    Thank you... at all

    Here are the different options that you can use with AUTOTRACE:

    SET OFF AUTOTRACE - cut the AUTOTRACE
    SET AUTOTRACE WE EXPLAIN - show that the optimizer execution path
    SET AUTOTRACE ON STATISTICS - display only the execution statistics
    SET AUTOTRACE ON - show both the optimizer execution path
    and the execution statistics
    SET AUTOTRACE TRACEONLY - like SET AUTOTRACE ON, but remove output

  • How to find the sum of an element of the record multi block?

    Hello

    Hi I have form have a multi block record and sing record block. Multi block record for an element, namely Excise_value. I want to find the sum of total Excise_Value of the entire tape. How to get there.

    Please guide me in this regard.

    PS: I want to use the Formula property / summary forms

    Thank you

    Iqbal

    For your unique record block, set the property of simple recording/precalculate summaries on YES.
    And in BlockA, set the property of all the query to YES.

    -Clément

  • Can we read/write in native application of contact?

    Is it possible to read/write the native application of contact using the android runtime? The api says it succeeds, and if I dump the db slider in a newspaper, it shows the recording, but the native application of contact does not show recording.

    If I make a new record using the native application of contact and then launch the android application and empty the db again, it does not show the contact, I added, which makes me think that they are separated.

    Is it possible to read/write in the native application of contact? The Simulator says it of an Alpha, is this something that will work on a real device of BB 10?

    Hello

    Currently, we do not support the read/write in the Native contacts database. For android, you can add the phone number and e-mail to existiing contacts, but not create new ones.

    It is something we are looking to support in versions of features.

    Thank you

  • Reading total failure first Pro CC 2015.4

    I'm on Premiere Pro 2015.4 CC, and tonight my reading the script completely ceased to operate. I am quite at a loss to know what to do.

    I'm on a Mac, OS X 10.10.5

    Processor 3.5 GHz 6-Core Intel Xeon E5

    16 GB 1866 MHz DDR3 ECC memory

    Graphics AMD over-pants D500 3072 MB

    Earlier this evening I just edit very well with the first 2015.3, audio for the most adjustments when after making a cut to a nested sequence (I did a lot of other cuts to without problem), reading has completely stopped working. Space bar did nothing. Nor did hit Play-Stop toggle

    I restarted my computer, but that has not fixed the problem. I then opened the other changes to the mine and reading doesn't work either in any of them (all projects have images that are either digital SLR canon h264 or c100 and c300 sequences).

    So I had to upgrade to 2015.4, but it does not solve the problem.

    After the upgrade, I could open the file several times, but then started getting the error message "this project contained a sequence that could not be opened. No preview of the sequence is preset file or codec may be associated with this sequence. "So I google, because I need reconnection to CC I did. It fixed the error message, but the reading still does not work.

    After the upgrade and the reconsignation in a single file, I tried opening gave my an error message about a codec missing Dolby that hits good would be to install (or something like that I did not take a screenshot of it). I hit very well, but do not know if the codec is installed.

    Right now, I can't get any reading in any scenario. If I double click on the images, I can't get the reading in the source monitor window (with hitting the space bar or the Play-Stop button). It goes the same for audio clips. I can rub my deadlines and see the images (but not the sound, even if I'm the first to rub audio).

    If I create a new project and import a footage item, only put them in a sequence, I can't put reading on it (or get the reading in the window of the source monitor). If I return the clip in the timeline I get always reading about it.

    If I try to return the timeline (for test I tried Apple RoRess 422 HQ and h264s) I get the error

    Export error

    Exporter returned wrong result

    Writing with the exporter: QuickTime

    Writing to the file: (I tried writing to three different hard disks, none works)

    Around the time code: 00:00:00:00

    Component: QuickTime exporter type

    Selector: 9

    Error code:-1

    Try to send back to Media Encoder doesn't seem to work but I don't get an error message, it shows everything just never in the queue

    I can't make a single audio clip or video clip, if I select in the project window and press command M and make just to get out.

    After trying the renders, now when I scrub the timeline, the image is not rubbing, it's stuck.

    Another thing which is the strange thing is, if I first open and go to file/open and select a file, it closes all project I open, but not open the new file until I have to reselect.

    And if I type the command Q to exit first, it closes the window, but first remains open. I have to enter a second time to exit.

    Someone has an idea of what I can do to fix this? It's a pretty big problem.

    Cub, I guess whatever it took, it was me post on the problem to fix. Looks like that first hated something cutting in the nested sequence that started this whole mess, and everything that went wrong in first reading this Cup would be wrong to open other files. Removing the Cup, save the file, creation of quit and then reopen it solved the problem.

  • After installing Acrobat or Reader on Windows 7 or Vista, icons of applications and file types change in Acrobat/Reader icon. Double click on a file or icon launches Acrobat or Reader. (The native application associated with the file type is not ope

    After installing Acrobat or Reader on Windows 7 or Vista, icons of applications and file types change in Acrobat/Reader icon. Double click on a file or icon launches Acrobat or Reader. (The native application associated with the file type is not open.)

    Hi peterb53490660,

    Try the steps of troubleshooting mentioned in this KB doc. https://helpx.Adobe.com/Acrobat/KB/application-file-icons-change-Acrobat.html

    Kind regards
    Nicos

  • Read access to planning applications.

    Hi gurus

    Is it possible to give read access for planning through HSS applications? similar to 'Read' access to essbase applications? I m in 11.1.2.1 and commissioning Options, we are Analytic Services write, Cube creator, Director, interactive user access, manage models, distribution of mass, Planner, Provisioning Manager, user of the view. Single user view sounds just for read access I need. If I select a read access, it seems that I need to give access to all forms, dimensions (members) access in reading in every app plannign etc... Is there a default role for all the read access for planning applications?

    Thank you

    rrK

    Planning security is different from security Essbase. You must provide a read access to your secured dimensions to him visualize the dimensions. same thing applies to forms.

    Concerning

    Celvin

    http://www.orahyplabs.com

  • You can link to other folios in a multi-folio application?

    I want to create an index article in each folio multi-folio application view. Can I create links in the article index that will launch another folio or return to the folio in the library?

    Thank you

    Yes, there is a workflow that is not supported for the connection between folios. It works well for free folios but not as well with the slips at retail. See the DPS app advice > advanced overlays > advanced linking.

  • to get the total value as application even if item_number is added

    Hi all

    I have the following query with me
    SELECT   SUM (  (NVL (f.calc_cement_sk, f.calc_amount) * NVL (f.item_price, 0)
                    )
                  - (  NVL (f.calc_cement_sk, f.calc_amount)
                     * NVL (f.item_price, 0)
                     * (NVL (f.dis_per, 0) / 100)
                    )
                 ) total,
             h.slurry_type, h.stage_id, h.slurry_vol_actual
        FROM xxnp_opn_joblog_est_002 f,
             xxnp_opn_joblog_001 j,
             xxnp_opn_joblog_slurry_003 h,
             qp_secu_list_headers_v qw
       WHERE j.opn_job_desc = 'K/D/KD43/UG187/1338/D/0211/1'
         AND f.opn_joblog_001_id = j.opn_joblog_001_id
         AND j.contract = qw.NAME
         AND h.opn_joblog_001_id = j.opn_joblog_001_id
         AND h.opn_joblog_007_id = f.opn_joblog_007_id
         AND h.opn_joblog_006_id = f.opn_joblog_006_id
    GROUP BY h.stage_id, h.slurry_type, h.slurry_vol_actual
    the result I get is


    SLURRY_TYPE TOTAL STAGE_ID SLURRY_VOL_ACTUAL
    9,562.59 lead 1 490
    2,184.84 1 80 tail
    1,091.73 reload 1 56
    3,431.64 tail 2 100
    when i add f.item_number to the above query as shown below
    
    SELECT   SUM (  (NVL (f.calc_cement_sk, f.calc_amount) * NVL (f.item_price, 0)
                    )
                  - (  NVL (f.calc_cement_sk, f.calc_amount)
                     * NVL (f.item_price, 0)
                     * (NVL (f.dis_per, 0) / 100)
                    )
                 ) total,f.item_number,
             h.slurry_type, h.stage_id, h.slurry_vol_actual
        FROM xxnp_opn_joblog_est_002 f,
             xxnp_opn_joblog_001 j,
             xxnp_opn_joblog_slurry_003 h,
             qp_secu_list_headers_v qw
       WHERE j.opn_job_desc = 'K/D/KD43/UG187/1338/D/0211/1'
         AND f.opn_joblog_001_id = j.opn_joblog_001_id
         AND j.contract = qw.NAME
         AND h.opn_joblog_001_id = j.opn_joblog_001_id
         AND h.opn_joblog_007_id = f.opn_joblog_007_id
         AND h.opn_joblog_006_id = f.opn_joblog_006_id
    GROUP BY h.stage_id, h.slurry_type, h.slurry_vol_actual,f.item_number
    
    
    the field total gets split and gives value corresponding to each item_number
    
    i am giving the ouptut for stage 1
    ITEM_NUMBER TOTAL SLURRY_TYPE STAGE_ID SLURRY_VOL_ACTUAL
    5011.5 1020101001 lead 1 490
    1308.93 1020102002 lead 1 490
    127.215 1020111001 lead 1 490
    138.92 1020112001 lead 1 490
    686 1020113001 lead 1 490
    550,5 1020113002 lead 1 490
    1739.52 1020222010 lead 1 490
    1517.1 1020101001 1 80 tail
    379.5 1020102003 1 80 tail
    83.2 1020103001 1 80 tail
    166.53 1020104001 1 80 tail
    38.511 1020111001 1 80 tail
    1064,7 1020101001 reload 1 56
    27,027 1020111001 reload 1 56


    If we add up the values in the total field to the head, tail, charge that we get 9562.59,2184.84,1091.73 respectively

    kindly Guide
    to get the total value as application even if item_number is added
    thanking in advance

    Hello

    You can do this by enclosing it with another selection

    select
    total, slurry_type, stage_id, slurry_vol_actual,
    sum(total) over (partition by slurry_type, stage_id, slurry_vol_actual) from (
    your actual select
    )
    

    concerning

  • How can I set Adobe Reader as my default application to open PDF files?

    I am a user of Mac with OS 10.5.8. The default application for PDF files found.

    Often when I get a PDF file, I can't see the content. It comes in white... except, perhaps for the letterhead. I have to convert the 9.5 drive Adobe to be able to view the file.

    How can I set my preferences so that Adobe Reader is the default application for PDF files?

    Thank you.

    I am answering my own question. I learned that if you right-click while trying to open a PDF file, you will be asked which application you want to use to open the file. If you click read the information, instead of choosing an application, you get this great information box that gives you the ability to set Adobe Reader in your default application for PDF files. It lets you change all the pdf files, you already have the Adobe files. Yay.

Maybe you are looking for