主权项 |
1. A data storage apparatus including a memory device shared by plural users comprising:
a use history recording unit configured to record a use history of a memory space in a history table when a user accesses to the memory space allocated to the user, regarding items combining a stored data volume in the memory space allocated to the user with at least one item of the number of writing times that the user writes data in the memory space, the number of reading times that the user reads the data from the memory space, and the number of reference times that the user logs in the data storage apparatus and executes a data storage function; a use frequency calculation unit configured to find a use frequency of the memory space by calculating a proportion of use state of the memory space based on values recorded in the history table; and a remained volume allocation unit configured to reallocate a remained memory volume based on the use frequency, wherein, when a specific time passes after a last allocation of the memory space or when a specific user instructs the reallocation, after the use history recording unit updates the use history of the memory space, the use frequency calculation unit finds the use frequency of the memory space. |