Oracle 10g and multiple processors

I use Oracle 10 g on Windows on a 4-processor machine.

I send a lot of 50,000 PLATELETS and SELECTS.

I have brought increasing performance monitor and looked at the CPU. I noticed in general, I had about 15% usage, but it was divided this way
CPU   Utilization
 1         1%
 2         1%
 3        57%
 4         1%
Of course, this does not effectively.

Is it possible to fix this?

When everything has failed, read the Fine Manual

http://download.Oracle.com/docs/CD/B19306_01/server.102/b14200/statements_2012.htm#i2231814

WRT, session

http://download.Oracle.com/docs/CD/B19306_01/server.102/b14220/process.htm#sthref1481

Tags: Database

Similar Questions

  • Hello Sir: I use a generator of form of oracle 10g and I want to search on two dates using between.how it is possible.

    Hello Sir: I use a generator of form of oracle 10g and I want to search on two dates using between.how it is possible.

    I guess its text fields are the date data type.

  • Oracle 11g compatibility with oracle 10g and 9i?


    Hi all



    I have a few questions about the compatibility of 11g.



    Client Oracle 11g is compatible with oracle 10g client that is already installed on the desktop computer?


    If any changes to do so and where?



    Is oracle 11g oracle 10 g/9i on the same server where are installed the 10 g/9i compatible?


    Concerning

    If the question you ask yourself is 'Can I have multiple versions of the Oracle installed on the same client computer' or "Can I have several versions of the database Oracle installed on the same machine", the answer is Yes. As long as you install each version in another House of Oracle, and we are talking about versions 8.1.5 and upward, you can have as many different versions of the client and the database on the same machine as you wish. Of course, you are still subject to the support of operating system compatibility (e.g. Oracle 9.2 did not had been supported on Windows 2008, so do not expect to work).

    The only problem you may have would be with components that are not compatible with several House. This mainly affects third-party Windows drivers (drivers third party ODBC, etc.) who do not know how to work with multiple Oracle homes and end up using which version of the client Oracle happens to appear first in the path.

    Justin

  • Oracle 10g and 11g reports

    I recently upgraded from Oracle Forms/Reports 10 g and 11g.  Oracle 10g reports saving as PDF is easily converted into a word document, however, Oracle 11 g converts not as 10 g.  What is the difference and how to make the report of 11g saved in a PDF file be able to convert a Microsoft Word document itself.

    Thank you

    Steven


    Hello

    There is a "known issue" with the PDF file in 11g:

    ALERT: Indicates problems PDF in 11.1.2.1.0 group of fixes for Non-Linux (Doc ID 1522543.1) platforms

    Maybe the problem comes from this 'problem '...

    "Patch Set Exception" exists for this problem.

    Kind regards

  • Oracle 10g AND OCCI MSVC ++ 2008sp1?

    How to use oracle 10g (SQL * more: release 10.2.0.3.0 - Production on Sun Jul 19 09:07:58 2009) AND WEST of MSVC ++ 2008sp1?

    Edited by: s.holmes on July 18, 2009 20:38

    Hi Christian,

    Fix. If you have access to My Oracle Support (formerly MetaLink) you can also consult Note: 437957.1 (certified compilers for OCCI) which also shows VS 2008 is compatible with versions 11.1.0.x.

    However, you can use the vesion of 11.1.0.x with Instant Client and VS 2008 (including Express Edition) to connect to a 10 g database.

    If you are interested, I have a walkthrough of instant OCCI with Client configuration base and VS 2008 Express Edition on my blog here:

    http://oradim.blogspot.com/2009/07/getting-started-with-OCCI-Windows.html

    In this walkthrough, I connect to an 11.1.0.7 database, but he just as easily could have a lower version.

    Kind regards

    Mark

  • Info on Earphone for oracle 10g and 11g installed on systm unique

    Hello

    I installed oracle 10g n 11g on my system. I have question regarding oracle listening port.

    Oracle 10g, Listener.ora

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = kankala.kalyan) (PORT = 1521))
    )
    )


    Oracle 11g, Listener.ora

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1522))
    (ADDRESS = (PROTOCOL = TCP (PORT = 1522))(HOST = kankala.kalyan))
    )
    )

    My question is why the names of the listener are same even if your are on different ports?

    and for disturbing people, why I installed 10 n 11 is
    Initially only oracle 11g has been installed on my system. Later, I learned for the first time forms and I have to connect to the database frm developer suite 10 g. so I installed oracle 10 g database.

    The names are the same, because this is the way which you created them.

    If you want to make a change to use NETCA to delete and recreate one of them.

    Just make sure that you have set ORACLE_HOME properly until you do.

  • Disable the Tunning & diagnostic packs in oracle 10g and oracle 9i

    Hello

    According to the license agreement, our organization asked to disable the packs tuning & diag on Oracle databases.

    We use versions diff of databases oracle (oracle 9i, 10g, 11g)

    In oracle 11g, we can disable tuning & diag packs using the control_management_pack_access parameter to none.

    How to disable the setting & diag packs in Oracle 10 g and oracle 9i?

    Thank you

    AWR did not exist up to 10g, so I don't think that the diagnosis of EM or Tuning Packs are a problem with 9i.  As mentioned statspack is free and available always in 11g, so it is available for use.  -Mark-

  • Oracle 10g and Informix via DG4IFMX connection

    Ladies and gentlemen,

    I am a newbie to Oracle and I'm trying to connect my Oracle 10 g to a server Informix v.11.
    I did everything as it says in the manual (although many things is not well explained and even not included for example the informix database must have a transaction journal...) and I still have a few problems with the connection.

    I use oracle database gateway to informix (dg4ifmx).

    First of all when I run select * DUAL@dblink I have not a mistake at all, I just get a result X, that is, I realized that everything is well configured in tsnnames, auditor and initdg4ifmx.ora and the link to database.

    But when I write a table exist as select name * to enc_grid@dblink, I get this error:


    ORA-00942: table or view does not exist
    [Oracle] [Driver ODBC Informix Wire Protocol] [Informix] The specified table (ENC_GRID) is not in the database. {42S 02, NativeErr = - 206}
    ORA-02063: preceding 2 lines of LINK_INFORMIX

    The table exists for sure!

    Then I opened the track and I noticed a strange thing. There is an error occurring: error ptr FILE: hgocont.c LINE: 2686 ID:SQLDriverConnect
    -----------------------------------------------------------------------------------------------------
    This is the full trace:


    Oracle Corporation - Wednesday 4 May 2011 12:34:55.062


    Heterogeneous Agent release
    11.2.0.1.0


    Oracle Corporation - Wednesday 4 May 2011 12:34:55.062

    Version 11.2.0.1.0

    Hgogprd entries
    HOSGIP to 'HS_FDS_TRACE_LEVEL' returned '255 '.
    Hgosdip entries
    default assignment of 50 HS_OPEN_CURSORS
    HOSGIP returned the value of 'RECOVER' for HS_FDS_RECOVERY_ACCOUNT
    HOSGIP returned value for HS_FDS_RECOVERY_PWD
    default HS_FDS_TRANSACTION_LOG of HS_TRANSACTION_LOG layout
    HS_IDLE_TIMEOUT layout to the default 0 value
    layout by default HS_FDS_TRANSACTION_ISOLATION of "READ_COMMITTED".
    layout default HS_NLS_NCHAR to "UCS2".
    layout HS_FDS_TIMESTAMP_MAPPING default 'DATE '.
    layout HS_FDS_DATE_MAPPING default 'DATE '.
    layout HS_RPC_FETCH_REBLOCKING failure to 'ON '.
    HOSGIP returned a value of "1000" for HS_FDS_FETCH_ROWS
    parameter HS_FDS_RESULTSET_SUPPORT default 'FALSE '.
    parameter HS_FDS_RSET_RETURN_ROWCOUNT default 'FALSE '.
    parameter HS_FDS_PROC_IS_FUNC default 'FALSE '.
    parameter HS_FDS_CHARACTER_SEMANTICS default 'FALSE '.
    parameter HS_FDS_MAP_NCHAR if there is no 'TRUE '.
    setting HS_NLS_DATE_FORMAT or 'YYYY-MM-DD HH24:MI:SS ".
    parameter HS_FDS_REPORT_REAL_AS_DOUBLE default 'FALSE '.
    HS_LONG_PIECE_TRANSFER_SIZE layout without "65536".
    parameter HS_SQL_HANDLE_STMT_REUSE default 'FALSE '.
    parameter HS_FDS_QUERY_DRIVER default 'FALSE '.
    parameter HS_FDS_SUPPORT_STATISTICS if there is no 'TRUE '.
    The HS_FDS_QUOTE_IDENTIFIER parameter is not defined
    setting in HS_KEEP_REMOTE_COLUMN_SIZE if 'OFF '.
    parameter HS_FDS_GRAPHIC_TO_MBCS default 'FALSE '.
    parameter HS_FDS_MBCS_TO_GRAPHIC default 'FALSE '.
    HS_CALL_NAME_ISP layout "gtw$: SQLTables; GTW$: SQLColumns. GTW$: SQLPrimaryKeys. GTW$: SQLForeignKeys. GTW$: SQLProcedures. GTW$: SQLStatistics; "gtw$: SQLGetInfo.
    parameter HS_FDS_DELAYED_OPEN if there is no 'TRUE '.
    HS_FDS_WORKAROUNDS layout by default "0".
    Release of hgosdip, rc = 0
    ORACLE_SID is 'dg4ifmx '.
    Product information:
    Port RLS / Upd:1 / 0 PrdStat:0
    Agent: Oracle Database Gateway for INFORMIX
    : Installation
    Class: IFMX, ClassVsn:11.2.0.1.0_0008, Instance: dg4ifmx
    Release of hgogprd, rc = 0
    hostmstr: 2056146944: after hoagprd HOA
    hostmstr: 2056146944: HOA before hoainit
    Hgoinit entries
    HOCXU_COMP_CSET = 1
    HOCXU_DRV_CSET = 171
    HOCXU_DRV_NCHAR = 1000
    HOCXU_DB_CSET = 171
    HOCXU_SEM_VER = 102000
    Entry hgolofn to 2011/05/04-12: 34:55
    RC =-1 of HOSGIP for 'PATH '.
    Path of the environment is 'C:\OraHome_1\bin; C:\oracle\product\10.2.0\db_1\bin; C:\Windows\System32; C:\WINDOWS; C:\WINDOWS\System32\Wbem; C:\Windows\system32\WindowsPowerShell\v1.0; C:\Program Files\Microsoft SQL Server\80\Tools\Binn\; C:\Program Files\Microsoft SQL Server\90\Tools\binn\; C:\Program Files\Microsoft SQL Server\90\DTS\Binn\; C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\; C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\. C:\Informix\Client-SDK\Bin; C:\Program Files\ibm\gsk7\bin; C:\Program Files\ibm\gsk7\lib.
    Setting path to 'C:\OraHome_1\dg4ifmx\driver\lib; C:\OraHome_1\bin; C:\oracle\product\10.2.0\db_1\bin; C:\Windows\System32; C:\WINDOWS; C:\WINDOWS\System32\Wbem; C:\Windows\system32\WindowsPowerShell\v1.0; C:\Program Files\Microsoft SQL Server\80\Tools\Binn\; C:\Program Files\Microsoft SQL Server\90\Tools\binn\; C:\Program Files\Microsoft SQL Server\90\DTS\Binn\; C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\; C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\. C:\Informix\Client-SDK\Bin; C:\Program Files\ibm\gsk7\bin; C:\Program Files\ibm\gsk7\lib.
    Out of hgolofn, rc = 0 to 2011/05/04-12: 34:55
    HOSGIP to 'HS_OPEN_CURSORS' returned '50 '.
    HOSGIP to 'HS_FDS_FETCH_ROWS' returned '1000 '.
    HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536".
    HOSGIP to 'HS_NLS_NUMERIC_CHARACTER' returned '. "
    HOSGIP to 'HS_KEEP_REMOTE_COLUMN_SIZE' returned 'OFF '.
    HOSGIP for "HS_FDS_DELAYED_OPEN" returns 'TRUE '.
    HOSGIP to 'HS_FDS_WORKAROUNDS' returned '0 '.
    HOSGIP to 'HS_FDS_MBCS_TO_GRAPHIC' returned 'FALSE '.
    HOSGIP to 'HS_FDS_GRAPHIC_TO_MBCS' returned 'FALSE '.
    treat_SQLLEN_as_compiled = 1
    Out of hgoinit, rc = 0 to 2011/05/04-12: 34:55
    hostmstr: 2056146944: after hoainit HOA
    hostmstr: 2056146944: HOA before hoalgon
    Entry hgolgon to 2011/05/04-12: 34:55
    Reco:0, name: informix, tflag:0
    Entry hgosuec to 2011/05/04-12: 34:55
    UEncoding = UTF16
    Entry shgosuec to 2011/05/04-12: 34:55
    Out of shgosuec, rc = 0 to 2011/05/04-12: 34:55
    returned shgosuec() rc = 0
    Out of hgosuec, rc = 0 to 2011/05/04-12: 34:55
    HOSGIP to 'HS_FDS_RECOVERY_ACCOUNT' returned 'RECOVER '.
    HOSGIP for "HS_FDS_TRANSACTION_LOG" returns "HS_TRANSACTION_LOG".
    HOSGIP to 'HS_FDS_TIMESTAMP_MAPPING' returned 'DATE '.
    HOSGIP to 'HS_FDS_DATE_MAPPING' returned 'DATE '.
    HOSGIP to 'HS_FDS_CHARACTER_SEMANTICS' returned 'FALSE '.
    HOSGIP for "HS_FDS_MAP_NCHAR" returns 'TRUE '.
    HOSGIP to 'HS_FDS_RESULTSET_SUPPORT' returned 'FALSE '.
    HOSGIP to 'HS_FDS_RSET_RETURN_ROWCOUNT' returned 'FALSE '.
    HOSGIP to 'HS_FDS_PROC_IS_FUNC' returned 'FALSE '.
    HOSGIP to 'HS_FDS_REPORT_REAL_AS_DOUBLE' returned 'FALSE '.
    using informix as a default value to "HS_FDS_DEFAULT_OWNER".
    HOSGIP to 'HS_SQL_HANDLE_STMT_REUSE' returned 'FALSE '.
    Entry hgocont to 2011/05/04-12: 34:55
    HS_FDS_CONNECT_INFO = "[10.1.10.6]:9088/idsenclxsoc/enc3".
    RC =-1 of HOSGIP for 'HS_FDS_CONNECT_STRING '.
    Entry hgogenconstr to 2011/05/04-12: 34:55
    DSN:[10.1.10.6]:9088/idsenclxsoc/enc3, name: informix
    OPTN:
    Entry hgocip to 2011/05/04-12: 34:55
    DSN:[10.1.10.6]:9088/idsenclxsoc/enc3
    Out of hgocip, rc = 0 to 2011/05/04-12: 34:55
    Entry shgogohn to 2011/05/04-12: 34:55
    Ohn is 'OUIHome1 '.
    Out of shgogohn, rc = 0 to 2011/05/04-12: 34:55
    Entry hgocont_OracleCsidToIANA to 2011/05/04-12: 34:55
    Return of 2251
    Out of hgocont_OracleCsidToIANA to 2011/05/04-12: 34:55
    # > connection settings (len = 317) < #.
    # DRIVER = Oracle 11 g dg4ifmx-OUIHome1;
    # HostName = 10.1.10.6.
    # PortNumber = 9088;
    # ServerName = idsenclxsoc;
    # Database = enc3;
    #! UID = informix;
    #! PWD = *.
    # ApplicationUsingThreads = 1;
    # CancelDetectInterval = 0;
    # TrimBlankFromIndexName = 1;
    # IANAAppCodePage = 2251;
    # OctetSizeCalculation = 1;
    # ArraySize = 1000;
    # UseDelimitedIdentifier = 1;
    # TruncateOversizedColumnValues = 0;
    Out of hgogenconstr, rc = 0 to 2011/05/04-12: 34:55
    Entry hgopoer to 2011/05/04-12: 34:55
    hgopoer, line 233: had native error 0 and sqlstate 01 S 00; message follows...
    [Oracle] [Driver ODBC Informix Wire Protocol] An invalid attribute in the connection string: ArraySize. {01 S 00}
    Out of hgopoer, rc = 0 to 2011/05/04-12: 34:55
    hgocont line 2686: call SqlDriverConnect obtained sqlstate 01 S 00
    Entry hgolosf to 2011/05/04-12: 34:55
    ODBC function-available-table 0xFFFE 0x01FF 0xFF00 0x03FF 0xFBFF 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0 x 0000 0xFE00 0x3F5F
    Out of hgolosf, rc = 0 to 2011/05/04-12: 34:55
    DriverName:HGifcl23.dll, DriverVer:06.00.0053 (b0050, U0047)
    DBMS name: Informix, DBMS Version: 09.52.UC3.0000
    Out of hgocont, rc = 0 to 2011/05/04-12: 34:55 with error ptr FILE: hgocont.c LINE: 2686 ID:SQLDriverConnect
    SQLGetInfo Returns Y for SQL_CATALOG_NAME
    SQLGetInfo returns 80 per SQL_MAX_CATALOG_NAME_LEN
    Out of hgolgon, rc = 0 to 2011/05/04-12: 34:55
    hostmstr: 2040471552: after hoalgon HOA
    The RPC nscontrol (0), rc = 0
    hostmstr: 2040471552: CPP before download Caps
    hostmstr: 2040471552: HOA before hoaulcp
    Entry hgoulcp to 2011/05/04-12: 34:55
    Entry hgowlst to 2011/05/04-12: 34:55
    Out of hgowlst, rc = 1 to 2011/05/04-12: 34:55
    SQLGetInfo Returns Y for SQL_PROCEDURES
    SQLGetInfo returns 0x1f for SQL_OWNER_USAGE
    Able TXN: isolation 2, Option: 0xb
    SQLGetInfo returns 32 for SQL_MAX_SCHEMA_NAME_LEN
    SQLGetInfo Returns 128 for SQL_MAX_TABLE_NAME_LEN
    SQLGetInfo Returns 128 for SQL_MAX_PROCEDURE_NAME_LEN
    13 capacity instance will be uploaded
    context: 0x00000000, capno:3007, add info:-3, translation: "36".
    context: 0x00000000, capno:3042, add info: 0, translation: "42".
    context: 0x00000000, capno:3047, add info: 0, translation: "57."
    context: 0x00000000, capno:3049, add info: 0, translation: "59".
    context: 0x00000000, capno:3050, add info: 0, translation: "60".
    context: 0x00000000, capno:3066, add info: 0
    context: 0x00000000, capno:3067, add info: 0
    context: 0x00000000, capno:3068, add info: 0
    context: 0x00000000, capno:3069, add info: 0
    capno:3500, context: 0x00000001, add info: 91, translation: "42".
    capno:3501, context: 0x00000001, add info: 93, translation: "57."
    capno:3502, context: 0x00000001, add info: 107, translation: "59".
    capno:3503, context: 0x00000001, add info: 110, translation: "60".
    Out of hgoulcp, rc = 0 to 2011/05/04-12: 34:55
    hostmstr: 2040471552: after hoaulcp HOA
    hostmstr: 2040471552: CPP after download Caps
    hostmstr: 2040471552: CPP before Upload DDT
    hostmstr: 2040471552: HOA before hoauldt
    Entry hgouldt to 2011/05/04-12: 34:56
    NO translation of DD for instance have been downloaded
    Out of hgouldt, rc = 0 to 2011/05/04-12: 34:56
    hostmstr: 2040471552: after hoauldt HOA
    hostmstr: 2040471552: CPP after Upload DDT
    hostmstr: 2040471552: CPP before Trans
    hostmstr: 2040471552: HOA before hoabegn
    Entry hgobegn to 2011/05/04-12: 34:56
    tflag:0, original: 1
    Hoi:0x12f094, ttid (len 59) is...
    00: 504F5354 42414E4B 2E524547 52455353 [POSTBANK. REGRESS]
    10: 2E524442 4D532E44 45562E55 532E4F52 [.] RDBMS. DEV. US.OR]
    20: 41434C 45 2E434F4D 2E383962 37656636 [ACLE.COM.89b7ef6]
    30: 322E382E 332E3139 303438 [2.8.3.19048]
    tbid (len 10) is...
    0: 684A 0000 08000300 0104 [... hJ...]
    Out of hgobegn, rc = 0 to 2011/05/04-12: 34:56
    hostmstr: 2040471552: after hoabegn HOA
    hostmstr: 2040471552: CPP after begin Trans
    hostmstr: 2040471552: before CPP describe Table
    hostmstr: 2040471552: HOA before hoadtab
    Entry hgodtab to 2011/05/04-12: 34:56
    number: 1
    Table: ENC_GRID
    Entry hgopdsc to 2011/05/04-12: 34:56
    Describing the informix procedure. ENC_GRID
    Output hoada
    hgopdsc, line 1426: NO hoada to print
    Out of hgopdsc, rc = 942 to 2011/05/04-12: 34:56
    The hoada for the ENC_GRID table follows...
    hgodtab, line 904: NO hoada to print
    Out of hgodtab, rc = 0 to 2011/05/04-12: 34:56
    hostmstr: 2040471552: after hoadtab HOA
    hostmstr: 2040471552: RPC table after describe
    hostmstr: 2040471552: CPP before SQL grouping
    hostmstr: 2040471552: HOA before hoxpars
    Entry hgopars, cursor id 1 to 2011/05/04-12: 34:56
    type: 0
    SQL text of hgopars, id = 1, len = 24...
    45 00: 53454 C 4354202A 2046524F 4 202245 [SELECT * 'E]
    ' 10: 4E435F47 52494422 [NC_GRID] '.
    Entry hgopoer to 2011/05/04-12: 34:56
    hgopoer, line 233: had native-206 and sqlstate error 42 S 02; message follows...
    [Oracle] [Driver ODBC Informix Wire Protocol] [Informix] The specified table (ENC_GRID) is not in the database. {42S 02, NativeErr = - 206}
    Out of hgopoer, rc = 0 to 2011/05/04-12: 34:56
    hgopars, line 457: call to SQLPrepare obtained sqlstate 42S 02
    Out of hgopars, rc = 942 to 2011/05/04-12: 34:56
    hostmstr: 2040471552: after hoxpars HOA
    hostmstr: 2040471552: CPP after SQL grouping
    hostmstr: 2040471552: CPP before restoration Trans
    hostmstr: 2040471552: HOA before hoaroll
    Entry hgoroll to 2011/05/04-12: 34:56
    tflag:1, cmt (0):
    Hoi:0x12f098, ttid (len 59) is...
    00: 504F5354 42414E4B 2E524547 52455353 [POSTBANK. REGRESS]
    10: 2E524442 4D532E44 45562E55 532E4F52 [.] RDBMS. DEV. US.OR]
    20: 41434C 45 2E434F4D 2E383962 37656636 [ACLE.COM.89b7ef6]
    30: 322E382E 332E3139 303438 [2.8.3.19048]
    tbid (len 10) is...
    0: 684A 0000 08000300 0104 [... hJ...]
    Entry hgocpctx to 2011/05/04-12: 34:56
    Out of hgocpctx, rc = 0 to 2011/05/04-12: 34:56
    Out of hgoroll, rc = 0 to 2011/05/04-12: 34:56
    hostmstr: 2040471552: after hoaroll HOA
    hostmstr: 2040471552: CPP after restore Trans

    ----------------------------------------------------------

    Here is the initdg4ifmx.ora, just in case:

    # This is a custom agent init file which contains the parameters of HS
    # essential for the Informix database gateway

    #
    # HS init parameters
    #
    HS_FDS_CONNECT_INFO=[10.1.10.6]:9088/idsenclxsoc/enc3
    HS_FDS_TRACE_LEVEL = 255
    HS_FDS_RECOVERY_ACCOUNT = RECOVERY
    HS_FDS_RECOVERY_PWD = RECOVERY


    Thanks in advance for any help

    Branko

    When you look at the trace of the gateway, the gateway that is looking for a table called "ENC_GRID".
    Informix tables commonly are case sensitive so please check your select statement, write the table/column names as they are defined in tables/columns Informix datbase and surround names in double quotes.

    For example the enc_grid table contains only letters of less than your Informix database, and then type: select * from 'enc_grid"@dblink;

    Edited by: kgronau may 4, 2011 12:56

  • How to connect to remote oracle (10g and 11g) db Unix and window

    Hi all
    Hopefully an easy one.

    I have two Linux RH configured oracle databases.
    I use spfiles not ora.init files
    I want to maintain the cleanliness of my db and so restrict access remote ones with nicknames known so that if something goes wrong, I can follow who/what/how the newspaper.

    I want to enable users to connect both via call remote sqlplus to Unix and Windows.

    Users must be able to emit a sqlplus user/pwd@host command and be taken to a connection on the server.

    Q is:
    Do I need on my server of the client/Oracle/Oraclelite/or access point what?

    Q2. Should what command I similar to what I mentioned above?

    Q3. Should I tnsnames.ora on each host in the customer?

    Any help would be good on this.

    Hi user633084!

    the minimum requirement is that you have installed Oracle Clienttools about all your customers. After that, you need to configure a tnsnames.ora on each client with the descriptors for each DB connection. The command to connect to the DB from the client is sqlplus username/password@sid.

    hope that helps

    your sincerely

  • Oracle VPD and multiple users

    Hi all

    I'm currently implementing VPD on our database, but I found a problem that I don't understand.

    We have 4 users on the same database

    -sysadmin_vpd (admin vpd packages)

    -owner_usr (owner of the schema)

    -org_1 and org_2 (access owner_usr tables using synonyms)

    All tables have been created on the owner_usr schema has the same column (nrorg) I want to use to filter the data automatically with the user who is logged on the database (org_1 or org_2)

    That's what I did:

    sysadmin_vpd/password login

    CONTEXT to CREATE or REPLACE nrorg_ctx USING nrorg_ctx_pkg;

    CREATE OR REPLACE PACKAGE nrorg_ctx_pkg

    PROCEDURE set_nrorg (number NRORG);

    END;

    CREATE OR REPLACE PACKAGE BODY nrorg_ctx_pkg

    PROCEDURE set_nrorg (number NRORG)

    AS

    BEGIN

    DBMS_SESSION. SET_CONTEXT ('nrorg_ctx', 'nrorg', NRORG);

    END set_nrorg;

    END;

    CREATE OR REPLACE TRIGGER set_nrorg_trg

    AFTER LOGON ON DATABASE

    BEGIN

    IF SUBSTR(USER,1,4) = "ORG_" THEN

    sysadmin_vpd.nrorg_ctx_pkg.set_nrorg (TO_NUMBER (substr (User, 5, 10)));

    END IF;

    END;

    Here, I can test the trigger and the context variable:

    owner_usr/password login

    SELECT SYS_CONTEXT ('nrorg_ctx', 'nrorg') AS NRORG FROM DUAL;

    NRORG

    ------------------------------------------------


    org_1/password login

    SELECT SYS_CONTEXT ('nrorg_ctx', 'nrorg') AS NRORG FROM DUAL;

    NRORG

    ------------------------------------------------

    1


    org_2/password login

    SELECT SYS_CONTEXT ('nrorg_ctx', 'nrorg') AS NRORG FROM DUAL;

    NRORG

    ------------------------------------------------

    2


    Back to the sysadmin_vpd user, I created the function to return the predicate.


    (Get_nrorg_pred) CREATE or REPLACE FUNCTION

    schema_p IN VARCHAR2,

    table_p IN VARCHAR2)

    RETURN VARCHAR2

    AS

    nrorg_pred VARCHAR2 (400) value default NULL;

    BEGIN

    IF SUBSTR(USER,1,4) = "ORG_" THEN

    nrorg_pred: = ' NRORG = ("nrorg_ctx", "nrorg") SYS_CONTEXT';

    END IF;

    RETURN nrorg_pred;

    END;


    owner_usr/password login

    SELECT FROM DUAL PRED sysadmin_vpd.get_nrorg_pred (NULL, NULL);

    PRED

    --------------------------------------------------


    org_1/password login

    SELECT FROM DUAL PRED sysadmin_vpd.get_nrorg_pred (NULL, NULL);

    PRED

    --------------------------------------------------

    NRORG = SYS_CONTEXT ('nrorg_ctx', 'nrorg')

    org_2/password login

    SELECT FROM DUAL PRED sysadmin_vpd.get_nrorg_pred (NULL, NULL);

    PRED

    --------------------------------------------------

    NRORG = SYS_CONTEXT ('nrorg_ctx', 'nrorg')

    If I connect to the database using owner_usr the function returns an empty predicate. Connect using org_1 or org_2 returns the predicate to filter select it as expected.


    Back to the sysadmin_vpd user, I created the policy


    BEGIN

    DBMS_RLS. () ADD_POLICY

    object_schema = > 'OWNER_USR ',.

    object_name = > "TABLE1."

    POLICY_NAME = > "NRORG_POLICY"

    function_schema = > 'SYSADMIN_VPD ',.

    policy_function = > 'GET_NRORG_PRED ',.

    statement_types = > ' select, insert, update, delete.

    policy_type = > DBMS_RLS. SHARED_CONTEXT_SENSITIVE);

    END;


    owner_usr/password login

    SELECT DISTINCT FROM TABLE1 NRORG;

    NRORG

    -----------------

    1

    2


    connect org_1 and password

    SELECT DISTINCT NRORG FROM owner_usr. TABLE1;

    NRORG

    -----------------

    1

    2


    connect org_2 and password

    SELECT DISTINCT NRORG FROM owner_usr. TABLE1;

    NRORG

    -----------------

    1

    2


    As you can see, if I connect to the database using the owner of that selection is not filtered like I wanted. But if I connect using org_1 or org_2 all data are displayed... Why?


    I also tried to create synonyms and creating policy for the synonym... No chance!


    connect org_1 and password

    CREATE A SYNONYM FOR OWNER_USR TABLE1. TABLE1;


    SELECT DISTINCT FROM TABLE1 NRORG;

    NRORG

    -----------------

    1

    2


    BEGIN

    DBMS_RLS. () ADD_POLICY

    object_schema = > 'ORG_1 ',.

    object_name = > "TABLE1."

    POLICY_NAME = > "NRORG_POLICY"

    function_schema = > 'SYSADMIN_VPD ',.

    policy_function = > 'GET_NRORG_PRED') ;

    END;


    SELECT DISTINCT FROM TABLE1 NRORG;

    NRORG

    -----------------

    1

    2


    What I am doing wrong? Can someone help me?


    Thank you!

    I just understand... The problem was in the users org_1 and org_2.

    My coleague created users of theses and gave them grants more than it should... I have everything, revoked granted only SELECT and RESOURCES and this is...

    I don't know what was the grant that substitute policy... Anyone know?

    Thanks anyway...

  • Oracle 11g and then the database export import in oracle 10g

    Hello! There everyone...

    Please tell me the way to export the data and my data structures i.e. the comprehensive database of Oracle 11 g to the old version (oracle 10g) and how he import it...

    I move the database from one computer to another without lan, preferably via the storage device...

    http://download.Oracle.com/docs/CD/B28359_01/server.111/b28319/dp_overview.htm#CEGFCFFI

    http://download.Oracle.com/docs/CD/B28359_01/server.111/b28319/dp_export.htm#i1009711

  • Oracle enterprise linux and oracle 10g?

    Hey;

    I am fairly new to try to download oracle and get installed on a linux machine. I made a few attempts on linux fedora core 10 and home edition of windows vista that does not go very far. Since I just passed my exams for ocp via a boot camp (yay for me!), I'm hoping to get a couple of linux boxes operational so that down the concepts by the practice.

    From what I read, it seems that I can download enterprise linux, put it on a system and then download oracle 10g and install this w/little or no difficulty (at least not expected...)

    Am I reading that right or did I miss something? Any info greatly apprecaited.

    Doug O'Leary

    Hello

    You can download enterprise linux and 10g and go there. Pre-packaged for the components required to install the oracle Enterprise linux software, here is a link for further reference see cross-platform compatibility.

    http://www.Oracle.com/technology/support/MetaLink/index.html

    Concerning
    OrionNet

    Published by: OrionNet on June 8, 2009 17:00

  • is it possible to rename tablespace dictionary managed in oracle 10g?

    Hello

    Assume that my system tablespace is dictionary managed in oracle 10g and one of my permanent tablespace is managed dictionary.
    Pls let me know that permanent dictionary managed tablespace can be renamed or do not rename tablespace command or only locally managed tablespaces can be renamed?

    Thank you
    DB

    Hi, you can still rename a dictionary managed tablespace

  • form how to do that in oracle 10g

    Hi all
    the shape of any idea on how to format a disk by using oracle 10g and stopping the remote pc and a home pc using oracle Forms 10g.
    I am using windows XP2 operating system.

    Please review...

    You must use client_host, not host. When you use host, you are trying to shut down the server!
    And what is "remotely shutting down the pc? You want to tell someone to another pc? If it's your own pc, does not remotely, but locally.

    You can try this first to see if the dialog box appears:
    client_host (' cmd/c shutdown-i');

  • Oracle AWR and ADDM report for a multiple instance Oracle database 11 g 2 (RAC)

    Hello

    How to create an Oracle AWR and ADDM report for a multiple instance (RAC) Oracle database 11 g 2?

    Concerning

    Hello

    Oracle DB 11 g 2 AWR Global report before 11 GR 2, the awrrpt.sql generation

    under $ORACLE_HOME/rdbms/admin only generates the report awr for the local instance.

    You will need to collect for each RAC instance awr report.

    11 GR 2, there are two new scripts awrgrpt.sql AND awrgdrpt.sql for CARS

    awrgrpt. SQL - AWR Global report (RAC) (global report)

    awrgdrpt. SQL - overall Diff AWR (RAC) report.

    Some other important scripts under $ORACLE_HOME/rdbms/admin

    spawrrac. SQL - Server Performance RAC report

    awrsqrpt. SQL - statement of the standard ANSI SQL92 report

    awrddrpt. SQL - period diff on the current instance

    awrrpti. SQL - workload repository Instance (RAC) report

    REF link:

    ADDM enhancements in Oracle Database 11 g & mdash; DatabaseJournal.com

Maybe you are looking for

  • Just updated and now lost my icons on bookmarks.

    Firefox has sent a "update available" 16/01/12. Now I lost my icons on my favorites.

  • I changed my ram and something is wrong

    Hello I am having trouble with my MacBook Pro. It's from early 2011, and it got REALLY slow down recently. Everything seemed to go well in general so I bought new Ram (2 x 4 GB instead of the 2x2gb installed). A few hours ago, I installed the RAM and

  • RV016 more Port DMZ

    Hello I shoul have more then a DMZ Port on my RV016. It would be possible to define spez VLAN with 4 Ports and connect the DMZ Port with a 50cm Patchcord on the 4 Ports and so having the DMZ on the other 3 Ports too? and the DMZ area must come a Hurr

  • BlackBerry smartphones, I deleted an e-mail account but the folder still appears on my home screen

    I deleted an e-mail account, but the folder still appears on my home screen.  It doesn't let me delete it.  The e-mail account is no longer shows on the screen for managing Email accounts, so it should be deleted from my phone.  I tried to remove the

  • Set up a query (written Re)

    Hi Experts,I am facing a problem in executing the query that take a long time. And I'm new to setting up a query, kindly help me in this query to reduce the time of execution below.After reading the stories, I am unable to find how to get the executi