1. An optimizing method for a query statement in a relational database, comprising: determining filtering performance for each of at least two complex predicates in a predetermined layer of the query statement based on a result of a query performed on predetermined data records by using only the complex predicates; and re-ordering the complex predicates in the predetermined layer based on the filtering performance so as to rank a complex predicate with higher filtering performance before a complex predicate with a lower filtering performance.