Oracle 9i SID

hi all, i have the following question :
a) I am using windows XP professional and oracle 9.0.1 enterprise edition. Under the windows environment, how do i set the environment variable of the oracle SID ?
In UNIX (SUN SOLARIS), the oracle_sid can be set using following setting in the command prompt.
ORACLE_SID=MYDB
EXPORT ORACLE_SID.
I really dunno how to set it in the windows environment.
Somebody pls help.
b) Currently i have 2 database in the same host inside the windows XP OS. I created the 1st database using database configuration assistant so everything is working fine. But later i tried to create a 2nd database manually which is using the database creation script.
The creation process was successful. Later i try to startup the 2nd newly created database using startup command, but it seems that oracle try to start the 1st database instead.
My question is does oracle automatically create an new instance for me when i created a new database manually ?
c) How do i check how many instance (active and idle) do i have currently in my system under windows XP environment ?
regards,
Kong Koa Lun

sorry, i cannot get u. Which log to remove ?
Actually where can i set the environmental path of the oracle SID in Winxp OS ? After i type set ORACLE_SID=myDB
then do i need to export/restart PC ? In UNIX, just type
EXPORT ORACLE_SID it will take effect. But i not sure whether typing set ORACLE_SID=myDB will take effect immediately in WINXP dos prompt.
any idea ?
regards,
Kong

Similar Messages

  • Insert data 32K into a column of type LONG using the oracle server side jdbc driver

    Hi,
    I need to insert data of more than 32k into a
    column of type LONG.
    I use the following code:
    String s = "larger then 32K";
    PreparedStatement pstmt = dbcon.prepareStatement(
    "INSERT INTO TEST (LO) VALUES (?)");
    pstmt.setCharacterStream(1, new StringReader(s), s.length());
    pstmt.executeUpdate();
    dbcon.commit();
    If I use the "standard" oracle thin client driver from classes_12.zip ("jdbc:oracle:thin:@kn7:1521:kn7a") every thing is working fine. But if I use the oracle server side jdbc driver ("jdbc:default:connection:") I get the exception java.sql.SQLException:
    Datasize larger then max. datasize for this type: oracle.jdbc.kprb.KprbDBStatement@50f4f46c
    even if the string s exceeds a length of 32767 bytes.
    I'm afraid it has something to do with the 32K limitation in PL/SQL but in fact we do not use any PL/SQL code in this case.
    What can we do? Using LOB's is not an option because we have client software written in 3rd party 4gl language that is unable to handle LOB's.
    Any idea would be appreciated.
    Thomas Stiegler
    null

    In rdbms 8.1.7 "relnotes" folder, there is a "Readme_JDBC.txt" file (on win nt) stating
    Known Problems/Limitations In This Release
    <entries 1 through 3 omiited for brevity >
    4. The Server-side Internal Driver has the following limitation:
    - Data access for LONG and LONG RAW types is limited to 32K of
    data.

  • Oracle concepts - SID / instance / service / listener / dispatcher ....

    Hello,
    Newbie, conceptual question, please bear with me.
    Suppose I have a Oracle database server that runs a single database / instance / SID. The server has 2 LAN cards and 2 IP addresses - 192.168.1.1 and 192.168.2.1.
    I wish the users to be able to connect on both IP addresses. Further, I wish two TCP ports to be available for connections - 1521 and 1531. Hence we have a total of 4 possible IP address / TCP port pairs.
    My queries -
    - first of all, is this a valid, do-able scenario ?
    - how many services do we have, one or four ? How many listeners ? How many dispatchers ?
    - what would the IP address / TCP port combination be called in this case ? can I apply different priorities on each of these pairs ?
    Regards
    Edited by: user1050017 on Apr 18, 2012 1:02 AM

    Welcome to OTN!
    user1050017 wrote:
    - first of all, is this a valid, do-able scenario ?Yes
    - how many services do we have, one or four ? How many listeners ? How many dispatchers ?one listener
    - what would the IP address / TCP port combination be called in this case ? can I apply different priorities on each of these pairs ?In this case you must use hostname in listener.ora, not an IP

  • Oracle server side jdbc thin driver throws ORA-01017

    We upgraded our database to 11.2.0.1 from 9.2.0.6.
    When we try to connect to an external database from Oracle JVM using server side jdbc thin driver, it throws invalid user id/password error.
    The below test code simulates the issue and is not working on the upgraded instance. The same code is working in fine in other 11.2.0.1 instances. It worked fine before upgrade. In all cases, we are connecting to the same target database instance which is also in 11.2.0.1. It fails only on this database.
    SEC_CASE_SENSITIVE_LOGON is set to false.
    Any inputs will be highly appreciated.
    Code:_
    create or replace and compile java source named TestConn as
    import java.sql.SQLException;
    import oracle.jdbc.OracleDriver;
    import oracle.jdbc.OracleConnection;
    import java.sql.DriverManager;
    public class TestConn {
         public  static String runTest() {
          String msg = "Start";
          OracleConnection tempOC = null;
          try {
          String pUrl = "jdbc:oracle:thin:@dev:1521:dev";
          String pUser = "tst_user";
          String pPwd = "dummy";
          DriverManager.registerDriver (new oracle.jdbc.OracleDriver());
          tempOC = (OracleConnection)DriverManager.getConnection(pUrl, pUser, pPwd);
    msg = "Success";
    } catch (SQLException sqle) {
          System.out.println(sqle.toString());
          sqle.printStackTrace();
          msg = "Failure";
            return msg;
    CREATE OR REPLACE FUNCTION test_conn RETURN VARCHAR2
    AS LANGUAGE JAVA
    NAME 'TestConn.runTest() return java.lang.String';
    set serverout on
    declare
    c varchar2(4000);
    begin
    dbms_java.set_output(5000);
    c:=test_conn();
    dbms_output.put_line(c);
    end;
    / Error Message_
    java.sql.SQLException: ORA-01017: invalid username/password; logon denied
    java.sql.SQLException: ORA-01017: invalid username/password; logon denied
           at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:439)
           at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:388)
           at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:381)
           at oracle.jdbc.driver.T4CTTIfun.processError(T4CTTIfun.java:564)
           at oracle.jdbc.driver.T4CTTIoauthenticate.processError(T4CTTIoauthenticate.java:431)
           at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:436)
           at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:186)
           at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:366)
           at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java)
           at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:359)
           at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java)
           at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:221)
           at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
           at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java)
           at java.sql.DriverManager.getConnection(DriverManager.java)
           at java.sql.DriverManager.getConnection(DriverManager.java)
           at TestConn.runTest(TESTCONN:22) Edited by: sskumar on Mar 6, 2011 1:12 PM

    At the time our issue was resolved, the bug was not published. And, I was told, there was no information in metalink about the isue. I am not sure whether they published some thing in the last few weeks.
    This is what resolved our issue.
    Step 1: alter system set java_jit_enabled=FALSE;
    Step 2: Try your test case. If it is the same issue as ours, your test case will be successful. If it succeeds, Go to step 3. If it does not succeed, it is a different issue.
    Step 3: alter system set java_jit_enabled=TRUE;
    Step 4: Run your test case. If it is the same issue, it is expected to fail. Go to Step 5 in case of failure.
    Step 5: Delete all rows from table java$mc$
    Step 6: Restart the database
    Step 7: Run your test case. It is expected to be successful.

  • Where to loop: Oracle server side or PHP apache side?

    Hi
    my feeling is that Oracle will be the best place to loop, but I thought I would ask here.
    Essentially I wish to return an array of results to PHP, and while this is not possible directly it can be done with a refcursor
    TYPE cursortype IS REF CURSOR;
    procedure findAllSorted(sortMode in string, resultSet IN OUT cursortype) is
    will then give me myresult set that I can then loop through in PHP and obtain each of the rows returned
    what I am interested to know is will there be any advantage to using a series of arrays as out parameters and then filling them inside oracle? Such as:
    type statement_num_array is table of statement.statement_num%type index by pls_integer;
    type statement_id_array is table of statement.statement_id%type index by pls_integer;
    type statement_text_array is table of statement.statement_text%type index by pls_integer;
    type statement_cat_array is table of statement.category_id%type index by pls_integer;
    then passing this as out parameters to:
    procedure findAllSorted(sortMode in string, statement_nums out statement_num_array....
    this would mean there would be only one call to Oracle rather than repeated calls using the refcur in a loop
    what I'm not sure is "which is better"
    I'm tempted to think that the refcursor is the better way as it is perhaps at least more logical.

    Hi
    better is of course difficult. I would be after effectiveness and code consistency.
    It seems to me that if I use bulk inserts (passing in an array) that I can only make my arrays column data, while when selecting in bulk I seem to only be able to work with refcursor which is essentially returning rows.

  • Oracle Client Side connectivity issues from a Windows XP Machine

    I am sure most of you guys may have addressed this issue of the time delay the client application takes to retrieve the data from the Oracle database. However, here's my problem.
    We have installed a VB application running on Windows Xp along with an Oracle 8i client. Now when the application tries to connect to the database at times the data fetching speed is quick and at times its really slow... takes almost 15-20 minutes.. We're not sure if this is an application issue/oracle client configuration issue or a network issue..
    We've wasted alot of time blaming the network/connectivity.. However, is there anything that we would need to check at the clients pc.. oracle config etc.etc.. ???
    Please help..

    Might want to try out a couple of things:
    When it's running slow:
    1. ping the server to see the response time of the server.
    2. check the CPU usage on the server. There could be a resource crunch taking place due to other large and/or multiple transactions going on.
    3. kill the VB connection and run the SQL from the command prompt and see how long it takes. Sometimes executing an SQL from the application may take longer, while from the command prompt, it's quicker. In this case, application tuning is required.
    4. check to see the CPU and memory usage on the client PC itself. If there are multiple applications in use chewing up these resources, it can and will slow things down on the client PC itself.
    Oracle client does not require configuration as such.

  • OpenJDK7 and Oracle JVM7 side by side

    I am pretty much at a loss here.
    I need both openjdk, though I'm not confident that it has to be openjdk7. Still, best to go with the newer versions I think. In any case I absolutely need and up to date version oj Oracles JVM. Not by choice mind you.
    At first I thought it would be somewhat easy to find it. I mean distributions like Ubuntu handle it rather well I think, but just replacing one version with another should prove a challenge. I actually had to uninstall LibreOffice.
    Well, that shows what I know I suppose.
    The point of it all is that I'm pretty sure I've found a solution to this exact problem as some point, though I did not need it at the time, but now I can't seem to find it again. The wiki states that it cannot be done, but since it can be done in other distributions, I find it hard to believe that.
    Well, I think I've said it all. Hope you can help.
    Best regards.

    Did you try this package :
    https://aur.archlinux.org/packages/java … nt-compat/
    I have it installed alongside opendjdk. You just need to manage correctly your $JAVA_HOME.

  • Oracle server side log messages

    In oracle 10g, is there a way to log SQL commands send to Oracle server?
    I am trying to set up a database using a utility came with another product. I would like to capture what commands this utility sends to the oracle database server.
    Thanks,

    Hi,<br>
    <br>
    You can use AUDIT<br>
    <br>
    Nicolas.

  • Need Help On Oracle form side for serial no genretion for every last record

    Hi Experts,
    currently i'm facing one problem like :
    i'm populating one receipt detail in Multi block , like when user key in one receipt number that time record should go in first record ,and if they key in second receipt number then record should go in second record . mean to say every time record go in last record ..but the problem is i want to generate Serial no correspondence to every last record ..
    here is my approch :
    cursor c1 is
    select * from table
    where cname =:blk_name.clm_name.
    Last record;
    next_record;
    for v1 in c1 loop
    processed record;
    next_record;
    end loop;
    last_record;
    go_block(___);
    first_record;
    :sno := system.cursor_record ;
    next_reocrd;
    end loop;
    first_record;
    And in block level i'm writing code for Serial number generation when user key in manual entry for receipt detail:
    :blk_name.coulumn_name := :system. cursor_record;
    so in this approach their is no problem it is working properly but the problem is that
    when user fetch one receipt automatically and then after he want to enter next record manually and he decided to go in detail block ,
    and once he reached in detail block that time block level trigger i firing .ans serial number 2 generated and then suddenly he came to know no i want to fetch next record automatically mean to say now user going again master block and fetching next receipt detail ,
    but the problem is when user leaving seccond sr no and going in master block and population next receipt detail that time cursor going on 3 record
    but logically have to replace the second Serial no and generate the again serial number 2 record population .
    so i'm appreciating is anyone if came accoross this type of issue please corrrect my code and send updated code ..plsssssssssssssssssssssssssssssss
    Thanks
    Abhishek
    [email protected]

    Friend, If you forward this question in forms forums , It will be better for you.
    Abishek Go this link and post there friend.
    Link:Forms

  • Ld.so.1: oracle sid : fatal: libjox8.so: open failed: No such file or direc

    RDBMS Version: 8.1.7.4
    Operating System and Version: trusted solaris intel 8
    Error Number (if applicable):
    Product (i.e. SQL*Loader, Import, etc.): installation of patch set 8.1.7.4
    Product Version: 8.1.7.4
    ld.so.1: oracle&lt;sid&gt;: fatal: libjox8.so: open failed: No such file or directory
    I get this error when connecting to with SQLPLUS to Oracle.
    I have reordered paths in LD_LIBRARY_PATH
    so $ORACLE_HOME/lib is before /usr/lib
    and recompiled make -f ins_rdbms.mk install
    and make -f ins_rdbms.mk ioracle
    I can only connect as oracle in the install group
    I have found some posts the suggest changing mode of the oracle executable. but that doesn't seem to help.
    I have tried to $ORACLE_HOME/bin/relink all
    but that didn't help either.
    Please advise.

    According to the following docs, you should not get this error when you apply Patch 8904424 so I would suggest you log a SR.
    Patch 8557019: make: Fatal error: Command failed for target `dejvm'0.1.2/lib32/WS6U1/crti.o: open failed: No such file or directory (Doc ID 1291895.1)
    make: *** [dejvm] Error 1 While Applying 8557019 For Forms Upgrade Doc 437878.1 (Doc ID 1543498.1)
    Thanks,
    Hussein

  • WCF-Oracle DB Adapter

    I am trying to insert a row into oracle db using oracle send adapter. Everything works fine locally, but on server it is failing with
    System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
    Server stack trace:
       at System.Reflection.Module._GetTypesInternal(StackCrawlMark& stackMark)
       at System.Reflection.Assembly.GetTypes()
       at Microsoft.Adapters.OracleDB.OracleDBConnectionFactory.LoadUdtAssemblies(String UserAssembliesLoadPath)
       at Microsoft.Adapters.OracleDB.OracleDBConnection.Microsoft.ServiceModel.Channels.Common.IConnection.BuildHandler[TConnectionHandler](MetadataLookup metadataDictionary)
    UDT Schema defined and deployed on server and also gac'ed.
    EnableBiztalkCompatabilityMode : true, UseAmbientTransaction:False
    Using 32 bit host instance, Oracle 11.2g
    Tried every option available, but still not able to get it work.
    Finding help here to get it resolved ASAP..
    Thank.....

    Hi,
    I think issue is with your Package on the  Oracle server Side .You can look into below blog post for reference
    Oracle and BizTalk Server, Part 2
    Oracle Procedure for Biztalk 2006 R2
    Thanks
    Abhishek

  • I have the new Oracle 8i installer and here is why

    I have been trying to get Oracle 8i on Linux and I feel that I
    must share
    my thoughts on the new Oracle installer with everybody.
    I hate the new installer. I used to run the installer from
    home over my
    128Kbps connection while I was connected to the office machines,
    because it
    was simple text based. And Oracle 8i has changed all that!
    I have nothing against GUI based installers, only when they have
    a little too
    many animated images that eat up bandwidth. I had to drive all
    the way to
    the office because I did not have sufficient bandwidth to display
    the darn
    ringing bell animated image. This is strictly the mentality of
    Windows users
    who like to work on the console of servers.
    And check this out:
    line 118 in my install log file at :
    /usr/local/oracle/u01/app/oracle/oraInventory/logs/installActions.log
    says :
    platGroup = WINDOWS
    And this is on Linux!!! Maybe the Oracle folks are forgetting
    that Linux
    users are a little too sensitive to these kind of mistakes. :)
    This also supports my theory that the new installer is a gift
    from Windows
    programmers. Who are not too familiar with the idea of being
    able to send
    their video display to any computer around the world and work
    from there.
    A feature every Linux user takes for granted
    There are numerous other bugs in the installer and other routines
    of Oracle
    8i for Linux. Some of them I will list here:
    2. The installation types screen list 3 options:
    Typical, Minimal and Custom.
    Somehow Minimal takes more disk space (642 MB) compared to
    Typical (585 MB).
    Well that is what the installation screen says. I have not tried
    to install
    using the minimal install.
    3. The installation cant figure out how much free space is
    available on the /
    partition. Is it that hard? Its gives warnings about how I may
    not have
    enough space.
    4. dbassist cant find the cdrom if you try to install the default
    database
    from CDROM. It says cannot find CDROM even if you have all your
    stuff under
    /mnt/cdrom
    5. The docs talk about software mount points and data mount
    points /u01 /u02
    /u03 and /u04 that I created, but I could not find anywhere to
    specify them
    like I was able to, with the last release.
    6. "Oracle Protocol Support" section during the install shows no
    options at
    all. What happened to good ole Net8?
    And many others. This product is a joke.
    Atif.
    [email protected]
    null

    My sentiments exactly. There are so many bugs in the
    installation of this release that I have just about given up.
    And I haven't even started testing the new features yet!
    I've tried the install on RedHat 6.0 straight out of the box (no
    patches or updates applied) and followed the OIG and release
    notes to the letter. Clearly, no one at Oracle did the same,
    because there are many problems during install. I finally got a
    simple database running, but there are some real gotcha's along
    the way.
    Here are just a few of the bugs I've encountered:
    1. Zero length library file $ORACLE_HOME/lib/libnjni8.so.
    Netasst doesn't work without it. Someone said they posted the
    source code to the comp.databases.oracle.server newsgroup, but I
    can't find it.
    2. Database Creation Assistant thinks dbmssql.sql is called
    dbmssml.sql.
    3. Building the Intelligent Agent with TCL 7.5 causes a cascade
    of undefined references when running gmake -f ins_oemagent.mk
    agent
    4. Database Creation Assistant doesn't understand OFA. It wants
    to put all of the database files /u01/app/oracle/oradata/<sid> !
    5. Database Creation Assistant will sometimes prevent editing
    the data file names to put them in OFA compliant directories.
    I am appreciative of the free developer licenses for so many
    Oracle products, but this is the worst Oracle install I've had
    in 12 years.
    Atif (guest) wrote:
    : I have been trying to get Oracle 8i on Linux and I feel that I
    : must share
    : my thoughts on the new Oracle installer with everybody.
    : I hate the new installer. I used to run the installer from
    : home over my
    : 128Kbps connection while I was connected to the office
    machines,
    : because it
    : was simple text based. And Oracle 8i has changed all that!
    : I have nothing against GUI based installers, only when they
    have
    : a little too
    : many animated images that eat up bandwidth. I had to drive all
    : the way to
    : the office because I did not have sufficient bandwidth to
    display
    : the darn
    : ringing bell animated image. This is strictly the mentality of
    : Windows users
    : who like to work on the console of servers.
    : And check this out:
    : line 118 in my install log file at :
    : /usr/local/oracle/u01/app/oracle/oraInventory/logs/installActio
    ns.log
    : says :
    : platGroup = WINDOWS
    : And this is on Linux!!! Maybe the Oracle folks are forgetting
    : that Linux
    : users are a little too sensitive to these kind of mistakes. :)
    : This also supports my theory that the new installer is a gift
    : from Windows
    : programmers. Who are not too familiar with the idea of being
    : able to send
    : their video display to any computer around the world and work
    : from there.
    : A feature every Linux user takes for granted
    : There are numerous other bugs in the installer and other
    routines
    : of Oracle
    : 8i for Linux. Some of them I will list here:
    : 2. The installation types screen list 3 options:
    : Typical, Minimal and Custom.
    : Somehow Minimal takes more disk space (642 MB) compared to
    : Typical (585 MB).
    : Well that is what the installation screen says. I have not
    tried
    : to install
    : using the minimal install.
    : 3. The installation cant figure out how much free space is
    : available on the /
    : partition. Is it that hard? Its gives warnings about how I
    may
    : not have
    : enough space.
    : 4. dbassist cant find the cdrom if you try to install the
    default
    : database
    : from CDROM. It says cannot find CDROM even if you have all
    your
    : stuff under
    : /mnt/cdrom
    : 5. The docs talk about software mount points and data mount
    : points /u01 /u02
    : /u03 and /u04 that I created, but I could not find anywhere to
    : specify them
    : like I was able to, with the last release.
    : 6. "Oracle Protocol Support" section during the install shows
    no
    : options at
    : all. What happened to good ole Net8?
    : And many others. This product is a joke.
    : Atif.
    : [email protected]
    null

  • Problem in Installing Forms 6i in Oracle 8

    Hi there
    I am a home user and at the moment studying for OCP Oracle Forms Developer Rel. 6/6i and I really need some good help.
    I have some problem in the Installing the Orcale Forms 6i, I have already installed WinNT4 (Server) and Oracle 8.
    SO far I have tried to Install Forms 6i four times but I failed. Due to this reason every time I had to also Uninstall the Oracle 8
    from my system, because it started to give problems.
    OK THIS IS THE PROBLEM :
    When I installed Oracle 8, the user name was <system> and the password was <manager> in the SQL Plus. I used it for few times and worked fine. But when I installed the Oracle Developer 6i the SQL Plus didn't accepted the same user name and the password. I tried many commands that I could find in the Oracle documentations (On the CD) but so far nothing.
    Need some command or any thing to over write the system so I can change the user name and password.
    Plus when I use turn on my computer and run WINNT 4 (server) I get message that I have some problem in Oracle80.exe file and due to that my system hangs for couple of minutes.
    I also want the sample tables, but I don't know the particular command for SQL *PL by which I can get the sample tables.
    Please help me by suggesting what shall I do.
    Regards
    Mustafa
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by martin vonk ([email protected]):
    Hi...
    Source: Oracle support.........:-)
    Installation Procedure
    Follow this procedure to install Developer 6.0 and Oracle 8i on the same physical machine in separate ORACLE_HOMEs on NT:
    1) Install Developer 6.0 using the instructions on the Developer CD.
    Specify an appropriate drive and the ORANT directory as the destination. For example:
    D:\ORANT
    Note: You must install Developer in the Oracle home named DEFAULT_HOME.
    2) Install RDBMS 8.1.5 from the Oracle 8i CD. Specify the following information when prompted for the Oracle Home and Full path:
    Oracle Home ora8i
    Full Path d:\orant\ora8i
    Choose Typical Install
    Global Database Name ora8i.us.oracle.com (This is an example)
    SID ORA8I (This is an example)
    As the product installs, a summary is displayed that shows the products that are installed and the space requirements.
    When the installation is complete, the following information is displayed and the installer exits:
    Oracle Database Configuration Assistant Alert Database Creation Completed.
    Database Information
    Global Database Name ora8i.us.oracle.com
    SID ORA8I
    Sys password change_on_install
    System passwd manager
    3) A TNSNAMES entry needs to be created in the tnsnames.ora file for the new Oracle 8i installation. You can find the file in:
    d:\orant\net80\admin\tnsnames.ora
    A default entry will look like this:
    alias.world
    (DESCRIPTION
    (ADDRESS_LIST
    (ADDRESS
    (PROTOCOL = TCP)
    (Host = )
    (Port = )
    (CONNECT_DATA = (SID = )
    For example, if you installed on a machine with a HOSTNAME of TEST, a SID named ORA8I, on TCP/IP with port 1521, and an alias of NEW, you would create the following entry:
    NEW.world
    (DESCRIPTION
    (ADDRESS_LIST
    (ADDRESS
    (PROTOCOL = TCP)
    (Host = TEST)
    (Port = 1521)
    (CONNECT_DATA = (SID = ORA8I)
    4) If you manually created the entry, save and close the tnsnames.ora file.
    You can now connect to the local database instance of 8i using the DBSTRING as NEW. For example, you can connect as scott/tiger@NEW.
    HTH
    Martin<HR></BLOCKQUOTE>
    null

  • Install and uninstall of Oracle 11g R2 on Windows 2008 Server

    Hi,
    I installed Oracle 11g R2 and set up a database on Windows 2008 Server following the steps in the Installation Guide and it was successful. After uninstalling the product and doing a re-install, the step to configure the Net Configuration Assistant fails with the following msg.
    Failed to allocate port(s) in the specified range(s) for the following process(es): JMS
    [5540-5559], RMI [5520-5539], Database Control [5500-5519], EM Agent [3938] | [1830-1849]
    Also, when I ran "netca.bat" and tried to reconfigure the Listener, it indicated the default port 1521 is being used. I ran "netstat -an" and do not see the port listed.
    Questions:
    What is the best way to check if something was leftover from my previous install of Oracle that is using the default ports?
    What do I need to do to ensure a re-install is successful?
    Uninstalling Oracle -
    1.     Log in as the Administrator.
    2.     Stop all Oracle Services.
    3.     From a cmd window, run C:\app\oracle\product\11.2.0\dbhome_1\deinstall\deinstall.bat.
    4.     Delete the C:\app\oracle directory.
    5.     Remove the following registry entries as per http://download.oracle.com/docs/cd/E11882_01/relnotes.112/e16777/toc.htm:
    HKLM\System\CurrentControlSet\Services\EventLog\Application\Oracle Services for MTS
    HKLM\System\CurrentControlSet\Services\EventLog\Application\OracleDBConsole<SID>
    HKLM\System\CurrentControlSet\Services\EventLog\Application\Oracle.<SID>
    HKLM\System\CurrentControlSet\Services\EventLog\Application\Oracle.VSSWriter.<SID>
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Oracle11

    Johan, after I uninstalled Oracle, I checked to ensure there were no remaining Oracle services remaining.
    Srini, below are the steps I followed to uninstall Oracle. In step 3, I just ran deinstall.bat without any parameters and provided required information as prompted. Note, I uninstalled using the Administrator user and not the "oracle" account that I used to install Oracle.
    Uninstalling Oracle -
    1. Log in as the Administrator.
    2. Stop all Oracle Services.
    3. From a cmd window, run C:\app\oracle\product\11.2.0\dbhome_1\deinstall\deinstall.bat.
    4. Delete the C:\app\oracle directory.
    5. Remove the following registry entries as per http://download.oracle.com/docs/cd/E11882_01/relnotes.112/e16777/toc.htm:
    HKLM\System\CurrentControlSet\Services\EventLog\Application\Oracle Services for MTS
    HKLM\System\CurrentControlSet\Services\EventLog\Application\OracleDBConsole<SID>
    HKLM\System\CurrentControlSet\Services\EventLog\Application\Oracle.<SID>
    HKLM\System\CurrentControlSet\Services\EventLog\Application\Oracle.VSSWriter.<SID>
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Oracle11

  • Performance Tuning in Oracle 10g during Migration - Insert Statements

    Some of the tables contain a huge data e.g. 7 million records to be migrated.
    The table structure of Source Database is different from the Target Database (Where we are doing the migration).
    So we have made a use of temporary tables to collect the data from different tables using joins and populate the main table using INSERT INTO tableA SELECT * FROM tableZ
    Now the problem statement.
    Some of the queries take infinite time and data doesnt get inserted into the main tables. I have seen the explain plan and didnt find anything unusual. The same query works fine when we use date time stamp and restrict the data.
    What parameters do we have to take care ? Is there any configuration needed on Oracle Server side ? If yes which parameters?

    Lets start with the basics. First what is 10g? Is that 10.1.0.3 or 10.2.0.4 or something else?
    Second 7 million records is a relatively small dataset.
    No one can possibly help you with no DDL, no DML, no Explain Plan output generated with DBMS_XPLAN.
    We can make wild guesses but that is like closing your eyes in a dark room and trying to find the light switch.
    Please repost all relevant information so someone can help you.

Maybe you are looking for

  • Dynamic text, system fonts, and special characters...

    This one is boggling my mind so if someone can help, please do I've got a dynamic text area pulling text from a MySQL database via AMFPHP. The text includes special characters such as accents, umlauts, etc (multi-language site platform). Most of them

  • Currency conversion not working for foreign entity

    I am having an issue with currency conversion not generating the correct values for foreign entities. For entities where the currency is USD, I am able to see the LC amount being written to USD. However, for entites that have currencies other than US

  • Report Viewer fails in IE11

    I installed IE 11 yesterday and now all my SSRS reports do not display in the viewer.  We are using url to access reports on our report server and when the report tries to open it sits on the spinning wheel and never displays.  It worked perfect unde

  • 10 gig iPod won't connect.....

    Greetings I've changed the original battery from the 1st gen 10 gig scroll wheel, but now the iPod won't connect. It has lost its charging indicator, but feels warm to the touch. I can still play all the music that is on there, but can't see it via i

  • Download iSync 1.2 Palm Conduit but can not use synchronize my Palm

    I bought iPod Touch (32G) and I want to use only this device from now on, but I have problems to find a suitable way to synchronize all my contacts and calendar information from my old Palm V into the iMac address book and iCal and finally into my ne