与MySQL的最大并发连接 [英] Maximum concurrent connections to MySQL

查看:114
本文介绍了与MySQL的最大并发连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想为我的大学设立一个社交网站的MySQL数据库。

I want to set up a MySQL database for a social networking website for my college.

我的应用程式最多可以有10,000位使用者。什么是并发MySQL连接的最大数量可能?

My app can have at most 10,000 users. What is the maximum number of concurrent MySQL connections possible?

推荐答案

根据MySQL文档: http://dev.mysql.com/doc/refman/5.0/en/server-system-variables.html#sysvar_max_user_connections

As per the MySQL docs: http://dev.mysql.com/doc/refman/5.0/en/server-system-variables.html#sysvar_max_user_connections

 maximum range: 4,294,967,295  (e.g. 2**32 - 1)

您可能会在您的服务器上运行内存不足,文件句柄和网络套接字,前提是您已接近此限制。

You'd probably run out of memory, file handles, and network sockets, on your server long before you got anywhere close to that limit.

这篇关于与MySQL的最大并发连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆