Extended MySQLi implements a MySQL database access wrapper using the MySQLi extension. It is based on the Reduced MySQLi class originally written by Mertol Kasanan. This version can account the memory usage and log the executed queries in the current page. It can also cache the query results in an XML file.