name of database name - confused Server vs

Hi all
I am looking at the API OracleDataSource, what say the docs:

databaseName, string name of the particular database on the server. Also known as the SID in the Oracle terminology.

Servername String the name of the database server


I know the databaseName and can also find using select name from v$ database;

But how to find the name of the server? Any file or command that can be used to find this info?


Thanks in advance

The server name is the name of the area where your database resides. You can ask your Sysdba to give you that. IF you are on the same square, servername can be replaced with localhost.
HTH
Aman...

Tags: Database

Similar Questions

  • Is this possible in double database on another server without losing any data on the auxiliary database?

    Hi guys.

    I have following scenario

    -i have a backup game compressed a database in NOARCHIVELOG mode.

    -i want a database that has been duplicated on a server different but

    without losing the data on the auxiliary database.

    -the two server contains the same version of oracle 11g.

    -two servers UNIX/Linux then

    s ' please reply to more info.

    DB version: 11.2.0.1

    Name of the comic book source: has

    Name of the comic in double: diferent Pentecost B file structure.



    Can someone help me please?

    The target and duplicate database cannot have the same ID duplicate so is not what you need. If you have FOO database on a server and want to copy to FOO on server B, with a different file structure, then simply copy the RMAN backupsets to Server B, and restore the database by renaming the data files. There are many examples on the web.

  • Move the database to the server running Oracle 11 G to the server running Oracle 12 c

    I'm trying to find the best way to migrate a database to a server that is running Oracle 11 G on a server that is running Oracle 12 c.

    I tried using the RMAN duplicate command of database but have run in many too many problems when you try to configure both servers before running the command duplicate.  If someone could provide some guidelines on configuring two servers of the RMAN Duplicate command clearly then that would be great.  The other thing, I've tried makes a cold backup of all files for the database (data files, control files, etc.).  Copy them to the new server, and then re-create the control file to include the correct location and names for the data files and the redologs.  After you re-create the database control file does not start.  I suspect that it is because of differences in version.

    If you can provide me with claire (ie. migration for Dummies) instructions to get one of these methods of work, it would be greatly appreciated.  I am also open to any other method you can think of to achieve what I'm trying to accomplish.

    Thank you

    Paul Noyes

    Paul,

    Please, go to the PDF below he explains the process of upgrading.

    You can create all the tablepsaces and then use utility Import/export where the directory paths are different

    http://www.Oracle.com/technetwork/database/upgrade/upgrading-Oracle-database-WP-12C-1896123.PDF

    Thank you

    SK

  • Moving database from 1 server to another via Data Pump - some queries

    Hello

    I am planing to move my database from one windows server to another. Part of the obligation is also to update this database 10g to 11.2.0.3. So I'm combining 2 tasks using the export / import method (via Data Pump) upgrade.

    Regarding export / import (which will be a pump full data of the database export) my plan is.

    create an empty 11.2.0.3 target database on the server (same number of control files, and redo logs etc.) ready for an import of the source database
    Q1. This will create tablespaces SYSTEM and UNDO - I presume the datapump export doesn't include these spaces of storage anyway?

    For export, I intend to simulate CONSISTENT = Y using FLASHBACK_TIME = SYSTIMESTAMP
    Q2. What is the return of flame characteristics must be active on the source database to use this knowledge should I Flashback Database enabled on the source (as opposed to other flashback features) database?

    My target is a virtual server with a single virtual processor
    Q3. Is there any point PARALLEL usinng in the import settings file (normally I would fix this number of processors - however in the case of this virtual server, it is actually onely a virtual processor)?

    For the import, I intend to use the REMAP_DATAFILE option to change the location of the data files on the target server

    Q4. If the import fails before the end, what is the best course of action? for example I just let go of data storage spaces and remake a complete import?

    Thank you
    Jim

    Jim,

    I'll take a pass on your questions:

    create an empty 11.2.0.3 target database on the server (same number of control files, and redo logs etc.) ready for an import > source database
    Q1. This will create tablespaces SYSTEM and UNDO - I presume the datapump export does not include these storage spaces > anyway?

    The system tablespace is created when you create a database, but the Data Pump will export and try to import. It will fail with tablespace exists. I am sure that the undo tablespace will be also exported and imported. If they are there, then just import will report that they already exist.

    For export, I intend to simulate CONSISTENT = Y using FLASHBACK_TIME = SYSTIMESTAMP
    Q2. What is the return of flame characteristics must be active on the source database to use this knowledge should I Flashback Database active > on the source (as opposed to other flashback features) database?

    I know not true about it. I thought that you need just enough cancel, but I hope that others will run in.

    My target is a virtual server with a single virtual processor
    Q3. Y at - it no PARALLEL point usinng in the import settings file (normally I put this on the number of processors - > however in the case of this virtual server, it is actually onely a virtual processor)?

    We recommend usually 2 times the number of processes, so 2 parallel should be ok.

    For the import, I intend to use the REMAP_DATAFILE option to change the location of the data files on the target server

    Q4. If the import fails before the end, what is the best course of action? that is, do I just give up storage of data and redo a > full import?

    It depends what is failure. Most of the failures will not stop work, but if this is the case, then most of these jobs may simply be restarted. To restart a job, you just need to know the name of the task, which is printed as you start to export/import, or you name the task in your order Data Pump. To restart, follow these steps:

    password/user Impdp attach = job_name

    If you do not name the work, the name of the job will be something like

    User.sys_import_full_01

    Hope that helps - and good luck with your migration.

    Dean

  • How to create a database in SQL Server Express 2014 to be used with LV Database Toolkit

    I use LV Database Toolkit, which, by default, uses the Jet database. Now, I want to use the SQL with LV Database Toolkit database. I downloaded and installed "SQL Server Express with Tools 2014" in my laptop of Labview. Now I want to create a database in SQL Server, because I think that it is a requirement for the creation of a "udl connection file" (file *.udl). Please help me!


  • Problem attaching a database to SQL Server

    Hello

    I try to attach the AdventureWorksLT2012 database to SQL Server... wen I click with the right button on the datbase and look at the properties/security, I don't see any Authenicated listed users... Told me thatI need to give "full control" permission for Authenicated users... How can I do this?

    Ask the question in the SQL Server forums:
    http://social.msdn.Microsoft.com/forums/SQLServer/en-us/home?category=SQLServer

  • Send a Blackberry smart phone info to a database on a server using Java?

    Hello

    I'm new to the Blackberry development... but I now have a project to do.

    I want to retrieve the latitude and longitude of Blackberry GPS and send them to a database on a server every 30 minutes.  Also, I want to be able to do without the user doing anything on his Blackberry (I mean, I don't want him to click somewhere every now and them).

    I was able to get the latitude and longitude (double) using Java.

    I don't know how to get out them of the BlackBerry.

    Can anyone help?

    Thank you

    BTW, I do my testing on a 8310 Rogers using JDE 4.2.1 Simulator.

    Hello

    The BlackBerry smart phone needs a 'gateway' to connect to the internet. This white paper is extremely useful to explain all your choices of selection of the good gateway:

    Data on BlackBerry 4 Wireless Transport Management - Part 1

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe?func=LL&objid=832210&objAction=browse&s...

    Once you have selected the gateway, then you can go ahead and use the Connector.open (url) command to create a HTTP connection to the application server (Tomcat, JBoss, .NET, etc.) on the internet. The application server could then use ODBC/JDBC to store data in the database.

    Tariq

  • Cloning of a database to another server.

    Hi all

    11.2.0.3

    I want to clone or reproduce our PROD database to another server, which is not on the same network, which means that I can't use rman duplicate.

    I use only the backup rman which are shipped to the server target using flashdisk.

    Can you share me docs on how to clone a database using rman backup?

    I tried Google, but I especially find is RMAN duplicate which is not viable in my situation.

    Thanks to all in advance.

    pK

    Hello

    procedure to clone the database restore/recovery of RMAN is same in 10g and 11g.

    Kind regards

    Renu

  • How to calculate memory used by each database in a server

    We have 7 databases running on a server.

    Operating system: solaris

    I want to add a new database on this server. So I want to find if we have enough memory to add a new database. How to find?

    There is a script called omemuse.sh that does exactly that, and you can find it easily enough. There are two versions of the script; that the one you use depends on your version of Solaris.

    Also note that the amount of memory that your use of DBs depends on the SGA and the total PGA. The latter varies according DB activity over time, it should be taken into account.

  • How to create database in the server administration

    I'm newbie can a

    Yone direct me to create a database in the server administration

    or a table in cf. I wanted to tell the database with data.c

    extension of the AR

    I don't know what you mean when you say you want to create a "database with the data.car extension'.  CF is a web application, not a server database server.

    Information about connecting to databases are in the documentation of CF.  See:

    "Adding data sources.
    http://help.Adobe.com/en_US/ColdFusion/9.0/Admin/WSc3ff6d0ea77859461172e0811cbf3639b1-7ffc .html

    "Accessing and using data.
    http://help.Adobe.com/en_US/ColdFusion/9.0/developing/WS8f0cc78011fffa7168855f811cdb0b0cce-8000.html

  • Set the name of server report dynamically at run time

    Hi guru,.

    I called reports of the forms that I hardcode the name of report server in my code.
    Is there no alternative to set the server name of report dynamically at run time, is how to find the name of the report server and that in through my code as a parameter.


    can you give some examples of codes... Thank you

    One way that we usually followed before was to store the name of the report server in other tables in the database, then choose this name whenever we want to run a report.

    In this way, it is easy even if there is no change in the name of the server.

  • Vista fails to resolve the name of Server 2003 on a domain

    I have several computers and two servers configured as a domain.

    Server1 - Server 2008: domain controller, print server

    Server2 - Server 2003: Server terminal server, file server

    V1 - V10 - Vista desktop computers

    Recently an office has been infected with a virus. I clean with AVG Live CD and then with Avira. At the moment, it seems that the virus has disappeared completely.

    As meeting the office in question cannot resolve the name NetBIOS of Server2, but find other machines on the network very well. I placed the entries in the file hosts and lmhosts with no effect. Connection via the address IP of Server2 works well though, so it doesn't seem to be a permission problem.

    We know troubleshooting step by step for such a question?

    http://TechNet.Microsoft.com/en-us/WindowsServer/default.aspx

    They will help you in the above Server Forums.

    See you soon.

    Mick Murphy - Microsoft partner

  • Need name of server

    to get a new email, I put in the name of the incoming and outgoing server. where can I find them?

    Call you ISP (Internet Service Provider). Tell them that you need informayion to configure an e-mail account. Tell them that you need the followins:

    Username
    E-mail address
    Password
    Server name incoming (POP)
    The name of the outgoing (SMTP) Server

    Also ask them if they have a Web site where you will be shown how to set up an e-mail account. Some ISPS have such service available.

    t-4-2

  • VersaMail - 'Unable to resolve name' mail server error

    I had an intermittent but frequent with VersaMail problem when I try to connect to get my email.  Often, I receive the following message:

    "Cannot resolve the name pop.mindspring.com. Check your DNS settings or enter the IP address of your mail server. »

    I also occasionally get to my Yahoo.com e-mail addresses, is not unique to Mindspring.com.  Sometimes, often, but sometimes I get no problem, so settings I seem to work - when they want to.  Needless to say, it's frustrating and annoying, so if anyone has a way to solve this problem, I would appreciate knowing.

    Thank you.

    Problem solved!  I had google for answers and found an explanation of DNS servers on another forum where someone had a similar problem.  It seems that DNS servers simply take the domain name use us and find the IP address for this domain name, then hang us up to this IP address.  I was getting the error message was that I had to check my DNS settings or enter the IP address, so it seemed logical to me that if I could ignore these servers DNS Dingo with their "now, I'm going to do, now I do not want" bad attitude, maybe I could connect directly with mail servers.  Your tip on how to find the IP address of mail servers in scathing them was the missing piece, I needed.  I deleted the names of POP and SMTP servers for each account that I have would establish in VersaMail, replacing them with the appropriate IP addresses and I can connect now reliable with all servers, first time, every time - and lightning -fast.

    Thanks for your help!

    Message relates to: Palm TX

  • Make a name virtual server HTTPS only

    I am using BCI 11.1.7 and using the Web Cache, OSH, and WebLogic.  I have several servers to virtual name defined in OSH.  I want to implement that one of them is only connected via HTTPS and HTTP requests are redirected to the HTTPS version.  I tried the obvious thing, using mod_rewrite in the configuration of the virtual server in OSH to redirect the HTTP requests:

    RewriteCond %{HTTPS} off

    RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]

    Of course since all the traffic of the OHS Web Cache using HTTP this simply causes an endless loop of redirects.

    So I wonder if there is a header, or something sent by Web Cache, I can use to tell if the original application used HTTPS.  Otherwise if there is a way to configure this at the level of the Web Cache, which would work as well.  Otherwise I think I'll finish with a certain configuration of Frankenstein that will be featured on http://www.thedailywtf.com in 2018

    I was dumping all the headers using JSP and found out the header (undocumented?) HTTPS-SSL defined by the WebCache is 'off' or 'on '.  So I used:

    RewriteCond %{HTTP:SSL-Https} !on
    RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]

Maybe you are looking for

  • DeskJet 2512: problems

    My printer cannot print from my computer and I tried to print a photo if I can use it on my project but when I checked the info from document and the State is empty although ill, has tried to restart and nothing working paper will not come to the san

  • Failure of the audit on the iPhone, but works in iTunes

    Hello I had a strange problem: I can log on successfully to my desktop (Windows) by using my AppleID, can see my account balance and buy free apps. But I use the same AppleID on my iPhone 6Plus, it always shows: "failure of the audit, your Apple ID o

  • playlists for transfer from one library to another on the same computer

    I have 2 iTunes libraries, each in a separate iTunes folder on a single computer.  A library contained musical; the other doesn't have any content.  Also, I have 2 iPod classic I want to be able to synchronize separately for each library.  To this en

  • Rescue and recovery work do not

    I erased from my hard drive and installed Ubuntu. Now I need Vista to use some software to test for my state bar examination. Rescue and recovery disks as well as keep the f11 system restore gives me an error of starting. Vista is gone for good? Leno

  • WRT160N router broadcasts not Internet

    Hello I had a Linksys WRT160N router for about 7 years and recently started having a few problems with it. I guess it is old and needs to be replaced, but before I got up to get a new one I wanted to check. The connection displays the full bars, but