Home > database > If you want to do with tens of millions, the scale of hundreds of millions of even more news site, a
If you want to do with tens of millions, the scale of hundreds of millions of even more news site, a
Time:10-17
As title, if you want to do with tens of millions, the scale of hundreds of millions of even more news site, and hope to achieve id since, choose MySQL or directing a are not very suitable? MySQL can't full text search, if you search for a key word, with the like '% XXX %' index cannot be used, if will be particularly slow, for tens of thousands of data is very slower; Use mongo seemingly impossible id on the right, Please choose what database, or use what means best?
CodePudding user response:
New York times is to use mongo database and news websites, specific what needs to be used in your system, or the business, and other a larger table associated words or a relational database is suitable: 1. MySQL like query, if adding indexes in the fields like, "* %", write SQL, is can use index; Full text search function can change a way of thinking, hundreds of millions of full-text retrieval will definitely affect the efficiency of data; 2. The mongo have ways of realizing database id since, many online example;