Appropriate size for Autoextending datafile in oracle 10g

Hi,
I am using Oracle 10g 10.2.0.3.0 on linux 64 bit with 16GB RAM, one thing i want to find out that i have my schema datafile, which set on autoextend, i have set next size to 100mb, if the file reaches to its full does it make us wait for long to create a place of 100mb or should i reduce the size from 100mb to 10mb.
What should be the appropriate Next size in Autoextend for oracle database in my case, if there is a performance problem like login delay in schema due to increasing in size of datafile then how do i find out because i do not have database diagnostic tools.
Because today there was a delay in login to the schema and EM was showing wait, but i could not find out that why the wait was there, when i check the datafile size it was 1203 MB , i thought it may be due to the extension of data file but how do i confirm this thing.
In the table DBA_ADVISOR_FINDINGS it is giving following problem
Problem PL/SQL execution consumed significant database time.
Symptom Wait class "Network" was consuming significant database time.
Problem Wait event "TCP Socket (KGAS)" in wait class "Network" was consuming significant database time.

Slow connect is not related with datafile extension.
Regarding Wait event "TCP Socket (KGAS)"
Please read Metalink note 416451.1
How fast is tnsping to database, ping to database server?

Similar Messages

  • How to recreate datafile in oracle 10g.

    pls tell me how to recreate datafile in oracle 10g...
    what are situation to recreate datafile
    Edited by: 898085 on Nov 18, 2011 9:16 PM

    898085 wrote:
    pls tell me how to recreate datafile in oracle 10g...
    what are situation to recreate datafile
    Edited by: 898085 on Nov 18, 2011 9:16 PMDid u mean create or recreate?
    if datafie is deleted then you may add it into existing tablespace.
    Try this : -
    1.)sqlplus sys/xx as sysdba
    2.)alter tablespace <tablespace_name> add datafile <datafile_name> size <give size>;
    HTH:-)

  • Maximum size of a package in oracle 10g ?

    Hi,
    I am using Oracle 10g, version-10.1.0.4.2 and OS- Windows XP.
    What should be the maximum size of a package in oracle 10g ?
    Thank u....!
    Ravi

    http://download.oracle.com/docs/cd/B14117_01/server.101/b10755/limits003.htm#sthref3594
    Nicolas.

  • Maximun size for  a datafile

    Hi,
    Oracle Version :10.2.0.1
    Operating system:Linux
    Can any please tell me what is the maximum size that a datafile can grow and the maximum size for tablespace.
    Here i am having one tablespace which is having 4 datafile in that 2 datafile are 33 gb and the other 2 datafile size are 1gb and 400 mb.But in my OEM it is showing that your tablespace ECA_DATA is 88 percent full.
    I think there is no maximum size for the tablespace but why it is how it is showing the my tablespace is 88 percent full.

    Hi,
    Here is the output of the query which you have given.Can you pleas tell me what is the
    FILE_ID|FILE_NAME|ALLOCATED|USED|FREE
    1|/u02/oradata/eca/system01.dbf|901775360|894435328|7274496
    2|/u02/oradata/eca/undotbs01.dbf|4881121280|47841280|4833214464
    3|/u02/oradata/eca/sysaux01.dbf|713031680|698744832|14221312
    4|/u02/oradata/eca/users01.dbf|13851688960|595197952|13256425472
    5|/u03/oradata/eca/ECAPROD_01.dbf|131072||65536
    6|/u03/oradata/eca/ECA_DATA_01.dbf|34358951936|31995723776|2363097088
    7|/u02/oradata/eca/ECA_INDX_01.dbf|17028874240|6012272640|11016536064
    8|/u02/oradata/eca/ECAUAT_01.dbf|104857600||104792064
    9|/u02/oradata/eca/ECAPREPROD|106496||65536
    10|/u02/oradata/eca/ECA_DATA2|34358951936|33730527232|628293632
    11|/u02/oradata/eca/ecadump.dbf|12582912||12517376
    12|/u02/oradata/eca/ecaread.dbf|18517721088|12014845952|6502809600
    13|/u03/oradata/eca_80504.dbf|104857600||104792064
    14|/u03/oradata/eca_80505.dbf|104857600||104792064
    15|/u03/oradata/ECAVAPDL.dbf|104857600|4784128|100007936
    16|/u02/oradata/eca/ECA_DATA3|1048576000|1048313856|196608
    17|/u02/oradata/eca/ecadump1.dbf|419430400||419364864
    18|/u02/oradata/eca/ECA_DATA3.dbf|419430400|419364864|
    19|/u02/oradata/eca/CKM_PROD_P2.dbf|11943804928|11925979136|17760256
    20|/u02/oradata/eca/CKM_PROD_p3.dbf|12575178752|12431785984|143327232
    21|/u02/oradata/eca/CKM_PROD_p4.dbf|13187809280|13187743744|Here my tablespace ECA_DATA contains datafile are
    FILE_ID|FILE_NAME|ALLOCATED|USED|FREE
    6|/u03/oradata/eca/ECA_DATA_01.dbf|34358951936|31995723776|2363097088
    10|/u02/oradata/eca/ECA_DATA2|34358951936|33730527232|628293632
    16|/u02/oradata/eca/ECA_DATA3|1048576000|1048313856|196608
    18|/u02/oradata/eca/ECA_DATA3.dbf|419430400|419364864|Edited by: SIDDABATHUNI on Nov 30, 2009 2:29 AM

  • Email parameter for message part in oracle 10g

    hi..
    i m sending email using oracle 10g form , using desname , desformat , subject ,from
    it working successfully now i hv to add message body in that email like
    Dear Sir,
    Please find attachment.
    Thanks & Regards
    ABC
    there is destype ,desname ,desformat ,subject ,from in built parameter to set subject , from , to , format to send email , but i want to write message part is there any parameter in oracle 10g ??
    Thanks..

    Is your problem that you do not know how to send an email from Oracle 10g? If so then you use the UTL_MAIL package.
    Here's an example of calling it as part of a scheduler chain, not strictly what you're asking for but this lets you define success and failure steps and call each one based on the status of previous steps.
    BEGIN
    DBMS_SCHEDULER.CREATE_PROGRAM (
       program_name           =>'prg_Export_Success',
       program_type           =>'PLSQL_BLOCK',
       program_action         =>q'[BEGIN
                                    UTL_MAIL.SEND (
                                       sender      => 'who_its_from',
                                       recipients  => '[email protected]',
                                       subject     => 'subject line',
                                       message     => 'the message',
                                       mime_type   => 'text/plain; charset=us-ascii');
                                    END;]',
       number_of_arguments      => 0,
       enabled                  => TRUE,
       comments                 => 'Email success');
    end;
    BEGIN
    DBMS_SCHEDULER.DEFINE_CHAIN_STEP (
       chain_name      =>  'Export',
       step_name       =>  'stp_EXPORT_SUCCESS',
       program_name    =>  'PRG_EXPORT_SUCCESS');
    END;
    /... then define appropriate rules.

  • Where can I change the buffer size for LKM File to Oracle (EXTRENAL TABLE)?

    Hi all,
    I'd a problem on the buffer size the "LKM File to Oracle (EXTRENAL TABLE)" as follow:
    2801 : 72000 : java.sql.SQLException: ORA-12801: error signaled in parallel query server P000
    ORA-29913: error in executing ODCIEXTTABLEFETCH callout
    ORA-29400: data cartridge error
    KUP-04020: found record longer than buffer size supported, 524288, in D:\OraHome_1\oracledi\demo\file\PARTIAL_SHPT_FIXED_NHF.dat
    Do you know where can I change the buffer size?
    Remarks: The size of the file is ~2Mb.
    Tao

    Hi,
    The behavior is explained in Bug 4304609 .
    You will encounter ORA-29400 & KUP-04020 errors if the RECORDSIZE clause in the access parameters for the ORACLE_LOADER access driver is larger than 10MB and you are loading records larger than 10MB. Which means their is a another limitation on read size of a record which is termed as granule size. If the default granule size is less then RECORDSIZE it limits the size of the read buffer to granule size.
    Use the pxxtgranule_size parameter to change the size of the granule to a number larger than the size specified for the read buffer.You can use below query to determine the current size of the granule.
    SELECT KSPFTCTXPN PARAMETER_NUMBER,
    KSPPINM PARAMETER_NAME,
    KSPPITY PARAMETER_TYPE,
    KSPFTCTXVL PARAMETER_VALUE,
    KSPFTCTXDF IS_DEFAULT,
    KSPPIFLG MODIFICATION_FLAG,
    KSPFTCTXVF VALUE_FLAG
    FROM X$KSPPI X, X$KSPPCV2 Y
    WHERE (X.INDX+1) = KSPFTCTXPN AND
    KSPPINM LIKE '%_px_xtgranule_size%';
    There is no 'ideal' or recommended value for pxxtgranule_size parameter, it is safe to increase it to work around this particular problem. You can set this parameter using ALTER SESSION/SYSTEM command.
    SQL> alter system set "_px_xtgranule_size"=10000;
    Thanks,
    Sutirtha

  • How to caluculate buffer size for import/exports in oracle

    Hi DBAS,
    how to caluculate buffer size for import exports,here is the formula but how can we use if there is a 100 of tables and datatypes,is the any query to find out rows_in_array ,maximum_row_size total schema and datbase
    buffer_size = rows_in_array maximum_row_size*
    Thanks,
    tmadugula

    http://download.oracle.com/docs/cd/B10501_01/server.920/a96652/ch01.htm
    Search "buffer"

  • Required setting for Locale values for Arabic db in oracle 10g

    I want to create a new db in Oracle 10g for storing the arabic data.
    My client machine is Arabic Windows XP.
    What are the steps that i will need to follow to make the db arabic supported.
    What streps will be required if i choose to make it unicode supported?
    Setting the following:-
    1. Set Database Character Set to AL32UTF8 for the Oracle Server.
    2. Set the NLS_LANG to ARABIC_LIBYA.UTF8 (on Arabic Windows xp)
    Will do the work?

    The database character set should be AL32UTF8 for Unicode support. This is a recommended setting.
    As far as NLS_LANG is concerned, this strongly depends on how your client application is written (what technology, which Oracle access API). For example, for SQL*Plus, the NLS_LANG must be set to AR8MSWIN1256, as SQL*Plus does not support Unicode on Windows, only the ANSI code page. For SQL Developer, the NLS_LANG does not matter at all.
    -- Sergiusz

  • Problem while inserting data for some datatypes in Oracle 10g

    Hi
    I was trying to insert data in database for all the data types defined in Oracle 10g.
    I was successful in maximum cases.
    I was not able to insert data for following datatypes:
    1 Long varraw
    2 string
    3 varraw
    4 varnum
    5 charz
    6 unsigned int
    7 native double
    8 native float
    Please put some light on it.
    Thanks,
    Gyanendra

    Hi Subin,
    You can try couple of things.
    If your data is less than 32767, you can pass it to stored procedure and change it to clob type like
    PROCEDURE CLOBQUERY
         Param     IN     CLOB,
    and you can call Procedure
    EXECUTE CLOBQUERY '[Param.1]'
    If your data is around than 1000000(32767*32), you can break the data in length of 32767 and pass it to param 1 to 32 like
    EXECUTE CLOBQUERY '[Param.1][Param.2][Param.3]..[Param.32]'
    Finally you can try to update jdbc drive.
    check the link Link: [JDBC Limitation|http://confluence.atlassian.com/display/JIRA/UsingOracle10gdriverstosolvethe4000character+limitation]

  • Best provider to user for asp classic to oracle 10g?

    can someone recommend the best data provider to use with an asp classic application and oracle 10g? something where there is good documentation?
    thanks in advance.

    Hi,
    I'd go with the Oracle provider for OLEDB.
    http://www.oracle.com/technology/tech/windows/ole_db/index.html
    cheers,
    Greg

  • Links needed for portal devlopment on oracle 10g appserver using jdeveloper

    hi,
    i'm relatively new to portals so wud like to hav sum knowledge of doing basing request & response stuff using jsp's as my UI while developing portlets using Jdeveloper.
    If anyone could come up with tutorials about portal development on Jdeveloper.
    i'm using oracle 10g AS app server(release 10.1.4) with oracle jdeveloper( version 10.1.2.0.0 build 1811).
    wud like inputs on wsrp & jsr-168 compliant portlets

    Hi,
    You could try starting with the Portal Developers Guide - http://download-west.oracle.com/docs/cd/B14099_19/portal.1014/b14135/toc.htm
    You should also find alot of useful info on the Portal Development page on OTN - http://www.oracle.com/technology/products/ias/portal/portlet_development_10g1014.html
    Cheers,
    Mick.

  • Transform columns in row for a table in Oracle 10g

    Hi,
    I am using Oracle 10g.
    There is a table (example) EMPLOYEE, with following structure
    IDUSER YEAR1 YEAR2 YEAR3
    12345 value1 value2 value3
    99999 value7 value6 value5
    and I need display :
    IDUSER YEAR
    12345 value1
    12345 value2
    12345 value3
    99999 value7
    99999 value6
    99999 value5
    How can I do this with without unpivot?
    Thanks

    Hi,
    Welcome to the forum!
    One way to unpivot in any version of Orace is to cross-join your table with another table (or resut set, in ths case) that has as many rows as you need toroduce from each row of your original table.
    Here's an example:
    WITH     cntr     AS
         SELECT     LEVEL     AS n
         FROM     dual
         CONNECT BY     LEVEL <= 3
    SELECT     e.iduser
    ,     CASE  c.n
             WHEN  1  THEN  year1
             WHEN  2  THEN  year2
             WHEN  3  THEN  year3
         END     AS uear
    FROM         cntr      c
    CROSS JOIN  employee  e
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only), and the results you want from that data.
    Explain, using specific examples, how you get those results from that data.
    Always say what version of Oracle you're using (e.g. 11.2.0.2.0).
    See the forum FAQ {message:id=9360002}
    Edited by: Frank Kulash on Apr 11, 2013 6:47 AM

  • DROP DATAFILE in Oracle 10g Rel2

    Hi,
    I have dropped my test tablespace and forgot to include:
    'INCLUDING CONTENTS AND DATAFILES;'
    Now the tablespace is gone but the data file is ofcourse there.
    If I do following:
    ALTER DATABASE DATAFILE 'C:\ORACLE\ORADATA\ORABASE\TOOLS02.TOM'
    OFFLINE DROP;
    I get the error message:
    ORA-01516: nonexistent log file, datafile, or tempfile "C:\temp\ts_test.dbf"
    I checked the dba_data_files view and can not see the file.
    Can I just delete the file manually or do I need to
    to create a new tablespace and move the datafile to the new tablespace.
    And than drop the new tablespace including datafile and contents?
    Thanks

    Hi,
    >>Can I just delete the file manually ...
    Yes, you can
    Cheers

  • Droping datafiles in oracle 10g r2

    Hi guys.
    I have a 56 GB size tablespace of which on 15GB if data is being used now. (due to DDL).
    I will like to reduce the size of the tablespace by deleting its datafiles. I know that I can resize the datafiles, but there are upto 28 of them and dont want to end up having database of 200M each.
    So my question is deleting a datafile will pushed data (if it contains) to another datafile?
    Is there a down side doing this?
    Thanks for the explanation.
    DID

    Restrictions on Dropping Files To drop a datafile or tempfile, the datafile or tempfile:That was meant for dropping a datafile complete (from data dictionary as well).
    Can you try the following and let me know, whether it works for you or not:
    alter database datafile '/datafilename.dbf' offline drop;
    and drop the datafile from the OS level.
    (What the command really means is that you are offlining the datafile with the intention of dropping the tablespace.)
    I agree that its not technically dropped or deleted, but, logicall, Oracle thinks that the datafile is no more accessable to the database.
    I was just trying to tell you that you can force to delete the data file using the above command.
    Jaffar

  • Resizing datafiles in oracle 10g

    Hi,
    My total datafile size was showing around 100g (physical file size).
    But when actually query dba_segments to see how much tables and indexes are occupying it is coming around max of 30g.
    So how can i reclaim the remaining datafile size.
    As i know the files were extended and i have used some queries but i was unable to reclaim the space.
    Can any one hep me.

    Thanks for all ur suggestions.
    I am using a query to resize
    SELECT
    '/* '||to_char(CEIL((f.blocks-e.hwm)*(f.bytes/f.blocks)/1024/1024),99999999)||' M */ ' ||
    'alter database datafile '''||file_name||''' resize '||CEIL(e.hwm*(f.bytes/f.blocks)/1024/1024)||'M;' SQL
    FROM
    DBA_DATA_FILES f,
    SYS.TS$ t,
    (SELECT ktfbuefno relative_fno,ktfbuesegtsn ts#,
    MAX(ktfbuebno+ktfbueblks) hwm FROM sys.x$ktfbue GROUP BY ktfbuefno,ktfbuesegtsn) e
    WHERE
    f.relative_fno=e.relative_fno and t.name=f.tablespace_name and t.ts#=e.ts#
    and f.blocks-e.hwm > 1000
    ORDER BY f.blocks-e.hwm DESCBut even i resize it more than the given space it will throw an error saying
    ORA-03297: file contains used data beyond requested RESIZE value
    I think the file was extended with lot of free blocks in the middle ,how can make my file size to my actual table size+index size.
    Can anyone help me.

Maybe you are looking for