Sql performance in oracle 11g

Hi all
we have oracle 11 rel2 database 11.20.3.0 on windows
application is using delphi to connect via ole db driver
first time sql runs it takes time to run in process
and in subsequent runs it runs faster than previous runs
the person coding in delphi who is more of sql server background than dba asking why it running faster
cursor_sharing=similar
memory_target =40gb
db_cache_size=12GB
shared_pool_size=8GB
bascially first run the sql is not in cache so it reads from disk and in subsequent runs the sql is available so it runs more efficient
any links which could help the developer understand

Yes, it runs faster the second time because things are cached in memory instead of having to be read from disk. It could also be that the second time, the query doesn't have to be parsed and thus saves time.
Tracing and tkprof would show you actual hard and fast numbers to explain exactly what happened.

Similar Messages

  • SQL performance slow -- oracle 10g to oracle 11g

    Hi,
    We are have two development server, here we can call server10 and server11.
    Server’s having same hardware and OS, but different oracle version, server 10 and server 11 having oracle 10g and oracle 11g respectively.
    Problem, when you run sql query in oracle 11g it’s very slow compare to oracle 10g server.
    Here I have checked
    1)     sga size – comparatively 11g size is big
    2)     no full table scan
    OS – SUN
    DB: 11.1.0.7.0, 10.2.0.4.0

    mmee wrote:
    Hi,
    We are have two development server, here we can call server10 and server11.
    Server’s having same hardware and OS, but different oracle version, server 10 and server 11 having oracle 10g and oracle 11g respectively.
    Problem, when you run sql query in oracle 11g it’s very slow compare to oracle 10g server.
    Here I have checked
    1)     sga size – comparatively 11g size is big
    2)     no full table scan
    OS – SUN
    DB: 11.1.0.7.0, 10.2.0.4.0If the query is running slow, the sga size should not be the first thing to check. PLease post the execution plans of the queries from both the servers. Please try to post the tkprof output of the trace of both. The reason for this that explain plan may lie to us about what has happened but trace would be the real picture only.
    HTH
    Aman....
    PS: Don't forget to use the code tag and using the Preview tab to see how the code looks. A better formatted post would most likely get better attention and response.

  • How do I migrate views from MS SQL 2008 to Oracle 11g through SQL Developer

    Is there any way to migrate the views from MS SQL 2008 to Oracle 11g through SQL Developer? Please give me some detail steps. Thanks for your help.
    Kevin

    Hi Kevin,
    user13531850 wrote:
    Hi Turloch,
    When I use migrate to oracle, I got a problem, the migrate tool create a new schema for me in my case (AZTECA_KSMMS), it migrates all the stuffs under that schema (AZTECA_KSMMS). However my application need the all the Oracle data under schema AZTECA instead of AZTECA_KSMMS. Is there any way to specify specific schema (AZTECA) for target oracle database? Schema remapping is available:
    First Capture (separately) then during right click convert on the captured model there is a Specify the conversion options with a Object Naming tab where the schema (and other) name changes are editable.
    I have not used this recently.
    Also during the migration process, when I choose repository, there is a check box for truncate to reset repository to empty state, Do I need to check that truncate Check Box so the repository will be cleared from last migration?The repository can hold multple migration attempts. Check truncate to get rid of previous attempts information. This cleans up the repository - not the destination database.
    There are also online database and offline database options during the migration process, what are the difference between these two choices? After I migrated to Oracle, all my views has a red cross icon next to it. Does that mean the view migration is failed or not? Please give me your comments. Thanks for your help.offline: for big (amount of data) databases with simple data types,
    uses bcp + files + scripts + sqlldr.
    online: for small (amount of data) databases (easier),
    uses (Java) jdbc.
    The view is likely to be broken - recompiling it may help.
    The Oracle schema is created using a .sql file - see under generated in the directory you gave originally in the wizard. There is a .out file that contains the result of running this script including any errors. During conversion there are also likely to be warnings displayed on the UI.
    There may be a single issue that is causing multiple issues - if viewa depends on functionb, and functionb is broken, viewa will also fail.
    >
    Kevin-Turloch
    SQLDeveloper Team

  • Primavera 6.2 SQL Database to Oracle 11g migration

    Hi,
    I used the migration tool to migrate a Primavera 6.2 SQL database to Oracle 11G DB. The migration tool runned successfully and I am able to login to the database using P6.2 client with no problem; however when attemptiong to update the license on the now Oracle database using the privuser account I get the following error "License could not be loaded because of error: List index out of bounds (247). Please make sure that you are using a privileged database login" the error comes up before I can browse to the location of licesne.txt file. Same procedure on a "native" Oracle P6.2 database works perfectly with no problem. Has any one run into this problem before? any help will be appreciated.
    Best Reagrds,

    user11108903 wrote:
    Hi,
    I used the migration tool to migrate a Primavera 6.2 SQL database to Oracle 11G DB. The migration tool runned successfully and I am able to login to the database using P6.2 client with no problem; however when attemptiong to update the license on the now Oracle database using the privuser account I get the following error "License could not be loaded because of error: List index out of bounds (247). Please make sure that you are using a privileged database login" the error comes up before I can browse to the location of licesne.txt file. Same procedure on a "native" Oracle P6.2 database works perfectly with no problem. Has any one run into this problem before? any help will be appreciated.
    Best Reagrds,I have not seen that specifically but it appears that not all of the grants were correctly applied.
    I would suggest running the schema validation tool which can be found on the knowledgebase as Solution ID: prim75459 as this will tell you what is missing/invalid.
    Once you know that, you can pull the neccesary grants from the create scripts located in the cd1\install\database\scripts folder.

  • Error mapping, OGG from SQL 2008 to Oracle 11g

    Hi Experts
    Please I hoppe you can help me, I am using OGG to replicate from SQL 2008 to Oracle 11g R2, I can insert rows and replicate without problems, but when I update or delete on the Source the replicat stop working.
    This is the mesage:
    2012-06-11 09:51:57 ERROR OGG-01296 Oracle GoldenGate Delivery for Oracle, msrep.prm: Error mapping from FACTURA.EMP to GOLDENGATE.EMP.
    2012-06-11 09:51:57 ERROR OGG-01668 Oracle GoldenGate Delivery for Oracle, msrep.prm: PROCESS ABENDING.
    --- Discard FIle
    Key column FIRST_NAME (1) is missing from delete on table GOLDENGATE.EMP
    Key column LAST_NAME (2) is missing from delete on table GOLDENGATE.EMP
    Missing 2 key columns in delete for table GOLDENGATE.EMP.
    Current time: 2012-06-11 09:51:57
    Discarded record from action ABEND on error 0
    Aborting transaction on /u01/app/goldenGate/dirdat/ms beginning at seqno 0 rba 13729
    error at seqno 0 rba 13729
    Problem replicating FACTURA.EMP to GOLDENGATE.EMP
    Mapping problem with delete record (target format)...
    ID = 121
    Process Abending : 2012-06-11 09:51:57
    ------ SOURCE TABLE
    create table [factura].[emp] (
    [id] [smallint] not null,
    [first_name] varchar(50) not null,
    [last_name] varchar(50) not null,
    constraint [emp_pk] primary key clustered (
    [id] asc
    ) with (pad_index = off, statistics_norecompute=off, ignore_dup_key=off, allow_row_locks=on, allow_page_locks=on) on [primary]
    ) on [primary]
    ------ TARGET TABLE
    CREATE TABLE GOLDENGATE.EMP
    ID NUMBER,
    FIRST_NAME VARCHAR2(50 BYTE),
    LAST_NAME VARCHAR2(50 BYTE)
    Thank you
    J.A.

    Hi
    I altered the table in Oracle, I add the primary key:
    alter table emp add constraint
    pk_emp primary key (ID );
    Now GG replicate insert, delete and update.
    J.A.

  • Ignore - SQL PERFORMANCE ANALYZER of 11g (dulpicate question)

    I am using 11g on Windows 2000, I want to run SQL PERFORMANCE ANALYZER to see the impact of init.ora parameter changes on some sql’s. Currently, I am using it in a test environment, but eventually I want to apply it to production environment.
    Let us say I want to see the effect of different values for db_file_muntilbock_readcount.
    When I run this in my database, will the values changed impact only the session where I am running sql performance analyzer, or will it impact any other sessions, which are accessing the same database instance during the analysis period. I think, it impacts only the session where SQL Performance analyzer is being run, but want to make sure that is the case? I am not making any changes to paremeters myself using alter satementsm but Oracle is changing the parameters behind the scenes as part of its analysis,
    Appreciate your feedback.
    Message was edited by:
    user632098

    Analyzer analyzes.
    When you change in init parameter you change the parameter for everybody.

  • Problem with getting started with the SQL Developer in oracle 11g

    I downloaded the oracle 11g from the oracle site and installed it on my machine.Now i want to write the sql queries and practise them......so i tried this:start\oracle11gHome\ApplicationDevelopment\Sqldeveloper . But I get a messagebox with a browse button asking me to "Enter the full pathname for java.exe"
    what is this all about?Do i need to install jave in my host machine?
    how to solve this problem?

    hi
    If you are asked to enter the full pathname for java.exe, click Browse and find java.exe. For example, the path might have a name similar to C:\Program Files\Java\jdk1.5.0_06\bin\java.exe.
    http://download.oracle.com/docs/cd/E10405_01/doc/install.120/e10407/install.htm
    hope this helps
    zekeriya

  • Problems While Performing Switchover Oracle 11g

    Hi All,
    I am using Oracle 11.2.0.1.0 version.
    I have a Primary-Physical Standby setup(Test Environment). I am performing a switchover between them.
    I have followed the below steps:-
    ON Primary:-
    SQL> select switchover_status from v$database;
    SWITCHOVER_STATUS
    TO STANDBY
    SQL> alter database commit to switchover to physical standby;
    Database altered.
    SQL> shutdown immediate;
    ORA-01507: database not mounted
    ORACLE instance shut down.
    SQL> startup mount;
    ORACLE instance started.
    Total System Global Area 2054373376 bytes
    Fixed Size 2214856 bytes
    Variable Size 1174406200 bytes
    Database Buffers 872415232 bytes
    Redo Buffers 5337088 bytes
    Database mounted.
    SQL> select switchover_status from v$database;
    SWITCHOVER_STATUS
    TO PRIMARY
    SQL> select database_role from v$database;
    DATABASE_ROLE
    PHYSICAL STANDBY
    On the other side I am trying to bring up the phyical standby database to primary:-
    First I checked the switchover_status on standby database.
    SQL> select switchover_status from v$database;
    SWITCHOVER_STATUS
    SWITCHOVER PENDING
    SQL> alter database commit to switchover to primary;
    alter database commit to switchover to primary
    ERROR at line 1:
    ORA-16139: media recovery required
    Now I am in a situation where I have converted my primary to physical standby but physical standby-Primary is not happening..
    Please advice me on this. I have checked the archive log status for both the boxes before switchover and they were in sync....
    Your suggestions are required here.
    Regards,
    Arijit

    Hi ,
    With above approch there could be minor transaction loss & Need to rebuild stby , but you can make standby DB up as primary.
    With current senario , check if suggested sequence is generated at primary & try to register it on stby
    Also check if FAL_* is getting resolved
    It looks sync issue you should have rebooted both DB's before starting switchover as a best practise along with 2/3 switches
    Thanks,
    Ajay More
    http://moreajays.blogspot.com

  • Connecting SQL server from Oracle 11g

    Hello,
    I know there are several threads available to this post but please help me in
    *step by step process to follow in connecting 2 servers.
    I tried everything in internet but got Connection closed error after tnsping of DNS name. Do i need to run any instance sort of thing in SQL server?
    I dont have any access on SQL server.Whatever i have to do that has to be only in Oracle server.I got all those information and created ODBC (using SQL server driver) and tested the connection successfully in Oracle server. Altered INIT*.ORA,TNSNAMES.ORA and LISTENER.ORA but when pinging TNS awfully getting the afore said error.
    My environment : Oracle 11g server - SQL server 2008 ( both in windows platform).
    My
    TNS names entry
    GSIS =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.1.1)(PORT = 63455))
    (CONNECT_DATA = (SID=GSIS)
    (SERVER = DEDICATED)
    (HS=OK)
    Listener entry
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1522))
    (ADDRESS = (PROTOCOL = TCP)(HOST = COB417147.cob.apac.bosch.com)(PORT = 1522))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\Oracle\app\amk1cob\product\11.2.0\dbhome_1)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:C:\Oracle\app\amk1cob\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    (SID_DESC =
    (SID_NAME = GSIS)
    (ORACLE_HOME = C:\Oracle\app\amk1cob\product\11.2.0\dbhome_1)
    (PROGRAM = hsodbc)
    and
    initGSIS
    entry
    # This is a sample agent init file that contains the HS parameters that are
    # needed for the Database Gateway for ODBC
    # HS init parameters
    HS_FDS_CONNECT_INFO = GSIS
    HS_FDS_TRACE_LEVEL = OFF
    # Environment variables required for the non-Oracle system
    #set
    when tnsping i am getting
    TNS connection closed.
    I am awfully stuck here.
    Please guide..

    Status
    C:\Oracle\app\amk1cob\product\11.2.0\dbhome_1\BIN>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 11-MAY-2012 17:48
    :14
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1522)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Produ
    ction
    Start Date 11-MAY-2012 17:36:30
    Uptime 0 days 0 hr. 11 min. 48 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File C:\Oracle\app\amk1cob\product\11.2.0\dbhome_1\network\
    admin\listener.ora
    Listener Log File c:\oracle\app\amk1cob\diag\tnslsnr\COB417147\listener\
    alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1522ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=COB417147.cob.apac.bosch.com)(PORT=1
    522)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=COB417147.cob.apac.bosch.com)(PORT=8
    080))(Presentation=HTTP)(Session=RAW))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "GSIS" has 1 instance(s).
    Instance "GSIS", status UNKNOWN, has 1 handler(s) for this service...
    Service "orcl.cob.apac.bosch.com" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB.cob.apac.bosch.com" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfully
    TNS ping
    C:\Oracle\app\amk1cob\product\11.2.0\dbhome_1\BIN>tnsping GSIS
    TNS Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production on 11-MAY-2
    012 18:21:55
    Copyright (c) 1997, 2010, Oracle. All rights reserved.
    Used parameter files:
    C:\Oracle\app\amk1cob\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.
    1.1)(PORT = 63455)) (CONNECT_DATA = (SID=GSIS)) (HS=OK))
    TNS-12537: TNS:connection closed
    C:\Oracle\app\amk1cob\product\11.2.0\dbhome_1\BIN>
    BTW it is 32-bit machine.
    Edited by: 933729 on May 11, 2012 5:57 AM

  • New To Oracle.. Needs Help:: Conversion from SQL Server to Oracle 11g

    I am new to Oracle 11g and badly need the conversion of SQL Server Functions to Oracle.. Sample Pasted Code not working .. end with error.. pls help
    Create Table TempT (ID1 Varchar (10),
    ID2 Varchar (10)
    CREATE OR REPLACE PACKAGE GLOBALPKG
    AS
    TYPE RCT1 IS REF CURSOR;
    TRANCOUNT INTEGER := 0;
    IDENTITY INTEGER;
    END;
    CREATE OR REPLACE FUNCTION fTempT
    i IN VARCHAR2 DEFAULT NULL
    RETURN GLOBALPKG.RCT1
    IS
    REFCURSOR GLOBALPKG.RCT1;
    BEGIN
    OPEN REFCURSOR FOR
    SELECT TT.*
    FROM TempT TT
    WHERE (fTempT.i = ''
    OR TT.ID1 = fTempT.i)
    RETURN REFCURSOR;
    END;
    CREATE OR REPLACE FUNCTION fTempTF
    i IN VARCHAR2 DEFAULT NULL
    RETURN GLOBALPKG.RCT1
    IS
    REFCURSOR GLOBALPKG.RCT1;
    BEGIN
    OPEN REFCURSOR FOR
    SELECT *
    FROM TABLE(fTempT(i))
    RETURN REFCURSOR;
    END;
    LAST FUNCTION ENDs WITH ERROR
    Error(13,7): PL/SQL: ORA-22905: cannot access rows from a non-nested table item

    2. The major purpose is to get a simplest way to create a parameterized function who can return a table like output. 2nd function has no use instead i was testing the result of First Function like thisIf you just want to select from a select, you should use a view not a function.
    1. which program is more help ful for writing and executing queries bcoz after using Query Analyzer of Microsoft It seems difficult to work on SQL Developer.
    sqlplus? If you are having difficulty learning new tools because of an old one you used, probably best to forget the old one and concentrate on learning the new one because it will be different. This goes for the database itself also.
    2. Can DMLs be used within a Function.Yes, you just can't execute the function in another SQL statement if it modifies data and this is a good thing.
    3. Can temporary tables be used within a function.Unfortunately yes, but they shouldn't be unless you are in a slowest application competition.
    5. Each Function which is a Table Function must be accompanied with Type Definitions?? its a bit longer way of doing the things than SQL ServerThat is why it is better to use views instead, is there any reason you want a select that you can select from inside a function?
    SQL Server for last 9 years thats why i refer this toolThat is not in itself a problem, if you try and do what you did in SQLServer in Oracle, that will be a problem though.

  • SQL Developer in Oracle 11g

    Hi all,
    When trying to start SQL Developer shipped with Oracle 11g for Windows 32-bit, the following error raised:
    http://www.ahmedbaraka.com/temp/error2.JPG
    OS: Windows XP SP2 with 1GB RAM
    DB: Oracle Database 11g Enterprise Edition Release 11.1.0.6.0

    Hi Ahmed Baraka,
    Note that the latest SQLDeveloper release is 1.2.1.32.13
    A similar problem has been seen before:
    Does this tip (from elsewhere in the forum) help:
    In the SQL Developer root directory I made a file called sqldeveloper.cmd with the following content:
    SET ORACLE_HOME=%CD%
    start sqldeveloper.exe
    Regards,
    Turloch

  • Major performance trouble Oracle 11g  RHELx64, HP 8100 storage

    Hi hope some one can help me with this.
    We have a datawarehouse with this configuratuion
    Database
    RHEL5 u5 on 2* intel 5700 cpu, 36gb ram, emulex 4gb dual port hba, HP EVA 8100 san.
    Oracle 11g 11.1.7.
    Database 8 kblock
    Disks are
    /data 2.0TB 72 disks formated with ext3 4k block.
    /log 100GB 72 disks formated with ext3 4k block.
    ETL
    Informatica Power Center 8.6 on similar machine.
    My problem is vhen we try to load the database with data it takes forever so we tested this stuff
    iops script run
    SET SERVEROUTPUT ON
    DECLARE
    lat INTEGER;
    iops INTEGER;
    mbps INTEGER;
    BEGIN
    -- DBMS_RESOURCE_MANAGER.CALIBRATE_IO (<DISKS>, <MAX_LATENCY>, iops, mbps, lat);
    DBMS_RESOURCE_MANAGER.CALIBRATE_IO (72, 10, iops, mbps, lat);
    DBMS_OUTPUT.PUT_LINE ('max_iops = ' || iops);
    DBMS_OUTPUT.PUT_LINE ('latency = ' || lat);
    dbms_output.put_line('max_mbps = ' || mbps);
    end;
    Results
    Warehouse database about 600GB data in it
    max_iops = 82
    latency = 11
    max_mbps = 204
    LOW!!!
    I installed a new database with just the exaple schemas on same disk /data and got theese results
    max_iops = 25665
    latency = 8
    max_mbps = 517
    Any one have some ideas what i should test or change?
    /Jens Bäckström (Noob)Dba

    The second database IOTEST is a small test db.
    This is how i did the test
    i stopped the DWRPD01 wich is the dw database.
    i start the IOTEST DATABSE and run the iops script.
    after the run i stoped IOTEST and started DWPRD02 and run the same script.
    i am sure the database files was on the same san disk group . but ofc i can not besure that the data be on the same physical disk in the SAN cabinett.
    Ill check ur other questions as soon as i have some ansvers
    and thanks for helping me out.
    Below are my initfiles from the DB's
    /Jens
    IOTEST Database
    IOTEST.__db_cache_size=16106127360
    IOTEST.__java_pool_size=268435456
    IOTEST.__large_pool_size=268435456
    IOTEST.__oracle_base='/oracle_prod01'#ORACLE_BASE set from environment
    IOTEST.__pga_aggregate_target=6442450944
    IOTEST.__sga_target=21474836480
    IOTEST.__shared_io_pool_size=0
    IOTEST.__shared_pool_size=4294967296
    IOTEST.__streams_pool_size=268435456
    *.archive_lag_target=1800
    *.audit_file_dest='/oracle_prod01/admin/IOTEST/adump'
    *.audit_sys_operations=true
    *.audit_trail='db'
    *.compatible='11.1.0.0.0'
    *.control_file_record_keep_time=16
    *.control_files='/iotest/IOTEST/control01.ctl','/iotest/IOTEST/control02.ctl','/iotest/IOTEST/control03.ctl'
    *.db_block_checking='LOW'
    *.db_block_checksum='TYPICAL'
    *.db_block_size=8192
    *.db_create_file_dest=''
    *.db_domain=''
    *.db_file_multiblock_read_count=32
    *.db_files=200
    *.db_name='IOTEST'
    *.db_recovery_file_dest=''
    *.db_writer_processes=3
    *.diagnostic_dest='/oracle_prod01'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=IOTESTXDB)'
    *.filesystemio_options='setall'
    *.log_checkpoints_to_alert=true
    *.nls_language='AMERICAN'
    *.open_cursors=512
    *.optimizer_index_cost_adj=50
    *.parallel_io_cap_enabled=true
    *.parallel_max_servers=10
    *.parallel_min_servers=2
    *.pga_aggregate_target=6442450944
    *.processes=512
    *.recyclebin='off'
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sga_target=21474836480DWPRD01.__db_cache_size=16106127360
    *.star_transformation_enabled='TRUE'
    *.undo_tablespace='UNDOTBS1'
    DWPRD01 Database
    DWPRD01.__java_pool_size=268435456
    DWPRD01.__large_pool_size=268435456
    DWPRD01.__oracle_base='/oracle_prod01'#ORACLE_BASE set from environment
    DWPRD01.__pga_aggregate_target=6442450944
    DWPRD01.__sga_target=21474836480
    DWPRD01.__shared_io_pool_size=0
    DWPRD01.__shared_pool_size=4294967296
    DWPRD01.__streams_pool_size=268435456
    *.archive_lag_target=1800
    *.audit_file_dest='/oracle_prod01/admin/DWPRD01/adump'
    *.audit_sys_operations=true
    *.audit_trail='db'
    *.compatible='11.1.0.0.0'
    *.control_file_record_keep_time=16
    *.control_files='/dbffast_prod01/control01.ctl','/oracle_prod01/control02.ctl','/log_prod01/control03.ctl'
    *.db_block_checking='LOW'
    *.db_block_checksum='TYPICAL'
    *.db_block_size=8192
    *.db_create_file_dest=''
    *.db_domain=''
    *.db_file_multiblock_read_count=32
    *.db_files=200
    *.db_name='DWPRD01'
    *.db_recovery_file_dest=''
    *.db_writer_processes=3
    *.diagnostic_dest='/oracle_prod01'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=DWPRD01XDB)'
    *.filesystemio_options='setall'
    *.log_archive_dest_1='LOCATION=/arch_prod01'
    *.log_archive_format='DWPRD01_%t_%s_%r.log'
    *.log_checkpoints_to_alert=true
    *.nls_language='AMERICAN'
    *.open_cursors=512
    *.optimizer_index_cost_adj=50
    *.parallel_io_cap_enabled=true
    *.parallel_max_servers=10
    *.parallel_min_servers=2
    *.pga_aggregate_target=6442450944
    *.processes=512
    *.recyclebin='off'
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sga_target=21474836480
    *.star_transformation_enabled='TRUE'
    *.undo_tablespace='UNDOTBS1'

  • SQL Loader and Oracle 11g

    Hello,
    Im receiving an sqlldr: not found error. Im getting ready to talk with our System Admin about the situation. Before I do I wanted to make sure that SQL Loader (sqlldr) is an available add-on for the Oracle 11 client. A co-worker mentioned that SQLLDR may not be available as an add-on in the Oracle 11 client and that we would need to use IMPORT/EXPORT instead. Is this a true statement?
    Can someone please clarify these issues for me?
    Thanks a bunch!

    SQL*Loader is certainly available in either the 11.1 or 11.2 full client install. It may or may not be a component that is installed by default depending on the type of install you select during the installation process. But you can always go back and install that component.
    If you are talking about the Instant Client, I'm not sure that either SQL*Loader or import and export work with the Instant Client.
    And just to point it out, if you're using 11g, you would generally want to be using external tables rather than SQL*Loader.
    Justin

  • How to audit alter user sql statements in Oracle 11g.

    I want to audit all the alter user sql statements that show who is altered with what sql stment including the connections performed by sys and system.
    Ex: If I use the command : alter user xxx quota 50 GB on users;
    Then how can i grab this sql stement and who performed it with the timings.

    Pl post OS and database versions.
    What have you learned from the documentation ?
    http://download.oracle.com/docs/cd/E11882_01/server.112/e26088/statements_4007.htm#SQLRF01107
    http://download.oracle.com/docs/cd/E11882_01/network.112/e16543/guidelines.htm#DBSEG508
    What have you tried to implement so far ?
    HTH
    Srini

  • Comples SQL performance issues in 11g

    We are facing Performance Issues for a Complex SQL in Version 11.2. But earlier in 11.1 this SQL is performing well..
    We dont have previous versions SQL Plan for this SQL Statement.
    We Dont want to rewrite the SQL as this SQL has performed Well in previous versions.
    Do we need to change the optimizer parameters so that the Query will be tuned automatically.
    Please help me out

    If you're licensed for the SQL Tuning Pack, you could run the query through the SQL Tuning Advisor see if it can improve.
    It will probably recommend a SQL profile which you can accept.
    You could also hint the SQL directly - you might just want to look at /*+ OPT_PARAM('OPTIMIZER_FEATURES_ENABLE','11.1.0.x') */ 'x' depending on your exact 11.1 version.
    You could alter the session, set optimizer_features_enable and capture a SQL profile manually for the 11.1 plan.
    You could do some root cause analysis as suggested by Karthick.
    See threads:
    How to post a SQL tuning request: HOW TO: Post a SQL statement tuning request - template posting
    When your query takes too long: When your query takes too long ...
    For some recent relevant examples about identifying plans changes following upgrade, see also Coskan Gundogar's blog:
    http://coskan.wordpress.com/2011/02/14/plan-stability-through-upgrade-why-is-my-plan-changed-bugfixes-1/
    http://coskan.wordpress.com/2011/02/15/plan-stability-through-upgrade-why-is-my-plan-changed-bugfixes-2/
    http://coskan.wordpress.com/2011/02/17/plan-stability-through-upgrade-why-is-my-plan-changed-new-optimizer-parameters/

Maybe you are looking for

  • Photoshop CC 2013 and OS X Yosemite - Lag, Shortcuts Don't Work

    I don't have a regular Creative Cloud account. The version of Creative Cloud 2013 master collection is installed on my computer, and it can't be updated because it's not a Team CC account. The collection was provided from my work. The Version I have

  • Illustrator CS3 crashes in mac os 10.5.8

    hi, in the last days my illustrator (and photoshop, and Dremaweaver) has been crashing all the time, for no reason (i think!). Someone can help me in this issue? thanks! below the report: Process:         Adobe Illustrator [394] Path:            /App

  • Cannot delete unwanted layer. Unwanted layer previews even though it's off...

    My question relates to InDesign 5.0.3 and Acrobat Pro 9.0.0 When Exporting a PDF I am selecting Export Layers and choosing "Visible and Printable Layers" to export. I'm not using distiller as I want to keep some layers intact so I can make one layer

  • One simple (maybe stupid) question:

    Why I can not rich all my TextInput objects using this code: <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml" layout="absolute"> <mx:Script> <![CDATA[ import mx.validators.ValidationResult; import mx.c

  • Converting .wav files to .mp3 files in Adobe Audition 3

    I am trying to save a .wav file as an mp3. file.  When I go to Save As and click on file type/Mp3, it asks me if I want to overwrite the current .wav file.  When I say yes, it saves it as a .wav file.  How do get it to save as a .mp3 file?  I'm certa