Past ExamsRwanda ICT preparation

Topics / Database

Under heavy load, a web application opens a new database connection for every page view and the database starts refusing connections with “too many connections”. What is the standard remedy?

Sous forte charge, une application web ouvre une nouvelle connexion à la base pour chaque affichage de page, et la base commence à refuser les connexions avec « too many connections ». Quel est le remède habituel ?

Answers
ARaise the maximum number of connections to unlimited and restart the database server nightlyPorter le nombre maximal de connexions à l'infini et redémarrer le serveur de base chaque nuit
BClose the database every hourFermer la base toutes les heures
CUse a connection pool that reuses a limited set of open connectionsUtiliser un pool de connexions qui réutilise un nombre limité de connexions ouvertes
DRemove all indexesSupprimer tous les index
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·3 marks·Hard

More Database questions