Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which Is better : Multi databases or single database [closed]

I have about 1.63 GB text information in 11 databases.

these databases information is not realated to each other. my application run from DVD i have some problem for first connection to each database its take some moment to open connection to each database. I have a question: which is better? 1-collect all tables in a single database increase my application speed? I created my databases with SQLCE 3.5 and i'm using entity framework.

like image 678
KF2 Avatar asked Aug 21 '26 07:08

KF2


2 Answers

Your question really doesn't provide enough good context to answer properly, but if the initial connection latency is the problem then naturally reducing the number of outbound connections will improve performance. How a single database affects performance and scalability is impossible to know given the lack of context.

like image 65
NathanAldenSr Avatar answered Aug 22 '26 22:08

NathanAldenSr


Regardless of the number of databases, generally you should be pooling connections...

Pooling leaves a set of connections already established and ready to use with no overhead

like image 35
Alex Avatar answered Aug 22 '26 21:08

Alex



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!