For example, as stated above, a database may have a parameter and flag indicating whether to turn on or off logging, that applies to all transactions in a database instance, all operations performed by a particular user, operations associated with specific statements or sets of statements, and/or all operations associated with particular objects or sets of objects.