window下命令行启动oracle服务
window下命令行启动oracle服务
2008-11-12 22:30
一、独立启动:
Microsoft Windows 2000 [Version 5.00.2195]
(C) 版权所有 1985-2000 Microsoft Corp.
#########################################################
检查监听器状态:
#########################################################
E:">lsnrctl status
LSNRCTL for 32-bit Windows: Version 9.2.0.1.0 - Production on 28-6月 -2005 11:01:01
Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
正在连接到 (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=oyez)(PORT=1521)))
TNS-12541: TNS:无监听器
TNS-12560: TNS: 协议适配器错误
TNS-00511: 无监听器
32-bit Windows Error: 61: Unknown error
正在连接到 (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC0)))
TNS-12541: TNS:无监听器
TNS-12560: TNS: 协议适配器错误
TNS-00511: 无监听器
32-bit Windows Error: 2: No such file or directory
#########################################################
尝试登陆本地数据库:
#########################################################
E:">sqlplus /nolog
SQL*Plus: Release 9.2.0.1.0 - Production on 星期二 6月 28 11:01:09 2005
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL> conn system/qqqqqq@oradb as sysdba
ERROR:
ORA-12541: TNS: 没有监听器
--如果没有启动ORACLE服务的话,将出现下面的错误而不是上面:
ERROR:
ORA-12560: TNS: 协议适配器错误
#########################################################
原因:监听器没有启动,无法解析“oradb”服务名,所以无法登陆数据库。
#########################################################
SQL> exit
#########################################################
启动监听器
#########################################################
E:">lsnrctl start
LSNRCTL for 32-bit Windows: Version 9.2.0.1.0 - Production on 28-6月 -2005 11:01:36
Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
启动tnslsnr:请稍候...
TNSLSNR for 32-bit Windows: Version 9.2.0.1.0 - Production
系统参数文件为F:"oracle"ora92"network"
相关文档:
概述
虚拟专用数据库 (VPD) 提供了角色和视图无法提供的行级访问控制。对于互联网访问,虚拟专用数据库可以确保在线银行的客户只能看到他们自己的帐户。Web 托管公司可以在同一 Oracle 数据库中维护多个公司的数据,但只允许每个公司查看其自身数据。
在企业内部,虚拟数据库可在应用程序部署方面降低拥有成本。可以在数 ......
http://blog.csdn.net/lzysystem/archive/2009/03/05/3960853.aspx
http://www.linuxidc.com/Linux/2009-06/20390.htm
http://www.linuxdiyf.com/viewarticle.php?id=163893
http://blog.sina.com.cn/s/blog_4ed66efa0100gfjx.html### ......
1.获取登陆用户的主机名
select sys_context('userenv','host') from dual;
2.获取登陆用户的IP地址
select sys_context('userenv','ip_address') from dual; ......
Oracle性能调整的误区
http://tech.it168.com/db/o/2006-07-03/200607031305157.shtml
为了提高性能,我们针对Oracle数据库本身提供了的方法或方案进行过不少的尝试,主要包括:
共享服务器模式(MTS)
集群技术(Clustering)RAC
分区
并行 ......