Chinaunix首页 | 论坛 | 博客
  • 博客访问: 930009
  • 博文数量: 358
  • 博客积分: 8185
  • 博客等级: 中将
  • 技术积分: 3751
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-15 16:27
个人简介

The views and opinions expressed all for my own,only for study and test, not reflect the views of Any Company and its affiliates.

文章分类

全部博文(358)

文章存档

2012年(8)

2011年(18)

2010年(50)

2009年(218)

2008年(64)

我的朋友

分类:

2008-12-22 23:22:51

 
1,Oracle Server
  is a database management system.
  consists of an oracle instance and an oracle database
2,Oracle Instance 中介,手段 
  is a means to access an oracle database
  always opens one and only one database ( Instance 多对一 database)
  Consists of memory(SGA...) and background process structures(PMON, SMON,DBWR...)
Connection & session
 User process
   Connection
 server proces
   session
 Background process:数据库核心的进程
3,database
  is a collection of data that is treated as unit
Consists of three file Types:
 data files;Control files;online redo log files;
other file:
  parameter file
  archived log files(归档文件)
  password file
 
$ ps -ef | grep oracle
$ ls
   controle01.ctl
   redo01.log
   example01.dbf
$  sqlplus /nolog
SQL〉 conn /as sysdba
 Connected  to an idle instance
SQL〉 startup
 oracle instance started
 SGA
SQL〉!
$ps -ef | grep oracle
 
Memory Stucture
Consists of two memory area Known as:
 System Global Area (SGA): allocated at instance start up,and is a fundamental compent of an Oracle instance.(狂消内存)
 Program Global Area(PGA): Allocated when the server proess is started.
$ps -ef | grep oracle
$ipcs  (ipcs 命令 用途 报告进程间通信设施状态。 )
  ---Shared Memory Segments---
SQL〉show sga;
 
 
阅读(595) | 评论(0) | 转发(0) |
0

上一篇:建用户和schema

下一篇:表分析

给主人留下些什么吧!~~