TrustedDB is a prototype outsourced SQL database that enhances privacy and regulatory compliance by utilizing tamper-proof trusted hardware for query processing, overcoming limitations of traditional encryption methods. It allows for broader query expressiveness at a significantly lower cost per query compared to existing software-only solutions, despite the higher acquisition costs of trusted hardware. Designed to maximize resource use from unsecured servers, TrustedDB pre-processes client queries to optimize performance and transaction costs.