1. A method using a device comprising at least one processor for managing a database, the method comprising: receiving, using at least one processor, a first query from a user; generating, using the at least one processor, a factorized character string based on the first query, the factorized character string being generated by converting at least one execution value of a character string of the first query into a desired factor; transmitting, using the at least one processor, the factorized character string to a server; receiving, using the at least one processor, an execution plan identifier associated with the factorized character string from the server, the execution plan identifier identifying an execution plan, stored on the server, equivalent to the factorized character string; generating, using the at least one processor, a second query request including the execution plan identifier and an execution value list associated with the first query, the second query request being in a pair format; transmitting, using the at least one processor, the second query request to the server; determining, using the at least one processor, whether a query result associated with the second query is stored on the server, the determining based on at least the execution plan identifier and the execution value list; receiving, using the at least one processor, a query result corresponding to the second query request from the server, wherein when the query result corresponding to the second query request is determined to be stored on the server, the receiving includes receiving the stored query result from the server; generating, using the at least one processor, an execution plan with respect to the factorized character string in response to a response to the factorized character string being received from the server; and transmitting, using the at least one processor, the generated execution plan to the server, before the receiving of the execution plan identifier.