网络编程 | 站长之家 | 网页制作 | 图形图象 | 操作系统 | 冲浪宝典 | 软件教学 | 网络办公 | 邮件系统 | 网络安全 | 认证考试 | 系统进程
Firefox | IE | Maxthon | 迅雷 | 电驴 | BitComet | FlashGet | QQ | QQ空间 | Vista | 输入法 | Ghost | Word | Excel | wps | Powerpoint
asp | .net | php | jsp | Sql | c# | Ajax | xml | Dreamweaver | FrontPages | Javascript | css | photoshop | fireworks | Flash | Cad | Discuz!
当前位置 > 网站建设学院 > 网络编程 > 数据库 > Oracle教程
Tag:注入,存储过程,分页,安全,优化,xmlhttp,fso,jmail,application,session,防盗链,stream,无组件,组件,md5,乱码,缓存,加密,验证码,算法,cookies,ubb,正则表达式,水印,索引,日志,压缩,base64,url重写,上传,控件,Web.config,JDBC,函数,内存,PDF,迁移,结构,破解,编译,配置,进程,分词,IIS,Apache,Tomcat,phpmyadmin,Gzip,触发器,socket
数据库:数据库教程,数据库技巧,Oracle教程,MySQL教程,Sybase教程,Access教程,DB2教程,数据库安全,数据库文摘
本月文章推荐
.Xft字体库:体系结构及用户指南.
.跟踪Oracle9i 的CPU和I/O使用代价.
.帮你了解Oracle数据缓冲区的工作.
.ORACLE之常用FAQ V1.0 (3).
.Oracle 10G - 增强的CONNECT BY子.
.Oracle数据库应用系统调优方法介.
.闪回查询(Flashback Query).
.dual表是什么表?.
.如何在Spring中解决中文乱码的方.
.24×7环境转移ORACLE数据库.
.Ora2html--收集Oracle数据库信息.
.Oracle推出首个业界插座式SOA套件.
.oracle 10g flashback table.
.使用impdp复制Oracle的schema数据.
.安装 PHP 和 Oracle 10g 即时客户.
.[Oracle 10g]-关于表空间的更名.
.介绍几个基本的 SQLPLUS 命令.
.如何解决ora-600 12700错误问题.
.如何限制某个用户只能FTP不能TEL.
.测试ORACEL的文本文件导入导出.

Solaris下Oracle的基本操作

发表日期:2008-2-9



  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---停止监听
上一篇:查查oracle函数宝典,看看函数大全 人气:906
下一篇:ANT 操控 ORACLE数据库实践 人气:645
浏览全部Oracle教程的内容 Dreamweaver插件下载 网页广告代码 祝你圣诞节快乐 2009年新年快乐