IT产业的基本形式:

微软流派       非微软流派

操作系统

数据库

应用服务器

应用软件

Linux/Unix 设计哲学:制作一个稳定可靠的操作系统,概念简单,设计可靠。

Windows:  设计哲学:让普通人都可以方便地使用计算机

Linux内核:www.kernel.org

Redhat系列发行版本

CentOS系列:免费的RedHat

Ubuntu(主要面向客户端,华丽界面), debian ,Mandriva, SuSE, Slackware, Knoppix, gentoo…..

VMware产品分为:VMWare Workstation 和VMWare Server

FTP服务:

FTP就是file transfer protocol, 用来下载或者上传文件数据的协议,会话时使用两个通道,一个叫控制通道(21端口),一个叫数据通道(20端口)

目前最高效最安全的ftp服务器是Vsftp

Vsftp(Very Secure FTP)是一种在Unix/Linux中非常安全且快速稳定的FTP服务器,目前已经被许多大型站点所采用。

Vsftpd的实现有三种方式:

1.     匿名用户形式:在默认安装的情况下,系统只提供匿名用户访问

2.     本地用户形式:以/etc/passwd中的用户名为认证方式

3.     虚拟用户形式:支持将用户名和口令保持在数据库文件或数据库服务器中。相对于FTP的本地用户形式来说,虚拟用户只是FTP服务器的专有用户,虚拟用户只能访问FTP服务器所提供的资源,这大大增强系统本身的安全性。相对于匿名用户而言,虚拟用户需要用户名和密码才能获取FTP服务器中的文件,增加了对用户和下载的可关联性,对于需要提供下载服务,但又不希望所有人都可以匿名下载:既需要对下载用户进行管理,又考虑到主机的安全和管理方便的FTP站点来说,虚拟用户是一种极好的解决方案。

Oracle 9i DBA Fundamentals training

Outline the Oracle Architecture and its main components

 

 

 

 

 

 

 

 

 

 

 

OV  of  Primary  Components

                                                          

Archived

Log  files

Redo LOg

Control

Data

files

DataBase

Parameter

file

Password

file

Large Pool

Redo Log

Buffer

Java  Pool

Data

Dictionary

Library

Cache

Shared Pool

 S G

 

Instance

                                                                                                                                                                                                                        

User

process

file

Server

process

P G A

file

file

PMON

SMON

DWR

LGWR

Database

Buffer Cache

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

An Oracle server :

Is a database management system that provides an open, comprehensive , integrated approach to information management

Consists of oracle instance and an oracle database

An Oracle instance :

Is a means to access an oracle database,lways opens one and only one database  Consists of memory and background process structures

Connecting to an Oracle instance:

   Establishing a user connection

   Creating a session

Oracle Database

An Oracle database:

Is a collection of data that is treated as an unit

Consists of three file types data file control file redo file

Memory  Structure

Oracle’s memory structure consists of two memory areas known as:

  ·System Global Area(SGA): Allocated at instance start 

up,and is a fundamental component of an Oracle instnce

SGA is implements by share memory:

find command:

ipcs  or  show sga;

Program Global Area(PGA):Allocated when the server

process is started

The SGA consists of several memory structures

★  Shared Pool

★  Database Buffer Cache

★  Redo Log Buffer

★  Other structures(for example, lock and latch)

management, statistical data)

★  There are two additional memory structures that

can be configured within the SGA:

-Large Pool

-Java Pool

SGA

★  Is dynamic

★  Sized by the SGA_MAX_SIZE parameter

★  Allocated and tracked in granules by SGA components

★  Contiguous virtual memory allocation

★  Granule size based on total estimated SGA_MAX_SIZE

find Granule command:

SQL> select component, granule_size from v$sga_dynamic_components

COMPONENT                                                        GRANULE_SIZE

---------------------------------------------------------------- ------------

shared pool                                                           4194304

large pool                                                            4194304

java pool                                                             4194304

streams pool                                                          4194304

DEFAULT buffer cache                                                  4194304

KEEP buffer cache                                                     4194304

RECYCLE buffer cache                                                  4194304

DEFAULT 2K buffer cache                                               4194304

DEFAULT 4K buffer cache                                               4194304

DEFAULT 8K buffer cache                                               4194304

DEFAULT 16K buffer cache                                              4194304

 

COMPONENT                                                        GRANULE_SIZE

---------------------------------------------------------------- ------------

DEFAULT 32K buffer cache                                              4194304

ASM Buffer Cache                                                      4194304

13 rows selected.

Shared Pool:

●     Used to store:

     —Most recently executed SQL statements

     —Most recently used data definitions

●     It consists of two key performance-related

memory structures:

   —Library Cache

—Data Dictionary Cache

●     Sized by the parameter

SHARED_POOL_SIZE

change pool size:

ALTER SYSTEM SET SHARED_POOL_SIZE = 64M;

Library Cache

Stores information about the most recently used SQL and PL/SQL statements

Enables the sharing of commonly used statements

Is managed by a least recently used(LRU) algorithm

Consists of two structures:

   —Shared SQL area

   —Shared PL/SQL area

Data Dictionary Cache

A collection of the most recently used definitions in the database.

Includes information about database files,tables, indexes, columns, users, privileges, and other database objects.

Database Buffer Cache

—Stores copies of data blocks that have been retrieved from the data files

—Enables great performance gains when you obtain and update data

—Managed through an LRU algorithm

—DB_BLOCK_SIZE determines primary block size

Consists of independent subcaches:

—DB_CACHE_SIZE

—DB_KEEP_CACHE_SIZE

—DB_RECYCLE_CACHE_SIZE

Can be dynamically resized

ALTER SYSTEM SET DB_CACHE_SIZE = 96M;

Redo Log Buffer

Records all changes made to the database data blocks

Primary purpose is recovery

Size defined by LOG_BUFFER

Large Pool

An optional area of memory in the SGA

Relieves the burden placed on the Shared Pool

Used for:

     —Session momory(UGA) for the Shared Server

     —I/O server processes

     —Backup and restore operations or RMAN

     —Parallel execution message buffers

Java Pool

—Services parsing requirements for Java command

—Required if installing and using Java

—Sized by JAVA_POOL_SIZE parameter

PGA: Program Global Area

   —Memory reserved for each user

     process connecting to an Oracle database

   —Allocated when a process is created

   —Deallocated when the process is termitated

 

 

 


 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

小布老师讲座笔记(一)相关推荐

  1. 小布老师讲座笔记(五)

    小布老师讲座笔记(五) Archived Redo Log Files ★    Filled online redo log files can be archived ★    There are ...

  2. 小布老师讲座笔记(三)

    小布老师讲座笔记(三) STARTUP  Command Behavior Order of precedence(启动顺序) -spfileSID.ora -Default SPFILE -> ...

  3. 小布老师讲座笔记(四)

    小布老师讲座笔记(四) charpter 4 database After completing this lesson ,you should be able to do the following ...

  4. 小布老师oralce讲座笔记(六)

    小布老师oracle讲座笔记(六) Chapter 11  Managing Tables After completing this lesson, you should be able to do ...

  5. 小布老师Oracle 9i DBA Fundamentals II 视频讲座 (1-62)

    小布老师Oracle 9i DBA Fundamentals II 视频讲座 1 本视频是第一讲,讲解了第一章 - Oracle网络概述. 在线播放:http://www.boobooke.com/v ...

  6. 小布老师视频oracle

    小布老师视频oracle 分类: 数据库 2012-01-31 13:29 1137人阅读 评论(0) 收藏 举报 oracle服务器c数据库网络n2 http://www.eimhe.com/thr ...

  7. 小布老师所有视频 地址

    Oracle安装: 小布作品:视频 - 使用虚拟机搭建Linux/Oracle学习环境(01) 小布作品:视频 - 使用虚拟机搭建Linux/Oracle学习环境(02) 上集 小布作品:视频 - 使 ...

  8. 最全小布老师所有视频推荐--oracle视频资料库

    很不错的oracle视频资料,很全很多,而且讲得很不错 ,强烈推荐 ~~~ 最全小布老师所有视频推荐--oracle视频资料库 King作品:Oracle RAC系列培训 共七集 完 http://w ...

  9. 计算机操作系统 (第四版汤小丹老师) 复习笔记第一章

    教材为西安电子科技大学 汤小丹老师 第四版 1.1操作系统目标和作用 1.目标 目前存在着多种类型的OS,不同类型的OS,其目标各有所侧重.通常在计算机硬件上配置的OS,其目标有以下几点: 方便性 便 ...

最新文章

  1. python语言怎么学-你们都是怎么学 Python 的?
  2. sklearn自学指南(part13)--贝叶斯回归
  3. 字符串(AC自动机(fail tree))
  4. Adobe CTO:Android将超预期获50%份额
  5. linux ssh抓包,如何在SSH连接Linux系统的环境下使用wireshark抓包?
  6. java实现文件合并_Java实现文件分割和文件合并实例
  7. oracle数据库从入门到精通
  8. DBA的宿命(困兽之斗)
  9. 关于 Java 9 你所需要知道的一切
  10. python计算皮尔森相关系数
  11. 逆变H桥IGBT单管驱动+保护
  12. 机架服务器怎么安装系统,华三服务器安装系统步骤(图解华三服务器怎么安装)...
  13. android手机投影电视软件,Type-C手机投屏电视/投影仪超简单,快看你的可以吗?...
  14. MFC PreTranslateMessage(MSG* pMsg)中调用DoModal()模态窗口问题
  15. MuseScore入门教程(一、下载,并新建乐谱)
  16. 【2013水王争霸赛】啊!
  17. 画论13 朱景玄《唐朝名画录》
  18. 联通光纤猫入户升级:千兆光纤宽带的网卡,为什么只显示100M?
  19. js截取特定字符后面的字符串
  20. Android 获取手机IP

热门文章

  1. 【Linux】awk文本替换
  2. HTTP/HTTP/HTTP
  3. Redis -- 主从
  4. C++中类成员函数指针使用方法
  5. 优秀产品经理的18种能力
  6. Java等额本息实现
  7. C语言用函数指针实现数组排序
  8. windows10系统-11-高效软件
  9. SolrCloud 的搭建、使用
  10. Android中fastboot devices无法发现设备解决方案和adb remount问题解决