目录

Can I create a singleton that always holds a database object? Is there any impact on performance?

Yes. You can create a singleton that always holds a database object, which has slight impact on performance.