the service name and the name of the database are different.

Hello

I had created a database with name PROD, latter I renamed DB HAVE according to the request of management.

But I notice the following things.

1 OS ORACLE_SID variable level is always PROD. (.bash_profile also I have this entries)
2. starting at sql prompt DB_NAME is HAVE.
3 al ' service_name watch listener and instance name is PROD.

can someone please explain me, why oracle behaves like that.
Our applications work correctly with any questions so far.


[oracle@qual ~] $ echo $ORACLE_SID
PROD
[oracle@qual ~] $ sqlplus "/ as sysdba".

SQL * more: Release 10.2.0.1.0 - Production on Tue Mar 5 10:35:01, 2013

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

Connect to an instance is idle.

SQL > startup
ORACLE instance started.

Total System Global Area 608174080 bytes
Bytes of size 1220868 fixed
209719036 variable size bytes
394264576 of database buffers bytes
Redo buffers 2969600 bytes
Mounted database.
Open database.
SQL > select name from v$ database;

NAME
---------
HAVE

SQL >! lsnrctl status

LSNRCTL for Linux: Version 10.2.0.1.0 - Production on March 5, 2013 10:38:30

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

Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=qual.com) (PORT = 1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start date March 5, 2013 10:36:54
Uptime 0 days 0 hours 1 minutes 35 seconds
Draw level off
Security ON: OS Local Authentication
SNMP OFF
Parameter Listener of the /u001/app/oracle/product/10.2.0/network/admin/listener.ora file
The listener log file /U001/app/Oracle/product/10.2.0/network/log/listener.log
Summary of endpoints listening...
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=qual.com) (PORT = 1521)))
(DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = EXTPROC0)))
Summary of services...
Service 'PLSExtProc' has 1 instance (s).
Instance of 'PLSExtProc', status UNKNOWN, has 1 operation for this service...
Service "HAVE" has 1 instance (s).
Instance of "PROD", State LOAN, has 2 managers of this service...
Service 'PRODT_XPT' has 1 instance (s).
Instance of "PROD", State LOAN, has 2 managers of this service...
The command completed successfully

SQL > exit
Disconnected from the database to Oracle 10 g Enterprise Edition Release 10.2.0.1.0 - Production
With partitioning, OLAP and Data Mining options
[oracle@qual ~] $

This last I changed the name of DB to HAVE

Change the DB_NAME is not the ORACLE_SID. You must manually change the ORACLE_SID.

Stop the database instance.
Copy $ORACLE_HOME/dbs/initPROD.ora to $ORACLE_HOME/dbs/initPRODT.ora. (I assume that DB_NAME has already been upgraded IN the initPROD.ora)
Change your ORACLE_SID of PROD WERE and disconnect and connect again.
Make sure that your ORACLE_SID is now HAVE and that $ORACLE_HOME/dbs/initPRODT.ora
Now start the database instance

Hemant K Collette

Tags: Database

Similar Questions

  • have 5 LR and CC. The folders are different, some are missing in the CC. And some complete are not available in CC. I'm looking forward to use CC rather than LR5 so how can I make the folders and collections even on each?

    have 5 LR and CC. The folders are different, some are missing in the CC. And some Collections are not available in CC. I'm looking forward to use CC rather than LR5 so how can I make the folders and collections even on each?

    Hi cjohnm,

    You can use the 5 Lightroom Catalog and improve it in Lightroom 6, therefor all folders and collections will be identical in both version.

    Open the Lightroom all holding the key Alt/Opt and select only the 5 Lightroom Catalog and it will switch to it.

    Let us know if that helps.

    Kind regards

    Mohit

  • Trying to update a table in a second table when the data are different

    Hello;
    I have a the same table in two databases. The database are connected with a DB link. I'm trying to update one table based on the data in the second table when the EMP_ID is but the name does not match.

    The table will look like:
    Table name: EMP
    EMP_ID
    LAST_NAME
    FIRST NAME
    MIDDLE_INITIAL

    My SQL is:
     
    update EMP TARGET 
        set (TARGET.LAST_NAME, TARGET.FIRST_NAME,TARGET.MIDDLE_INITIAL) = ( 
            select SOURCE.LAST_NAME, SOURCE.FIRST_NAME, SOURCE.MIDDLE_INITIAL 
            from EMP@OTHER_DB SOURCE where 
            TARGET.PHYSICIAN_ID = SOURCE.PHYSICIAN_ID 
            and TARGET.LAST_NAME <> SOURCE.LAST_NAME); 
    This refers to a number of update of all lines not the bit I want.

    Any help would be great!

    Hello

    Sky13 wrote:
    Hello;
    I have a the same table in two databases. The database are connected with a DB link. I'm trying to update one table based on the data in the second table when the EMP_ID match

    Do you doctor_id?

    but the name does not match.

    The table will look like:
    Table name: EMP
    EMP_ID
    LAST_NAME
    FIRST NAME
    MIDDLE_INITIAL

    My SQL is:

    
    update EMP TARGET
    set (TARGET.LAST_NAME, TARGET.FIRST_NAME,TARGET.MIDDLE_INITIAL) = (
    select SOURCE.LAST_NAME, SOURCE.FIRST_NAME, SOURCE.MIDDLE_INITIAL
    from EMP@OTHER_DB SOURCE where
    TARGET.PHYSICIAN_ID = SOURCE.PHYSICIAN_ID
    and TARGET.LAST_NAME <> SOURCE.LAST_NAME); 
    

    This refers to a number of update of all lines not the bit I want.

    Any help would be great!

    There is no WHERE clause in the UPDATE statement, so that each row in the target table will be changed.
    If you only want to change the lines that have a match in the source table, then add a WHERE clause (perhaps "WHERE EXISTS (...)) with a subquery miuch very similar to the one you already have), or use the MERGER instead of UPDATE.

    If you want to know, post CREATE TABLE and INSERT statements to recreate the tables they existed before the UPDATE and also post the contents of the table changed after the UPDATE.
    Always tell what version of Oracle you are using.

    Maybe you want something like this:
    {code}
    MERGE INTO the emp target
    WITH THE HELP OF)
    SELECT o.emp_id
    o.last_name
    o.last_name
    o.middle_initial
    OF emp@other_db o
    JOIN emp t ON o.emp_id = t.emp_id
    AND o.last_name! = t.last_name
    ) source
    WE (target.emp_id = source.emp_id
    WHEN MATCHED THEN UPDATE
    SET target.last_name = source.last_name
    target.first_name = source.first_name,
    target.middle_initial = source.middle_initial,
    ;
    {code}
    assuming that emp is unique, at least in other_db.

    It will work in Oracle 10 (and more). In Oracle 9, MERGER still requires a WHEN MATCHED clause, so add one if you must. No matter what he does; the subquery USE will only return matches.

    Published by: Frank Kulash, October 10, 2011 16:45

  • I can't use my options of dynamic links to Adobe first CC for Adobe After Effects CS5 is because the versions are different?

    I can't use my options of dynamic links to Adobe first CC for Adobe After Effects CS5 is because the versions are different? I have to use first Cs5?

    Hi Samuel,.

    Yes, usable only between the same dynamic link versions products. You can complete rditing and export a first Pro CC and take it to After Effects for further editing, but dynamic linking is not possible in this case.

    Using After Effects | Dynamics and After Effects links

    Vinay

  • After I restarted the 2003 server, I get a message on two of my workstations the present on this computer and the network are different

    After you restart the Server 2003 due to a storm, I now get a message on two of my workstations that are different from the current time on this computer and the network

    Hello

    This question would fit better in Windows Server Instances.

  • The data are different to iTunesconnect and Omniture

    Hi guys, is there anyone know the differences of download data from Apple and Adobe Omniture iTunesconnect?

    I now have a viewer multi-question on app store application.

    The app and all the slips are free to download.

    However, I found something strange, iTunesconnect download units completely different app is moved from https://digitalpublishing.Acrobat.com .

    Even if I count the install download and app folios together, the results are always different iTunesconnect units, sometimes longer, sometimes less.

    I read the AppStoreReportingInstructions.pdf yesterday and found nothing useful to this question.

    Is there anyone get any what index?

    Hello

    Some reasons for the differences in iTunesConnect (Apple) data and analytics of DPS:

    1. DPS account the first launch of the app, Apple account app install start - there will be a delta between users that are starting to download the app and those who actually run the application. Also consider that if someone downloads the app in iTunes (office), Apple will be marked as a download, even though the application has not been used / started.
    2. DPS cache analytics on the device and sends the resulting data only every 60 seconds. So if a user launches the app, but leaves before the 60 second mark and never returns, Adobe DPS receive data
    3. DPS records hits when the device has been disconnected but sends when the unit starts again online. This means that the count for a particular day could continue to grow over the days or weeks.
    4. Time zone differences - DPS records hits on Eastern time, Apple uses a different threshold for each day.

    Bottom line is that the scope of the DPS are not the same and is not expected to match Apple iTunesConnect numbers.  You can assume that Apple is precise with what they measure and Adobe DPS is accurate to what is measured within the app.  It's two different approaches, measured at two different times, offering two different types of data.

    With sincere friendships.

    KlaasJan Tukker

    Adobe Systems

  • Audiometers showing same output, but the levels are different

    Hello

    I have a weird problem with the meters.

    They show the same performance, but the levels on two different audio tracks are quite different (sources being a tie and a shotgun mics, respectively).

    Waveforms provide different levels and it is correctly displayed when I turn on the audio mixer Panel. But the meters are still flat, i.e. showing only a single output.

    I tried to see the sequence settings and switch between mono/stereo/multi, etc, but nothing helped.

    The files are XAVC-I in MXF. I use CC PP 9.2.0 2015.2.

    best, andreas

    Try to turn the panpot left of track 1 and the panpot of track 2 on the right.

  • The file names changed on computer are different once the download to the player

    Recently, I've cleaned more than 600 + songs on my player to make more room for new music. I downloaded several songs from different sources (as usual) (I use my rocket for music and nothing else) and changed their names into something I woud download original recognize. When placed on the device, the file names will appear in cryllic, half recognized Japanese or a series of numbers.

    AND the songs newly added to the "rocket" do not appear in the upper part of music recently added as it should (until I deleted the player off)

    My computer does not recognize the Fuze 4 GB, I was recently using a miniSD 2 gb, but the recent downsizing rendered useless until I have run out of space.

    ... I think that's all... What should I do? Its very annoying and I would LIKE your comments!  Help, please!

    Just guessing, but have you changed the names of the new music FILES?

    I think you will find that the displayed info song comes from tags in MP3 files.

    You can change these if you want to... There are publishers of available MP3 tags, I've been using

    a program called "MP3tag", oddly enough.

    You can also add album art using this same program.

    Have fun

    LyleHaze

  • the blocks are different in dba_extents and dba_tables

    I was checking space for specific tables and found something intresting on column of blocks in different tables/views.

    In dba_tables. I checked this table is to have a block 496 according to dba_tables and 512 blocks according to dba_extents.

    Here is the code and output.

    SELECT TABLE_NAME,

    NOM_TABLESPACE,

    NUM_ROWS,

    BLOCKS,

    AVG_ROW_LEN,

    SAMPLE_SIZE,

    LAST_ANALYZED

    FROM dba_tables

    WHERE

    table_name = "DLR_DETAILS_TEST";

    output

    DLR_DETAILS_TEST DATA01 32853 496 31 32853 13/03/2014 22:01:33

    And Query #2

    Select dba_extents bytes, nom_segment, blocks

    where nom_segment = 'DLR_DETAILS_TEST' and owner = 'HR ';

    output a long list and in excel I found there a total of 512 blocks.

    Just a curious question IS WHY THAT?

    OS: linux redhat 6

    DB: Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

    Thank you.

    Column of blocks in dba_segments/dba_extents show used + unused blocks. (It depends on the allocation of storage for that object).

    With AUTOALLOCATE extent management, Oracle uses the INITIAL setting to optimize the number of allocated extents. Extensions of 64K, 1 M, 8M and 64 M may be allocated.

    If your db_block_size = 8 k, then the segment with 1 shows 64 k/db_block_size measure that comes to 8 blocks. Similarly, we can calculate in other cases as well.

    Column of blocks in dba_tables show reserved blocks.

  • Design and preview glimpse of the browser are different

    I made a very simple desig. Master page header has logo and two rectangles: opacity 70% and white.

    Why are they different in design and preview browser appearance? Am I missing some parameters?

    Sample2.png

    Hey Lucky,

    Overview of the muse is the best approximation of how your site would look in different browsers. It is advisable to always preview the site in a browser before finalizing the project.

    Kind regards

    Aish

  • Change in the hearing and the levels are different

    Posted in the Forum of the Bill thus

    http://forums.Adobe.com/thread/854150?TSTART=0

    Anyone able to verify this please.

    I have a test project in CS5.5 PremPro and I created a Bars and your Clip.

    The tone of the clip is - 12db (meter)

    I went to 'Edit in Audition' and the same audio wave bed - 15db on VIEW

    Thoughts!

    In hearing, go in Edition > Preferences > multitrack and changing the Mode of pan left/right cut (logarithmic).

    / Roger

  • How to migrate from Win XP to Win 8? The files are different.

    I installed Thunderbird on 8 to win and he created the trees not one but two of the files. It seems I should divide the contents of my XP Application Data\Thunderbird folders and put them under the tree to win 8
    But what XP files go where?

    Hello

    You asked your question in the forum of Support of Firefox. I will move it to support Thunderbird to Thunderbird contributors forum can help you.

  • When you print documents from several web pages (HP) (Yahoo Finance), pages 2 to the front are different font than page 1. How can I make them all the same as page 1?

    I tried different configurations of Assembly page and different configurations of printer without result. Basically, the formatting on page 1 is not beyond this page when printing. It happens on all websites, so is not limited to Yahoo Finance.

    I've also updated for Firefox 7.0.1 and the situation persists.

    When you use the Safari browser, the problem occurs.

    I'm glad to hear it!

  • width of the table are different for IE, that MZFX &amp; RULE

    Hello world

    I have three tables and would be of the same width (for looks).

    I tried the following:

    {#code_selection}
    Width: 50px;
    margin-left: 30%;
    }

    {#wash_type}
    Width: 398px;
    margin-left: 30%;
    }

    {#wash_schedule}
    Width: 398px;
    margin-left: 30%;
    }

    In IE, they are not aligned, but Mozilla & Google they are?

    Can someone explain what is happening?

    Thank you.

    Try this:

    {#code_selection}

    Width: 500px;

    margin-left: 30%;

    }

    {#wash_type}

    Width: 500px;

    margin-left: 30%;

    }

    {#wash_schedule}

    Width: 500px;

    margin-left: 30%;

    }

    Nancy O.

  • These 2 pictures are from the same computer, different connection, CS3, the menus are different. Why?

    Picture 1.pngPicture 2.png

    Settings of the workspace. See view all menu at the bottom of the menu items? Probably as simple as the definition of the failing workspace (window > workspace > default Workspace).

    More info on menus and workspaces here:

    http://livedocs.Adobe.com/en_US/Photoshop/10.0/WSfd1234e1c4b69f30ea53e41001031ab64-750D.ht ml

Maybe you are looking for