Physical access to data respect to DBMS architecture and general description of physical access structures and access method manager
Data may be stored on disk in different formats to provide efficient query execution, depending on the needs.
Physical access structures describe how data is stored on disk.
Access method manager: transforms an access plan generated by the optimizer into a sequence of physical access requests to database disk pages using access methods.

Access method
Sofware module specialized for a single physical data structure.
It provides primitives for reading and writing data.
Selects the appriopirate blocks of a file to be loaded in memory
Requests them to the buffer manger
Knows the organization of data into a page, so, can find specific tuples and values inside a page.
Organization of disk page
Different for different access methods
Divided in:
Note that:
Physical structures in relational systems
Physical structures define how data is stored on disk to provide efficient query execution.
Physical data storage:
Indexing to increase efficiency
Sequential structures
Tuples are storend in a given sequential order.
Different types of structures implement different ordering criteria.
Structure types:
Tree structures
Provide direct access to data based on the value of a key field (can include more attributes).
Does not contrain the physical position of tuples.
Most widespread in relational DBMS.
General characteristics:
B-Tree and B+-Tree
B stands for balanced
B-Tree
B+-Tree
Clustered
Unclustered
Pros:
Cons:

Bitmap index
Guarantees direct and efficient access to daa based on the value of a key field. (based on the bit matrix)
The bit matrix references data rows by means of RIDs (Row IDentifiers).
The matrix has a column for each different value of the indexed attribute, and one row for each tuple. The position (i, j) of the matrix is 1 if tuple i takes value j, 0 otherwise.
Pros:
Cons:

Hash Structure (clustered and unclustered)
Pros:
Cons:
Unclustered hash index:
