An index in a DBMS is said to be dense if an index entry appears for everysearch-key value in the indexed file. Otherwise it is called a sparse index. Considerthe following two statements.S1: A hash index must be a dense indexS2: A 𝐵+ tree index can be a sparse indexWhich one of the following options is correct?
Consider concurrent execution of two transactions 𝑇1 and 𝑇2 in a DBMS, both ofwhich access a data object 𝐴. For these two transactions to not conflict on 𝐴, whichone of the following statements must be true?
In the context of DBMS, consider the two sets T and S given below.TSI: Logical schemaL: ViewsII: Physical schemaM: File organization and indexesIII: External schema N: RelationsWhich one of the following is the correct match from T to S ?
Consider the following database tables of a sports league. player (\( pid \), \( pname \), \( age \)) coach (\( cid \), \( cname \)) team (\( tid \), \( tname \), \( city \), \( cid \)) members (\( pid \), \( tid \)) An instance of the table and an SQL query are given. Player tablecoach table:team table:members table:SQL query: \[ {SELECT MIN(P.age)} \] \[ {FROM player P} \] \[ {WHERE P.pid IN (} \] \[ { SELECT M.pid} \] \[ { FROM team T, coach C, members M} \] \[ { WHERE C.cname = 'Mark'} \] \[ { AND T.cid = C.cid} \] \[ { AND M.tid = T.tid)} \] The value returned by the given SQL query is __________. (Answer in integer)
A schedule of three database transactions \(T_1\), \(T_2\), and \(T_3\) is shown. \(R_i(A)\) and \(W_i(A)\) denote read and write of data item A by transaction \(T_i\), \(i = 1, 2, 3\). The transaction \(T_1\) aborts at the end. Which other transaction(s) will be required to be rolled back?
The term that optimizes subexpressions shared by different expressions in a program is called ________.
The optimizer that explores the space of all query-evaluation plans is called ________.
The database design that consists of multiple tables that are linked together through matching data stored in each table is called a _______.