Adding -l ktrace mode to produce debug database schema