The _KeyEvt table is created when your database is first enabled to save key events. By default, the _KeyEvt table is created in the Schema Area, but you can specify a different area.
The following example demonstrates how to enable key events for a database named my-db, and place the _KeyEvt table in the Schema Area: