Did you run the query immediatley after the DB is started up?