Quantcast
Channel: LowEndTalk
Viewing all articles
Browse latest Browse all 39981

Choosing a VPS for hosting large database forum

$
0
0

Hello LET,

I'm currently hosting a forum on an ordinary openvz vps with default LAMP stack and willing to go lowend :D

The deal is mysql database is large, about 4gb and myisam indexes are 1.3gb.Sphinx is ised for fulltext searching.Luckily its a niche site and do not have much visitors/page views.About 100k/month visitors and 1 million pv/month.There is also xcache running.

My current vps has 8 core xeon 3440 2.52ghz 1536mb ram 100gb sata hdd.I/O is terrible(Benchmark below, forum was disabled while testing) however load average and php execution time is low and I'm satisfied with the browsing speed and uptime of the vps.

http://serverbear.com/benchmark/2012/10/24/e3wq8HvuTzgCy1W8

Do you think is it a good idea to host this forum on a LEB with this mysql and visitor specs ? any suggestions for choosing right LEB ?

Below is the mysqltuner.pl output optimized for 1536mb ram.

-------- General Statistics --------------------------------------------------
[--] Skipped version check for MySQLTuner script
[OK] Currently running supported MySQL version 5.0.77-log
[OK] Operating on 32-bit architecture with less than 2GB RAM

-------- Storage Engine Statistics -------------------------------------------
[--] Status: -Archive -BDB -Federated +InnoDB -ISAM -NDBCluster
[--] Data in MyISAM tables: 4G (Tables: 231)
[--] Data in InnoDB tables: 1M (Tables: 110)
[--] Data in MEMORY tables: 23M (Tables: 1)
[!!] Total fragmented tables: 18

-------- Security Recommendations -------------------------------------------
[OK] All database users have passwords assigned

-------- Performance Metrics -------------------------------------------------
[--] Up for: 9d 11h 33m 31s (19M q [23.784 qps], 2M conn, TX: 42B, RX: 4B)
[--] Reads / Writes: 78% / 22%
[--] Total buffers: 870.0M global + 4.9M per thread (120 max threads)
[!!] Maximum possible memory usage: 1.4G (95% of installed RAM)
[OK] Slow queries: 0% (1K/19M)
[OK] Highest usage of available connections: 27% (33/120)
[OK] Key buffer size / total MyISAM indexes: 700.0M/1.3G
[OK] Key buffer hit rate: 99.8% (361M cached / 828K reads)
[OK] Query cache efficiency: 26.8% (2M cached / 10M selects)
[!!] Query cache prunes per day: 17668
[OK] Sorts requiring temporary tables: 0% (877 temp sorts / 1M sorts)
[!!] Temporary tables created on disk: 46% (26K on disk / 57K total)
[OK] Thread cache hit rate: 99% (33 created / 2M connections)
[OK] Table cache hit rate: 52% (724 open / 1K opened)
[OK] Open file limit used: 34% (737/2K)
[OK] Table locks acquired immediately: 99% (12M immediate / 12M locks)
[OK] InnoDB data size / buffer pool: 1.8M/8.0M

And vzfree output.

./vzfree
Total Used Free
Kernel: 2048.00M 10.90M 2037.10M
Allocate: 1536.00M 1241.41M 294.59M (1536M Guaranteed)
Commit: 1536.00M 1115.40M 420.60M (89.0% of Allocated)
Swap: 20.53M (1.9% of Committed)>


Viewing all articles
Browse latest Browse all 39981

Trending Articles