Caching PDO prepared statements
问题 Is there any point in saving PDO prepared statements for reuse in a session? I'm building a site that uses MySQL fulltext queries, which I'm putting together in my PHP, like SELECT * FROM table WHERE MATCH (title) AGAINST ($search_string IN BOOLEAN MODE) AND MATCH (keywords) AGAINST ($keywords IN BOOLEAN MODE) ORDER BY $order_by $asc_desc It seems to take a lot longer to run this kind of query when I prepare and execute it with bound parameters, than when I just prepare and execute a query