Name / Instance Clarification

I'm trying to understand the logical difference between these two values and what they uniquely represent:
SQL> select instance from v$thread;
INSTANCE
cqdb
SQL> SELECT name FROM v$database;
NAME
CQDBNow I believe my instance name above would be my SID, correct? Now what exactly is the name representing here? Is this the master schema / database name or something?

In a very simple manner,
database is the collection of the physical components , available on the hard disk drive.
instance is the collection of various memory structures and background process, available on the RAM.
The database name and instance name would be same but can differ too.
For the complete story, read the link suggested by Uwe.
Aman....

Similar Messages

  • Email subject line with Alert unique Identifier,host name, instance name

    Is there any way that i can set the following information in the notification email subject line,
    Alert Unique Category,
    Host name,
    instance name.
    Please advise.
    Thanks.

    Yes I did look under the email customization section. But i am unable to get how to place alert Unique ID with in the subject line as i don't see any variable to place under it.
    Please advise.
    Thanks.

  • Universe on SQL Server names instance

    Hi All,
    I am very new to BO and like to get some information regarding the data sources that BO support.
    I am using Business Obejcts Enterprise XI 2 release. And can I use SQL Server named instance as the data source. If so, how do I set the universe connection parameters. I select the DSN name and pass username and password. Ane when i create DSN, at the server name select SQLSERVER\INSTANCE NAME.
    I appreciate if anyone can help me
    palam01

    Hi,
    You can create connection using generic ODBC and odbc for sql server also.
    For that first you have to create a DSN from the control panel-->data sources.
    Create a DataSource  using the database you want to use.
    Now go to Universe>New>type the universe name
    Click on new connection >Next>Select Microsoft>MS SQL Server 2000> ODBC Drivers>Next>Type(secured), name the connection.
    Type in the user name and password and select the DSN name you created for sql server.
    Click on test connection.
    Click on next-->next and finish and OK.
    Now the universe that you are creating will use this connection and you can also use this connection for creating other universes.
    Hope this helps.
    Regards,
    gaurav

  • Change DB name/ instance name during an UPGRADE ?

    Is it possible to change the database name and the instance name during an UPGRADE (from 9i to 10g for instance) ? If is possible, how ?
    Thanks,
    D.

    Two Options:
    1. Change the name in 9i, then Upgrade to 10g
    2. Upgrade to 10g, then change the name in 10g
    There is no automatic way to do it during upgrade.

  • Problem with OAS Instance Name y Host Name to create trial ssl certificate

    Hi, everyone
    I have a problem when creating a trial ssl certificate from Verisign page, affer a live assistance, that page rejected my CSR generated from OAS, saying thay my common name has invalid characters.
    My Oracle Application Server installation name: Instance.HostName is:
    IAS_IND01.ind-internet
    So, Verisign told me this name can't contain "_" or "-" characters for example.
    I need to know if it's possible to change the instance name and if OAS host name changes also if i change server's host name.
    I wouldn't like to reinstall all over again.
    Please help.
    Regards
    David

    Hi,
    No your AS server will not automatic. even if you change your host name.
    If U 'll try to change your host name, be carefull when U 'll try to start you AS instacne
    it ' not start anymore , AS user hosts fill to get full quallified name of your host.
    U 've two choices
    -1 delete your AS, then change your hosts name, then new installtion of AS
    2- If U 've exprience with AS, just breng your AS down, change your hosts name,
    U 'll need to do some changes in your AS, just read admininstrator Guide.
    Cheers,
    Hamdy

  • Flash CC HTML5 Get instance names on click?

    I make escape games and often have lots of items in a scene each with flash instance names that on mouse over or mouse click make some event happen or some text is displayed.
    I'm using Flash CC and HTML 5 output and cannot get it to output the instance names in the log, is this not possible? Can anyone suggest an alternative method of responding to lots of movieclips/buttons etc
    Here's my test code:-
    //stage.enableMouseOver(24);
    var clicked = "";
    var clickedname = "";
    //NEED TO FIND OUT MOVIECLIP INSTANCE NAME??
    var key1 = exportRoot.key1
    //key1.name = "key1"
    //console.log(key1ref.name)
    stage.on("click", function (evt) {
        //clickedname = stage.getObjectUnderPoint(evt.stageX, evt.stageY)
        //clicked = evt.target
        clicked = evt.target
        console.log(clicked)
        //output result to log
        /*if (clicked == "key1"){
            console.log("clicked key 1")

    Thanks Ned, I really appreciate the help as I've been stuck on this seemingly obvious thing for a few days now and can't progress until I can figure it out...
    Basically using currentTarget it outputs this:-
    a {id: 24, _matrix: a, _rectangle: a, children: Array[1], canvas: canvas#canvas…}
    so comparing it to a name/instance name is not going to work ;-)
    using evt.target gets me this:-
    lib.key1 {id: 21, _matrix: a, _rectangle: a, image: img, x: -40…}
    so again useless, a reference to the key1.png in the library but not to the named instances placed on the stage!!
    Am I assigning the instance name correctly??
    var key1 = exportRoot.key1
    key1.name = "key1"
    Any help from anyone appreciated!!

  • Changing the Database Name

    Hi Gurus
    I am using oracle 10g on Windows platform. The issue is I need to change my database name. When i gone through the Oracle docs I found there is an utility called 'DBNEWID' . But not getting a clear cut idea. Since my DB is So critical anybody please tell me the exact steps to change the DB-Name.
    Thanks & Cheers
    Antony

    Changing Only the Database Name
    C:\>SQLPLUS/NOLOG
    SQL*Plus: Release 10.1.0.2.0 - Production on Tue Aug 22 10:54:38 2006
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    SQL> CONN / AS SYSDBA
    Connected.
    SQL> SELECT DBID,NAME FROM V$DATABASE;
    DBID NAME
    1230404613 DB01
    SQL> SHUTDOWN IMMEDIATE;
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    Must be : Take Whole Database Backup (Oracle Recommended)
    Otherwise u lost ur database.
    SQL> STARTUP MOUNT;
    ORACLE instance started.
    Total System Global Area 171966464 bytes
    Fixed Size 787988 bytes
    Variable Size 145488364 bytes
    Database Buffers 25165824 bytes
    Redo Buffers 524288 bytes
    Database mounted.
    --Go Command Prompt
    DBNEWID UTILITY >>>NID ( OS Path : d:\oracle\product\10.1.0\db_1\bin\nid)
    C:\>SET ORACLE_SID=DB01
    C:\>NID TARGET=SYS/ORACLE@DB01 DBNAME=ORADB01 SETNAME=YES
    DBNEWID: Release 10.1.0.2.0 - Production
    Copyright (c) 2001, 2004, Oracle. All rights reserved.
    Connected to database DB01 (DBID=1230404613)
    Connected to server version 10.1.0
    Control Files in database:
    D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\CONTROL01.CTL
    D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\CONTROL02.CTL
    D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\CONTROL03.CTL
    Change database name of database DB01 to ORADB01? (Y/[N]) => Y
    Proceeding with operation
    Changing database name from DB01 to ORADB01
    Control File D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\CONTROL01.CTL - modified
    Control File D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\CONTROL02.CTL - modified
    Control File D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\CONTROL03.CTL - modified
    Datafile D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\SYSTEM01.DBF - wrote new name
    Datafile D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\UNDOTBS01.DBF - wrote new nam
    e
    Datafile D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\SYSAUX01.DBF - wrote new name
    Datafile D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\USERS01.DBF - wrote new name
    Datafile D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\TEMP01.DBF - wrote new name
    Control File D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\CONTROL01.CTL - wrote new
    name
    Control File D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\CONTROL02.CTL - wrote new
    name
    Control File D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\CONTROL03.CTL - wrote new
    name
    Instance shut down
    Database name changed to ORADB01.
    Modify parameter file and generate a new password file before restarting.
    Succesfully changed database name.
    DBNEWID - Completed succesfully.
    Set the DB_NAME initialization parameter in the initialization parameter file (PFILE) to the new database name.
    Note:
    The DBNEWID utility does not change the server parameter file (SPFILE). Therefore, if you use SPFILE to start your Oracle database, you must re-create the initialization parameter file from the server parameter file, remove the server parameter file, change the DB_NAME in the initialization parameter file, and then re-create the server parameter file.
    ---Create New Password File
    cmd>orapwd file=d:\oracle\product\10.1.0\db_1\database\pwddb01.ora password=oracle entries=5
    SQL> STARTUP PFILE=D:\Oracle\product\10.1.0\Db_1\database\initdb01.ora
    ORACLE instance started.
    Total System Global Area 171966464 bytes
    Fixed Size 787988 bytes
    Variable Size 145488364 bytes
    Database Buffers 25165824 bytes
    Redo Buffers 524288 bytes
    Database mounted.
    Database opened.
    SQL> select dbid,name from v$database;
    DBID NAME
    1230404613 ORADB01
    Note:
    After Change DB Name Take Whole Database bkp.
    Note: If i am missing some step or write wrong step plz. correct me.
    Before doing this refer documentation.
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14215/dbnewid.htm
    thanx
    Message was edited by:
    user526020
    null

  • [How To] access Ms SQL Server2k multiple instance via JDBC?

    hi,
    could anybody tell me how to?
    sql server 'servera': ms sql 2000 enterprise (english)
    installed 3 name instances ('instance1','instance2' and 'instance3')
    jdbc driver: i-net opta 2000
    I don't find any parameter like 'instance' in driver's document, so how could I present my db instance?
    Here is my attemp, but not hit:
    "jdbc:inetdae7:servera\instance1?database=aaa" via tcp/ip and
    "jdbc:inetdae7:\\servera$instance1\pipe\sql\query?database=aaa" via pipe
    who can help me, thanks

    Though I am not an expert in this area, I wish to give my thoughts. Each instance will be listening to a particular port. So in the url string you can specify the port to connect to the particular instance. For example
    jdbc:oracle:thin:@127.0.0.1:1521:oracle","scott","tiger
    the above url string is for the instance running on my local box listening to port 1521.
    If I have one more instance running on 1523, I just change the port number.
    Hope this gives you some insight.
    Cheers.
    Sekar

  • TF255186: The following SQL Server Reporting Services Instance could not be found

    Hi,
    I'm trying to install TFS 2013 on a remote SQL RS instance. 
    Using the TFS 2103 U4 installation
    SQL 2012 RS, name instance, Server: SQLProdA, Instance Name COMRS
    When I enabled tracing using debugView I see the following output:
    [4160] [Error  @11:07:10.978] Exception Message: TF255186: The following SQL Server Reporting Services Instance could not be found: COMRS. The server name is: SQLProdA. (type TfsAdminException)  
    Any ideas what the issue is?
    Thanks,
    reuvy

    Hi Charles,
    Thanks for the help. I already saw those links, and am already trying with the format. As I wrote above:
    Server: SQLProdA, Instance Name COMRS
    So I wrote in the box "SQLProdA\COMRS" (without quotes of course) and I still keep getting that error.
    I don't know if it matters, but although this is indeed a named instance, nonetheless, the path to the report server uses the default url (ie.
    http://servername/reports) as opposed to the name instance version (ie.
    http://servername_instance/reports) as mentioned by your link and this post:
    https://msdn.microsoft.com/en-us/library/bb552341.aspx
    But, I checked with Fiddler on the server and didn't see it trying to even access the link so I don't think it is related. I saw with Process Monitor that it is indeed trying to access via the network resources on SQLProdA, so I know it's trying.
    I have noticed something in the past, and wondered if this could be the issue, that for example if I have Management Studio 2014 installed, I cannot connect to a Reporting Services instance which is 2012. Only when Management Studio 2012 is installed
    and being used can I connect. I wondered if this possibly could be related, that maybe the API or something else which the installer is using is missing some component to connect to the RS instance.
    Just in case, I already installed both the SQL 2012 and 2014 Client Tools Connectivity (although I first installed 2014, and then 2012).
    Do you think this could be the issue? If not, do you possibly have any other leads?
    Thanks,
    Reuvy

  • Unable to set (ssl) certificate on a SQL Server 2012 clustered instance

    Hello everyone!
    I'm trying to encrypt the SQL Server communication with SSL but I can't add the certificate in the configuration manager. I've found and tried a lot of different explaination but none of them worked. I'll described what I've done and hope someone will point
    out what I'm missing.
    Here is my situation:
    - SQL Server 2012 Enterprise Edition. Instance name = INSTANCE, FQDN =  SQINSTANCE.mydomain.com. The instance is running under a customized service account: mydomain\sql_sa
    - Two cluster nodes running Win Server 2008R2: NODE1.mydomain.com and NODE2.mydomain.com. Cluster itself is CLUSTER.mydomain.com
    What I've done:
    1) Asked the team in charge to generate a certificate issued to "SQINSTANCE.mydomain.com" with aliases to "NODE1.mydomain.com", "NODE2.mydomain.com" and "CLUSTER.mydomain.com". I get a certificate with "p7b"
    as extension
    2) Connect on "NODE2.mydomain.com" with account "mydomain\sql_sa". Opened MMC and added the certificate under "Personnal" folder. I tried to add it with "Current user" and "Local computer" settings. Saw both
    on internet since I use a specific service account
    3) Get the thumbprint of the certificate and add it under HKLM\Software\Microsoft\Microsoft SQL Server\MSSQL11.INSTANCE\MSSQLServer\SuperSocketNetLib\Certificate. (I triple checked to remove blanks or special characters)
    4) Reboot the node
    5) Open the SQL Server Configuration Manager, go to the network properties. Certificate does not appear in the list
    I tried to check with certutil and saw the certificate in the output. Some guys talked about some private key but I don't see this particularity in my situation. I tried to check if the certificate is valid and, according to the criterias, it is.
    Does anyone can help me with this?

    Hi,
    Are you sure you've got the certificate correct?  http://msdn.microsoft.com/en-us/library/ms191192.aspx
    To use encryption with a failover cluster, you must install the server certificate with the fully qualified DNS name of the virtual server
    on all nodes in the failover cluster. For example, if you have a two-node cluster, with nodes named test1.<your
    company>.com and test2.<your
    company>.com, and you have a virtual server named virtsql, you need to install a certificate for virtsql.<your
    company>.com on both nodes. You can set the value of the ForceEncryptionoption
    toYes
    In your case, shouldn't it be created for CLUSTER.mydomain.com?
    Thanks, Andrew
    My blog...

  • Inheritance and private instance variables

    I've been reading a Java book. It says you should normally make your instance variables private and use getter/setter methods on them, but if you create a superclass, you have to make those variables public (or default?) to inherit them in the subclasses, right? And you can't redefine the variables as private in the subclass, can you?
    I'm a little confused on this point. Thanks for any light anyone could shed on this.
    =====
    Nevermind...I think I figured it out!
    Message was edited by:
    NovaKane

    Thanks to both of you for your responses. I think I've pretty much done what you did, Anan, in this little test program.
    public class Animal
       private String name=null;
       public void setName(String n)
          name=n;
       public String getName()
         return name;
       public void makeSound()
    public class Dog extends Animal
       public void makeSound()
          if (getName() !=null)
             System.out.println(getName()+" says, \"Bow Wow!\"");
          else
             System.out.println("I don't have a name...but \"Bow Wow!\"");
    public class Cat extends Animal
       public void makeSound()
          if (getName() != null)
             System.out.println(getName()+" says, \"Meow!\"");
          else
             System.out.println("I have no name...but, \"Meow!\"");
    import java.util.*;
    public class Test
       public static void main(String[] vars)
            ArrayList<Animal> animals = new ArrayList<Animal>();
            Animal d = new Dog();
            Animal c = new Cat();
            d.setName("Fido");
            c.setName("Fluffy");
            animals.add(d);
            animals.add(c);
            for (Animal a : animals)
                a.makeSound();
    }The "name" instance variable is private, but I can get at it through the getter/setter methods of the superclass, which are public. I should NOT be able to say something like...
    d.name="Fido";Right?

  • SOA 11g Bundled EM - search instances with wildcard?

    Hello~
    My apologies if this isn't the right place for this post... it's on a bit of a grey line between SOA and EM.
    Anyway, in the EM that comes bundled with SOA Suite 11g, under:Farm > SOA > soa-infra > [partition name] > [composite name] > Instances (tab) the user can search the audit trail entries for instance details that are still in the database.
    My question is, if I am searching by Name (which is a field that can be set by calling setInstanceTitle() in a Mediator/BPEL object), is it possible to do that search with a wildcard?
    I've tried: myquery% and myquery* but neither give the expected results (all instances with a Name that starts with "myquery").
    Thanks in advance for your feedback,
    - Nathan

    Hi, Damien~
    Thanks for the feedback. I'll go ahead and mark your answer correct and the question as answered.
    ...though, if Oracle happens to be listening, it seems to me that the ability to search instances from EM using wildcards would be a great feature to add to SOA 11g.
    - Nathan

  • In PerfDataSource could not resolve counter instance OpsMgr DW Synchronization Module,Total Error Count,All Instances.

    Hello,
    Event viewer Shows warning 10103 in one of SCOM Server 2012 R2.
    In PerfDataSource could not find counter <counter name> in Snapshot. Unable to submit Performance value. Module will not be unloaded.
    One or more workflows were affected by this.  
    Workflow name: <workflow name>
    Instance name: <instance name> Instance ID: {<ID>}
    Management group: <group>.
    Counter: "OpsMgr DW Synchronization Module, Total Error Count, All Instances" 
    How can solve its?
    Thanks

    Hi,
    Can you try to open perfmon and add above counters to see if they are there?
    In addition, please also try to manually create the collection rule of OpsMgr DW Synchronization Module object and check the performance counters.
    Regards,
    Yan Li
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Java Callout - how to set Sender Name by InstanceName

    I have a following code on Java Callout executed on Listening Channel:
    import oracle.tip.b2b.message.InstanceMessage;
    import oracle.tip.b2b.model.instance.Instancemessage;
    // some other imports //
    public class GetPartner implements Callout {
      public void execute(CalloutContext calloutContext, List input,
      List output) throws CalloutDomainException,
      CalloutSystemException {
      Logger log = Logger.getLogger(TransportCallout.class.getName());
      DiagnosticService.log("MKRTransportCallout: Init");
      try {
      log.setLevel(Level.INFO);
      CalloutMessage message =
      (CalloutMessage)input.get(0); 
      Instancemessage inst = new Instancemessage();
      InstanceMessage instance = new InstanceMessage(inst);
      String name = instance.getSenderId();
      String name2 = instance.getSenderName();
      log.info("SENDER ID FROM JAVA CALL " + name);
      log.info("SENDER NAME FROM JAVA CALL " + name2);
    Both logged values are null.
    My question is - how to connect CalloutMessage variable with Instancemessage variable via Java code?
    My variable "inst" is null, because the context from variable "message" is not related with it - there is no connection between CalloutMessage and Instancemessage. How to set connection like this?

    just a short addition. At the moment i use the following code to generate a MimeMessage:
    try
                // Get session
                Session session = Session.getDefaultInstance(MailQueue.props, null);
                // Define message
                this.message = new MimeMessage(session);
                message.setFrom(new InternetAddress(from));
                message.setRecipients(Message.RecipientType.TO, InternetAddress.parse(to, false));
                message.setSubject(subject);
                // pass the mail content and set the Mime Typ
                message.setContent(msg, MimeTyp);   
            catch (MessagingException me)
            } 

  • SQL2008R2 cluster w/ several Named Instances -- shared storage best practice?

    Planning four node SQL2008R2 cluster; three named instances.  Each named instance requires exclusive use of a drive letter on shared storage.  Does the names instance need all it's files (data, logs, tempdb) on that exclusive drive?  Or can
    it use a drive shared by all 3 instances.  E.g. U:\SQLBackup\<instance-name>\...
    Thanks,
    Bob
     

    You will need at least one drive for each instance + 1 one for cluster Quorum (unless you go for fileshare).
    My recommandation would be:
    Instance1
    E:\SQLDataFiles
    F:\SQLLogFiles
    G:\SQLTempFiles
    Instance2
    H:\SQLDataFiles
    I:\SQLLogFiles
    J:\SQLTempFiles
    And so on.  If you are considered that you might run out of drive letters you could make a single Drive letter pr. instance and then attach the 3 drives as mountpoints into this drive. That way you will save 2 letters pr. instance.
    As for just using one single drive pr. instance with all 3 kinds of files: Don't go there - the performance gain of splitting then into 3 drives as laid out above, is at least 50% in my experience. Remeber also to format the sql drives with NTFS blocksize
    of 64K
    Regards
    Rasmus Glibstrup, SQLGuy
    http://blog.sqlguy.dk

Maybe you are looking for

  • Problem in Creation of Activity Request Questionnaire

    Hi I'm facing issue while creation of activity Request Questionnaire. After setting the status to complete & Clicking 'Ok' the activity is not getting created. Its showing 'Internal Error' When I checked in Tcode SLG1 for error log, I'm getting follo

  • Mail sending issues in full screen

    Hey All, When mail is in full screen and you are composing a message, the message box doesn't disappear after you click the send button. The little paper airplane button turns off. When you click it again it turns back on. So on and so forth. A colle

  • Strange sound distortion since update (but only some files and Bluetooth)

    Hello Community! My Xperia Z1 compact got updated to Lollipop (14.5.A.0.242) this morning. Moreover, the Walkman got updated to 8.5.A.3.3. From then onwards, some music files are distorted when played with Walkman, but only when played via Bluetooth.

  • Flash CS3 AutoFormat Unformatted AS 2.0

    I have been noticing that when using the auto formatting feature in CS3 it will add semi-colons before and after curly braces and remove correct indents in code. According to Senocular of senocular.com has noticed this also and has posted some info a

  • Interruption of pdf link display

    My Outlook works fine. My Chrome works fine, and is my default browser.  My Acrobat X works fine.  Outlook pdf attachments open immediately in Acrobat.  Emailed HTML links open immediately in Chrome. HOWEVER, whenever I receive a pdf link in an email