This is because selecting numbers from the database is considerably slower than selecting from the memory of the computer. ...