The trace writer task is part of a user kernel thread (UKT). The database system enables the database trace to be activated for diagnosis purposes. The special trace writer task is provided for this purpose.