1. A method of processing database queries, said method comprising: receiving a query on information in a database from a database management system running on a first processor; determining query fragments that accomplish the query; selecting a set of the query fragments for offload to a second processor coupled to the first processor, based on their suitability for execution in hardware; determining machine code database instructions for the selected query fragments; determining results for the query fragments based on executing the machine code database instructions in the second processor; and providing the results for the query fragments to the database management system.