选择显示字体大小

solaris 下的 oracle 的基本操作

一、启动、关闭数据库
1、启动数据库监听
su - oracle---切换oracle用户(如果使用su oracle ,则启动时不运行.profile用户环境配置文件)
$ lsnrctl start---启动监听
2、启动数据库
$ sqlplus "/ as sysdba"---用sys用户登陆sqlplus

sql*plus: release 9.2.0.5.0 - production on thu oct 9 15:06:11 2003

copyright (c) 1982, 2002, oracle corporation. all rights reserved.

connected to an idle instance.

sql> startup---启动数据库
oracle instance started.

total system global area 538412728 bytes
fixed size 743096 bytes
variable size 268435456 bytes
database buffers 268435456 bytes
redo buffers 798720 bytes
database mounted.
database opened.
sql> exit---退出sqlplus
disconnected from oracle9i enterprise edition release 9.2.0.5.0 - 64bit production
with the partitioning option
jserver release 9.2.0.5.0 - production

或者
$dbstart

3、查看数据库进程
$ ps -efgrep ora_---查看oracle进程
oracle 688322 1 0 15:06:20 - 0:00 ora_smon_bxmis 
oracle 696534 704704 0 15:06:35 pts/4 0:00 grep ora_ 
oracle 729224 1 0 15:06:20 - 0:00 ora_dbw0_bxmis 
oracle 745618 1 0 15:06:20 - 0:00 ora_reco_bxmis 
oracle 770216 1 0 15:06:20 - 0:00 ora_ckpt_bxmis 
oracle 778394 1 0 15:06:20 - 0:00 ora_pmon_bxmis 
oracle 843876 1 0 15:06:20 - 0:00 ora_qmn0_bxmis 
oracle 901342 1 0 15:06:20 - 0:00 ora_lgwr_bxmis 
oracle 925704 1 0 15:06:20 - 0:00 ora_cjq0_bxmis 
$ ps -efgrep lsnr---查看oracle监听进程

4、关闭数据库
$ sqlplus "/ as sysdba"

sql*plus: release 9.2.0.5.0 - production on thu oct 9 15:07:04 2003

copyright (c) 1982, 2002, oracle corporation. all rights reserved.


connected to:
oracle9i enterprise edition release 9.2.0.5.0 - 64bit production
with the partitioning option
jserver release 9.2.0.5.0 - production

sql> shutdown immediate---关闭数据库
database closed.
database dismounted.
oracle instance shut down.
sql> exit
disconnected from oracle9i enterprise edition release 9.2.0.5.0 - 64bit production
with the partitioning option
jserver release 9.2.0.5.0 - production

或者
$dbshut

5、停止数据库监听
$ lsnrctl stop---停止监听


 


关键字 本文所属关键字

相关 与本文相关文章

分类 所有文章关键字导航

源码编程相关

Java   Asp   PHP   .Net   XML   C/C++   CGI   VB   Jsp   J2ee   J2se   J2me   EJB   Servlet   Tomcat   Resin   Struts   Weblogic   Eclipse   ANT   GUI   JMS   Web servise   IDEA   Webphere   Hibernate   Spring   Jboss   Applet   Swing   Socket   Javamail   Perl   Ajax   P2P   安全   模式   框架   测试   开源   游戏

SQL数据库相关

My-SQL   Ms-SQL   Access   DB2   Oracle   Sybase   SQLserver   索引   存储过程   加密   数据库   分页   视图  

手机无线相关

3G   Wap   CDMA   GRPS   GSM   IVR   彩信   短信   无线   增值业务

网页设计制作相关

HTML   CSS   网页配色   网页特效   Javascript   VBscript   Dreamweaver   Frontpage   JS   Web   网站设计

网站建设推广相关

建站经验   网站优化   网站排名   推广   Alexa

操作系统/服务器相关

Windows XP   Windows 2000   Windows 2003   Windows Me   Windows 9.x   Linux   UNIX   注册表   操作系统   服务器   应用服务器

图形图像多媒体相关

Photoshop   Fireworks   Flash   Coreldraw   Illustrator   Freehand   Photoimpact   多媒体   图形图像

标准 网站致力的规范

Valid CSS!

无不良内容,无不良广告,无恶意代码

Valid XHTML 1.0 Transitional

creativecommons