Oracle instance
Hi friends,I was wondering how the Oracle instance.
I googled on oracle instances but didn't have that piece of information I was looking for.
Multiple instances can be used on an oracle database oracle at the same time?
Also, how the Scriptures that we define in tnsnames.ora to drive the oracle on a particular database instance?
Thanks in advance,
Published by: Caitanya on January 6, 2009 02:43
Instance is a combination of structures of memory and the background process that is created in memory when we start the database. For a database of single simple database node that is, there can only be one instance per database. And a single instance can only corresponds to a database. When there is RAC environment, there may be multiple instances of a database according to the number of nodes from the server.
TNSNAMES. ORA is a file that is used on the client machines to access the oracle server, but not to drive it. It contains the data connection from the client to the server
For the TNSNAMES file. See file ORA
ORACLE =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.17.144)(PORT = 1521))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ORACLE)
)
)
Concerning
Tags: Database
Similar Questions
-
Oracle Instance crashes during the allocation of channels using the Oracle database backup Service
I am running Oracle Version 11.2.0.3 on a 64 bit Windows Server 2008 SP 2 OS. Today when I tried to allocate a channel for 'SBT_TAPE' my instance has crashed. Everyone knows this?
Set ORACLE_HOME=D:\app\oracle\product\11.2.0\dbhome_1\
Set ORACLE_SID = CNFCRAC1
Set SBT_LIBRARY=D:\app\oracle\product\11.2.0\dbhome_1\BIN\oraopc.dll
Set OPC_PFILE=D:\app\oracle\product\11.2.0\dbhome_1\database\opccnfcrac1.ora
RMAN > Connect target
RMAN > run {}
allocate channel t1 'SBT_TAPE' device type
PARMS ' SBT_LIBRARY=D:\app\oracle\product\11.2.0\dbhome_1\BIN\oraopc.dll, ENV=OPC_PFILE=D:\app\oracle\product\11.2.0\dbhome_1\database\opccnfcrac1.ora)';
}
Windows Event Viewer:
The failing application name: ORACLE. EXE, version 11.2.0.3
Module failed name: oraopc.dll, version 12.1.0.0
Exception code: 0xc0000005
Offset: 0x00000000000249af
ID of the process failed: 0 x 1510
Failed application start tiem: 0x01d0eb098ecd2d2f
The failing application path: d:\app\oracle\product\11.2.0\dbhome_1\bin\ORACLE. EXE
Flaws Path E-mail: D:\app\oracle\product\11.2.0\dbhome_1\BIN\oraopc.dll
I made sure that the PATH environment variable has the following entry. D:\app\oracle\product\11.2.0\dbhome_1\BIN
RAC1 Table of contents alerts journal:
Fri Sep 11 09:04:23 2015
Thread 1 Advanced to record the sequence 11277 (switch LGWR)
Currently Journal # 3 seq # 11277 mem # 0: +REDO/cnfcrac/onlinelog/group_3.258.824214591
Fri Sep 11 09:04:31 2015
Archived journal 23067 extra for each sequence 1 11276 0x82a6e611 dest ID thread entry 1:
Fri Sep 11 09:06:20 2015
Reconfiguration began (old Inc. 16, new Inc. 18)
List of instances:
1 (myinst: 1)
Fri Sep 11 09:06:44 2015
Global Resource Directory frozen
* death detected instance - invalid domain 0 = TRUE
Restored communication channels
Diffuse master hash resource bitmaps
Blocks of non-local process cleaned
Fri Sep 11 09:06:44 2015
LMS 0: GCS shadows cancelled 0 1 closed, 0 Xw survived
Fri Sep 11 09:06:44 2015
Shadows GCS LMS 1: 1 cancelled, 1 closed, 0 Xw survived
Set of master node info
Subject to all requests for remote enqueue
DWN-cvts replayed, questionable VALBLKs
All enqueues grant awarded
Post SMON start 1 IR pass
Fri Sep 11 09:06:46 2015
Instance recovery: looking for dead threads
Beginning of thread 1 instance recovery
Subject to all requests for remote-cache GCS
Post SMON start 1 IR pass
Fix write in SCM resources
Contents of the journal of alerts 2 RAC
Fri Sep 11 08:57:47 2015
Archived journal 23064 extra for each sequence 2 11793 0x82a6e611 dest ID thread entry 1:
Fri Sep 11 09:06:42 2015
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Monitoring of normal startup parameters... I looked in the CRS, ORAAGENT, OCTSSD, and CRSD marbles, but I can't find anything that stands out as to what caused the end of abnomal, another of the communication between the two bodies has not responded within the specified time.
-Jen
Hi Jen,
There is a known issue with Windows module. We are working on fixing it and the new module should be available soon. I'll update as soon as we release the fixed module.
Sridhar
-
ORA-01092: ORACLE instance is complete. Disconnection forced
Hi all
I created a primary database with two databases on hold. But after completing the configuration, the primary and the first Eve began...
At the start of the second database ensures I get the below error.
SQL > startup;
ORACLE instance started.
Total System Global Area 2137886720 bytes
Bytes of size 2177456 fixed
1493173840 variable size bytes
637534208 of database buffers bytes
Redo buffers 5001216 bytes
Mounted database.
ORA-01092: ORACLE instance is complete. Disconnection forced
ORA-00704: bootstrap failure process
ORA-39700: database must be opened with the UPGRADE option
Process ID: 7840
Session ID: serial number 33: 1
Please help on this.
Thank you.
Hi John, yes the version has been upgraded now and the error got erased.
-
Hey Geeks,
I met a problem when starting my 12 c RAC database.
To mount it fine, but when I try to open, he throws me an error.
System Global area 1.5400E + 10 bytes
Bytes of size 4737560 fixed
2952791528 variable size bytes
1.2415E + 10 bytes database buffers
Redo buffers 26857472 bytes
Mounted database.
SQL > alter database open;
change the database open
*
ERROR on line 1:
ORA-01092: ORACLE instance is complete. Disconnection forced
ORA-00942: table or view does not exist
Process ID: 11338068
Session ID: 1429: No.3
Here is the output of the trace file...
ORACLE_HOME = / oracle_home/app/orahome
Name of the system: AIX
Name of the node: INS1
Version: 1
Version: 7
Machine: 00C8CCA74C00
Instance name: INST1
Redo thread mounted by this instance: 1
Oracle process number: 7
The Unix process PID: 20381876, image: oracle@ins1 (TNS V1 - V3)
2014-11-27 22:49:20.892
SESSION ID: (197.5) 2014-11-27 22:49:20.892
CUSTOMER ID :() 2014-11-27 22:49:20.892
NAME OF THE SERVICE :() 2014-11-27 22:49:20.892
NAME of the MODULE: (sqlplus@ins1 (TNS V1 - V3)) 22:49:20.892 2014-11-27
ACTION NAME :() 2014-11-27 22:49:20.892
2014-11-27 22:49:20.889716: start the recovery of field = 0, valid = 0, flags = 0 x 4
2014-11-27 22:49:24.580
Awarded with 32 slaves of recovery success
With the help of 3 buffers overflow by slave of recovery
2014-11-27 22:49:24.740
1 post of thread: logseq 15, block 2, CHN 3510749
cache-bass rba: logseq 15, block 3
RBA on disk: logseq 15, block 72, RCS 3510824
Start the recovery at logseq 15, block 3, Yvert 0
2014-11-27 22:49:24.981
Started the resilvering redo thread 1 seq 15 blocks 72-73
2014-11-27 22:49:24.994
Finished resilvering redo thread 1 seq 15
2014-11-27 22:49:24.994
Started writing zeroblks thread 1 seq 15 blocks 74-81
2014-11-27 22:49:24.994
Completed written zeroblks thread 1 seq 15
= Redo read statistics for thread 1 =.
Total physical reads (from disk and memory): 4096 KB
-Redo read_disk - statistics
Read rate (ASYNC): 35KO in 0,25 s = > 0.14 Mb / s
Long: 0 Ko, moves: 0/104 (0%)
Longer LWN: 2 k, moves: 0/33 (0%), moved: 0 MB
Redo last scn: 0x0000.0035922b (3510827)
----------------------------------------------
-Recovery Hash Table statistics
Hash table buckets = 262144
More long string hash = 1
Hash string average = 25/25 = 1.0
Max compares by lookup = 1
AVG compares by lookup = 151/176 = 0.9
----------------------------------------------
2014-11-27 22:49:25.007
KCRA: start the debt for 25 blocks of data collection
2014-11-27 22:49:25.039
KCRA: treated blocks = 25/25, has claimed = 25, eliminated = 0
2014-11-27 22:49:25.054
Online Redo Log recovery: thread 1 mem Group 6 Seq 15 reading 0
2014-11-27 22:49:25.060
Ask again filled with 0.02 MB
2014-11-27 22:49:25.235
Control of completed recovery point
-Recovery Hash Table statistics
Hash table buckets = 262144
More long string hash = 1
Hash string average = 25/25 = 1.0
Max compares by lookup = 1
AVG compares by lookup = 176/176 = 1.0
----------------------------------------------
Recovery thread nab 1 seq 15 to 74 with 8 zeroblks sets
2014-11-27 22:49:26.000
2014-11-27 22:49:26.000433: validate the domain 0
2014-11-27 22:49:26.001348: valid domain 0, flags = 0x0
2014-11-27 22:49:28.315
County ofsmtab$: 0 entries
2014-11-27 22:49:28.732
ORA-00942: table or view does not exist
ORA-00942: table or view does not exist
2014-11-27 22:49:28.738
USER (ospid: 20381876): put an end to litigation because of the 942 error
In my case, the problem solved by running the following...
GRANT SELECT on SYS. The USER$ in XDB.
GRANT SELECT on SYS. The USER$ in CTXSYS.
GRANT SELECT on SYS. The USER$ to DVSYS;
GRANT SELECT on SYS. The USER$ to LBACSYS.
GRANT SELECT on SYS. The USER$ to APEX_040200;
GRANT SELECT on SYS. The USER$ to DV_SECANALYST;See the screenshot above.
-
What is the best method to manage more than 100 oracle instance?
our company have run on the 100 on VM Linux oracle instance.
What is the best method to manage more than 100 oracle instance? use Oracle Enterprise Manager?
Thank you.
How your company grow to 100 cases? There would be some oversight in place as he grew.
What do you exactly mean by "manage"? Monitor? Start/stop? Performance optimization? Add storage / Storage? Backup?
You may need a mixture of methods / facilities. Again, it should be obvious that you have something in place already - if you replace it entirely?
Hemant K Collette
-
eHi,
We intend to install the bases and the IR Services.
We are able to properly configure all components, but because of the lack of space in the disc last configuration web server is down
After that space is provided when we open EMP Configurator is crashing after Oracle Instance screen and does not go any further.
We saw.the error in configtool.log below
[]] [2014 05-27 T 03: 23:40.177 - 07:00] [EPMCFG] [PATH] [EPMCFG-05935] [oracle. EPMCFG] [tid: 12] [ecid: 0000KOxDDHi7Q9gpLCk3ye1JX6UY000000, 0] [SRC_CLASS: com.hyperion.cis.utils.StopWatch] [loading CT documents] task was completed. Seconds of execution time [0] [2014-05 - 27 T 03: 23:40.380 - 07:00] [EPMCFG] [PATH] [EPMCFG-05935] [oracle. EPMCFG] [tid: 12] [ecid: 0000KOxDDHi7Q9gpLCk3ye1JX6UY000000, 0] [SRC_CLASS: com.hyperion.cis.utils.StopWatch] [storage Init] task was completed. Seconds of execution time [0] [2014-05 - 27 T 03: 23:40.427 - 07:00] [EPMINS] [ERROR] [EPMINS-00001] [oracle. EPMINS] [tid: 12] [ecid: 0000KOxDDHi7Q9gpLCk3ye1JX6UY000000, 0] [SRC_CLASS: com.hyperion.hit.wizard.Wizard] trace: unexpected error: [[java.lang.NullPointerException at com.hyperion.cis.config.Configurator.loadClasses(Configurator.java:99) at com.hyperion.cis.config.Configurator.initialize(Configurator.java:91) at com.hyperion.config.wizard.impl.ToConfigurationState$ 1.commit(ToConfigurationState.java:80) to com.hyperion.hit.wizard.Wizard$ (Wizard.java:544) NextClass.run to java.lang.Thread.run(Thread.java:662)]]
and underneath the error in configTool - stderr.log
D:\Oracle\Middleware\user_projects\epmsystem1/import_export does not exist or is not a directory java.util.logging.ErrorManager: 1: oracle.core.ojdl.LoggingException: unable to write in the newspaper "D:\Oracle\Middleware\user_projects\epmsystem1\diagnostics\logs\config\configtool-http-ant.log": java.io.IOException: there is not enough space on the drive to oracle.core.ojdl.FileLogWriter._writeBytes(FileLogWriter.java:461) to oracle.core.ojdl.FileLogWriter.writeBytes(FileLogWriter.java:391) to oracle.core.ojdl.BufferedLogWriter.writeToBuffer(BufferedLogWriter.java:335)
Even if the space available is now EMP Configurator crashes. Help, please.
D:\Oracle\Middleware\user_projects\epmsystem1/import_export does not exist or is not a directory java.util.logging.ErrorManager: 1: oracle.core.ojdl.LoggingException: unable to write in the newspaper "D:\Oracle\Middleware\user_projects\epmsystem1\diagnostics\logs\config\configtool-http-ant.log": java.io.IOException: there is not enough space on the disk to oracle.core.ojdl.FileLogWriter._writeBytes(FileLogWriter.java:461)
If this is a new installation, you can try to delete/rename user_projects & reconfigure all the components again (creating new Shared services registry). Just make sure that you have enough disk space before proceeding.
Kind regards
Santy.
-
Is an Oracle Instance a Cluster resource
Hello
I try to understand what is considered to be a cluster resource - the Oracle Instance, Oracle Database or both?
When I use "crsctl resource" the Oracle Instance doesn't seem to be a kind of resource
To my knowledge, a cluster resource is something that the cluster monitors and restarts in case of failure - but when you think about it, it's the Oracle Instance that the cluster services monitors on a node given and he'll try to restart in case of failure. So why the Instance does not appear as a Type of resource?
I saw the other definitions for "Resource" that define it as any application that the cluster is running using several nodes.
Thank you
Jim
Hello
Both the database and the instances are resources.
When you create a database register first the database with the CRS and then all instances (srvctl add/database instance).
crsctl res stat - shows you the database as a resource and its associated bodies.
srvctl config database db_name d shows the database as being registered and all instances that are registered with the database.
-
ORACLE instance is complete. Disconnection forced
Hello
When I try to log in, it is to launch "ORACLE instance is complete.» Forced logoff'
Here is the message saved in the journal ALERTS
Completed: ALTER ROLLBACK SEGMENT RBSL1 offline
Sun Jun 23 00:42:35 2013
Errors in the D:\HA_salesupp\Dump_files\ssdtCKPT.TRC file:
ORA-00206: Message not found 206; No product message file = RDBMS, facility = ORA; arguments: [3] [1]
ORA-00202: Message not found 202; No product message file = RDBMS, facility = ORA; arguments: [D:\HA_SALESUPP\CONTROL_FILES\SSDT2. CON]
ORA-27072: Message not found; 27072 No product message file = RDBMS, facility = ORA
OSD-04008: WriteFile() failure, cannot write to the file
S/O-error: (OS 33), the process cannot access the file because
another process has locked a portion of the file.Sun Jun 23 00:42:36 2013
Errors in the D:\HA_salesupp\Dump_files\ssdtCKPT.TRC file:
ORA-00221: Message not found 221; No product message file = RDBMS, facility = ORA
ORA-00206: Message not found 206; No product message file = RDBMS, facility = ORA; arguments: [3] [1]
ORA-00202: Message not found 202; No product message file = RDBMS, facility = ORA; arguments: [D:\HA_SALESUPP\CONTROL_FILES\SSDT2. CON]
ORA-27072: Message not found; 27072 No product message file = RDBMS, facility = ORA
OSD-04008: WriteFile() failure, cannot write to the file
S/O-error: (OS 33), the process cannot access the file because
another process has locked a portion of the file.Sun Jun 23 00:42:36 2013
CKPT: termination litigation because of the error 221
Sun Jun 23 00:42:39 2013
Errors in the D:\HA_salesupp\Dump_files\ssdtDBW0.TRC file:
ORA-00221: Message not found 221; No product message file = RDBMS, facility = ORASun Jun 23 00:42:39 2013
Errors in the D:\HA_salesupp\Dump_files\ssdtPMON.TRC file:
ORA-00221: Message not found 221; No product message file = RDBMS, facility = ORAInstance terminated by CKPT, pid = 78
Please let me know if I can directly start services using "net start < myservicesName >" or any other steps must be followed.
Hi Hulk
You * should * be able to directly start services (Oracle will make crash recovery). The cause is
S/O-error: (OS 33), the process cannot access the file because another process has locked a portion of the file.
This majority often occurs when a backup or AV program strives to save or to analyze the virus file. The solution, assuming that it is one of them, do not use backup directly on the database (or use an agent provided with the program backup or RMAN) or exclude directories from Virus detection database.
Niall
-
Installer/Packager of Oracle instance
Hello! I need to create an installer that would create an Oracle instance on the Oracle of the client server. For SQL Server I can use SQL package manager (http://www.red-gate.com/products/sql-development/sql-packager/)
who can create an executable that I can integrate a .msi file.
Is there something available for Oracle?
As background, several times a year the company that I work for CD ships with the latest data. Db schemas change frequently, so we rather not run sql dba cause data population scripts cannot run properly. They tend to perform the data script change scripts before schema. My company gave up after spending more than $50 K on the creation of some of the best material I've seen. Instead, we will create an installer that would take the name of zone Oracle and execute commands of Oracle restore to restore an entire database from a dump.
The packer of Red Gate SQL product works rather well for SQL Server.
What are my options for Oracle?
Many thanks in advance,
-Michael Z...
Published by: mikezat on March 27, 2012 14:59Salvation;
Please check below which could be useful for your question:
How to create a response file and perform a silent install with Setup of customer 11.2 Oracle [ID 1225194.1]
How to create a RDBMS YES Silent install response files. [388451.1 ID]Respect of
HELIOS -
ORA-01092: ORACLE instance is complete. Forced logoff.
Hello
I have restore and recover my backup rman set (to another server) and I don't have any error, it is open.
in the end, I am trying to open my database and I have this error, is there someone at - it an idea on the question please?
Thank you
SQL > alter database open;
change the database open
*
ERROR on line 1:
ORA-01092: ORACLE instance is complete. Disconnection forced
Process ID: 2484
Session ID: 170 serial number: 5Looks like you are trying to upgrade your database to 11G.
Follow the guide of upgrade:
http://www.Oracle.com/technology/products/database/Oracle11g/upgrade/index.html
http://download.Oracle.com/docs/CD/B28359_01/server.111/b28300/intro.htm#UPGRD001
Concerning
Rajesh -
Explain the architecture of the ORACLE Instance
I read 100 pages of 2 day DBA. And I printed the OCA review topics.
I have not found any to explain the architecture of the ORACLE InstanceWatch http://download.oracle.com/docs/cd/E11882_01/server.112/e10713/toc.htm
It is the Guide of Concept of database Oracle. In part 5 you will find what you are looking for.
-
How to restart the customer Oracle oracle instance
I have a server Oracle 10 g with DEVEL instance on AIX machine. I have an Oracle Client on the Windows machine as well. I want to stop and start the instance of my client DEV using .bat file. Is this possible? Does anyone know how to do it?
KP >Well, right now the correct question should be: how to start the database.
I am able to connect as sysdba DEVEL on AIX (as from Windows clients) and stop it but when I try to start it returns this message:ORA-12505: TNS:listener is not currently of SID given in connect descriptor
but I'm still able to tnsping my client DEVEL...
Display the status of the listener, its content and the tnsnames.ora file entry. Here is how I got connected stopped and started. The process that I follow:
(1) entry Made in listener.ora file as I said earlier, restarted the listener
(2) Made in the tnsnames.ora file change
(3) Connect since the closing of the client and started.SQL * more: release 9.0.1.0.1 - Production on Fri Sep 18 16:30:58 2009
(c) Copyright 2001 Oracle Corporation. All rights reserved.
SQL > conn sys/hawaii@ia1dev as sysdba
Connected.
SQL > shutdown immediate
The database is closed.
The database is dismounted.
ORACLE instance stops.
SQL > startup
ORACLE instance started.Total System Global Area 364904448 bytes
Fixed size 1287356 bytes
226495300 variable size bytes
130023424 of database buffers bytes
Redo buffers 7098368 bytes
Mounted database.
Open database.
SQL > select * from v version $;BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - production
PL/SQL Release 10.2.0.4.0 - Production
CORE 10.2.0.4.0 Production
AMT for Solaris: release 10.2.0.4.0 - Production
NLSRTL Version 10.2.0.4.0 - ProductionSQL >
Kind regards.
Published by: virendra.k on September 18, 2009 16:36
-
Basic question on the client connection to the Fund with several oracle instance
Oracle 11:
I have just a basic question about how doing listener/customer determine how oracle instance to connect to:
1 tnsnames.ora and listener defines the configuration of the host and the port is that how he comes to know? I'm just trying to understand if the request comes to the listener how listener knows what Oracle instance to route traffic to?
2. when I do sqlplus / as sysdba how knows what Oracle instance to connect to?Look at the differences
[oracle@srv01-18-102 trace]$ cat $ORACLE_HOME/network/admin/listener.ora cat: /u01/app/oracle/product/ 11.1.0/dbhome_1/network/admin/listener.ora: No such file or directory -- start listener [oracle@srv01-18-102 trace]$ lsnrctl start LSNRCTL for Linux: Version 11.1.0.7.0 on 09-JUN-2009 01:05:42 Copyright (c) 1991, 2009, Oracle. All rights reserved. Starting /u01/app/oracle/product/ 11.1.0/dbhome_1/bin/tnslsnr: please wait... TNSLSNR for Linux: Version 11.1.0.7.0 Log messages written to /u01/app/oracle/diag/tnslsnr/srv01-18-102/listener/alert/log.xml Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=srv01-18-102.amis.local)(PORT=1521))) Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521)) STATUS of the LISTENER ------------------------ Alias LISTENER Version TNSLSNR for Linux: Version 11.1.0.7.0 Start Date 09-JUN-2009 01:05:42 Uptime 0 days 0 hr. 0 min. 0 sec Trace Level off Security ON: Local OS Authentication SNMP OFF Listener Log File /u01/app/oracle/diag/tnslsnr/srv01-18-102/listener/alert/log.xml Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=srv01-18-102.amis.local)(PORT=1521))) The listener supports no services The command completed successfully -- startup database SQL> shutdown immediate Database closed. Database dismounted. ORACLE instance shut down. SQL> startup ORACLE instance started. Total System Global Area 849530880 bytes Fixed Size 1346664 bytes Variable Size 725615512 bytes Database Buffers 117440512 bytes Redo Buffers 5128192 bytes Database mounted. Database opened. SQL> alter system register; System altered. -- check again after a while (or for registration via "alter system register") [oracle@srv01-18-102 trace]$ lsnrctl status LSNRCTL for Linux: Version 11.1.0.7.0 on 09-JUN-2009 01:05:50 Copyright (c) 1991, 2009, Oracle. All rights reserved. Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521)) STATUS of the LISTENER ------------------------ Alias LISTENER Version TNSLSNR for Linux: Version 11.1.0.7.0 Start Date 09-JUN-2009 01:05:42 Uptime 0 days 0 hr. 0 min. 8 sec Trace Level off Security ON: Local OS Authentication SNMP OFF Listener Log File /u01/app/oracle/diag/tnslsnr/srv01-18-102/listener/alert/log.xml Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=srv01-18-102.amis.local)(PORT=1521))) (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=srv01-18-102.amis.local)(PORT=8080))(Presentation=HTTP)(Session=RAW)) (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=srv01-18-102.amis.local)(PORT=2100))(Presentation=FTP)(Session=RAW)) Services Summary... Service "DEMO" has 1 instance(s). Instance "DEMO", status READY, has 1 handler(s) for this service... Service "DEMOXDB" has 1 instance(s). Instance "DEMO", status READY, has 1 handler(s) for this service... The command completed successfully -- BEQUEATH SQL> host [oracle@srv01-18-102 ~]$ set ORACLE_SID=DEMO [oracle@srv01-18-102 ~]$ sqlplus / as sysdba SQL*Plus: Release 11.1.0.7.0 on Tue Jun 9 01:17:42 2009 Copyright (c) 1982, 2009, Oracle. All rights reserved. Connected to: Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 With the Partitioning, Oracle Label Security, OLAP, Data Mining, Oracle Database Vault and Real Application Testing options -- Query V$PROCESS SQL> desc v$process Name Null? Type ----------------------------------------- -------- ---------------------------- ADDR RAW(4) PID NUMBER SPID VARCHAR2(24) <--- USERNAME VARCHAR2(15) SERIAL# NUMBER TERMINAL VARCHAR2(30) PROGRAM VARCHAR2(48) TRACEID VARCHAR2(255) TRACEFILE VARCHAR2(513) BACKGROUND VARCHAR2(1) LATCHWAIT VARCHAR2(8) LATCHSPIN VARCHAR2(8) PGA_USED_MEM NUMBER PGA_ALLOC_MEM NUMBER PGA_FREEABLE_MEM NUMBER PGA_MAX_MEM NUMBER SQL> select * from v$process where program like '%(TNS V1-V3)%'; 52ACC7FC 19 26000 oracle 2 UNKNOWN [email protected] (TNS V1-V3) /u01/app/oracle/diag/rdbms/DEMO/DEMO/trace/DEMO_ora_26000.trc 1286124 2699092 1048576 4616664 1 row selected. -- "Jump to OS" SQL> host ps -ef|grep 26000 oracle 26000 14346 0 01:09 ? 00:00:01 oracleDEMO (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq))) oracle 27040 14346 0 01:16 pts/1 00:00:00 /bin/bash -c ps -ef|grep 26000 oracle 27042 27040 0 01:16 pts/1 00:00:00 grep 26000 -- Connect via listener to the database -- content off tnsnames.ora [oracle@srv01-18-102 trace]$ cat $ORACLE_HOME/network/admin/tnsnames.ora # tnsnames.ora Network Configuration File: /u01/app/oracle/product/ 11.1.0/dbhome_1/network/admin/tnsnames.ora # Generated by Oracle configuration tools. DEMO = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = srv01-18-102.amis.local)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = DEMO) ) ) [oracle@srv01-18-102 ~]$ sqlplus otn/otn@DEMO SQL*Plus: Release 11.1.0.7.0 on Tue Jun 9 01:28:52 2009 Copyright (c) 1982, 2009, Oracle. All rights reserved. Connected to: Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 With the Partitioning, Oracle Label Security, OLAP, Data Mining, Oracle Database Vault and Real Application Testing options SQL> set head off feed on SQL> desc v$process Name Null? Type ----------------------------------------- -------- ---------------------------- ADDR RAW(4) PID NUMBER SPID VARCHAR2(24) <--- USERNAME VARCHAR2(15) SERIAL# NUMBER TERMINAL VARCHAR2(30) PROGRAM VARCHAR2(48) TRACEID VARCHAR2(255) TRACEFILE VARCHAR2(513) BACKGROUND VARCHAR2(1) LATCHWAIT VARCHAR2(8) LATCHSPIN VARCHAR2(8) PGA_USED_MEM NUMBER PGA_ALLOC_MEM NUMBER PGA_FREEABLE_MEM NUMBER PGA_MAX_MEM NUMBER SQL> select * from v$process where spid in (27372); 52ACC7FC 19 27372 oracle 4 UNKNOWN [email protected] /u01/app/oracle/diag/rdbms/DEMO/DEMO/trace/DEMO_ora_27372.trc 705064 938372 0 938372 -- Use info off v$process to join with v$session SQL> select * from v$session where paddr = '52ACC7FC'; 52112690 170 9 107441 52ACC7FC 93 OTN 3 2147483644 ACTIVE DEDICATED 93 OTN oracle 27370 srv01-18-102.amis.local pts/1 [email protected] (TNS V1-V3) USER 4C83D838 1817844678 4qpuh5jq5n6y6 0 09-JUN-09 16777216 4C83443C 1421292656 b1vt3u9abfd3h 0 09-JUN-09 16777216 SQL*Plus 3669949024 0 8244 -1 0 0 0 09-JUN-09 0 NO NONE NONE NO OTHER_GROUPS DISABLED ENABLED ENABLED 0 NOT IN WAIT 41 322 SQL*Net message to client driver id 1413697536 0000000054435000 #bytes 1 0000000000000001 0 00 2000153315 7 Network -1 0 WAITED SHORT TIME 14 3730 DEMO DISABLED FALSE FALSE FIRST EXEC 100 52ACC7FC 4 -- Use info off V$process to look pid on OS SQL> host ps -ef | grep 27372 oracle 27372 1 0 01:30 ? 00:00:00 oracleDEMO (LOCAL=NO) oracle 27413 27380 0 01:30 pts/1 00:00:00 /bin/bash -c ps -ef|grep 27372 oracle 27415 27413 0 01:30 pts/1 00:00:00 grep 27372
-
A question about the Oracle SQL Developer Oracle instance connection
Hi all
I would be grateful if you could kindly give me a helping hand.
Recently, I installed the Oracle 11 g on Linux (ubuntu 8.10) database. I not create startup scripts. So here's how I start the server: (my linux user name is "dariyoosh", but in order to start the server I have connection on the terminal shell as user 'oracle')
Then I can work without any problems with my database and everything works pretty well. Today, I decided to install Oracle SQL Developer IDE as it makes it easier to modify the SQL code. My problem is that after reading the tutorial Oracle online, that I am still able to connect to my database. Firstly according to the method that I wrote, I have set up the Oracle instance. But then when I run Oracle SQL Developer I don't know what to choose for the user name and password? because since SQL * Plus shell as you can see I always write: "sqlplus 'virtue sysdba' and it does not prompt me for any password, I can access the database directly." Any idea? What password? What user name? for Oracle SQL Developer?dariyoosh@alborz:~$ su oracle Password: oracle@alborz:/home/dariyoosh$ cd oracle@alborz:~$ ORACLE_SID=database01 oracle@alborz:~$ . oraenv ORACLE_SID = [database01] ? The Oracle base for ORACLE_HOME=/u01/app/oracle/product/11.1.0/db_1 is /u01/app/oracle oracle@alborz:~$ sqlplus '/as sysdba' ... SQL> STARTUP NOMOUNT ORACLE instance started. ... SQL> ALTER DATABASE MOUNT; ... SQL> ALTER DATABASE OPEN; Database altered.
Thanks in advance.When you connect "/ as sysdba", you actually connect as the user named SYS from the privileges of your operating system. SYS is the owner of the database and a privileged user. You really want to use this username for the day to day operations, but only for what can do only SYS. If you need a different user name. Several Oracle databases have a user named SCOTT who has a number of tables for use tutorial. By default, the password for SCOTT's "Tiger." You may also have other demo users, such as "HR". I admit that I forgot what is the password of the HR, but it doesn't really matter because SYS can change with this command:
ALTER USER hr IDENTIFIED BY whateveryouwant;
This command:
SELECT USERNAME FROM ALL_USERS;
lists all the users in your database. Understand that many of these users are there as owners of objects such as stored procedures and tables for Application Express, or TYPEs for Oracle Locator, not for general use. When you are ready to create your own objects, ask SYS create a username for them with
CREATE USER myusername IDENTIFIED BY mypassword;
and grant that user the privileges as necessary. You'll want to read before you get too far - I think that the developer of the Application Guide is a good starting point.
-
GoldenGate installation on a server shared with multiple oracle instances
Hello
If I have a shared server which has several occurrences of oracle running on it, should I install a GoldenGate by server or a GoldenGate instance?
I am referring to 11.2 GoldenGate on AIX/Linux/Solaris operating systems
THX
Delphine
I have always used just 1 Golden Gate Installation on a server with multiple databases.
Maybe you are looking for
-
Satellite M40x-189 heats up when it is connected to the power adapter
Hey,. I have a Toshiba Satellite M40x-189, which is about 18 months old. Recently, I had too replace the battery, but now it seems that my adapter had fried itself. He refuses now too charge my cell phone for more than a few minutes and the part of t
-
Basically all my desktop icons are windows media player format whenever I click on the icons, it brings me in windows media player and it's getting really annoying. I tried scanning my computer with Microsoft Security databases, but it takes to long
-
Export of Adobe will not convert my PDF files. I get "failed to convert.
Export of Adobe will not convert my PDF files. I get "failed to convert. Why is this happening?
-
Reg: How to restrict the values LOV
Hi allI use JDev11.1.2.3.0My requirement is I < af:inputComboboxListOfValues id = "iclov1" > in which I have 100 values.here I have to show only 10 values on LOV users.if user longer wish to certain values it can use search that.so how can I restrict
-
Download Illustrator CC Uninstaller?
My Adobe App Manager said that my CC of Illustrator is up-to-date. I don't have it. Looking to uninstall and redo the download. You cannot find either of uninstaller. Can I download it somehow separately?Thank you!