Problems with Oracle 11g R2 XE

Hi guys,.

I had a problem and have to solve for abt a week now and tried a lot of solutions.

My environment:

Windows 7 Professional SP 1 64-Bit

AMD Phenom II x 4 940 @3.0 GH

4 GB of RAM (in use during the installation of 40%)

The Windows Firewall is enabled (but oracle.exe and lstnr.exe are configured as an exception)

Avast! FREE Antivirus Version 2014.9.0.2018

Installation (both times with the same result):

Installed O 11g 64-Bit XE in two different ways:

I was logged in with user lies in Admingroup

Installation started via right click with administrationprivileges

I activated the Administrators account and logged with adminprivileges.

After that, I installed the 11g XE 64 bit

between the two steps I cleaned and restarted my system, register was too empty and the file has been deleted manually

as a first step, I get this problem: Windows cannot find " " http://127.0.0.1:%HTTPPORT%/Apex/f?p=4950 "

-> Manually changing HTTPORT % to 8080

-> now I could double-click the shortcut, Firefox/IE/Chrome opens but 404 not Found error is returned

-XracleXETNListener OracleServiceXE, both are running

[code]

C:\Windows\System32 > lsnrctl status

LSNRCTL for 64-bit Windows: Version 11.2.0.2.0 - Production on November 4, 2014 18:02

: 56

Copyright (c) 1991, 2014, Oracle.  All rights reserved.

Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1)))

AMT-12541: TNS:no listener

AMT-12560: TNS:protocol adapter error

AMT-00511: no listener

Windows 64-bit error: 2: no such file or directory

Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = D³rsinKurt-PC)(PORT=1521)

)))

STATUS of the LISTENER

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

Alias LISTENER

TNSLSNR for Windows 64-bit version: Version 11.2.0.2.0 - Prod

ction

Start date November 4, 2014 13:53:50

Uptime 0 days 4 h 9 min 9 s

Draw level off

Security ON: OS Local Authentication

SNMP OFF

Listener log file C:\oraclexe\app\oracle\diag\tnslsnr\D³rsinKurt-PC\list

ener\alert\log. XML

Summary of endpoints listening...

(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = D³rsinKurt-PC)(PORT=1521)))

The listener supports no services

The command completed successfully

[/ code]

If Listenerservice is up and running, but I can't find the http Service 8080 with netstat-a

so I started to study a little more:

Registryfolder: HK_LOCAL_MACHINE\SOFTWARE\ORACLE is installed

following subdirectories are installed: KEY_XE, ODP.NET, OracleMTSRecoveryService

What I tried (both ways, with and without adminstrationprivileges):

I created two new DWORD values in KEY_XE ORACLE_SID_AUTOSTART and - STOP both to true and stopped and started services, nothing changes.

Inserted the two users (Administrator and normal user) in the Group ORA_DBA, nothing changes, even tried to set and the new

you wanted to connect to sqlplus using the console:

C:\Windows\System32 > sqlplus system

SQL * more: Production version 11.2.0.2.0 on 4 Nov 18:09:21 Di 2014

Copyright (c) 1982, 2014, Oracle.  All rights reserved.

Enter the password:

ERROR:

ORA-01034: ORACLE not available

ORA-27101: shared memory realm does not exist

Process ID: 0

Session IDs: serial number 0: 0

Enter the user name:

When I start directly at the sqlplus prompt and write the start of the command I got the following msg: ORA-01031: insufficient privileges

I looked in the folder ORA_BASE and looked at the oradat file, it contains a XE-folder that is empty, the admin folder contains: XE / and adump, dpdump and pfile, all three are empty (what does this mean? No DB created at all?)

I looked at the file ORA_HOME and found initXE.ora, oradba.exe, oradim and PWDXE.ora

I looked in the oradim.txt log:

Kills Nov 04 11:21:17 2014

C:\oraclexe\app\oracle\product\11.2.0\server\bin\oradim.exe-arret-SID xe - usrpwd * - immediate shutmode - log oradim.log

Kills Nov 04 11:21:55 2014

ORA-01012: not connected

Kills Nov 04 11:23:01, 2014

C:\oraclexe\app\oracle\product\11.2.0\server\bin\oradim.exe-demarrage-SID xe - usrpwd * - log oradim.log - nocheck 0

Kills Nov 04 11:23:38 2014

ORA-01078: failure in the treatment of system settings

ORA-01565: error in the identification of the file "C:\oraclexe\app\oracle\product\11.2.0\server\dbs/spfileXE.ora".

ORA-27041: could not open the file

04002 - OSD: could not open the file

S/O-error: (OS 2) Das System kann die angegebene Datei nicht find.

-> bingo, 1st question: there is no spfileXE.ora, how can I create it? more in the dbs-file there is only an init.ora and not initXE.ora?

Looked in the log-file files 5 from clscX.txt (probably after each systemreboot? containing the following):

Oracle Database 11g Clusterware Release 11.2.0.2.0 - Production Copyright 1996, 2010 Oracle. All rights reserved.

2014-11-04 - 13:53:52.197: [5576] [default] ut_read_reg:2:ocr SOFTWARE\Oracle\olr registry key cannot be opened. error 2

[DESTROYED] clse_get_crs_home [5576]: error recovery configuration OLR [0] [error opening of the olr registry key. The system could not find the file.

]

-> SystemLanguage is German, so I translated the German parts, perhaps he was lost in the translation of sth

-> 2nd question: is there a missing registry key?

In addition, I looked at the ORACLE_HOME/server/config/home cloesly folder:

cloneDBCreation:

SQL > Create controlfile reuse database "XE" value

2 MAXINSTANCES 8

MAXLOGHISTORY 3 1

MAXLOGFILES 16 4

5 MAXLOGMEMBERS 3

6 MAXDATAFILES 100

DataFile 7

8 "C:\oraclexe\app\oracle\oradata\XE\system.dbf"

9 "C:\oraclexe\app\oracle\oradata\XE\undotbs1.dbf."

10 "C:\oraclexe\app\oracle\oradata\XE\sysaux.dbf."

11 'C:\oraclexe\app\oracle\oradata\XE\users.dbf '.

LOGFILE 12

13 GROUP 1 SIZE 51200K,

14 GROUP 2 SIZE 51200K,

15 RESETLOGS;

SP2-0640: not connected

SQL > exec dbms_backup_restore.zerodbid (0);

SP2-0640: not connected

SP2-0641: "EXECUTE" requires the connection to the server

SQL > shutdown immediate;

ORA-01012: not connected

"SQL > startup nomount pfile="C:\oraclexe\app\oracle\product\11.2.0\server\config\scripts\initXETemp.ora ";

ORA-01031: insufficient privileges

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

CloneRmanRestore:

"SQL > startup nomount pfile="C:\oraclexe\app\oracle\product\11.2.0\server\config\scripts\init.ora ";

ORA-01031: insufficient privileges

SQL > @C:\oraclexe\app\oracle\product\11.2.0\server\config\scripts\rmanRestoreDatafiles.sql;

SQL > set off echo;

SP2-0640: not connected

SP2-0640: not connected

SP2-0640: not connected

ERROR:

ORA-01031: insufficient privileges

SQL > spool C:\oraclexe\app\oracle\product\11.2.0\server\config\log\cloneDBCreation.log

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

PostDBCreation:

QL > Connect "SYS" / "' * ' as SYSDBA"

ERROR:

ORA-01031: insufficient privileges

SQL > set echo on

SQL > //create or replace directory DB_BACKUPS as 'C:\oraclexe\app\oracle\fast_recovery_area ';

SP2-0103: nothing in the SQL buffer to run.

SQL > start

2 dbms_xdb.sethttpport('8080');

3 dbms_xdb.setftpport('0');

4 end;

5.

SP2-0640: not connected

SQL > create spfile='C:\oraclexe\app\oracle\product\11.2.0\server\dbs/spfileXE.ora 'FROM pfile='C:\oraclexe\app\oracle\product\11.2.0\server\config\scripts\init.ora ';

SP2-0640: not connected

SQL > shutdown immediate;

ORA-01012: not connected

SQL > connect "SYS" / "' & & sysPassword ' as SYSDBA"

ERROR:

ORA-01031: insufficient privileges

.

.

.

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

SQL > @C:\oraclexe\app\oracle\product\11.2.0\server\rdbms\admin\dbmssml.sql;

SP2-0310: cannot open the file 'C:\oraclexe\app\oracle\product\11.2.0\server\rdbms\admin\dbmssml.sql '.

SQL > @C:\oraclexe\app\oracle\product\11.2.0\server\rdbms\admin\dbmsclr.plb;

SQL > DROP PUBLIC DATABASE LINK DBMS_CLRDBLINK;

SP2-0640: not connected

SQL > CREATE the PUBLIC DATABASE LINK DBMS_CLRDBLINK with the HELP of "ORACLR_CONNECTION_DATA";

SP2-0640: not connected

SQL > CREATE or REPLACE LIBRARY wrapped ORACLECLR_LIB

2 a000000

1 of 3

4 abcd

5-abcd

6 abcd

7 abcd

8 abcd

9 abcd

10 abcd

11-abcd

12 abcd

13 abcd

14 abcd

ABCD 15

ABCD 16

17 abcd

18 abcd

19 16

20 51 8 d

21 L/XXXXXXXXXX...

XXXXXXX 22...

23

24.

SP2-0640: not connected

SQL > DROP TYPE DBMS_CLRParamTable;

SP2-0640: not connected

SQL > DROP TYPE DBMS_CLRType;

SP2-0640: not connected

SQL > CREATE or REPLACE TYPE wrapped DBMS_CLRType

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

XE:

The created instance.

So I hope this is enough information

Thanks in advance

Dursin Kurt

OK guys I found:

Problem is the XE.bat - Script could not add me to the ORA_DBA group.

Reason: my Computername and username, both had a mutation of the vowel 'u '.

Why it has not worked to my laptop computer company too have both my 'U' in the username

solved!

Tags: Database

Similar Questions

  • IMPDP-problem with Oracle 11g XE

    Hello
    I am trying to import a dump file of the Oracle 11 g R2 database Oracle 11 g XE. I created the directory and everything starts very well. But after a few seconds, impdp stops with the following error message:

    C:\users\administrator > impdp dumpfile = exp_full.dmp IMP_DIR = system directory

    Import: Release 11.2.0.2.0 - Production on Dez Di 27 11:27:33 2011

    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    Password:

    Connected to: Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production

    UDI-31626: operation there was error ORACLE 31626
    ORA-31626: there is no job
    ORA-39086: cannot retrieve information about jobs
    ORA-06512: at "SYS." DBMS_DATAPUMP', line 3326
    ORA-06512: at "SYS." DBMS_DATAPUMP', line 4551
    ORA-06512: at line 1

    Somebody has seen this before or anyone able to help out me? I tried SYS, SYSTEM connection and also tried complete imports or only certain schema imports, with no luck.

    Best regards

    Jürgen

    Edition and version (full version in five characters please, not marketing label) source of database export?

    The impdp session produced something else? What does the last lines of the log output to say, other than what is posted above?

    What happens if you export and import the specific schema only?

    Also:
    Impdp help = y

    Search the description for the EXCLUDE parameter.

    Published by: orafad on December 27, 2011 13:10

  • apex 4.0 with oracle 11g ee mail

    Hello

    I spent when you work with apex 3 I could work with apex mailsend very nice.
    Apex 4.0 with oracle 11g ee, I'm not able to send emails any more.

    Last error message in the queue is:

    ORA-29279: permanent SMTP error: 550 via this server without authentication.
    the smtp server has not been changed, the code is very well

    How can I go further?

    Thank you very much
    Florin

    Florin,

    Make sure that you use the relevent to instructions for your version.
    If you use 4.0 - you probably want the same script - with use of APEX_040000 appropriate.

    See the steps of INSTALLATION of document ITEM.

    http://docs.Oracle.com/CD/E17556_01/doc/install.40/e15513/otn_install.htm#CBHBABCC

    -Make sure that you don't drop the former users of apex framework before update or remove them from the ACL. It can cause you problems.

    -Tim St.

    P.S. Take a minute to update your profile so that your name is clear.

    Published by: Tim St. H., December 11, 2012 16:54

  • Problem with Oracle 9i and Oracle 11g

    Hello
    I have 2 Installation of Oracle: Oracle 9i client and Server Oracle 11.2
    Oracle 9i to: C:\oraclient9\
    Oracle 11g: C:\app\a.l\product\11.2.0\

    I have an application that has to connect to Oracle via ODBC, but whenever I try to connect looking for odbc Oracle 9i and I get this error:
    ORA-12541: TNS no listener

    If I try to boot with sqlplus to: start-> run-> sqlplusw get Oracle 9i version

    If I'm running sqlplus from start-> program-> Oracle 11-> I can connect properly.

    If I try to create a new ODBC it always plug the Oracle version 9i.

    I tried:
    Set ORACLE_HOME=C:\app\a.l\product\11.2.0\dbhome_1
    Set ORACLE_SID = ORCL

    but when I try: sqlplus / as sysdba I get this error:
    14 error initializing SQL * more
    SP1 file < lang > .msb not found message
    SP2-0750: you may need to set ORACLE_HOME in your Oracle software directory

    If I try to boot with sqlplus to: start-> run-> sqlplusw get Oracle 9i version with the error:
    ORA-12541: TNS no listener

    Variables environment variables in the path are:
    C:\oraclient9\bin; C:\Program Files\Oracle\jre\1.3.1\bin; C:\Program Files\Oracle\jre\1.1.8\bin; C:\app\a.l\product\11.2.0\dbhome_1\BIN; C:\app\a.l\product\11.2.0\dbhome_1\bin;%SystemRoot%\System32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SystemRoot%\system32\WindowsPowerShell\v1.0\; C:\Program Files\Sybase\SQL Anywhere 9\win32. C:\Program Files\Sybase\Shared\win32; C:\Program Files\Sybase\SQL Anywhere 9\drivers; C:\Program Files\Sybase\Shared\Sybase 4.2 Central; c:\Program Files\Microsoft SQL Server\90\Tools\binn\; C:\Progra~1\XRay



    tnsnames 11g:
    # tnsnames.ora Network Configuration File: C:\app\a.l\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    
    LISTENER_ORCL =
      (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    
    
    ORACLR_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
        )
        (CONNECT_DATA =
          (SID = CLRExtProc)
          (PRESENTATION = RO)
        )
      )
    
    ORCL =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = orcl.domopenplan.local)
        )
      )
    tnsnames 9i:
    # TNSNAMES.ORA Network Configuration File: C:\oraclient9\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    
    ORCL.DOMOPENPLAN.LOCAL =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
        )
        (CONNECT_DATA =
          (SERVICE_NAME = orcl.domopenplan.local)
        )
      )
    11g listener.ora:
    # listener.ora Network Configuration File: C:\app\a.l\product\11.2.0\dbhome_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = C:\app\a.l\product\11.2.0\dbhome_1)
          (PROGRAM = extproc)
          (ENVS = "EXTPROC_DLLS=ONLY:C:\app\a.l\product\11.2.0\dbhome_1\bin\oraclr11.dll")
        )
        (SID_DESC =
          (GLOBAL_DBNAME = orcl.domopenplan.local)
          (SID_NAME = orcl.domopenplan.local)
          (ORACLE_HOME = C:\app\a.l\product\11.2.0\dbhome_1)
          (PROGRAM = extproc)
          (ENVS = "EXTPROC_DLLS=ONLY:C:\app\a.l\product\11.2.0\dbhome_1\bin\oraclr11.dll")
        )
      )
    
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.103)(PORT = 1521))
        )
      )
    
    ADR_BASE_LISTENER = C:\app\a.l
    Do you have any idea how I can create a new ODBC to connect to Oracle 11g?

    Thanks in advance!

    opening for the system control window Server DB & question OS command sequence

    lsnrctl status
    set
    lsnrctl service

    COPY orders & results then PASTE all come back here

  • OBIEE 10.1 with Oracle 11g

    10 OBIEE can work with Oracle 11 g?

    I installed OBIEE 10 g on my laptop (window Home premium Vista)

    I then installed Oracle database 11g (desktop version)

    When I tried to import the database into the administrator create a repository, I provided the connection string for oracle 11g, but it gave me following error

    Failed to load c:\OracleBI\Server\bin\nqsdbgatewayoci10g.dll dll. Check if the database Oracle 10 g client is installed.

    Edited by: 967447 November 30, 2012 07:12

    Try to reinstall or install the Oracle client with advanced features. That solved your problem.

    OR
    1.uninstall/remove the previous 64 Bit JDK, 64-bit Oracle Client and OBIEE
    2. download and install the 32 Bit JDK and the 32 Bit Oracle 11 G client
    3 reinstall OBIEE OTM Administrator Guide

    Appreciate if you mark as correct

  • Problem with Oracle Forms 11 g 2 on linux

    Dear all

    Here's the problem:

    • -J' installed Oracle Forms 11 GR 2 (11.1.2.2.0) on Linux from Oracle using the JDK 1.7.0_79 6.6
    • -J' solved all the problems and issues of the Arab reports.
    • -Now regarding the oracle forms now when I compile the FMAS on WINDOWS and move them to LINUX, they work very well except for forms that use WEBUTIL the form runs but WEBUTIL functions do not work
    • - So I tried to compile these forms on LINUX now WEBUTIL feature works, but all forms (with or without WEBUTIL) compiled under LINUX display this exception message before the race, here is the behavior:

    1. 1 - the form has a trigger CONNECTION on, but here's what's happening
      01.jpg
    2. 2. after pressing ok, it requires logon, and when I try to log displays the ORA-12705 as above and so on

      02.jpg
    3. 3. but after I click on cancel turns on and uses the trigger opening SESSION and works of good form

    Hope there is a solution for this.

    Best regards.

    The problem was because I was using a NLS_LANG that contains a space in the value and it is surrounded by quotes like NLS_LANG ='NLS_LANG ARABIC_SAUDI ARABIA. AR8MSWIN1256', which worked very well with reports.

    but it seems that the quotes were causing problems with forms,

    So I put NLS_LANG to the two forms and reports ARABIC_EGYPT reports.sh default.env. AR8MSWIN1256 OR ARABIC_AMERICA. AR8MSWIN1256

    both work well, now no NLS_LANG, error

    but the question of having to recompile the forms when moved to another server, who I thought he was still a known issue.

    Best regards.

  • Forms 6i with oracle 11g release2

    Hello

    I have an application developed using forms 6i (6.0.8.24.1), the application runs fine on the server oracle 9.2.0.1 and
    When I try to test the application on oracle 11.2.0.1 server the application connected with the right database
    and works fine but I have a problem

    for each call from the screens of report forms, the application always appear the connect window
    ask me on the

    user name:
    password:
    database

    How can I solve this problem

    I greatly appreciate your help

    Thanks in advance.

    This could be a problem with passwords case-sensitive, which were introduced with DB-version 11. There is a system parameter in the database for this set to

    ALTER SYSTEM SET SEC_CASE_SENSITIVE_LOGON = FALSE;
    
  • Problem with Oracle performance

    Hi all

    I use Oracle database 11 g 2.

    I am facing a problem with one of my queries.


    Scenario is:
    I associate myself with 3 tables.
    The engine is saa_hist.saa_rep_product_activity (70 million lines).
    The second table is scmsa_hist.scmsa_sub_feature_trueup (900 million lines).
    The third table is saa_hist.saa_rep_subscriber_activity (35 million lines).

    The output of the query will be only about 120K.

    I'm majoriy of the columns in the first table. On the other hand, we get 2 columns and in table 3, we get a single column.

    When I join all 3 tables as it appears in the query runs for 6 hours. (The

    SELECT / * + PARALLEL_INDEX(R,SAA_REP_PRODUCT_ACTIVITY_BI,12)
    PARALLEL(SUB,24)
    PARALLEL_INDEX(RR,SAA_REP_SUBSCRIBER_ACTIVITY_I1,8)

    */
    R.*, sub.mrc, sub. RATEPLANCODE, rr.measure_group_id
    Saa_hist.saa_rep_product_activity r
    JOIN scmsa_hist.scmsa_sub_feature_trueup sub
    ON sub.job_log_id = r.job_log_id
    AND sub.service_number = r.msisdn
    AND sub.ban = r.account_number
    AND sub.soc_code = r.product_id_code
    LEFT OUTER JOIN saa_hist.saa_rep_subscriber_activity rr
    ON rr.quantity = 1
    AND rr.service_universal_id = r.service_universal_id
    AND rr.msisdn = r.msisdn
    AND rr.account_number = r.account_number
    WHERE r.billing_subsystem_id = 1
    AND 1 = 1
    AND r.batch_key BETWEEN 674 AND 675;

    The explain command plan looks good for this one and the cost is also okay(222K). I don't see any S-> data flow in the Section of IN-OUT of the explain plan P.

    -----------------------------------------------------------------------------------------------------------------
    | ID | Operation | Name | TQ | IN-OUT | PQ Distrib.
    -----------------------------------------------------------------------------------------------------------------
    | 0 | SELECT STATEMENT |
    | 1. COORDINATOR PX |
    | 2. PX SEND QC (RANDOM). : TQ10001 | Q1, 01 | P > S | QC (RAND) |
    | 3. NESTED EXTERNAL LOOPS | Q1, 01 | SVCP |
    | 4. HASH JOIN | Q1, 01 | SVCP |
    | 5. JOIN FILTER PART CREATE | : BF0000 | Q1, 01 | SVCP |
    | RECEIVE 8 2 PX | Q1, 01 | SVCP |
    | 7. PX SEND LOCAL BROADCAST | : TQ10000 | Q1 00 | P > P | BCST LOCAL |
    | 8. PX HASH PARTITION ALL | Q1 00 | ISSUE |
    | 9. TABLE ACCESS BY LOCAL INDEX ROWID | SAA_REP_PRODUCT_ACTIVITY | Q1 00 | SVCP |
    | 10. CONVERSION OF BITMAP IN ROWID | Q1 00 | SVCP |
    | 11. BITMAP INDEX RANGE SCAN | SAA_REP_PRODUCT_ACTIVITY_BI | Q1 00 | SVCP |
    | 12. FILTER-HASH PARTITION PX JOIN | Q1, 01 | ISSUE |
    | 13. TABLE ACCESS FULL | SCMSA_SUB_FEATURE_TRUEUP | Q1, 01 | SVCP |
    | 14. RANGE OF PARTITION ALL THE | Q1, 01 | SVCP |
    | 15. HASH PARTITION ALL | Q1, 01 | SVCP |
    | 16. TABLE ACCESS BY LOCAL INDEX ROWID | SAA_REP_SUBSCRIBER_ACTIVITY | Q1, 01 | SVCP |
    | 17. INDEX RANGE SCAN | SAA_REP_SUBSCRIBER_ACTIVITY_I1 | Q1, 01 | SVCP |
    -----------------------------------------------------------------------------------------------------------------

    But when I joined the first two tables and run as shown below, the request is get executed in 13 Minutes.

    SELECT / * + PARALLEL_INDEX(R,SAA_REP_PRODUCT_ACTIVITY_BI,12)
    PARALLEL(SUB,24)
    */
    R.*, sub.mrc, sub. RATEPLANCODE, rr.measure_group_id
    Saa_hist.saa_rep_product_activity r
    JOIN scmsa_hist.scmsa_sub_feature_trueup sub
    ON sub.job_log_id = r.job_log_id
    AND sub.service_number = r.msisdn
    AND sub.ban = r.account_number
    AND sub.soc_code = r.product_id_code;

    Therefore, I created a temporary table with this data and made a left outer join with the other 3 table. It runs a few seconds and I can say all the data I am able to take less than 15 minutes to 6 hours.

    So my question is that why Oracle is a strange behavior.

    I tried all approaches to avoid this kind of behavior methods but unable to produce the same thing as how I did in the second approach.

    For example, I joined the first two tables and use NO_MERGE hint with the third table and always NO_MERGE, PUSH_PRED's not going anywhere. I tried Inline view and it doesn't give me any improvement in performance.
    I'm tempted to do it using WITH Clause with two tables and then joined the data set with the third table. But still does not.
    I tried hint ORDINATE and yet so big difference.
    I even tried to force some clues which are presentm, but the 50Million cost ranges from 200K.
    I think I'm exhausted all the possibilities.

    I'd appreciate any Oracle guru can help me what is the issue.

    Thank you
    NKM

    You could start trying to impose (with extensive predicates) what you discover or believe work better.
    In this case I usually found the ansi syntax not useful and often the optimizer ignore my intentions:(mais il n'y a pas de mal essayer)

    select x.*,
           rr.measure_group_id
      from (select r.*
                   sub.mrc,
                   sub.rateplancode,
              from (select *
                      from saa_hist.saa_rep_product_activity
                     where billing_subsystem_id = 1
                       and batch_key between 674 and 675
                   ) r,
                   scmsa_hist.scmsa_sub_feature_trueup sub
             where sub.job_log_id = r.job_log_id
               and sub.service_number = r.msisdn
               and sub.ban = r.account_number
               and sub.soc_code = r.product_id_code
           ) x,
           (select service_universal_id,
                   account_number,
                   msisdn,
                   measure_group_id
              from saa_hist.saa_rep_subscriber_activity
             where quantity = 1
           ) rr
     where x.service_universal_id = rr.service_universal_id(+)
       and x.msisdn = rr.msisdn(+)
       and x.account_number = rr.account_number(+)
    

    Concerning

    Etbin

  • Problems with Oracle sql developer

    Hello

    I have problems with my Oracle SQL developer 3.0.04 Version. It makes windows unstable once the query tries to display too many rows of data (for example, 300 k). Is there a way to solve this problem in addition to increasing the amount of physical memory? I currently have only 1 GB of RAM on this machine. Thank you.

    Hello

    Upgrading hardware can be a very satisfying experience, especially as it is almost always little expensive compared to the value of your time. Virtual memory / paging on the Windows and PC hardware is a huge disappointment, so more memory on Windows is a cure-all. With more and more common 64-bit operating systems, laptop computers and the PC is currently available with 8G of memory.

    That said, I think few users have a business case for the visualization of the hundreds of thousands of lines via a graphical user interface.

    Getting back to what concerns the management of memory in java, I want to put in a plug for the garbage and first new Garbage Collector. It will be the production in JDK 1.7, but can be found in the JDK 1.6 u14 & high in experimental option. The most recent revision update, the better it is. Just add something like this in your sqldeveloper.conf file:

    AddVMOption - XX: + UnlockExperimentalVMOptions
    AddVMOption - XX: + UseG1GC
    AddVMOption - XX: + G1YoungGenSize = 25 m
    AddVMOption - XX: + G1ParallelRSetUpdatingEnabled
    AddVMOption - XX: + G1ParallelRSetScanningEnabled

    It does a much better job of actually release unused memory in the context of the o/s.
    To learn more on this subject: http://www.oracle.com/technetwork/java/javase/tech/g1-intro-jsp-135488.html

    Gary Graham
    SQL DeveloperTeam

  • Problem with forms 11g with Windows 2003 Server

    Hi friends,

    I tested compatibility of oracle 11g in various version today, I installed in windows server 2003 has increased with the same installation that I did for my windows XP that has worked well. Now, I started the server http for forms and then opened my application forms and create a simple forms when I press the 'Run the form' button all I get is page not found that any suggestions would be welcome.

    I've already updated my java and it is a new installation of forms 11g.

    Kind regards
    Manoj Chakravarthy

    make one
    opmnctl startall
    of $OI/bin as well and check...

  • Problems with oracle enterprise Manager manager

    Hello

    Hello

    I have a database with SID mdok and host: mdok.lubelskie.pl. I copied the database to a different server host: oracle.lubelskie.pl with the same SID mdok

    I had problems with EM starting on oracle.lubelskie.pl so I run the emca - dbcontrol db config command and entered the correct values.

    Now EM starts ok and when I go to http://oracle.lubelskie.pl:1158 / em it asks for the connection. I enter the connection information and connect to the mdok database.

    Here's the info to state when I get http://oracle.lubelskie.pl:1158 / em:

    Status of
    Upward since 11-03 - 2010 20:59:27 THIS
    Instance name mdok
    Version 10.2.0.1.0
    Home mdok.lubelskie.pl
    LISTENER_mdok.Lubelskie.pl listener

    The problem, that of why he connects to the host mdok.lubelskie.pl and not in the good pair hence the EM a was started (oracle.lubelskie.pl). How to solve the problem?

    The best would be to recreate the repository. There are files in which this info is maintained but better would be to delete and re-create the repoistory em using the

    emca -deconfig dbcontrol db -repos drop
    emca -config dbcontrol db -repos create
    

    HTH
    Aman...

  • AMT problem with Oracle 11 g ODAC 11.1.0.6.21 with Oracle Developer Tools

    I installed the full
    Oracle 11g ODAC 11.1.0.6.21 with Oracle Developer Tools for Visual Studio

    now I'm in the good old ' [ORA-12154: TNS: could not resolve the connect identifier specified] "error.

    I copied the tnsnames.ora even as that used on the db Server
    on the client 'C:\Oracle\product\11.1.0\client_2\Network\Admin '.
    The host name is just like a normal ping works. TNSping is not available.
    but I get the [ORA-12154: TNS: could not resolve the connect identifier specified] error.
    The listener is running and the instance as well since everything works on the source server.


    I tried with

    SET path=c:\oracle\product\11.1.0\client_2\bin

    but tnsping is still not recognized.

    sqlplus works however when I put in
    SET path=c:\oracle\product\11.1.0\client_2\


    What is going on...

    Hello

    No, actually, I mean try including your IP in tnsnames as

    CONTROL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = **)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = Control)
    )
    )
    

    and then, try, you can also try SQLNET.authentication = (NONE), also make sure you provide safely

    HTH

    Thanks and greetings
    VD

  • is that we can transform a GML table with oracle 11g?

    I have a project with GML and this is the first time that I work with.
    I just need to know if I can transform a normal table with oracle of GML.

    I found that we can do this with xml using the simple features sql example:

    SQL:
    SELECT XMLElement (name 'Department',
    XMLAttributes (deptno),
    XMLAgg (XMLElement (name"employee", ename))) .getStringVal () as a RESULT
    FROM scott.emp
    GROUP BY deptno;

    result:
    < Department deptno '34' = >
    ename < employee > < / employee >
    < / Department >

    < Department deptno = "35" >
    ename1 < employee > < / employee >
    < / Department >...

    We can do something like this with oracle11g for GML instead of XML (when we have spatial data).

    I hope that you have the answer or a reference that can help.
    Thank you
    Best regards

    Hi, -.

    We have the following conversion functions of GML and KML to/from SDO_GEOMETRY.
    We both support GML2 and GML 3.1.1:

    In 11.1.0.7, you will find the following functions:

    SDO_UTIL. FROM_GML311GEOMETRY: Converts a fragment of geography markup language (GML 3.1.1) a spatial geometry.
    SDO_UTIL. FROM_GMLGEOMETRY: Converts a fragment of geography markup language (GML 2.0) a spatial geometry.
    SDO_UTIL. FROM_KMLGEOMETRY: Converts a KML (Keyhole Markup Language) of a Spatial geometry object document.

    SDO_UTIL. TO_GML311GEOMETRY: Converts an object of spatial geometry to a fragment of language (GML version 3.1.1) geography markup based on the geometry types defined in the schema geometry.xsd Open GIS Consortium document.
    SDO_UTIL. TO_GMLGEOMETRY: Converts an object of spatial geometry a geography markup language (GML 2.0) fragment based on the geometry types defined in the schema geometry.xsd Open GIS Consortium document.
    SDO_UTIL. TO_KMLGEOMETRY: Converts a Spatial geometry object to a KML (Keyhole Markup Language) document.

    See also User Guide Pro Oracle Spatial and Oracle Spatial for book of 11g Oracle database for more details and examples.

    Please let us know if you have any other questions. We will be happy to help you.

    I hope this helps.
    Best regards
    Baris

  • Problem with OEM 11g

    Hi all


    I am facing problem with OEM 11 g. It was taken down automatically, however I am not able to find the specific reasons. From now on, it has been started.

    But want to know the reasons for which he was descended. Please guide me how to solve.


    Thank you

    2011-12-10 12:27:51, 106 EMAgent wire-4252630400 normal shutdown (00703)

    Here's the clue. It is emagent normal shutdown. Check order OS history
    As
    $history | grep emctl

    and check is only he planned to stop?

  • Problem with forms 11g

    Hi all
    I installed 11g on Win2003 R2 Forms and the facility is clean and everything works fine. The WLS_FORMS starts without a problem on port 9001 and when I asked his status through the http://localhost:9001 / forms he answers forms listener is running. My problem is that when I try to run my simple form I created by form 11g, the browser page comes with nothing in it. It shows no error message or anything that might be useful, and it does not show the form either!
    The URL that has been set in the forms preferences > DURATION is
    http://[machine_name]:9001/forms/frmservlet?config=other
    'Other' is a section of configuration in formsweb.cfg that I created to be able to run my forms from inside the form builder
    and it contains the following:

    [others]
    separateFrame = False
    LookAndFeel = generic
    UserID = scott/TIGER
    form = module1.fmx

    Does anyone have an idea?

    My best,
    Alireza Vali

    There are many ways in which you can host the plug-in on your own server. The easiest way would be to store the installable in the same Oracle home, in a directory that is already set up with a virtual path. For example, the directory of java forms. Then simply set up your formsweb.cfg to point to your own file rather than the distance.

    Thus, for example in 11 forms, follow these steps:

    1. download the JRE 32 bit on the Java website (http://www.oracle.com/technetwork/java/javase/downloads). For example, 1.6.0_24 is as follows: jre-6u24-windows - i586.exe

    2. copy this file to: C:\Oracle\Middleware\as_1\forms\java

    3. change the configuration of your web (formsweb.cfg) to reflect the change. So, something like this:

    jpi_classid=clsid:CAFEEFAC-0016-0000-0024-ABCDEFFEDCBA
    jpi_codebase=/forms/java/jre-6u24-windows-i586.exe#Version=1,6,0,24
    jpi_mimetype=application/x-java-applet;jpi-version=1.6.0_24
    #
    # YOU NEED TO CREATE A DOWNLOAD PAGE AND STORE IT INTERNALLY FOR NON-IE USERS
    # THE SAME METHOD COULD BE USED - STORE YOUR HTML PAGE IN THE JAVA DIR OR OTHER VIRTUALLY MAPPED LOCATION
    jpi_download_page=/forms/java/myJREdownloads.htm
    

    For anyone interested to download from a remote server, here are the necessary details for other versions:

    http://www.Oracle.com/technetwork/Java/JavaSE/AutoDownload-140472.html

    All the information above applies to earlier versions of forms too.

Maybe you are looking for

  • Continuous beep on Tecra M3

    Hello. I have a Tecra M3 laptop. Open and he started. Continuous high one beep but you windows started normally. What a * is that? Noticed that pressing the corner bottom right is quiet, but you, I want to know what happens. Any idea?

  • Portege R500 - USB ports no longer for 35 to 60 seconds after standby

    When my R500 (running Vista Business) wakes in sleep mode, Vista is ready to be used within 7 seconds approximately. It would be great, except that the USB ports and the function Bluetooth wake for another 25 to 50 seconds. I use a USB or Bluetooth m

  • SmartAudio error: failed to initialize

    Hello Suddenly the AmartAudio Control Panel applet has stopped working on my W520, I get the message pasted below (cannot initialize SmartAudio). I uninstalled the driver originalaudio the new found on the link below, but I get the same error message

  • Z3 Compact battery life

    Hi, < br > I recently bought my Z3 Compact new on ebay as it was an unanted upgrade. The phone when I unboxed it was astonashing, he told me that my battery last about 2 days and has no endurance. < br > < br > but later (today) 6 days I went to the

  • My DVD-CD player will not play

    I pull up to my Media Player and insert my DVD and nothing happens. What can I do?