Database connection expensive to create?
问题 Why is database connection expensive to create ? Like what finite resource (bandwidth/network round trip/cpu) exactly is it consuming ? Typically expensive to create means it is consuming some resource like cpu/disk/io, but in case of connection i can only think of the time it takes for Sync/Ack etc. 回答1: You didn't say what database you are asking about, so this answer is pretty generic. Database connections are much more than just a TCP/IP socket. Each connection consumes memory that