摘要 |
PROBLEM TO BE SOLVED: To provide a database device that predicts a function having call capability and can causes an object of the function to be held by a cache memory and a main storage device.SOLUTION: A database device 10 comprises: an execution history acquiring section 41; a predicting section 45; and an optimizing section 46. The execution history acquiring section 41 acquires execution history information indicating a number of times of calls of a plurality of functions having sources stored in a storage device 13 at each period. The predicting section predicts call capability of each of the plurality of functions at a next period on the basis of a plurality of pieces of past execution history information. The optimizing section 46 stores syntax analysis results of a first predetermined number of functions in the order of the call capability in the storage device 13 on the basis of the call capability of each of the plurality of functions at the next period. Further, the optimizing section 46 stores syntax analysis results of a second predetermined number of functions in the order of the call capability in a cache memory 15 having an access speed faster than that of the storage device 13. |