Professional Documents
Culture Documents
1
Oracle Database 10g @Work
Agenda
2
Why Migrate to Oracle?
What is a migration?
1. Evaluation
8. Project 2. Assessment
Support
7. Production Migration
Lifecycle 3. Migration
6. Customer
Acceptance 4. Testing
5. Optimization
3
The Migration Process
4
Migrating the Business Logic
Example: Business Logic in SQL Server
5
Oracle Migration Workbench
Key Features
6
Oracle Migration Workbench
Using Workbench Within Migrations
D E M O N S T R A T I O N
Migration
Workbench
7
Migration Workbench New Features
8
New Migration Workbench UI
9
New Features
New Features
Migration SDK
Leverage a strong base of Migration functionality to simplify
extension development
Develop additional 3rd party database support
Other enhancements / Additional Migration Tools
Migration Reports
Planning and estimation reports
Migration Detailed & Summary reports
Ability to develop your own reports
Uses SQL Developer Reporting capabilities
10
New T-SQL Parser
11
New T-SQL Parser
Intelligent Translation
Full Recognition And AST Built Before Translation
Any parse errors will be a bug!
Database Context Aware
Translation Name Changes
Column Data Types
Project Aware
Migration, Translations and Formatting Preferences
Advanced Generation
Templates Allow Advanced Translation Choices
Cleaner More Readable/Maintainable Code Generated
12
Translation Diff Editor
Matching Statements and Blocks
T-SQL Editor
Code Folding / Syntax Highlighting
13
Database Migration Verifier
14
Upgrade to 10gR2
Release 2
Oracle 8.0.6
Oracle 8.1.7.4 Oracle 9.0.1.4 Oracle 9.2.0.4 Oracle 10.1.0.2
Orace 7.x
Oracle 8.1.6
Oracle 8.1.5
Upgrade Paths
(+) Pros (-) Cons
Oracle Database simple and concise in case of unexpected errors (for
Upgrade Assistant instance if the listener dies during
automatic upgrade) one has to proceed manually
(GUI) resource / space checks with upgrade scripts
backup facility limited possibility to intervene
parameter adjustment no OS change possible
me nded detailed error log
r ecom
Oracle
Manuelles total control error-prone typing
Upgrade (CLI) in case of failure: just restart the no change of OS possible
upgrade script
15
Database Upgrade Assistant (GUI)
Server(OLD)
Server(NEW)
16
Rolling Upgrade
Upgrade
Clients Redo
P L Log P L
ARCH
Redo Redo
Upgrade L P P L
Agenda
17
Robust Implementations of Key
Application Development Standards
Oracle interMedia
Multimedia management
Relational
Characters, Numbers, Dates, LOBs
18
Windows Development
Oracle Developer
Tools for VS.NET
IIS
MTS/
Develop C++, C#, Deploy (ASP
Visual Studio VB .NET COM+
ASP.NET)
Environment Application
Application
IIS
Deploy
Server side
Development
Database
Oracle Database
Extensions
for .NET
(VB .NET, C#,
Oracle Database
C++)
19
Develop your Application
20
Benefits
Development
Easy point-and-click
Reduces Time, Complexity and Expense
No Client Software
Leverages existing SQL Skills
Integrated SQL Workshop
Use the full power of Oracle Database 10g
No extra cost (feature of the database)
Functionality Overview
Complete Environment
Application Builder
SQL Workshop
Utilities
Administration
21
Architecture
D E M O N S T R A T I O N
Application
Express
22
Oracle Application Express
Architecture
With the Embedded PL/SQL Gateway
(XE, 10.2.0.3 and 11g)
23
History 2006 Application Express 2.2
Packaged Applications
24
Application Express 3.0 New Features
Fragmented
Data in isolated islands of
information
Consolidation
Platform Dependent
MS Windows Only
Not Scalable
After 250k rows or so, it just
doesnt work
Web Unfriendly
Need to install & manage client
software
Not Secure
Simple to gain full access to data
& UI
25
Application Migration Workshop
Design Goals
Database Refactoring
The better the Data Model, the easier it will be to create good
Oracle APEX applications
Identify tables without Primary Keys, Foreign Keys, UI Defaults.
Design Recovery
Provide detailed information about the original Access
Application
Workshop approach allows developer to define scope and fix any
objects identified as invalid resulting in increased automatic
conversion %
Native Oracle APEX Applications
No emulation of unique Access functionality
Leverages the Application Model behind the Create Application
Wizard
http://www.oracle.com/technology/products/database/application_express/migrations/mig_index.html
26
Application Migration Workshop
Roadmap
Migration Map
27
How to Migrate Your 7 step Process
28
2. Migrate MS Access Database to Oracle
29
Oracle Migration Workbench
30
4. Create a migration project
Database Design
Good database design is fundamental to a good application
Many MS Access Applications are written by people who dont
know a lot about data modeling
Normalize data where appropriate
Tables without Primary Keys
Add UI Defaults
Fix any invalid views created by OMWB
Application Design
Many constructs of MS Access do not translate to the web
There is not necessarily a 1-to-1 relationship between an MS Access
form and an HTML DB Form
HTML DB Reports can replace several MS Access Reports
Forms built in MS Access to manage LOVs can be managed as
LOVs natively in HTML DB
31
6. Generate Oracle APEX Application
Create Application
Based on Access Forms & Reports
Create Maintenance Application
Based on Tables & Views (Access Queries)
32
Develop your Application
33
Why SQL Developer? Top Reasons
SQL Developer
http://www.oracle.com/technology/products/database/sql_developer/index.html
34
SQL Developer
35
A Product Introduction
Creating Connections
Creating and Browsing Objects
Querying and Updating Data
Executing Queries
Creating and Debugging PL/SQL
Running and Defining Database Reports
Reviewing the IDE
Taking advantage of Extensibility
D E M O N S T R A T I O N
SQL Developer
36
Database Connections
Object Browsing
37
Querying and Updating Data
SQL Worksheet
Syntax Highlighting
Code Insight
Single Statement
Execution
Script Execution
Code Formatting
Command History
Explain Plan
HTP and OWA output
Bind Variable Support
38
PL/SQL Editing
39
Reporting
Suite of Reports
Data Dictionary
DBA
Monitoring
Table Object
PL/SQL Object
User Defined
Connections Navigator
Reports Navigator
Freeze view
Split screen details
Dockable windows
Double-click tab maximise
Drag and drop snippets
Context menus
Check for updates
40
Extensibility
Release 1.0
Quick to market
First announced Oracle World 2005
Early adopter release 12/27/05
Production - 3/13/06
Impact
Downloaded > 276,000 times (increasing daily)
>199,000 Production downloads
Estimated 18,000 daily users
Discussion Forum
#4 behind SQL & PL/SQL, Database General, and APEX
Developed on the Fusion Client Platform
Uses the JDev IDE which provides a modern, extensible, Java
platform
41
SQL Developer 1.1
42
43
Develop your Application
Oracle RDMBS
44
Why Oracle for data warehousing?
Source: IDC, 2006 - Worldwide Data Warehousing Tools 2005 Vendor Shares
45
Full Query Parallelism
Query
Coordinator
Producer
Queues
Partitioning
Range partitioning
96- 96-May 96-
96-Apr 96- 96-Jun ... 97-
97-Feb 97-
97-Mar
List partitioning
East West Central
Hash partitioning
Composite partitioning
st Q1 Q2 Q3 Q4
Li
Or sh
Ha Range
46
Partition Pruning
99-Feb
99-Mar
SELECT sum(sales_amount)
FROM sales, time
99-Apr
WHERE
time.date = sales_date AND
time.month in (99-Mar,
99-May
99-Apr, 99-May);
Time
99-Jun
Sales
Query Support
Schemas
large numbers of dimensions
multiple fact tables
snowflake schemas
y Sophisticated partition
pruning
y Parallel execution
47
Bitmap join indexes
Sales Customer
Index key is
Customer.State
Indexed Tables is Sales
servers preferred
architecture
Current customer-
Cluster of mid-range preferred
servers architecture
Future customer-
preferred
Cluster of commodity
architecture
servers
Low
48
Hardware Grid
Single
Single Instance
Instance Oracle
Oracle Real
Real Application
Application
Cluster
Cluster (RAC)
(RAC) shared
shared Disk
Disk Cluster
Cluster
(HP, IBM .)
Grid - Scalability
As the Business
Grows
Data Warehouse DB
49
Grid - Scalability
Data Warehouse DB
Grid - Scalability
Data Warehouse DB
50
Grid - Availability
Data Warehouse DB
Grid - Flexibility
ETL ETL ETL ETL
Query Query Query Query
The Cluster
can share all
workload
ubiquitously
Data Warehouse DB
51
Grid - Flexibility
ETL ETL Query Query
ETL ETL Query Query
or do
workload
partitioning
Data Warehouse DB
Grid - Flexibility
Workload Beginning of
Management and month Data
Provisioning Load
made easy Data Warehouse DB
52
Grid - Flexibility
During the
Workload Month
Management and Analysis
Provisioning
made easy Data Warehouse DB
53
Hardware for a RAC DW
Proof Points
Performance
Cost
Scalability
Complete
54
Oracle OLAP / Data Mining
55
the traditional DWH infrastructure
Business Rules
ETL DQ RDBMS
Business Rules
ERP
Business Rules
Legacy
Mining
Web Site
ERP
Oracle
9i
Business Rules
Legacy
56
Oracle OLAP
Oracle OLAP
Scalability
Multi-Writer
Partitioning (Range partitioning of AWs)
Parallel Cube Build
Support for Very Large Dimensions
Manageability
Self-Tuning OLAP Page Pool
XML Specification of data model & cube build
New Analytic Features
Native Custom Members and Measures
Hierarchical sorting
57
Oracle Data Mining
58
Agenda
Embedding
Self-managing Database
Database Vault
59
Develop Once, Deploy Anywhere
Grid
Cluster
SMP
Uniprocessor
Linux
Windows
Desktop Server Unix
OS/390
Single User
60
Packaged or Embedded Database
Challenges
Installation
>60 min
3 CDs
61
Oracle 10g
Release 2
62
Packaging / Embedding Installation
Steps
Installing in silent mode:
Call OUI in progress only or silent mode to install Oracle
software
Call NETCA in silent mode to configure your Oracle Net
Call DBCA in progress only or silent mode to install your
database
Easy connect:
<user>/<pwd>@<host>:<port>/<service_name>
63
Execute OUI in silent mode
Instant Client
* For ODBC a batch file has to be executed because the Windows ODBC management has to be notified
64
Instant client 10.2.0.2
Instant Client
~10MB
<2MB
<1MB
<1MB
<1MB
65
Instant Client
Instant Client
Stand: 3-Jan-2006
Oracle XE Client
OracleXE.exe /s /f1"D:\XEclient\OraXEClient-
Install.iss" /f2"D:\XEclient\XECli.log"
66
Tools for Packaging or Embedding
To Download:
Sign in at http://opn.oracle.com
Click on Development tab in the Top Navigation
section
Look for Embedded Installation Resource Kit in
Technology Spotlight section in the left navigation.
1. Login at http://OPN.oracle.com
2. Click on Development on left hand side panel
3. Select Embed
Access Embedded software for ISVs
Embedded Installation Resource Kit
67
Oracle Embedded Installation kit
68
Embedding Case Study ISVDB
Challenges
Installation Environment
Is there another Oracle Installation?
LISTENER on port 1521?
Oracle Database(s) present?
69
Embedding Case Study ISVDB
Implementation
Embedding
Self-managing Database
Database Vault
70
Self-managing Database
71
Automate Storage Management
Oracle10g
Automatic Storage
Management (ASM)
Application & SQL
Management
72
ASM Cluster Architecture
LAN
Volumes &
Entry level RAID
SATA RAW Partitions
JBOD
SAS
High end RAID NAS
Add
Drop
Resize
73
ASM Case Study TelcoISV
Mission
74
ASM Case Study TelcoISV
Implementation
75
Data Pump
Facts
Available and usable only with t10g
Successor for export/import
Not compatible to exp/imp
Syntax very similar to exp/imp
Much faster than exp/imp - parallelism!!!
Server based only
Perfect tool for logical backups!
Tools
Command line: expdp and impdp
Package DBMS_DATAPUMP
Controlable through interactive Job Control
Data Pump
Step-by-step
1) Create a directory in your file system
2) Oracle OS user must have write permissions
3) Set enviroment variable DATA_PUMP_DIR
4) Define this directory inside the database:
create
create directory
directory DPDIRDPDIR asas /tmp/dp;
/tmp/dp;
5) Grant unprivileged users permissions possibly:
grant
grant READ,WRITE
READ,WRITE on on directory
directory DPDIR
DPDIR to
to SCOTT
SCOTT
6) Start for example a full database export:
expdp
expdp system/orc
system/orc DUMPFILE=DPDIR:full.dmp
DUMPFILE=DPDIR:full.dmp
FULL=y
FULL=y NOLOGFILE=y
NOLOGFILE=y
76
Easy Problem Diagnostic: ADDM
77
Automatic Tuning Optimizer
Packaged Custom
Apps Apps
Identify bad SQL
Automatic workload capture
High-load SQL
Automatic identification of
high-load SQL
Top N highest resource-
consuming SQL Statements
Packaged Custom
Apps Apps
Automatic SQL Tuning
Learn from past executions
High-load SQL
Dynamic sampling, partial
execution techniques
Automatic Tuning Optimizer
Profile the SQL statement to
Auto SQL feedback to optimizer
Tuning
No change to existing
SQL text
Packaged
Apps
+
SQL
Profile
Well-tuned SQL
78
Automatic Tuning Optimizer
Packaged Custom
Apps Apps
Automatic SQL Analysis
High-load SQL Optimizer explains decision points
Advises on badly written SQL,
Automatic Tuning Optimizer stale statistics, bad schema
Auto SQL
Analysis
Custom
Apps
+
SQL
Advice
Well-tuned SQL
Packaged Custom
Apps Apps
SQL Access Advisor
Advise on access paths
High-load SQL
Indexes, Materialized Views,
Indexes on Materialized Views
Automatic Tuning Optimizer
Consider entire workload
Access
Advisor Consider Impact on
insert/update/delete
Custom
Apps
+
Indexes &
MVs
Well-tuned SQL
79
Automatic Tuning Optimizer
Packaged Custom
Apps Apps
Complete SQL Management
High-load SQL Automated workload capture,
identification of high-load SQL
Automatic Tuning Optimizer Automatic SQL Tuning
Auto SQL Auto SQL Access Automatic SQL Analysis
Tuning Analysis Advisor SQL Access Advisor
Well-tuned SQL
Embedding
Self-managing Database
Database Vault
80
Oracle Database 10g Release 2
Database Vault
Technical Overview
81
Why Database Vault?
82
Database Vault Security
Re a l m s
M u l t i -Fa c t o r
Re p o r t s A u t h o r i za t i o n
Audit
Se p a r a t i o n o f Du t y
Co m m a n d
Ru l e s
83
Oracle Database Vault
Realms
Database DBA views HR
data
select * from HR.emp
Compliance and
DBA
protection from insiders
HR
HR
HR DBA views Fin. data HR DBA HR Realm
Eliminates security
risks from server
consolidation Fin
Fin
84
Database Vault Administrative
Interface
85
Database Vault Realm Creation
86
Database Vault Realm Administration
87
Oracle Database Vault
Rules & Multi-factor Authorization
88
Database Vault Command Rules
89
Database Vault Rules Sets
90
Database Vault Rules and Factors
Block(Remote Intranet Connection)
91
Built-In Factors
* A d d i t i o n a l f a c t o r s c a n b e d e f in e d
92
Oracle Label Security Integration
Fa c t o r = I n t r a n e t Fa c t o r =Ex t e r n a l
Ac c ess
Sensitive
Public
Database Vault
Automated Preventive Controls
0DQXDO$XWRPDWHG
Database
Transparent Data Encryption
Network Encryption
Strong
Vault
Virtual Private Database Authentication
Proxy and Client Identifier
'HWHFW 3UHYHQW
93
Easy To Validate Your Apps Against
Database Vault
Estimated -1 day for Database Vault set up and
configuration against your App(s)
3 Validation Levels
94
Level I - Basic Validation:
Restrict DBA Access
Installation Steps
Step 1 - Install 10.2.0.2 Enterprise Edition database
Step 2 - Install application(s)
Step 3 - Install Database Vault option
Basic Validation
Create a realm around ISV application
Perform functional test of ISV application
Perform a technical test
Verify patching and upgrade of ISV application
If necessary, create a separate realm with all privileges needed
for patching / upgrades
Measure performance
Overhead should be less than 5%
Write Database Vault API scripts for above so it can be run during
ISV application install
95
Level III, Enterprise Validation:
Enterprise Configuration
Agenda
96
Causes of Downtime
97
RAC 10g Integrated Clusterware and
ASM
Complete Oracle cluster Applications
software solution
RAC, Other Apps
Single-vendor support
Management APIs
Services Framework
Event Services
Low Cost
No need to purchase Cluster Control/Recovery APIs
additional software
Easy to install, manage Automatic Storage Management
Hardware/OS Kernel
98
Cluster Verification Utility
-pre dbcfg
Configures
RAC DB
-pre dbinst
Installs
RAC
-pre crsinst
Installs
Oracle
Clusterware -post crsinst
-pre cfs
Sets up OCFS
( OPT )
-post cfs
99
Automatic Workload Management
End of Quarter
100
Automatic Workload Management
Server Fails
101
Automatic Workload Management
102
Automatic Workload Management
Order Entry
Order Entry Supply Chain Supply Chain
Supports multiple
connection caches
Datasource for each cache
Mid-Tier Database Tier
mapped to a service
Keeps track of service and CACHES
instance for each connection SERVICE 1 INST X
Cleans up connections when
failures occur SERVICE 2 INST Y
Distributes new work
SERVICE 3
requests across available INST Z
instances
103
Single Instance to RAC
Source Destination
104
RAC Case Study TelcoISV
Mission
105
Causes of Downtime
Flashback Database
106
Flashback Time Navigation
Tx 3
Tx 2
Tx 1
Tx 1
107
Flashback Time Navigation
Causes of Downtime
108
Fault Tolerant Standby
Agenda
109
10g and Beyond
Oracle XE
Oracle Embedded Technologies
Olite
Times Ten
Berkeley DB
110
Oracle Database XE is Ideal for:
Developers
.NET
Java
PHP
HTML
Database
DBAs who need a starter database
Educational institutions and students
ISVs new to Oracle
111
Runtime Criteria
112
10g and Beyond
Oracle Express
Oracle Embedded Technologies
Olite
Times Ten
Berkeley DB
Trends
More devices, more computing power
More data at the edge and on the move
New services: hands-off, lights-out, always-on
Value-added software running on commodity hardware and
platforms
Web services and Software as a Service that demand very
high performance, reliability, scalability, availability
113
Oracle Embedded Technologies
Oracle Lite
Oracle SleepyCat BerkeleyDB
-BDB
-BDB XML
-BDB JE
Oracle TimesTen
Oracle Lite
Application Provisioning
Data Synchronization
Device Management
Life Cycle Management
Security
114
Four Technology Components
115
Oracle Lite Database Highlights
Data Synchronization
Very Fast Conflict Detection and Customizable
Very Scalable Resolution
Synchronizes Everything
Designed for One to Many
Tables, Index, Sequences, DDL,
Synchronization(s) Constraints
Flexible Architecture Robust
Transport independent Resume where left off
Nobody is blocked by others
Device
Upload Apply
Native App
IN Queue
Olite Sync
DB Client
Compose
Download OUT Queue
116
Application Management -
Provisioning
Clients provision the Oracle Lite client run-time
environment by boot-strapping a self extracting
setup.exe file from the Mobile Server.
Point the clients browser to the URL:
http://mobileserver_domain/setup
File contains all the client run time software needed
including:
Lite Database
Sync client
Device client
DLLs
DB utilities
Device Management
Software management
Remote diagnostics and command
execution
System Management
Synchronization monitoring and
scheduling
Inspection and corrective action
Provisioning and Deployment
User (OID), Application and Data
Management
117
Rapid Application Development
118
Oracle Lite 10g R2 Features (contd)
119
Oracle TimesTen
In-Memory Database
Application-tier data management for performance critical
systems
120
How is This Different from Oracle?
Lightweight - Real-Time - Embeddable
Oracle TimesTen Release 6.0, 4-CPU, 3 GHz x86 Xeon, 32-bit RHLinux
30
microseconds
20 28
millionths
of a
second
10
9
millionths
0
update select
121
Why Is TimesTen So Fast?
122
Main TimesTen Benefits
123
Example: Dynamic Personalization
Hosted CRM Provider
Oracle TimesTen Usage
Caching personalization preferences
Worldwide Corporate
Performance Metrics Subscribers
NA Application EMEA / APAC
10 million requests per day
Configuration
4-CPU servers
Cache
2 gigabyte Oracle TimesTen
Server
Oracle RDBMS
Master Master
Customized interactions
Database Database
High-availability replication
Oracle
Oracle TimesTen
Products
124
Oracle TimesTen In-Memory Database
The Base Product
Key Takeaways
User Apps
Everything runs in-memory on the
same platform - very efficiently
JDBC ODBC SQL92
The data is safe! Local disks are
used for persistence and recovery
This is a full read/write,
transactional RDBMS for shared,
multi-user access
All APIs are based on well-known
industry standards
Key Takeaways
User Apps User Apps
Most deployments will
use this option
JDBC ODBC SQL92 JDBC ODBC SQL92
125
Cache Connect to Oracle
Using Oracle TimesTen to Cache Oracle Data
User Apps
Key Takeaways
Pre-load or load-on-demand the JDBC ODBC SQL92
most active data from Oracle
Synchronizes updates in both
directions
Transparent SQL pass-through for
non-cached data requests
Works with replication to protect
application-tier data
Keeps working even if the
connection to Oracle is down
Instantly Responsive
Tightly Integrated
Highly Scalable
126
Oracle TimesTen
Usage Patterns
127
Dynamic Hot Data Caching
Caching data for currently active or premium customers
speeds response & improves user experience.
128
Summary: Oracle TimesTen
A new database for the application tier, optimized
for blazing-fast response and real-time caching of
Oracle data
High performance
applications/middleware
Application-tier
data management Applications Applications Oracle TimesTen
IMDB product
for performance In-memory data
critical systems Replication (option)
Cache Connect to
Oracle (option)
Is everywhere
runs on 200 million machines across the world
Scales up, scales down
powers mobile phones to stock exchanges
Is proven
runs inside every copy of Linux (and MacOS X and Solaris)
Powers the Internet
used extensively by Google, Yahoo, AOL, Ask Jeeves (ask.com),
Amazon, eBay and many others
Is highly available
handles 70% of the global daily email traffic
129
Berkeley DB in Open Source
Google Accounts
Gmail
Google Talk
Google Groups
Google Alerts
Froogle Shopping List
Personalized Search
Personalized Homepage
Orkut social networking
Google Answers
Google Web APIs
Others
130
Example: Cisco
Requirements:
Manage up to 5 million networked devices
150 configuration change transactions/second.
Solution
Berkeley DB replaced an object-oriented database in BPR.
The result was faster, more reliable and saved Cisco $50,000/CPU.
Advantages
Very High
Highmargin,
margin,licensing-based
licensing-basedrevenue
revenuestream
Verybroad,
broad,low
lowcost
costdistribution
distribution stream
Very
Veryhigh
highcode
codequality
quality Profitable,
Profitable,sustainable
sustainablebusiness
businessmodel
model
Customer Benefits
Huge
Hugedeveloper
developercommunity
communityfor forsupport
support Rights
Rightstotoredistribute
redistributeproprietary
proprietarycode
code
Peer-reviewed
Peer-revieweddesign
designfor forease
easeofofuse
use Representations,
Representations,warranties
warrantiesand
and
Less indemnification
Lessdebugging,
debugging,easy
easyintegration
integration indemnification
Easy Full-time,
Full-time,dedicated
dedicateddevelopment
developmentteam
Easydownload,
download,trial,
trial,and
anddistribution
distribution team
No (continuity,
(continuity,roadmap,
roadmap,documentation)
documentation)
Noescrow
escrowissues
issues
Freedom Single
Singlevendor
vendortotohold
holdaccountable
accountable
Freedomfrom
fromvendor
vendorlock-in
lock-in
131
Product Relationships
Berkeley DB
Technical Introduction
132
Open Source
Portable
133
Scalable
High-performance
134
What Berkeley DB is NOT
Key/value pairs
key value
135
Architecture Big Picture
Architecture Subsystems
Access Methods
General-purpose support for creating and
accessing database files formatted as
Btrees, Hashed files, and Fixed- and
Variable-length records
Memory Pool
Allows multiple Threads of control to share
access to databases
Transaction
Provides ACID compliant transactions
Locking
Supports the Transaction subsystem
Logging
the write-ahead logging used to support the
Transaction Subsystem
136
Environments
An Environment is an encapsulation of one or more databases,
log files and region files.
Region files are the shared memory areas that contain
information about the database environment (the locking,
logging, memory pool, and transaction shared memory areas
Environments
137
SQL and BDBSimilarities
SQL Berkeley DB
Database Environment
Table Database
Row Key/Data pair (record)
Boolean AND Join (DB->join)
Secondary Index Secondary Index or
Secondary Database
SQL Berkeley DB
SQL Data Manipulation Berkeley DB API
Language (DML)
Query planner and executor Application controlled behavior
138
BDB: Replication/HA
139
When to use Berkeley DB
Agenda
140
141
142