Scheduling Using Dynamic Priority in Real-Time Database Systems