your using sql then ?
its all down to resorces, how much ram do you have in the pc ?
when the m2 and db server are running, press alt,ctrl,del at the same time to bring up the taskmanager , then find the dbserver in the processes tab,
right click it and select the "set priority" bit, then...