midterum Flashcards
Can an instance exist without a database
Instance can exist without a database
Cloud
Rent computing power – pay as you go
Smart phones often interact with cloud data
List of background processes (9)
PMON SMON DBWn CKPT LGWR ARCn MMON MMAN LREG
SYS
Owns most of tables needed to run DB, data dictionary views, packages, and built in procedures
Can perform high level tasks (start up/shut down DB instances, backup/recovery tasks)
Is SGA apart of the oracle instance, why?
Yes
Everything is a cache
Volatile storage (memory) faster than non-volatile storage (disk)
Shared memory
PMON definition
PMON: Process monitor
Regulates all other processes
Cleans up dead processes
Must be alive
SGA definition
System/shared global area
Can a database exist without an instance
Database can exist without an instance
Mobile
Runs on smart phone or pervasive device
Specialized version of a departmental or enterprise DBMS
Remote users, not usually connected to the network
Data can be synchronized
when can you have multiple instances?
You can set up multiple instances to access the same set of files or one database
Log buffer
Log writer process writes changes to memory fast
how many databases can an instance access?
An instance can only access one database
what does PMON stand for
PMON: Process monitor
Control file
Most important file in oracle (“the brain”)
Information on the state of the database
System change number – SCN
multiplexing
who owns data dictionary views
Owned by SYS
dedicated server
One user process to one server process (typical when DB created during installation)
where are dynamic performance views derived from
Derived from memory and control file
OFA definition
Optimal flexible architecture
Logical storage
o Tablespaces
o Segments
o Extents
o Blocks
How to decipher data dictionary views
DBA_ , User_, All_
Locking login
prohibits the user from accessing the DBMS, but it does not drop login from system
When is Pfile parameter not needed?
Pfile parameter not needed if SPfile exists
what are dynamic performance views used for?
Used to monitor and tune database
What do online redo log files contain?
Checkpoints
Changes (DML –insert update delete, DDL)
Datafile changes – new datafiles