Past ExamsRwanda ICT preparation

Topics / Database

Hundreds of clerks update different applicant records at the same time. Why is row-level locking better than locking the whole table for each update?

Des centaines d'agents modifient en même temps des dossiers de candidats différents. Pourquoi le verrouillage au niveau des lignes est-il préférable au verrouillage de toute la table à chaque mise à jour ?

Answers
AClerks editing different rows do not have to wait for each otherLes agents qui modifient des lignes différentes n'ont pas à s'attendre
BRow locks use no memory at all, whereas table locks fill the server's diskLes verrous de ligne n'utilisent aucune mémoire, alors que les verrous de table remplissent le disque du serveur
CTable locks are not supported by any databaseAucune base ne prend en charge les verrous de table
DRow locking removes the need for transactionsLe verrouillage des lignes supprime le besoin de transactions
The answer and explanation are in the full bank.

This question is one of 2,831 in the paid banks. Each comes with the correct answer and the reasoning behind it, not just a mark.

Unlock for 5,000 RWF

MIFOTRA exam practicealigned to Practice set: Database Management·2 marks·Medium

More Database questions