A computer-implemented method comprising: selecting (S210), from a database, multiple objects having a same object pattern; grouping (S220) the multiple objects into one or more object type groups based on respective similarities between the multiple objects; establishing (S230) a mapping relationship between each object of the multiple objects and a corresponding object type group of the one or more object type groups, to which the object belongs; and using the mapping relationship to determine, for a database access statement received from a client to access the database, a statement type of the database access statement in a process of selecting a target execution plan for the database access statement, comprising: determining that a first object in the database access statement belongs to a first object type group of the one or more object type groups based on the mapping relationship; parameterizing the database access statement by replacing the first object in the database access statement with a group name of the first object type group, to obtain a parameterized database access statement; and determining the statement type based on the parameterized database access statement; wherein the determined statement type of the database access statement is used in the process of selecting the target execution plan for the database access statement to obtain a pre-stored execution plan group corresponding to the database access statement of the statement type, from which the target execution plan is selected. selecting (S210), from a database, multiple objects having a same object pattern; grouping (S220) the multiple objects into one or more object type groups based on respective similarities between the multiple objects; establishing (S230) a mapping relationship between each object of the multiple objects and a corresponding object type group of the one or more object type groups, to which the object belongs; and using the mapping relationship to determine, for a database access statement received from a client to access the database, a statement type of the database access statement in a process of selecting a target execution plan for the database access statement, comprising: determining that a first object in the database access statement belongs to a first object type group of the one or more object type groups based on the mapping relationship; parameterizing the database access statement by replacing the first object in the database access statement with a group name of the first object type group, to obtain a parameterized database access statement; and determining the statement type based on the parameterized database access statement; determining that a first object in the database access statement belongs to a first object type group of the one or more object type groups based on the mapping relationship; parameterizing the database access statement by replacing the first object in the database access statement with a group name of the first object type group, to obtain a parameterized database access statement; and determining the statement type based on the parameterized database access statement; wherein the determined statement type of the database access statement is used in the process of selecting the target execution plan for the database access statement to obtain a pre-stored execution plan group corresponding to the database access statement of the statement type, from which the target execution plan is selected. <EOS>