Set event 100183 & 10027 in Oracle 11g

Hi
    I have upgraded the Oracle 10.2.0.4.0 to Oracle 11.2.0.2.0 . while running the script provided by SAP vide note no. 1171650 (Automated Oracle DB Parameter Check) , following recommendation comes after running the scripts
means change the event to values like 1or 2 or 1024 etc.
event (38087)     change value to "38087"                     1
event (10183)     change value to "10183"                     1
event (10027)     change value to "10027"                     2
event (10028)     change value to "10028"                     2
event (10142)     change value to "10142"                     2
event (38068)     change value to "38068 level 100"     2
event (38085)     change value to "38085"                     2
event (44951)     change value to "44951 level 1024"     2
event (10191)     change value to "10191"     
event (10995)     change value to "10995 level 2"     
when i executed the command on sqlplus / as sysdba level
ALTER SYSTEM SET EVENT=
'10027 trace name context forever, level 2',
'10028 trace name context forever, level 2',
'10191 trace name context forever, level 1',
'38087 trace name context forever, level 1',
'10183 trace name context forever, level 1',
'10142 trace name context forever, level 1',
'38068 trace name context forever, level 100',
'38085 trace name context forever, level 2',
'44951 trace name context forever, level 1024',
'10995 trace name context forever, level 2'
COMMENT='SAP RECOMMENDED SETTINGS - 201108' SCOPE=SPFILE;
thereafter i shutdown the oracle & restart it , it either comes instead of "change" to  "add". It also don't give any error.
Can anybody be help in sort out that why these are happening. why it is not changing the values.
Thanks
Regards

Stefan Koehler wrote:
> By the way - the check script of sapnote #1171650 is rubbish in my opinion - even the SAP support uses it, but does not look at the kind of system (OLTP / OLAP) and suggests parameter that are just wrong. I've known it to happen.
Hi,
I think this will be the first time I do not agree with you.
probably you have not read the note.
the script cannot diferenciate between OLTP and OLAP, it expects that YOU tell him what typwe is and adjust the recommendations to that.
You can execute the relevant statement without adjustments for OLTP systems. For OLAP systems, you need to replace the string '<OLAP System? [n]>' with 'y'. Depending on the statement, the string may occur several times.
Of course, as it is "automatic" you haqve to understand the recommendations.
But i do really think that from that to say that it is rubbish there is a long way

Similar Messages

  • How to set . orainv in linux for oracle 11g

    I am using Oracle Enterprize Linux and have installed 11g. Every time when I restart my PC, I have to set . oraenv to open sqlplus. Could you please tell me whether it is possible to set . oraenv so that I don't have to set it everytime I login.

    here is one example of using bash_profile.
    http://www.idevelopment.info/data/Oracle/DBA_tips/support_data/Install9iOnRedhat80/.bash_profile
    --MM                                                                                                                                                                                                                                                                                                           

  • Oracle 11g advantages for performance

    Hello,
    I am doing test of Client side result set cache on oracle 11 g rel2 ,O/S- RHEL
    i am doing test as below on 2 Oracle 11g rel2 test servers on RHEL
    one oracle 11g rel2 instance is used as server1,from other oracle 11g rel2 server2, i am running queries connecting to server1 through sqlplus,listener(tnsnames )
    i run query few times without any client cache settings then
    i have set init.ora paras for oracle 11g rel2 for client result cache,cache size/cache lag
    i run the same query few times
    in both the cases after each run i am noting statistics
    select * from V$RESULT_CACHE_OBJECTS;
    select * from V$CLIENT_RESULT_CACHE_STATS;
    select * from gv$cpool_conn_info;
    also autotrace,plan etc
    but after using cache this views are getting poplulated ,autiotrace plan shows cache is used
    but i cant see any improvement in performance after using client cache like speed,reduce network trip, etc
    in fact without using cache/with no hint ,query executes faster
    let me know if i am missing something,i believe sqlplus internally using OCI
    thanks

    >
    I tested with custom code using java/jdbc thin driver ,connecting same as between 2 oracle 11g2 instance 1 as client other server,running code calling queries from client connecting to server
    >
    Unless you plan to provide the information ask for about what it is you are doing there really isn't any point in providing status updates that: you test this, you tested that. You made several statements about what you were doing
    >
    i have set init.ora paras for oracle 11g rel2 for client result cache,cache size/cache lag
    i run the same query few times
    in both the cases after each run i am noting statistics
    select * from V$RESULT_CACHE_OBJECTS;
    select * from V$CLIENT_RESULT_CACHE_STATS;
    select * from gv$cpool_conn_info;
    also autotrace,plan etc
    >
    and were asked to provide specific information that you haven't provided nor have you provided the query.
    >
    You say you are doing a bunch of things
    But you don't post any of those results so we can see what it is you are looking at.
    No one can comment on things they can't see.
    >
    You have to be using OCI for client side caching so if you use the Java thin driver but don't use OCI there won't be any cacheing. There also won't be any if it is not enabled or if the query has certain constraints as listed in the doc
    http://docs.oracle.com/cd/B28359_01/appdev.111/b28395/oci10new.htm#CHDGGFEF
    >
    Queries that are not Cached
    There are queries that are not cached on the OCI client even if the result cache hint is specified. Such queries may be cached on the database if the server result cache feature is enabled (see Oracle Database Concepts, "SQL Query Result Cache" for more information). If a SQL query includes any of the following, then the result set of that query is not cached in the OCI client result cache:
    •Views
    •Remote objects
    •Complex types in the select list
    •Snapshot-based or flashback queries
    •Queries executed in a serializable, read-only transaction, or inside a flashback session
    •Queries that have PL/SQL functions in them
    •Queries that have VPD policies enabled on the tables
    >
    This Oracle-Developer.net article author doesn't seem to have any trouble caching results.
    http://www.oracle-developer.net/display.php?id=503

  • Oracle 11g decode issue with null

    Hi,
    we want to migrate from Oracle 10g to Oracle 11g and have an issue with decode.
    The database has the following character set settings:
    NLS_CHARACTERSET = AL32UTF8 in Oracle 11g and UTF8 in Oracle 10g
    NLS_NCHAR_CHARACTERSET = AL16UTF16
    If I try a select with decode which has null as first result argument I will get a wrong value.
    select decode(id, null, null, name) from tab1;
    ("name" is a NVARCHAR2 field. Table tab1 has only one entry and "id" is not null.)
    This select returns a value with characters which are splitted by 0 bytes.
    In Oracle 10g the value without 0 bytes is delivered.
    If I suround the decode with dump I get following results:
    select dump(decode(id, null, null, name), 1016) from tab1;
    Oracle 10g: Typ=1 Len=6 CharacterSet=AL32UTF8: 4d,61,72,74,69,6e
    Oracle 11g: Typ=1 Len=12 CharacterSet=US7ASCII: 0,4d,0,61,0,72,0,74,0,69,0,6e
    NLS_LANG has no effect on the character set of 'null' in Oracle 11g.
    Non null literals work:
    select dump(decode(id, null, 'T', name), 1016) from tab1;
    Oracle 10g: Typ=1 Len=6 CharacterSet=UTF8: 4d,61,72,74,69,6e
    Oracle 11g: Typ=1 Len=6 CharacterSet=AL32UTF8: 4d,61,72,74,69,6e
    select dump(decode(id, null, N'T', name), 1016) from tab1;
    Oracle 10g: Typ=1 Len=12 CharacterSet=AL16UTF16: 0,4d,0,61,0,72,0,74,0,69,0,6e
    Oracle 11g: Typ=1 Len=12 CharacterSet=AL16UTF16: 0,4d,0,61,0,72,0,74,0,69,0,6e
    Here the scripts for creating the table and the entry:
    create table tab1 (
    id NUMBER(3),
    name NVARCHAR2(10)
    insert into tab1 (id, name) values (1, N'Martin');
    commit;
    Is it possible to change the character set?
    Could you please help me?
    Regards
    Martin

    This doesn't have the problem.looks this doesn't solve the problem (of returning a value with characters which are splitted by 0 bytes):
    SQL> select * from v$version where rownum = 1
    BANNER                                                                         
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production         
    1 row selected.
    SQL> select dump(decode(id, null, null, name), 1016) from tab1
    union all
    select dump(case id when null then null else name end, 1016) cs from tab1
    DUMP(DECODE(ID,NULL,NULL,NAME),1016)                                           
    Typ=1 Len=12 CharacterSet=US7ASCII: 0,4d,0,61,0,72,0,74,0,69,0,6e              
    Typ=1 Len=12 CharacterSet=AL16UTF16: 0,4d,0,61,0,72,0,74,0,69,0,6e             
    2 rows selected.You need to explicitly convert the third parameter to char:
    SQL> select dump(decode(id, null, to_char(null), name), 1016) from tab1
    DUMP(DECODE(ID,NULL,TO_CHAR(NULL),NAME),1016)                                  
    Typ=1 Len=6 CharacterSet=WE8MSWIN1252: 4d,61,72,74,69,6e                       
    1 row selected.

  • Forms 10g - Oracle 11g DB - Date Format Error - Urgent

    Hi All,
    We are migrating forms 6i to forms 10g.Data Base is 9i to 11g Migration.
    In 10g forms pre-form trigger ,i have statement
    :head.yr_st_dt := to_date(sc.get_property('ps.yr_st_dt'),'MON DD YYYY HH:MI:SSPM');
    In 6i ,it is working fine,the :head.yr_st_dt=22-SEP-09.
    In 1og forms with 11g Database, I am getting the below error
    frm-40735:PRE-FORM trigger raised unhandled exception ORA-01843
    It seems invalid month.
    In 9i ,the NLS_DATE_FORMAT is DD-MON-RR.In 11g also same.
    Thanks in Advance,
    Regards,
    Shan

    user642745: In the list of forum topics, the fourth topic down is this:
        Before posting on this forum please read.   Within that post there is a recommendation:   "Also read the 10 Commandments on OTN forum posting." with this link:   http://blogs.oracle.com/shay/2007/03/02
    Please read and follow step 6, "Get a name".
    You now have 101 posts to your "user642745" name. When you write, it is difficult to distinguish between your post and the original poster's since you both have a similar number as your names.
    user648338: It is clear you do not understand how Oracle handles dates. Depending on the NLS_DATE_FORMAT and NLS_LANG for the session you are running, you will get different results when you display your sc.get_property('ps.yr_st_dt') output.
    The fact that you are even trying to execute the command:
    select to_date('01-MAY-09','MON DD YYYY HH:MI:SSPM') from dual;shows that you do not understand standard date processing.
    Internally, Oracle stores ALL dates in a 7-byte format that includes both date AND time.
    The fact that you are getting results like 01-MAY-09 just means that your session is running with NLS_DATE_FORMAT set to DD-MON-YY. It does NOT mean that the date is stored that way.
    Your entire problem is caused by the fact that the system on which your old Oracle 9i -- Forms 6i environment has its NLS_DATE_FORMAT (and possibly NLS_LANG) set differently than on your Oracle 11g -- Forms 10g environment.
    If you can set your new environment the same as the old, your trouble will go away. Here is how you determine what the values of those environment variables are. Run this in SQL Plus:
    select * from nls_session_parameters
      where parameter in('NLS_LANGUAGE','NLS_TERRITORY',
                         'NLS_DATE_FORMAT','NLS_DATE_LANGUAGE');Be aware, though, that it is possible for your Forms environment to change the settings only for the Forms sessions, so what you get from SQL Plus may not be the same.
    Edited by: Steve Cosner on Sep 23, 2008 11:13 AM

  • "Rows" statistics from STAT in trace event 10046, Oracle 11g.

    Hi, all!
    Why "Rows" statistics in STAT are different for 10g and 11g?
    I have two database with version 10g and 11g, with the same data.
    I executed some pl/sql code with tracing 10046 level 8.
    And I have different result when obtain raw trace.
    In 10g I obtain rows statistics for all executions - Rows= 7.
    In 11g I obtain rows statistics for first executions - Rows= 1. Why?
    See my example:
    declare
         type t_name_tbl is table of varchar2(30) index by binary_integer;
         v_name_tbl t_name_tbl;
         v_len      number := 10;
    begin
         execute immediate 'alter session set timed_statistics = true ';
         execute immediate 'alter session set statistics_level=all ';
         execute immediate 'alter session set max_dump_file_size = unlimited ';
         execute immediate 'alter session set events ''10046 trace name context forever,level 8'' ';
         loop
           select cour_name bulk collect
                into v_name_tbl
               from country t
              where length(t.cour_name) = v_len;
           exit when v_len = 0;
           v_len := v_len - 1;
           for i in 1 .. v_name_tbl.count loop
             dbms_output.put_line(v_name_tbl(i));
           end loop;
         end loop;
    end;Result Tkprof for Oracle 10g:
    SELECT COUR_NAME
    FROM
    COUNTRY T WHERE LENGTH(T.COUR_NAME) = :B1
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute     11      0.00       0.00          0          0          0           0
    Fetch       11      0.01       0.00          0         44          0           7
    total       23      0.01       0.00          0         44          0           7
    Misses in library cache during parse: 0
    Optimizer mode: ALL_ROWS
    Parsing user id: 649     (recursive depth: 1)
    Rows     Row Source Operation
          7  TABLE ACCESS FULL COUNTRY (cr=44 pr=0 pw=0 time=1576 us)Result Tkprof for Oracle 11g:
    SQL ID: 3kqmkg8jp5nwk
    Plan Hash: 1371235632
    SELECT COUR_NAME
    FROM
    COUNTRY T WHERE LENGTH(T.COUR_NAME) = :B1
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.01       0.00          0          0          0           0
    Execute     11      0.02       0.01          0          0          0           0
    Fetch       11      0.00       0.01          3         44          0           7
    total       23      0.03       0.02          3         44          0           7
    Misses in library cache during parse: 1
    Misses in library cache during execute: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 82     (recursive depth: 1)
    Rows     Row Source Operation
          1  TABLE ACCESS FULL COUNTRY (cr=4 pr=3 pw=0 time=0 us cost=2 size=44 card=2)Were can I read about it?

    Oracle 11g by default writes the execution plan (the STAT lines in the raw trace file) after the first execution of the SQL statement, while prior to 11g the execution plan is written only when the cursor is closed.
    The behavior in 11g can be controlled by changing the PLAN_STAT parameter of the call that enables the trace from the default value of FIRST_EXECUTION to ALL_EXECUTIONS:
    http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28419/d_sessio.htm#i1010518
    Charles Hooper
    Co-author of "Expert Oracle Practices: Oracle Database Administration from the Oak Table"
    http://hoopercharles.wordpress.com/
    IT Manager/Oracle DBA
    K&M Machine-Fabricating, Inc.
    Edited by: Charles Hooper on Aug 9, 2010 3:33 PM
    Default value on 11g is FIRST_EXECUTION, while the behavior prior to 11g is ALL_EXECUTIONS - corrected the incomplete sentence.

  • Oracle 11g R2 write audit record to application event log in Windows server

    Hi,
    I have a oracle 11g R1 database in windows 2003 server,
    I set the init parameter audit_trail=db,extended,
    but some auditing record still keep writting to windows application log
    Event Type:     Information
    Event Source:     Oracle.test
    Event Category:     None
    Event ID:     34
    Date:          9/7/2011
    Time:          3:36:38 PM
    User:          N/A
    Computer:     test
    Description:
    Audit trail: LENGTH: "226" SESSIONID:[7] "3875588" ENTRYID:[1] "1" USERID:[8] "test" ACTION:[3] "102" RETURNCODE:[1] "0" LOGOFF$PREAD:[1] "1" LOGOFF$LREAD:[3] "755" LOGOFF$LWRITE:[2] "26" LOGOFF$DEAD:[1] "0" DBID:[10] "1613217480" SESSIONCPU:[1] "0".
    Is there any way to disable this?
    Thanks
    Vincent

    oh really, dont you say?
    maybe next time read the whole note, not just the title
    "In 11g these 'logoff by cleanup' audit records are not logged in DBA_AUDIT_TRAIL. The connection record remains as 'logon' record. It is not updated to 'logoff by cleanup'. *In these cases, the log off information like logoff_time, logoff_lread etc are written to an OS audit file as 'logoff by cleanup' audit record.* "

  • Oracle 11g Installation How to select Database Character Set

    Hi,
    I am Installing oracle 11g R2. After installation I had verified the character set it was AL16UTF16 but I wants to set AL32UTF8 charater set at the time of oracle installation only. I can't see the character set setting opetion at the time of installation because I am selecting the installation option " Install database softerware only" and after installation of oracle software manually I am creating the database. Please help me how can I set the character set at the time of oracle installation or at the time of database creation.
    My question is-
    How can I set the AL32UTF8 character set in above scenario?
    Why It is showing AL16UTF16 character set even I did not define any thing?

    But is there any choice to set the NLS_CHARACTERSET at the time of manually database creation. Actually For creating the database i am using one shell script for seting the parameter values in init.ora file so can I set the parameter at that level(at the time of creating init.ora using manually database creation). like
    ## Original init.ora file created by manual database creation tool on ${DATE}.
    *.aq_tm_processes=0
    *.background_dump_dest='$ORACLE_BASE/admin/$ORACLE_SID/bdump'
    *.compatible='10.2.0'
    *.control_files='/$db_file_loc/oradata/$ORACLE_SID/control01.ctl','/$db_file_loc/oradata/$ORACLE_SID/control02.ctl','/$db_file_loc/oradata/$ORACLE_SID/control03.ctl'
    *.core_dump_dest='$ORACLE_BASE/admin/$ORACLE_SID/cdump'
    *.db_block_size=8192
    *.db_cache_size=104857600
    *.db_domain='$server_name'
    *.db_file_multiblock_read_count=8
    *.db_name='$ORACLE_SID'
    *.fast_start_mttr_target=300
    *.instance_name='$ORACLE_SID'
    *.java_pool_size=16777216
    *.job_queue_processes=4
    *.large_pool_size=16777216
    *.log_archive_dest='/u05/oradata/$ORACLE_SID'
    *.log_archive_format='$ORACLE_SID_%s_%t_%r.arc'
    *.olap_page_pool_size=4194304
    *.open_cursors=500
    *.optimizer_index_cost_adj=50
    *.pga_aggregate_target=536870912
    *.processes=1500
    *.query_rewrite_enabled='TRUE'
    *.remote_login_passwordfile='EXCLUSIVE'
    *.shared_pool_size=83886080
    *.sort_area_size=1048576
    *.sga_max_size=1048576000
    *.sga_target=536870912
    *.star_transformation_enabled='TRUE'
    *.timed_statistics=TRUE
    *.undo_management='AUTO'
    *.undo_retention=10800
    *.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='$ORACLE_BASE/admin/$ORACLE_SID/udump'
    *.utl_file_dir='/export/home/oracle/utlfiles'
    **.nls_characterset='AL32UTF8'*
    EOF
    Is it correct?

  • Need help setting up DB Link from my Oracle 11g XE to SQL Server.

    Hi,
    I'm trying to create a DB Link from my Oracle 11g Express Edition in a Windows XP machine to an SQL Server. Here are the steps I've done so far.
    1. Created and setup an ODBC Connection for the SQL Server DB. Named it SQLSERVER. Windows Authenticated.
    2. Modified listener.ora. See below.
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
          (PROGRAM = extproc)
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
          (PROGRAM = extproc)
        (SID_DESC =
          (SID_NAME = SQLSERVER)
          (ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
          (PROGRAM = hsodbc)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)3. Modified tnsnames.ora. See below.
    XE =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
        (CONNECT_DATA =
          (SID = PLSExtProc)
          (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
        (CONNECT_DATA =
          (SID = CLRExtProc)
          (PRESENTATION = RO)
    SQLSERVER =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT=1521))
        (CONNECT_DATA =
          (SID = SQLSERVER)
      (HS = OK)
    )4. Copied C:\oraclexe\app\oracle\product\11.2.0\server\hs\admin\initdg4odbc.ora to C:\oraclexe\app\oracle\product\11.2.0\server\hs\admin\initSQLSERVER.ora and modified it. See below.
    # 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 = SQLSERVER
    HS_FDS_TRACE_LEVEL = off
    # Environment variables required for the non-Oracle system
    #set <envvar>=<value>5. Restarted listener.
    C:\>lsnrctl stop
    LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 18-SEP-2012 11:33
    :51
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    The command completed successfully
    C:\>lsnrctl start
    LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 18-SEP-2012 11:33
    :54
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Starting tnslsnr: please wait...
    TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 - Production
    System parameter file is C:\oraclexe\app\oracle\product\11.2.0\server\network\ad
    min\listener.ora
    Log messages written to C:\oraclexe\app\oracle\diag\tnslsnr\PHAILORTD000012\list
    ener\alert\log.xml
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 - Produ
    ction
    Start Date                18-SEP-2012 11:33:57
    Uptime                    0 days 0 hr. 0 min. 3 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Default Service           XE
    Listener Parameter File   C:\oraclexe\app\oracle\product\11.2.0\server\network\a
    dmin\listener.ora
    Listener Log File         C:\oraclexe\app\oracle\diag\tnslsnr\PHAILORTD000012\li
    stener\alert\log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "SQLSERVER" has 1 instance(s).
      Instance "SQLSERVER", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully6. Created database link using the following command.
    create database link sqlserver using 'SQLSERVER';7. Test using
    select * from "dbo.mytable"@sqlserver;
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from SQLSERVER
    select * from dbo.mytable@sqlserver;
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from SQLSERVER
    select * from mytable@sqlserver;
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from SQLSERVERI followed the steps provided in this link but not sure where I went wrong. Can someone help me.
    http://www.dba-oracle.com/t_heterogeneous_database_connections_sql_server.htm
    Thanks,
    Allen

    Here's more information on the machines.
    Machine where the Oracle Database 11g Express Edition: IP Address is 10.162.128.67
    Machine where the SQL Server database: IP Address is 142.120.51.30.
    I've modified the tnsnames.ora to the following:
    XE =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 10.162.128.67)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
        (CONNECT_DATA =
          (SID = PLSExtProc)
          (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
        (CONNECT_DATA =
          (SID = CLRExtProc)
          (PRESENTATION = RO)
    SQLSERVER =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 142.120.51.30)(PORT=1433))
        (CONNECT_DATA =
          (SID = SQLSERVER)
      (HS = OK)
    )But now I'm getting the following error:
    C:\>tnsping sqlserver
    TNS Ping Utility for 32-bit Windows: Version 11.2.0.2.0 - Production on 18-SEP-2
    012 14:52:59
    Copyright (c) 1997, 2010, Oracle.  All rights reserved.
    Used parameter files:
    C:\oraclexe\app\oracle\product\11.2.0\server\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
    (HOST = 142.120.51.30)(PORT=1434))) (CONNECT_DATA = (SID = SQLSERVER)) (HS = OK)
    TNS-12541: TNS:no listener
    C:\>Regards,
    Allen

  • How to generate TPC-E schema/data sets in Oracle 11g

    Hi,
    I want to use TPC-E schema in my Oracle 11g database (Standard) and also want to use DATA SETS from this benchmark for some kind of testing.
    I've download EGen v1.8.0 from this TPC website:
    http://www.tpc.org/tpce/default.asp
    but don't know who to implement this benchmark database into my computer's database. I'll appreciate if someone please suggest me how to do this...
    Thanks alot.
    Best Regards,
    Kamran

    kamran safdar malik wrote:
    I want to find Optimal size of a data block size as this is the one parameter which can increase the performance of a database or decrease it.If there is a single optimal size, that would surely be the default Oracle block size - as Oracle should know perhaps better than any of us, just what block size differences do as it is their code that uses it?
    Can I ask why you said that you would not have chosen this topic as a thesis?My leaning has always been to expert systems and A.I. Even designed and written my own expert system language years ago. One thing that is critical in such systems is how you structure data - and that has a nice database angle to it. One that I believe can still be exploited for research purposes.
    Don't you think that it'll benefit DBA's or database developer after I reach a successful conclusion?To be honest, in the real world of database systems, the least of my concerns are data block sizes. For example, we're busy putting together a storage array that should have a maximum I/O pipe size of 40Gb. In comparison, we currently use dual 2Gb fibre channels on most of our servers for our I/O.
    Technology moves fast. And perhaps there is an ideal block size for the standard storage array and Oracle instance today - but that could invalidated by new technology next year. Would I want to spend time and effort studying and analysing and researching a very specific technical subject, that perhaps is not considered as of that critical importance by DBAs and perhaps can be outdated with new technology and techniques?
    I honestly do not want to put you off studying db block sizes. Perhaps there's still some critical issues to uncover in that respect. But personally.. there are many other subject areas in database technology that peak my interest a lot more. But then you have your personal preferences and likes and dislikes - and data blocks could be your muse. :-)

  • Oracle 11g 64 bit - "Value too large for column" when setting Varchar2

    Hello guys,
    I have a machine running Oracle 11g - 64bits. And I have a table that contains a VARCHAR2(2000) field.
    When I try to set the value of this field to a string that contains double byte characters, I get this error:
    ORA-12899: value too large for column "QAPBG1220_11"."MYTABLE"."MYFIELD" (actual: 2433, maximum: 2000).
    Although the value I'm setting is only 811 characters (€ sign).
    The weird thing is that when I try to run the same query on another PC with Oracle 11g, 32 bits, It runs normally and the values are updated!!
    Anyone has any idea about this? It's driving me crazy
    Thanks in advance
    Zahraa

    create table MYTABLE
    MYTABLEID NUMBER(10) not null,
    MYFIELD VARCHAR2(2000)
    alter table MYTABLE
    add constraint PK_MYTABLE primary key (MYTABLEID);
    INSERT INTO MYTABLE (Mytableid, Myfield) VALUES(1, '€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€fds€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€')
    COMMIT;
    On the 32 bit, this works fine. I get the record with the values 1 and 2000 euro signs.
    On the 64 bits, there is one machine (oracle 11.2.0.1.0) that adds the row, but when I view it, the value shows as "????"
    and another machine (oracle 11.1.0.7.0) that throws an error:
    - "String Literal is too long" : if there are more than 1333 euro characters
    - Value too large for column .... : if there are less than 1333 and more than 666 characters.
    Any ideas?

  • How to set Oracle 11g as Primary Oracle Home

    Hi All,
    I've Windows 7 operating system & have Oracle 11g client ( enterprise edition), Oracle 10g XE and Oracle Developer Suite 10g. I want to know how can I set Oracle_11g_home as my primary oracle home.
    Note: Currently, the home of Oracle Developer Suite 10g is my primary home as it gets invoked whenever I type sqlplus in the command prompt or tnsping my remote database from command prompt.
    Regards,
    MK

    You have two options. Either edit your %PATH% environment variable and place the Path related to your 11g home first. Another option is to add an ORACLE_HOME environment variable that points to your 11g home.
    Hope this helps!

  • Env Variable setting for Oracle 11g windows 2003 R2

    Hi ,
    While installing the Oracle 11g on windows 2003 R2 getting error while running the prerequsite steps for installtion.failing the env variables path. Please guide us to set up the Environmental variable for the oracle 11g installation.
    Thanks..

    Tippu wrote:
    Hi,
    Oracle version Oracle 11.2.0.1
    Os Windows 2003 R2
    we had set some values. though we are getting the below errors.
    Environment variable: "PATH" - This test checks whether the length of the environment variable "PATH" does not exceed the recommended length.
    Expected Value
     : 1023
    Actual Value
     : 0
     List of errors:
    PRVF-3916 : Environment variable name "PATH" is not set on node "laxwzcl01"  - Cause:  Environment variable value could not be determined.  - Action:  Ensure that the environment variable is set and access permissions for the Oracle user allow access to read the environment variables. Restart the installer after correcting the setting for environment variable.It's like setting any other environment variable in Windows ...
    Right click My Computer, select Properties > Advanced tab > Environment variables button ...
    It should be self-evident from that point.

  • Oracle 11G - set id password to not expire

    Hello, I've created an Oracle 11G database. The default on passwords is to expire every 180 days. I need to create an account that batch processes can use (for application code) which will not expire. How do I set a password on a user id to not expire? Maureen

    Maureen Blackford wrote:
    Hello, I've created an Oracle 11G database. The default on passwords is to expire every 180 days. I need to create an account that batch processes can use (for application code) which will not expire. How do I set a password on a user id to not expire? MaureenLook at PROFILEs.
    And rethink your goal. The longer a password is allowed to live, the more opportunity for it to become exposed. If you care at all about database security, never allow a password to have unlimited life. Our end users have 180 life, my internal administrative passwords have 90 life.

  • Oracle 11g or higher client is not installed or not set to Primary Oracle..

    Hi all,
    I have installed oracle 11g client on my machine. It connecting fine with the server throuhg sqlplus but when i connect my application that is developed in power builder, it prompts an errror message stated 'Oracle 11g or higher client is not installed or not set to Primary Oracle Home'. I have tried different solutions from different posts over the internet but colud not get fruitfull results.
    Please help me out in this regard to continue...
    Thanks & Regards,
    Adil Mukhtar

    As already said, this looks like a powerbuilder issue, related to how it "finds" Oracle client/oci libraries.
    Assuming this is on Windows, you could use Process Monitor from Sysinternals to watch what your app does (e.g. where it looks for dll's). It's a great troubleshooting tool: http://technet.microsoft.com/en-us/sysinternals/bb896645
    Google provides some results with similar issues. Maybe you have tried most of it already, but at least as a reference for others: http://lmgtfy.com/?q=powerbuilder+%22oracle11g+or+higher+client+is+not+installed%22

Maybe you are looking for

  • I can't get voice memos off itunes iPhone 4

    iTunes 10, Iphone 4. I have deleted the voice memos from the Library>music but they are still there under Devices>iPhone>Music. They are also not on my iPhone when I launch the Memos app. I have tried checking and unchecking the "include voice memos"

  • System Login Window

    Hi, I have a VBA code that connects to an Essbase cube but whenever the login fails, it automatically opens u a system login wndow. I want to control this from the back end. Is there a way I can do this in VBA? So, basically I want to know how to sup

  • LabVIEW Rookie-Help Needed

    Hi to all, I am new to LabVIEW and am trying to build a QPSK modulator and I am having problem with 1)creating a binary data stream 2) creating a demulitplexer to output dibits to the carrier signal 3) Creating a constellation diagram Hope someone fr

  • Increasing the Performace of GLPCA Table

    Dear All, Is there any way to increase the performace of GLPCA table Regards VSKR

  • 0DISMM_0material

    Hi ,    MRP TYPE(0dismm) is assigned as a attribute to 0material for 0material iam getting data through 0article_attr and for 0dismm getting data through 0dismm_attr and i need both material number and mrp type in report then i made the 0dismm as the