How to know list of databases
HI
Is anybody know how one can from SQLPLUS to see list of
databases he can connect to.
Of course,I can see it from ENTERPRISE MANAGER,but is it there
some command for do it,sth like
list databases?
thanks
if your are asking from schema/users.
query
select USERNAME from dba_users;
if you are asking how many databases are on machine
run following command in linux
ps -ef | grep lgwr
it will out put you
ora_lgwr_<sid1>
ora_lgwr_<sid2>
simply count them
Nimish Garg
http://nimishgarg.blogspot.com/
Similar Messages
-
How to know whether the database is using SPFILE or PFILE
How can i know whether the database is using SPFILE or PFILE.
There are both initSID.ora and spfileSID.ora in default location.
The registry entry for ORA_SID_PFILE is C:\oracle\ora90\database\initSID.ora
Also, if it is using SPFILE than how can i modify the non dynamic parameters when the database is in the close state.
ManuIf you do not specify a path of a pfile , when you actually startup a database , then it will be use your pfile , if you specify a path explicitly fot a pfile , then it'll use your pfile.
Also, if it is using SPFILE than how can i modify the non dynamic parameters when the database is in the close state.sql > create spfile from pfile ;
the spfile will syncronise with pfile .
Hare krishna
Alok -
How to know the OMR database from OMA or from OMS
Hi all DBA,
I found an OMA on a server, how to know where is his database repository. ( OMR )
Thanks in advance.Run
emctl status agent
and check for
Repository URL
Werner -
How can I list used database/table size resp user space ? Compression after
How can I list used + maximum tablespace/database/table size of an Oracle database ?
How can I list the space used currently by a user resp. his tables+indizes ?
By the way: If I delete a user or table from an Oracle database installation: are then only the entires deleted
or is the space released as well ?
In otherwords: After I deleted a user resp. table is it recommended to do something like a "compress" similarly to Outlook
or other eMail clients to shrink really the occupied space on hard disc ?I hope this helps you
select df.tablespace_name "Tablespace",
totalusedspace "Used MB",
(df.totalspace - tu.totalusedspace) "Free MB",
df.totalspace "Total MB",
round(100 * ( (df.totalspace - tu.totalusedspace)/ df.totalspace))
"Pct. Free"
from
(select tablespace_name,
round(sum(bytes) / 1048576) TotalSpace
from dba_data_files
group by tablespace_name) df,
(select round(sum(bytes)/(1024*1024)) totalusedspace, tablespace_name
from dba_segments
group by tablespace_name) tu
where df.tablespace_name = tu.tablespace_name; -
How to get list of databases running in Solaris?
First day @ work as junior...already telnet into Unix enviro. how do i list the names of databases running?
Since the ps command only lists those that are currently running at the time the command is issued (not accounting for ones down for maintenance, etc) You could look at /var/opt/oratab to see all databases configured for that paticular SUN server. Do a "more /var/opt/oratab".
Just wanted to provided another point to find all databases on a server. -
How to know MS Access Database is down through Java
How i would know whether MS Access DataBase is down?
Is there any specific code for it in Java
Need a quick replyHow i would know whether MS Access DataBase is down?"down"? If the file system on which it's running is unavailable, that's the best you can do. If you can't connect, it's "down".
Is there any specific code for it in JavaNo. Doesn't sound very platform-independent.
Need a quick replyFast enough?
% -
Based on a SQLException how to know if the database is down?
Hi
How can I know based on a SQLException that the database is down?. I know I can check the errorCode but which error codes indicate that the database is DOWN or not available?
Regards,
Néstor BoscánIf the SQLException is IO exception: Connection refused, one of the causes is that the database instance has not been started. If the SQLException is
IO exception: The Network Adapter could not establish the connection., one of the causes is that the database TNSListener has not been started. -
Hi
I have export dump file. I don't have any information other then that about the dumpfile.
1. How do I know what version of exp was used(or database version)?
2. what does the exp contain, whether it is table/schema/tablespace/database level export?
3. Is it possible that I can used impdp command to export a file which was exported using "exp" command?1. Sorry for my ignorance but in first case how do I know if i have to use "imp or impdp".
As discussed in the above mentioned thread strings might reveal something but not sure. Otherwise you can always confirm by trying to run it.
And assuming that if I imported the dump(using trial and error rule), how do I know what level of export was the dump file created... ie
how do I know the present object(object imported in target) was belonging to which tablespace and schema in source database(question 2 of "Sidhu")?
When you will import it back in a new database, everything will be same as the original database. All objects will belong to their respective tablespaces,schemas blah blah...(where they were in the original database).
Sidhu -
How to know number of databases running
HI Experts,
How to easily know how many databases are running in Windows OS and Solaris OS
Thanks
ShaanHi Adith,
It means i have to loggin to sqlplus, but even if i logging to sqlplus it won't show total numbers of databases running on the server. Is there any other way to know.
My query is how do I know about number and name of the databases running on a server which is unknown to me. Lsnrctl is one option, but it also doesn't give the 100% result.
Thanks
Shaan -
How to know list approver names for a PR?
Hi,
In Purchase requisition, there is set approvers to approve one by one.
What is the table to get the list names (approves) by passing a PR No and Item number.
ThanksHi Narendra,
Plz check the given link, it is relevant to your question.
Hope it will help you.
How get approver for corresponding PR or PO?-Urgent
or
If you use Workflow in your company,
for PR
go to customizing
SPRO>Materials Management
(or directly OLME for Purchasing customizations)
and then Purchase Requisition>Release Procedure>Procedure with Classification>Set Up Procedure with Classification>Workflow
and then you can see from the AGENT ID coulmn all of the PR approval users
Thanks,
Sarita Singh Rathour
Edited by: Sarita Rathour on Aug 3, 2009 2:00 PM -
How to know exactly the database update have finished?
Hi all,
I use BDC to confirm a Transfer Order, the last screen is reserved for user. User may confirm all the items or some of them or none. So I want to select the TO item data after the BDC to get the confirmed items for the nexe process. Now the problem is, if I select data just after the BDC, the database still not updated yet, so I have to use the statement: WAIT UP TO 2 SECONDS. Is there any better solution for this?U can check the lock enteries using below code
DATA : WRK_SEQG3 TYPE TABLE OF SEQG3.
DO.
CALL FUNCTION 'ENQUEUE_READ'
EXPORTING
GCLIENT = SY-MANDT
GNAME = <table neme>
TABLES
ENQ = WRK_SEQG3.
CHECK WRK_SEQG3[] IS INITIAL.
EXIT.
ENDDO.
If the control comes out of this do loop then u can find the data in table...so ur select condition wont fails
Regds
gv -
How can I get a list of database names from environment
Hi,
How can I get a list of database names from environment.
I had found a method in JE API Docs named Environment.getDatabaseNames(), and i couldn't found the same method in Berkeley DB.
I use java interface, is it supported?
Thanks.Hello,
I don't know if it would work for you, but have you checked the db_archive utility at:
http://download.oracle.com/docs/cd/E17076_01/html/api_reference/C/db_archive.html
Check the -s option.
Thanks,
Sandra -
How to know a utility is installed or not in oracle database?
hi,
how to know a utility is installed or not in oracle database?
thanks
rajuTo list the number of DBMS packages
SQL> select * from dba_objects where object_name like '%DBMS%';This will only return DBMS packages (not other packages like UTL_FILE, UTL_ENCODE, ..etc). -
How to get the list of database Views modifying the DB tools list tables.vi
Hi,
I have a problem, I just started using LabVIEW and in particular the LabVIEW connectivity toolkit and I am lookig fgor suggestion regarding how to get the list of database Views modifying the DB tools list tables.vi...
Thanks in advance,
MichelaHi Michela,
since the VI you want to modify is part of a Toolkit, I suggest you to copy the whole block diagram in a new VI and then save it in a new location.
Place the DB List Tables.vi on a block diagram, double click on it and go to the tab "Window -> Show Block Diagram "
Select "Edit -> Select All" to select the whole block diagram and select "Edit -> Copy"
Open a new VI and select "Edit -> Paste"
Save the new VI
In this way you can modify everything you want without overwriting the Toolkits VIs.
Hope this can help.
Regards,
Andrea N.
Systems Engineer ATE & RF - Mediterranean Region
National Instruments Italy -
How i know my contact list
We will need more information to help you. What do you want to know about your contact list? Tap the contact app to see your contacts listed.
Maybe you are looking for
-
I received this error after installing 3.6.8 and launching Firefox. I read the two related articles and the help suggested did not work. I have gone so far as to search for and delete all instances of "Firefox", "Mozilla" that I found, as well as goi
-
How to get application's state on weblogic server using jmx.
I want to get application state using JMX, I am able to get application list, name but not able to find its state. Some code snippet mentioned below. Please let me know if I can use some other MBean Thanks in advance.. static { try { service = new Ob
-
I am living in moscow, but i have a mastercard in vietnam. I changed my location in itunes from Russia into Vietnam. But when I change my billing info, and write my card's informations. It said I have problems with the address. I typed my address in
-
Error message when restoring factory settings
I went to restore the factore\y setttings using itunes 7.7 and it started to restore the factory settings and then froze up and gave me an unknown error message and now when I hook back up the ipod it says that I have to restore before I can do anyth
-
ADOBE READER N'A PAS PU OUVRIR VOTRE DOCUMENT?
Bonjour, J'ai téléchargé adope reader (pour mac) version 11 sur un mac os 10.9.1. Lorsque j'ouvre un fichier en PDF sur un site internet quelconque , je parviens à l'ouvrir sans aucun problème et à le visionner. Le problème est que lorsque j'enregist