1. A method of selectively logging query implementation information of a query in a database management system, the method comprising: receiving a query; determining an execution plan for the query; determining whether query implementation information should be logged for the query; and executing the query.