Unusual statistic by rowid

Hello dear frinds.
I have one large table:
create table MAIN
ID NUMBER not null,
MID NUMBER not null,
RDATE DATE not null,
RTIME VARCHAR2(8),
O0 VARCHAR2(30),
O1 NUMBER not null,
O2 NUMBER not null,
O3 NUMBER not null,
O4 NUMBER not null,
O5 NUMBER not null,
O6 NUMBER not null,
O7 NUMBER not null,
O8 NUMBER not null,
O9 NUMBER not null,
O10 NUMBER not null,
O11 NUMBER,
O12 NUMBER not null,
O13 NUMBER not null,
O14 NUMBER,
O15 NUMBER,
O16 NUMBER,
O17 NUMBER,
O18 NUMBER,
O19 NUMBER,
O20 NUMBER,
O21 NUMBER,
O22 NUMBER
tablespace USERS
pctfree 10
initrans 1
maxtrans 255
storage
initial 64K
minextents 1
maxextents unlimited
-- Create/Recreate primary, unique and foreign key constraints
alter table MAIN
add constraint PK_ID primary key (ID)
using index
tablespace USERS
pctfree 10
initrans 2
maxtrans 255
storage
initial 64K
minextents 1
maxextents unlimited
alter table MAIN
add constraint FK_IDMACHID foreign key (MID)
references MACHINES (ID);
-- Create/Recreate indexes
create index REG_INDO170 on MAIN (O0, O1, O2, O3, O4, O5, O6, O7)
tablespace USERS
pctfree 10
initrans 2
maxtrans 255
storage
initial 64K
minextents 1
maxextents unlimited
create index REG_IND_O10 on MAIN (O10)
tablespace USERS
pctfree 10
initrans 2
maxtrans 255
storage
initial 64K
minextents 1
maxextents unlimited
create index REG_IND_O10MID on MAIN (MID, O10)
tablespace USERS
pctfree 10
initrans 2
maxtrans 255
storage
initial 64K
minextents 1
maxextents unlimited
create index REG_IND_O1O7 on MAIN (O1, O2, O3, O4, O5, O6, O7, O13)
tablespace USERS
pctfree 10
initrans 2
maxtrans 255
storage
initial 64K
minextents 1
maxextents unlimited
create index REG_IND_PROB on MAIN (O12)
tablespace USERS
pctfree 10
initrans 2
maxtrans 255
storage
initial 64K
minextents 1
maxextents unlimited
create index REG_IND_RDATE on MAIN (RDATE)
tablespace USERS
pctfree 10
initrans 2
maxtrans 255
storage
initial 64K
minextents 1
maxextents unlimited
create index REG_IND_STATUS on MAIN (O13)
tablespace USERS
pctfree 10
initrans 2
maxtrans 255
storage
initial 64K
minextents 1
maxextents unlimited
create index REG_UNREPORT on MAIN (MID, RDATE, O12, O9)
tablespace USERS
pctfree 10
initrans 2
maxtrans 255
storage
initial 64K
minextents 1
maxextents unlimited
I have about 1000000 record.
I have some queries that use only this table,
if I look statisit per queries, it's so much value for
statistic: table fetch by rowid: ......
1) Why? Can you explain it for me?
2) How can I use this fact for otimize my selects and queries?
thnaks so much.

Example like this:
I use PL/SQL Developer, when I execute query in SQL window I open Statistics Tab and:
and almost all position have value 0,
but in case fetch by rowid: value 16354682934615
What does it means.
In queries I use selects from
O1 NUMBER not null,
O2 NUMBER not null,
O3 NUMBER not null,
O4 NUMBER not null,
O5 NUMBER not null,
O6 NUMBER not null,
O7 NUMBER not null fileds.
This filed contain information about realtime process,
table with 1000000 records.
Thanks.

Similar Messages

  • The cpu statistic up to 100% in NT and hangs the computer

    Hello,
    I have an web based application that runs in Orion Application Server 1.5.4.
    I use Sun JDK 1.3.1_02. This application is used by 100 users everyday.My problem is that after 2 or 3 days (more 2 days than 3) running the application, the cpu statistic up 100% even hangs the computer.
    The hardware is:
    -2 based cpu Intel Pentium III
    -1 GB.
    I start the application as follow:
    java -Xmx768m -Xms768m -jar orion.jar
    I don't know whats happen but I try it in Win2000 and it doesn't occurs.
    What' the problem?
    Thanks
    Antonio

    I can't use because the client can't use win2000.Let me make sure that the following is NOT true.
    1. If runs in production on the client site on NT and fails.
    2. You ran a test on Win 2000 and it didn't fail.
    3. And then concluded that the failure had something to do with NT.
    The above is NOT true right? Because if it is then I would ask why you think that the test that you ran is indicative of the production use? And what else is installed on the NT box? Do the networks match? Is there any unusual connections in the production system? etc.

  • Stock is increased and FI entry is posted in statistical GR for third party

    Hello
    I was trying to activate the functionalty for statistical GR in third party but STUCK due to following issues. For enabling this functionaltity I have checked "Goods Reciept" and "GR Non-Valuated" check in "Delivery tab" of PO.
         1. After creating Statistical GR through MIGO (101), stock has been posted in plant. I was expecting no movement in Stock .
         2. I was hoping there should not be in FI posting but FI entry is posted through statistical GR .
    We are using third party process from many years but without statistical GR. Requirement from client is to post statistical GR without FI entry and no stock should be updated. Please advise if anyone has idea on this.
    FYI--We have item category TAS and schedule line category CS in customisation. Also advise if above two settings in PO are enought to turn ON the statistical GR functionality.
    Thanks for your help.
    Regards
    Arvind

    Thanks AKPT for reply
    As advised , pleae find enclosed screens for OMS2, PO and FI entry. FI entry might be wrong as while posting MIGO ..I was getting error "WE etnry is missing in table YFTFI_SUBST236 and I maintained some dummy GL accounts.
    Regards
    Arvind

  • TA44551 My 1-year ipod nano locked up and would not start overnight. The on/off button will not work and stopped holding charge. No water damage, no fall, nothing unusual. I restored it (twice) but it will still not hold charge and on/off does not work.

    My 1-year ipod nano locked up and would not start overnight. The on/off button will not work and stopped holding charge. No water damage, no fall, nothing unusual. I restored it (twice) but it will still not hold charge and on/off does not work. I tried to restore it again and charged it in three different locations with different cables. etc but nothing. Suggestions?

    - After charging for 1/2 hour or so, does iTunes see the iPod?  If yes, restore the iPod from backup.
    - If no, se if placing the iPod in recovery mode will make it visible so you can restore the iPod.  For recovery mode see:
    iPhone and iPod touch: Unable to update or restore

  • Which one faster- With Rowid or PK

    Hi,
    Recently came across the concepts of IOT(Index organised table). It was mentioned that
    You must specify a primary key for an index-organized table, because the primary key uniquely identifies a row. Use the primary key instead of the Rowid for directly
    accessing index-organized rows. "
    This surprised me as till date I was assuming that the fastest way to access the data from a table is by Rowid. Isn't this contadicting then?
    Can the experts clarify more on these conceps related to IOT.
    Rgds,
    Aashish

    what is the diff betn a Normal table with PK on some column and IOT with almost
    the same structure?The difference is whatever is implied by that "almost".
    Look, the purpose of index organized tables is to do away with a nugatory object when a table and and its primary key index - have basically the same structure. The classic example is the code lookup table, where the difference between the table's columns (code, code_descr) and its primary key (code) is a single column (code_descr). Nearly access of that table is going to be an indexed read on code to get the description. That usage makes it a good candidate for being an IOT.
    Mere creation of PK on a column would give the same result.No. An index organized table is similar to creating an index on (code, code_descr) but without the need to maintain two sets of data. Furthermore the IOT allows us to include non-primary key columns without compromising our relational integrity.
    Cheers, APC
    Blog : http://radiofreetooting.blogspot.com/

  • Statistical condition types not getting displayed in invoice

    We  have configured the tax collected at source (TCS) condition types and make them as statistical in the pricing procedure. Now, the issue is when we are using them the values for these condition types are getting calculated correctly as the total value is correct but in the invoice their individual values are not getting displayed.
    In the analysis also we can see that the condition records are found but being statistical condition they should get displayed in the invoice as only the correct total value will not serve the purpose, please help
    Thanks & regards
    Puneet Agrawal

    Hi
    Keep a break-point (hard) in these program lines and debug and see that whether the condition type(KSCHL) related to Taxes is appearing here or not.
    If the condition type for taxes is coming then you can print the taxes.
    First check the related condition type for Taxes in T685 table and see here in the code.
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Payment statistic report

    Is there a standard tcode for payment statistic report to identify payments that really due based on actual pymt date.

    hello chloe lam,
    That will be possible if your create your report via XLR with required fields.
    regards,
    Wilma Wang
    SAP Business One Forums Team

  • Line item report on Statistical WBS element.

    Hi All,
    I need to extract Line report on statistical WBS element. I tried CJI3 and end up with the message No costs, revenues or finances were selected.
    can some one help me on this.
    Thanks and Regards,
    Vinod

    Hi,
    Please check below:
    Table PRPS: Select OBJNR and pass to RPSCO and check if any value exists there. Note down the Value type, Year.
    While in CJI3, please check if any dynamic Selection is active, remove all.
    if mutliple selection shows any exclusions, remove all.
    Posting Data: Remove the values. (Or put from 01.01.1900 to 31.12.9999)
    Select the standard SAP Layout (Starting with 1SAP)
    Value type=11 should be selected by default (Ensure it is checked)
    Hope it helps!
    Thank you and Regards,
    Varshal Kachole

  • Statistical Posting seen in Vendor balance report

    Hi,
    I have posted a bank guarantee through statistical posting (F-55). As per my knowledge, statistical posting does not update GL.
    Statistical Entry Passed:
    Vendor A/c... Dr (Special GL - G)
       TO BG cleaing
    But when i take a report for Vendor report along with special GL, the statistical posting is also considered. How to take a report for the same.
    I know one option through dynamic selection in FBL1N.
    What is TCode if i want Vendor Balance Report without statistical posting directly.

    select the noted items check box at the time of report execution, if u want to see the only splecial gl -G, give the G in spl. gl field at dynamic selection

  • CO posting statistical (11) and actual (04)

    Hi all
    Normally, when you post in CO with two or more objects one item is witten as actual the others as statistical, and nomrally is the cost center to be written as statistical. Example for a posting with cost center and internal order, the cost center go as 11 and the IO as 04, happen the contrary only if the IO is created has statistical in own master data.
    Exist the possibility to mark as statistical other CO objects (example cost objects)?
    Second case and real problem: one of user open as revenue element a account at place to open it as cost element, so all the posting done over it, create a CO-PA line as actual and cost center line as statistical. I have already correct for the next year the account, but I cannot make it for this year becuase I have already some postings. Exist a mode for correct the problem? or at least to froce the cost center line as actual?.
    Thanks.
    Davide

    Ok, thanks.
    Last question: I saw also projects can be opened as statistical: we don't use PS module in our company in controlling, but I need a third "dimension" in CO for analysis  of expenses (now we use cost center (actual) and IO (statistical) , profit center is used but for other analysis). I thought about the cost objects but if they must be actual this is not good. Exist problems to use the projects, opening it only as master data (statistical), to set in the FI postings for make CO reporting?
    Davide

  • Creating query on Bex - Quaterly comparison for statistical & Actual

    Hi All,
    I would like to create a query for 'Quarterly comparison for statistical & Actual periods'.
    My Key Figures should be
    1) Plan 1st Qtr (Fiscal year, Period: 1 to 3, Value type : 1(Plan), Version : 0(Plan/actual), Valuation View: actual Value).
    2)1st Qtr (Fiscal year, Period: 1 to 3, "Value type : 4(Actual),11(Actual statistical)", Version : 0(Plan/actual), Valuation View: actual Value).
    3)Var 1st Qt (Plan 1st qtr - 1st Qtr)
    same thing for 4 Quaters. finally with
    4)Plan Year (Fiscal year, Period: 1 to 12, Value type : 1(Plan), Version : 0(Plan/actual), Valuation View: actual Value).
    I created a structure and created key figures with selections and formulas as required. But I did not see any data when I ran this query.
    The report was generated with 'no applicable data'.
    I need to create this query with plan 1st Qtr, Ist Qtr, Var 1st Qtr, Plan 2nd Qtr, 2nd Qtr, Var 2nd Qtr, Plan 3rd Qtr, 3rd Qtr, Var 3rd Qtr, Plan 4th Qtr, 4th Qtr, Var 4th Qtr, Plan year. key figures.
    Please let me know how can I create this query with these Key Figiures.
    Any help would be appreciated. Please respond with the reply.
    Thanks,
    Aparna.

    Hi
    The best way is then to run a report with your KF without any restriction, and the different chars in the drill down: Fiscal year, Period:, Value type,  Version , Valuation View
    Then you can check that you have some information with the combination of values of your chars:
    Fiscal year, Period: 1 to 3, Value type : 1(Plan), Version : 0(Plan/actual), Valuation View: actual Value.
    If you find a actual Value in the fiscal period you are looking at, for the period 1 to 3, for the Valuation type 1, for the version 0, then create arestricted KF by adding the restrictions one at a time....You moght discover why you do not get the results
    PY

  • Question on "Get Reporting Statistic" and If statement issue

    Hello
    I worked up a "Get Reporting Statistic" in my script that looks for agents that are in the Not Ready state.
    Report Object:    CSQ IPCC Express
    Field:     Not Ready Resources
    Row Identifier:    Queue_Name   
    Result Statistic:    Not_Ready_Resources
    I have an If then statement:
    If(Not_Ready_Resources <1) then
    True - go to a prompt
    False - go to the queue
    It seems like this is behaving backwards. When I am logged in on my agent it seems to follow the True step which it should go to the queue. When I am logged out it goes to the false step, to the queue.
    Any thoughs on why it would behave backwards?
    thanks

    Apologies, replying via the email interface is a bit annoying.
    Your code is a tad confusing to begin with. Why are you checking to see if there are people in the not ready state before trying to queue?
    Instead a cleaner flow would simply queue first, play the prompt and any other actions in the queue step. This way your person is immediately placed in the queue and if someone is available they go straight to them otherwise they will hear your prompt. If I am understanding your code properly, the if statement is unnecessary.
    Regardless, why are you checking for agents not ready? (I'm honestly curious). Is there something more specific that needs to happen if an agent is not ready? Otherwise, your flow should be checking for Agents in the ready state
    if(Agents_Ready > 0)
         true:
              queue
         false:
              prompt
    but again this is entirely irrelevant considering:
    Select Resource Step
         queue:
              prompt
              // no available agents
         connected:
             //agents ready
    Perhaps I am completely misunderstanding? Apologies if that is the case.

  • Get ROWIDs from Interactive Report

    Hi,
    I'm using an interactive report but I'd like to use the rows returned in a process so is it possible to get the rowsids that have been selected and make up the filtered report
    Thanks Andy

    A little trial and error using Andy ATD's suggestions gave me the following query, which I can use to recreate the selected ROWIDs:
    SELECT /*c.interactive_report_id, report_id, application_user, report_name, */
    CONDITION_COLUMN_NAME as col_name, CONDITION_OPERATOR as col_operator,
    CONDITION_EXPRESSION as exp1, CONDITION_EXPRESSION2 as exp2,
    CONDITION_ENABLED AS enabled,
    LAST_UPDATED_ON as date_mod
    FROM APEX_APPLICATION_PAGE_IR_COND C
    WHERE c.application_id = :APP_ID
    AND c.page_id = :APP_PAGE_ID
    AND c.condition_type = 'Filter'
    AND application_user = :APP_USER
    AND condition_enabled = 'Yes'
    and report_name is null -- Just show current working report
    AND trunc(last_updated_on) = trunc(sysdate)
    ORDER BY last_updated_on desc, report_id;
    This gives results like:
    COL_NAME     COL_OPERATOR     EXP1     EXP2     ENABLED     DATE_MOD
    ASK_AMOUNT_CURRENT     between     2500     10000     Yes     03-DEC-08
    PREF_CLASS_YEAR     =     1968     -      Yes     03-DEC-08
    - Stew

  • Report Painter - How to identity statistical orders in a Cost Center Report

    Hello,
    currently I am in the process of building a cost center report based on reporting tabel CCSS.
    This report should list all primary and secondary costs which are charged to a specific cost center/cost center group .
    The cost center or cost center group is given in the general data selection.
    All direct primary cost postings are identified in rows like this:
    - Cost Element (SET): cost element group A1, A2,...Axx
    - Business Transaction Type: COIN
    All primary cost postings deriving from (real) internal orders are identified like this:
    - Cost Element: 1 to 9999999999
    - Business Transaction: KOAO
    - Partner object number: 0 to 99999999
    Now here is the problem:
    The controlling department requests to identify all primary cost postings  to the given cost center which have been postet to a statistical internal order at the same time.  The most part of the primary costs have been directly postet to the cost center in the Additioanal Account Assignments. But some have been posted to the cost center and at the same time to a statistical internal order.
    Looking into BSEG I can quickly identify these line items as they have a value in BSEG-KOSTL and BSEG-AUFNR.
    How can I select these items in a report painter report?
    I would like to separate all items whith connection to statistical int. orders from those with no connection to internal ordes.
    Thanks for your help!

    Dear Elli,
    Dear SAP-Gurus,
    once again, thank you for your quick reply.
    You hints and remarks are very much appeciated.
    My problem seems to be slightly more complicated than what I had expected.
    All postings to the cost center/cost center group are actual postings. The cost center is the "real" cost element, there are no postings of value type 11 here.
    Most postings have the cost center as the only cost element, but others additionally mention a statistical order.
    My goal is to seperate those postings to the cost center [as (real) cost element] plus the statistical order from those with only the cost center.
    I would also like to sort these postings by the order number.
    I could easily write two reports:
    One  for the cost center and another one only for the statistical orders. The latter would use value type parameter 11 (as you proposed!). Unfortunately, I do not know all order numbers tied to the cost center. As table BSEG is not suitable for SAP Query,  I  run into deep problems here.
    I know I have problem in the design of my report here and  I would like to sort out, which options I have.
    Is Report Painter a suitable tool for me here anyway?
    Thanks again!
    Karsten

  • Error on installation of LabVIEW Run-Time Engine 8.5.1: "This application has requested the Runtime to terminate it in an unusual way"

    Hi,
    a colleague in India cannot install the LabVIEW Run-Time Engine 8.5.1 on Windows XP. On attempting to install, an error box is shown, which says:
    (window title)
    Microsoft Visual C++ Runtime library:
    (message box text)
    Runtime error!
    Program: C:\National Instruments Downloads\LabVIEW 8.5.1\Runtime Engine\setup.exe
    This application has requested the Runtime to terminate it in an unusual way.
    Please contact the application's support team for more information.
    http://img529.imageshack.us/my.php?image=runtimeerrorvt7.jpg
    I didn't find any relevant clues for this in NI forums. A search at Google brought me to http://support.microsoft.com/kb/884538/en-us, offering a HotFix to solve the problem. Unfortunately, the installation of this HotFix does not solve the problem.
    Do you know this behavior and do you have any ideas how the problem can be solved?
    Thanks in advance.
    Best regards
    Manuel
    Message Edited by Manuel Häderle on 10-07-2008 10:41 AM
    Solved!
    Go to Solution.

    Hi there
    log in as administrator and kill all processes not needed and try again. I've seen cases where one of these free download tweak applications (like "Memory Defragmentation" and stuff like that) caused that error. 
    Best regards
    chris
    CL(A)Dly bending G-Force with LabVIEW
    famous last words: "oh my god, it is full of stars!"

Maybe you are looking for

  • File manager options in Arch/GNOME

    Hi! This is my first post here - I'm an Arch user for about three days now. I migrated fro mWindows XP to Ubuntu about six months ago and decided to move to a different distro because I was fed up of the shocking speed (which, admittedly, was a lot f

  • Why is did two JRE's load from SDK?

    I've just set up the SDK 1.3.1 and have found the the JRE files have been loaded in 2 places, one under the c:\JDK1.3.1, the other under C:\Program Files\Javasoft. Are both necessary, or can the Javasoft copy be safely deleted. Also in the Control Pa

  • 8am morning run labview once, 4pm run once again, and it continues forever everyday

    Hi everyone, I have  wrote a programm with if case which checks whether the time stamp lies between 8am til 4pm with time range. If outside this range, it will send a signal to shut a relay down, if within this time frame, it will send another signal

  • InDesign CC 2014 locking up (Mac OSX 10.9.5)

    I am trying to make changes on an owner's manual and after a brief amount of time, InDesign locks up. It shows a blank page no matter what page I'm on and when I finally give up and go to force quit (command-option-escape) the dialog does not list in

  • Skype is not working on nokia e5

    i cant install on my nokia e5. Plz help me in that