Database should be faster. The filesystem search and database search are two different things though. One is for searching your database content and the other is for searching your html files for your website.