Table data retrival time

Dear all,
I have a table with 20 columns and with 3 rows totally in the table.. when querying the table, it takes 1 minute to give the 3 rows.. all other tables are working fine.. please give me a clue what I can check in this ?
Kai
Edited by: KaiS on Feb 5, 2009 12:03 PM

Here is it :
Execution Plan
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)|
| 0 | SELECT STATEMENT | | 185 | 187K| 108K (1)|
| 1 | TABLE ACCESS FULL| ICM_DOC_RATE | 185 | 187K| 108K (1)|
Note
- 'PLAN_TABLE' is old version
Statistics
1 recursive calls
0 db block gets
408884 consistent gets
408841 physical reads
0 redo size
28799 bytes sent via SQL*Net to client
514 bytes received via SQL*Net from client
4 SQL*Net roundtrips to/from client
0 sorts (memory)
0 sorts (disk)
34 rows processed
the table rows icreased to 185 now .. any idea why this takes time ?
kai
Edited by: KaiS on Feb 5, 2009 12:37 PM

Similar Messages

  • How to decrease the dynamic table data loading time

    hi
    i have problem with dynamic table.
    when i execute the the table with passing a query , getting lot of time for loading the table data.( it takes 30sec for every 100 rows.)
    pls help me how to overcome this problem.
    thanks advance.

    Yes, This is oracle application...
    We can move into other tablespace as well. But concern is how to improve the alter table move command performance.
    Is there any specific parameter apart from the nologging and parallel server..
    If it is taking 8 hours , can some have experience that nologging will save how much time. or is there any risk in doing in production.
    Regards

  • How to obtain from tables Date and Time in MHP

    Hello,
    I'm working in a MHP project and I need to access information about the current time and hour. I have been using Calendar class but it doesn't work in my ADB. So I think that I should access to the SI tables using an asinchronus listener. Can somebody help sending some code snnipets.
    Thanks very much

    Hello,
    yes I have tried it and it works in a my ADB but not in the real test enviorment. I have been using this expression:
    Calendar cal = Calendar.getInstance();
              System.out.println("La fecha es:\n Dia: "+cal.get(cal.DAY_OF_MONTH)+" Mes: "+(cal.get(cal.MONTH)+1)+" A�o: "+cal.get(cal.YEAR));
              System.out.println("La hora es: "+cal.get(cal.HOUR_OF_DAY)+" minutos: "+cal.get(cal.MINUTE));
    As you know this way shall be quite easier than accessing to the Tables but maybe I must access directly to the tables
    Thanks very much.

  • Retriving data  from two tables at a time.

    Please use this forum to provide feedback about OTN content/services. All other posts will be DELETED.
    hi all,
    Am using win98 and Oracle 7.
    I have splitted a table into two tables having 10 and 9 fields respectively and records of 2000.Now in form builder I have put both tables in same block and on same canvas.
    Now when I execute a query I retrieve records of 1st table and can navigate through records of 1st table only .To retrive records of 2nd table I have to put curser in 2nd table and query again for data retrival from 2nd table.This is bothering me to match coulmn of both tables.
    Is there any way to execute the records of both tables at a time, so that matching coulmns of both tables would become easy to reach.
    Thanks and Regards

    heeeey mohammad
    you have first to make master/detail block not one block only
    then jion between them as pk and fk

  • How to load date and time from text file to oracle table through sqlloader

    hi friends
    i need you to show me what i miss to load date and time from text file to oracle table through sqlloader
    this is my data in this path (c:\external\my_data.txt)
    7369,SMITH,17-NOV-81,09:14:04,CLERK,20
    7499,ALLEN,01-MAY-81,17:06:08,SALESMAN,30
    7521,WARD,09-JUN-81,17:06:30,SALESMAN,30
    7566,JONES,02-APR-81,09:24:10,MANAGER,20
    7654,MARTIN,28-SEP-81,17:24:10,SALESMAN,30my table in database emp2
    create table emp2 (empno number,
                      ename varchar2(20),
                      hiredate date,
                      etime date,
                      ejob varchar2(20),
                      deptno number);the control file code in this path (c:\external\ctrl.ctl)
    load data
    infile 'C:\external\my_data.txt'
    into table emp2
    fields terminated by ','
    (empno, ename, hiredate, etime, ejob, deptno)this is the error :
    C:\>sqlldr scott/tiger control=C:\external\ctrl.ctl
    SQL*Loader: Release 10.2.0.1.0 - Production on Mon May 31 09:45:10 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Commit point reached - logical record count 5
    C:\>any help i greatly appreciated
    thanks
    Edited by: user10947262 on May 31, 2010 9:47 AM

    load data
    infile 'C:\external\my_data.txt'
    into table emp2
    fields terminated by ','
    (empno, ename, hiredate, etime, ejob, deptno)Try
    load data
    infile 'C:\external\my_data.txt'
    into table emp2
    fields terminated by ','
    (empno, ename, hiredate, etime "to_date(:etime,'hh24:mi:ss')", ejob, deptno)
    this is the error :
    C:\>sqlldr scott/tiger control=C:\external\ctrl.ctl
    SQL*Loader: Release 10.2.0.1.0 - Production on Mon May 31 09:45:10 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Commit point reached - logical record count 5
    C:\>
    That's not an error, you can see errors within log and bad files.

  • How to delete all data in all tables in one time ?!

    1 CREATE OR REPLACE PROCEDURE delete_all_data
    2 IS
    3 v_statement VARCHAR2 (200);
    4 BEGIN
    5 FOR i IN (SELECT *
    6 FROM user_tables)
    7 LOOP
    8 v_statement :=
    9 'delete table ' || i.table_name ;
    10 EXECUTE IMMEDIATE v_statement;
    11 END LOOP;
    12 commit;
    13* END;
    SQL> /
    Procedure created.
    SQL> exec delete_all_data
    BEGIN delete_all_data; END;
    ERROR at line 1:
    ORA-00903: invalid table name
    ORA-06512: at "DE2.DELETE_ALL_DATA", line 10
    ORA-06512: at line 1
    I made the previous code , but it's didn't work with me .... any help for this problem please ?!
    I'm just reminder ..... all what I need ,that delete all data in all tables in one time only .
    I'm waiting for the answer ..... and thanks in advance

    create or replace
    FUNCTION TRUNC_SCHEMA RETURN NUMBER AS
    CURSOR select_table IS SELECT TABLE_NAME AS TNAME FROM USER_TABLES ORDER BY 1;
    sTableName Varchar2(128);
    sUser Varchar2(128);
    sConstraintName Varchar2(128);
    plsql_block Varchar2(512);
    BEGIN
    SELECT USER INTO sUser FROM DUAL;
    IF ((sUser='SYSTEM') OR (sUser='SYS')) THEN
    RETURN 1;
    END IF;
    EXECUTE IMMEDIATE 'PURGE RECYCLEBIN';
    -- DISABLE table's constraints
    FOR C1 IN (select CONSTRAINT_NAME, TABLE_NAME from user_constraints where STATUS = 'ENABLED' AND CONSTRAINT_TYPE in ('P','R') ORDER BY R_CONSTRAINT_NAME) LOOP
    sConstraintName := C1.CONSTRAINT_NAME;
    sTableName := C1.TABLE_NAME;
    plsql_block := 'ALTER TABLE ' || sTableName || ' DISABLE CONSTRAINT ' || sConstraintName;
    EXECUTE IMMEDIATE plsql_block ;
    END LOOP;
    FOR D IN select_table LOOP
    --get table name
    sTableName := D.TNAME;
    -- clear table
    plsql_block := 'TRUNCATE TABLE ' || sTableName;
    EXECUTE IMMEDIATE plsql_block ;
    END LOOP;
    -- ENABLE table's constraints
    FOR C2 IN (select CONSTRAINT_NAME, TABLE_NAME from user_constraints where STATUS = 'DISABLED' AND CONSTRAINT_TYPE in ('P','R') ORDER BY R_CONSTRAINT_NAME desc) LOOP
    sConstraintName := C2.CONSTRAINT_NAME;
    sTableName := C2.TABLE_NAME;
    plsql_block := 'ALTER TABLE ' || sTableName || ' ENABLE CONSTRAINT ' || sConstraintName;
    EXECUTE IMMEDIATE plsql_block ;
    END LOOP;
    RETURN 0;
    EXCEPTION WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE('ERROR: ' || SQLERRM);
    RETURN 1;
    END TRUNC_SCHEMA;
    /

  • How do i find out the tables (data)effected in a schema after a particular time stamp

    how do i find out the tables (data not structure)effected in a schema after a particular time stamp?
    pls email in [email protected]

    You can't do that. That would be a real security risc.
    /KAj

  • How to load data from a flat file to two different tables at a time.

    I am not aware of Sql Loader so Please any body suggest me that is there any way to load data from excel sheet to two different tables at a time its very urgent.
    with regards,
    Srinivas.R

    Read Utilities Guide from the Oracle Documentation Library. See
    <br>
    Oracle Database FAQs
    </br>

  • Find record insert date and time in a table

    Hi All,
    I want to get record insert date and time in a table. There is no datetime column in my table. Are there any possibility to get date and time for each record?
    Thank You

    Thats not easy. If your transaction info still resides on active portion of the log you can use fn_dblog to read out the time at which the transactions occurs. This is useful only if you try it shortly after transaction.
    the code would look like this
    SELECT *
    FROM fn_dblog(null,null)
    WHERE [Transaction Name] LIKE 'INSERT%'
    OR [Transaction Name] LIKE 'UPDATE%'
    Also see
    http://www.mssqltips.com/sqlservertip/3076/how-to-read-the-sql-server-database-transaction-log/
    http://solutioncenter.apexsql.com/read-a-sql-server-transaction-log/
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Retriving records with the date and time stamp

    I need to get all the records that were update between 08:36:06 AM and 8:36:09 AM on the12/15/2009
    I am using this query it is giving me the right numbers (I think) because this condition GURMAIL_CPLN_CODE = 'UGAP', I would like something more
    precise using the date and time stamp with the dates
    12/15/2009 08:36:06 AM
    12/15/2009 08:36:07 AM
    12/15/2009 08:36:08 AM
    12/15/2009 08:36:09 AM
    select * from GURMAIL
    where
    PERMAIL_CPLN_CODE = 'UGAP'
    AND TO_CHAR(PERMAIL_ACTIVITY_DATE,'MM/DD/YYYYHH24:MI:SS AM') >= '12/15/2009 08:36%'Thank you

    Yes, but HH24 and AM cannot be used together:
    SQL> select to_date('12/15/2009 08:36:06 am', 'mm/dd/yyyy hh24:mi:ss am') from dual;
    select to_date('12/15/2009 08:36:06 am', 'mm/dd/yyyy hh24:mi:ss am') from dual
    ERRORE alla riga 1:
    ORA-01818: 'HH24' impedisce l'uso dell'indicatore meridianoUse this:
    select *
    from   gurmail
    where  permail_cpln_code = 'UGAP'
    AND    permail_activity_date between to_date('12/15/2009 08:36:06', 'mm/dd/yyyy hh24:mi:ss')
                                    and  to_date('12/15/2009 08:36:09', 'mm/dd/yyyy hh24:mi:ss')or this:
    select *
    from   gurmail
    where  permail_cpln_code = 'UGAP'
    AND    permail_activity_date between to_date('12/15/2009 08:36:06 AM', 'mm/dd/yyyy hh:mi:ss am')
                                    and  to_date('12/15/2009 08:36:09 AM', 'mm/dd/yyyy hh:mi:ss am')Max
    [My Italian Oracle blog|http://oracleitalia.wordpress.com/2009/12/18/table-elimination-oppure-join-elimination-lottimizzatore-si-libera-della-zavorra/]
    Edited by: Massimo Ruocchio on Dec 23, 2009 12:05 AM

  • How to retrive table data in form

    Hi all,
    I want to retrive whole table data in forms , just by passing table name.either through a prcedure or function. is it possible to do this?
    Thanks in advance

    Hello,
    Pls give us the information about the version of database and forms you are using.
    it is possible to do so,provided you are aware of maximum no of columns(i.e no of tables which you use) and there datatypes before hand and also you have to use visible property extensively to show and hide the columns
    Regards
    Mohan Partha

  • Ned to insert current Date AND Time in a table

    Hi:
    This should be a simple one. I need to insert the current (system) date AND time in a columnof a table. From the documentation, it appears that the column datatype should be DATE (at least it claims to be able to support both date and time). It is also claimed that SYSDATE contains the current system date and time. But when I try to insert SYSDATE into a DATE column, all that gets logged is the date (without the time of day).
    insert into foo (curr_date_time) values (sysdate);
    select curr_date_time from foo;
    CURR_DATE
    02-AUG-07
    THere must be some way to instruct the insertion of the time as well. Also, the YY-MMM-DD format is undesirable. I'd prefer "YYYY-MM-DD HH:MI:SS". An attempt to insert TO_DATE(SYSDATE,'YYYY-MM-DD HH:MI:SS') fails as well.
    Any suggestions?
    P.S. I entered this question yesterday, Aug 6th, but it didn't seem to stick for some reason.

    Your NLS_DATE_FORMAT is set to show only the DATE element. If you run this query:
    SELECT to_char(curr_date,'HH:MI:SS')
    FROM   your_table
    /You would see that the time element has been populated as well.
    If you follow this URL you will find some helpful links, including jumps to the online Oracle documentation:
    Re: How to attach a java bean in forms6i
    Vibes, APC

  • How to clear the table data at the time of leaving fromt the page

    Hi all,
    I have requirement to clear all the table data on the page. For that i have written code like
    public void clearRunCalcPage(){
    System.out.println("Inside clearRunCalcPage");
    this.getCmProcessView().executeEmptyRowSet();
    this.getCmProcessFiveRecordsView().executeEmptyRowSet();
    But for clearing i don't have any button and i don't have next button also, based on menu navigation i will move from 1 page to another. Here my problem is where can i put this login, i tried with the constructor of the page but that time i am getting errors when i came to the page.
    Can any one suggest me.

    Call a backing bean method on click of the next page and place the below code in the backing bean
              ViewCriteria vc = myView.getViewCriteria("criteriaName");
              vc.setProperty(ViewCriteriaHints.CRITERIA_AUTO_EXECUTE, false);Morgan.

  • EABP table dats is missing in TDMS ERP time slice tranfer

    Hi,
    Is EABP table (Budget Billing Plan) is not part of TDMS ERP transfer? Recently we did some erp time slice transfer with 2 yrs of data but this table data was not selected in sender system. Our project team needs this table data for their testing. For temporary solution we transported table data from sender system to receiver system with sap transport tools.
    Is anyone have any idea why this table data was not carried out with tdms?
    thanks, I appreciate your help.
    Thanks
    Din.

    Hi
    It should get transferred by TDMS, there may be some customizing issue. Raise a OSS message to SAP support they will be able to solve it.
    Best regards
    Pankaj

  • Reg:function module to retrive the ekko table data

    Hi all,
    Is there any function module to retrive the ekko table data for the given select-options and parametrs.
    could you provide that.
    Thanks & regards,
    S.chaitanya.

    dear chaitanya,
    may be you can use this function module ME_READ_EKKO_MULTIPLE which can be used to pass the select options to retrieve the desired EKKO data.
    OR the best way would be to do a SELECT Query which would retrieve the data faster and in an effective manner.
    Hope this helps you.
    Help Children of U.N World Food Program by rewarding and enocourage others to answer your queries
    Thanks
    Venugopal

Maybe you are looking for

  • Error in saving template and updating files

    I'm using Dw CS3 on Windows XP. I have created a template I created from another page and then created my new pages from the template. I am still working on the site so it's all on my computer - not yet uploaded to the remote site. It was working fin

  • How to know what are the db changes done today

    Is there any way to know the Code changes done today in a schema. Code changes means any ddl commands / function changes / procedure changes / triggers etc. . Edited by: DIVI on May 29, 2012 10:08 PM

  • ShowDocument,  valid URL

    hi All, I am very new to Java and would appreciate any help! I have an applet running on our web server which our customers are using to search and look at files. Some files will have images (.pdf) that I would like for the customers to view in a new

  • Need help About temperatures!

    Halo forums, Can't find toshiba asian forums My Laptop which is an asian model (Toshiba L40-A) Came around 60C at idle.. Is that okay for a 3 month lappy? and when gaming, temps can go up to 70C... Please Help! any comment will be appriciated! -innoe

  • Safari won't launch "caused by RegexKit" plug-in

    My safari browser won't open. Error message: "The application Safari quit unexpectedly. The problem may have been caused by the RegexKit plug-in." I've googled it and can't find anything helpful. Lot's on RegexKit but nothing concerning this issue. I