Sunteți pe pagina 1din 13

Module 1: Database and Instance

Overview
Defining a Database and an Instance

Introduce Microsofts and Oracles Implementations of a Database and an Instance


Understand Client Interaction

Key Database and Instance Limitations

Concept of Database and Instance

Memory Process Data Data Data

Process Process PC CPU CPU Storage Server Process System Control

Temp

Log

CLIENT

INSTANCE

DATABASE

Database Management System (DBMS) encompasses database and instance A Database is a set of physical files that store application and system data An instance consists of the hardware resources of the system (primarily memory and CPU utilization) that facilitates data access for the end-user

Database and Instance Implementations


Oracle 11g

Database and Instance Implementations

Database and Instance Implementations

Database and Instance Implementations

Database and Instance Implementations


SQL Server 2012

Demonstration:

Understanding the SQL Server Instance Environment

Client Interaction with Database and Instance


Application Layer ------------Oracle Net Foundation Layer ------------Oracle Protocol Support Layer

Database Server

Oracle Connections

Client Person

Listener (defined by listener.ora may implement TNSnames.ora

Client System

Oracle Instance -------------Oracle Net Foundation Layer -----------Oracle Protocol Support Layer

Storage System

Data Storage

SQL Server Connections

Client Person

Client System

Application Layer ------------SQL Server Network Interface protocol layer ------------SNAC network libraries

Database Server Engine


TDS Endpoints (Shared memory, TCP/IP, named pipes, VIA, DAC)

Relational Engine -------------Tabular Data Stream (TDS) Packet -----------SQL Server Network Interface (SNI) Layer

Storage System

Data Storage

Key components in the interaction of the user (client) with the database environment

Demonstration:

Reviewing Network Connections

Database Capacities
Database Capacities on Windows Server 2008 R2 (x86 or x64)
Minimum data block size Maximum data block size
Maximum file size Maximum number of files Maximum database size Maximum control file size Instances per server

Oracle 11g
2 KB 16 KB (Linux or Windows) or 32 KB (other OSs) 64 GB 65,536 4 PB
(65,536 * 64 GB) 20,000 data blocks Limited by host resources

SQL Server 2012


8 KB 8 KB
16 TB 32,767 524 PB N/A 50 for all editions

Maximum database extent Maximum number of tablespaces

4GB 65,536

64 KB 32,767 (filegroups see


Module 2)

Maximum log file size

2 GB (operating system limit)

2 TB

A brief look at Oracle and SQL Server 2012 maximum capacity specifications

Review
Provided a definition for the database and how it is more specialized than normal file system. Differentiated the instance from the database and looked at the high level components of each DBMS.

Both DBMS systems rely on network protocols, listeners, and client software that allow communications in a database environment.
Each of the DBMS provide large resource capacities for applications using the Microsoft Windows operating system.

S-ar putea să vă placă și