【发布时间】:2010-12-11 06:07:00
【问题描述】:
这段代码需要将近半秒才能执行。有人可以帮助我解释可能发生这种情况的一些原因以及一些可能的解决方案吗?
如果重要,数据库由 amazon rds 托管
$this->_connection = new PDO(
$dsn,
$this->_config['username'],
$this->_config['password'],
$this->_config['driver_options']
);
【问题讨论】:
标签: mysql optimization pdo database-connection performance