AsianViralHub Posted July 21, 2023 Share Posted July 21, 2023 Hey guys, i was wondering if i want to have a remote database on KVS, how will i achieve that? any guidance would be much appreciated <3 Quote Link to comment Share on other sites More sharing options...
Tech Support Posted July 22, 2023 Share Posted July 22, 2023 This is configured by server admins. Remote database is typically run on the server in the same hosting facility to reduce network latency. Typically admins will configure database be available via some local network IP address (e.g. 10.8.0.XX). Then when this connection is considered working, the only thing you need in KVS is to change database connection info in /admin/include/setup_db.php file. Quote Link to comment Share on other sites More sharing options...
AsianViralHub Posted July 22, 2023 Author Share Posted July 22, 2023 6 minutes ago, Tech Support said: This is configured by server admins. Remote database is typically run on the server in the same hosting facility to reduce network latency. Typically admins will configure database be available via some local network IP address (e.g. 10.8.0.XX). Then when this connection is considered working, the only thing you need in KVS is to change database connection info in /admin/include/setup_db.php file. we managed to create a remote db server but it made the website kinda slow maybe cause of the we have used 2 servers from 2 different companies. thanks for the reply :) Quote Link to comment Share on other sites More sharing options...
Tech Support Posted July 23, 2023 Share Posted July 23, 2023 It makes no much sense to use different hosting data centers in this case, as there are many queries run into database and network latency will make the whole product run slow when not from cache. So remote database should always be configured using internal network. Quote Link to comment Share on other sites More sharing options...
Anay Posted July 26, 2023 Share Posted July 26, 2023 First you have to decide why you need remote database, if your traffic is growing and single server is not able to handle then you you should opt for remote db server. Have been successfully running KVS on external DB server for my clients and have been not issue. But as @Tech Support said, if they are across separate DC or Facilities, instead of gains, you will see deteriorated performance. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.