• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 2 fuera de 8 páginas
Otro

Mis 431 Exam 3 Riley Study Guide

Document preview thumbnail
Vista previa 2 fuera de 8 páginas

MIS 431 EXAM 3 RILEY STUDY GUIDE

Vista previa del contenido

MIS 431 EXAM 3 RILEY STUDY GUIDE

Indexes - Answer -Value that points out to where the data is stored.
-using indexes speed up the search process
-reads through millions of records
*primary key is always indexed

Most queries require locating a certain row that satisfy some condition specified in
WHERE clause
-data not physically stored in any particular order

Pointers - Answer -when data is stored on drive (or RAM)
-operating systems allocates space with a function call
-provides location/address

~ physical address
~ virtual address (VSAM): imaginary drive values mapped to physical locations
-indexes have pointers, point to where it is actually stored on hard drive

-Relative Address = distance from start of file
-way it is stored doesn't matter, we query how we want to see it
-create columns we want to see w/ select statement & order by rows

Table indexes? - Answer -- in a relational database, the physical storage location for a
particular row doesnt matter unless your the DBMS and are trying to find it
-an index structure provides rapid access to attribute values and their corresponding
table rows
-indexes contain information about the physical storage location of data
= note that entity data generally must be read one full row at a time, even if just one
attribute is needed; BUT if an attribute value can be found in an index, then the DBMS
can avoid having to read full rows

How indexes are represented - Answer -- indexes contain an "ordered list" of entries:
the ordered list typically takes the form of a "balanced- tree (B Tree)" rather than a
simple linear test
- a tree structure is an efficient structure for holding an ordered list, and can be quickly
traversed to find a particular value of the attribute indexed upon
-the three is traversed from its root node to the desired leaf node; for each node, find
the highest key value less than or equal to the search value and follow the pointer to the
next node
-each leaf node contains 2 pieces of information:
~an attribute value
~information concerning the physical storage location of the entity(s) having that precise
attribute value

, B Tree - Answer -- limits how many records you have to sort though till you find table
rows
- if a value changes you have to rewrite the index

Problems with indexes - Answer -- each index must be updated when rows are
inserted, deleted or modified
- changing one row of data in a table with many indexes can result in considerable time
and resources to update all of the indexes
- steps to improve performance:
~index primary keys
~index common join columns
~index columns that are searched regularly
~use a performance analyzer
- if you index foreign key it makes you join faster
- programmed to ignore bad indexes (something that frequently changes)

Transaction - Answer -- lowest level of work, smallest unit of work
logical unit of work

- must be either entirely completed or aborted
-no intermediate states are acceptable
-keeps from one consistent state to another consistent state
-typically multiple sequence statements

Transaction Properties: ACID - Answer -Atomic: all transaction operations must be
COMPLETED, incomplete transactions ABORTED
Consistency: any transaction will take the db from one consistent state to another, with
NO BROKEN CONSTRAINTS (referential integrity)
Isolation: other operations cannot access data that has been modified during a
transaction that has not yet completed (another transaction cant see your changes)
Durability: permanence of consistent database state, ability to recover the committed
transaction updates against any kind of system failure (transaction log)

Transaction support - Answer -COMMIT: save
ROLLBACK: undo

user initiated transaction sequence must continue until:
- COMMIT statement is reached
- ROLLBACK statement is reached
- end of program reached
- program reaches abnormal termination

Log stores - Answer -- record for beginning of transaction
-each SQL statement: operation, names of objects, before and after values for updated
fields, pointers to previous and next entries
- COMMIT statement

Información del documento

Subido en
10 de diciembre de 2025
Número de páginas
8
Escrito en
2025/2026
Tipo
Otro
Personaje
Desconocido
$13.99

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
GEEKA
3.8
(380)
Vendido
2253
Seguidores
1452
Artículos
64373
Última venta
17 horas hace




Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes