linux 下的oracle的基本操作
来源:互联网 发布:大连开发区软件班 编辑:程序博客网 时间:2024/05/22 20:18
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 -ef|grep 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 -ef|grep 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---停止监听
- linux 下的oracle的基本操作
- Linux下Oracle的基本操作
- linux下oracle的基本操作
- linux下的oracle基本操作
- Linux下的基本操作
- Linux下的Oracle操作
- Linux下的Oracle操作
- Solaris下Oracle的基本操作
- Solaris下Oracle的基本操作
- oracle学习需要的linux基本操作
- Linux版Oracle数据库的基本操作
- linux下mysql的一些基本操作
- linux下 的vi编辑器基本操作
- linux下mysql的一些基本操作
- linux下mysql基本的操作
- linux下mysql基本的操作
- Linux下Mysql的一些基本操作:
- linux下的基本命令操作
- 配置IIS应用程序池
- 关于京东商城在宜宾开通货到付款的随想
- Linux下的系统调用及用户编程接口(API)
- 经典的数据对齐解说
- struts2零配置 1.什么也没有的配置,就可以访问辅助插件提供的浏览
- linux 下的oracle的基本操作
- 你怎么跟你奶奶说明什么是XML?
- 常见黑客渗透测试工具
- 文档那些事儿 .
- LDO应用的几篇文章
- POJ3311 FLOYD+DP 旅行商类问题[模板]
- iPhone开发网站、论坛、博客
- Oracle基本使用指令
- glib中utf16的字节序