If you use a database, your scripts will be constantly opening and closing access handles. This process wastes time and can be improved by Apache::DBI.
Apache::DBI