摘要 |
<P>PROBLEM TO BE SOLVED: To prevent processing of an inquiry that requires resources exceeding an acceptable amount. <P>SOLUTION: A terminal device according to an embodiment of the invention comprises: an input unit for inputting an inquiry to a database stored in a database server; a prediction unit for predicting an amount of resources required for the database server to process the inquiry inputted at the input unit; and a transmitting and receiving unit. If it is determined that the amount of resources predicted by the prediction unit does not exceed an acceptable amount of resources, the transmitting and receiving unit transmits the inquiry inputted at the input unit to the database server and receives a result of the inquiry. If it is determined that the amount of resources predicted by the prediction unit exceeds the acceptable amount of resources, the transmitting and receiving unit does not transmit the inquiry inputted at the input unit to the database server. A large acceptable amount of resources is set if a load on the database server is small, and a small acceptable amount is set if the load on the database server is large. <P>COPYRIGHT: (C)2013,JPO&INPIT |