[英]How big database can wordpress can handle
press i have to develop a site that will mainly deal in displaying data from databse ,searching data among millions of fields . 我必须建立一个站点,主要负责显示数据库中的数据,在数百万个字段中搜索数据。
So i want to know can Word-press easily handle such case ? 所以我想知道Word-press可以轻松处理这种情况吗?
What could be the issues i could face with word-press. 我可能会遇到文字印刷问题。
Does Using wpdb compared to normal query make performance issue ? 与普通查询相比,使用wpdb是否会导致性能问题?
Lets say your WordPress website which have 1 million posts. 假设您的WordPress网站有100万个帖子。 This going to take up a lot of memory and CPU usage especially if you get a lot of traffic. 这将占用大量内存和CPU使用率,尤其是在您获得大量流量的情况下。 So your server should handle that. 因此,您的服务器应处理该问题。 You can use a good caching plugin to reduce server load. 您可以使用良好的缓存插件来减少服务器负载。 You can cache the database to make your search faster. 您可以缓存数据库以加快搜索速度。
WP_Query
use wpdb
class to query the database. WP_Query
使用wpdb
类来查询数据库。 WP_Query useful to deal with native WordPress tables. WP_Query对处理本机WordPress表很有用。 And wpdb
is helpful when you need to access data in your own tables. 当您需要访问自己的表中的数据时, wpdb
会很有帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.