can any one please let me know the memory limitation(MB) of google sitemap.xml file size.
谁能告诉我谷歌sitemap的内存限制(MB) ?xml文件的大小。
7 个解决方案
#1
29
According to the Latest Update: 01 Jan 2017
Any Sitemap file is limited to 50MB (uncompressed) with a maximum of 50,000 URLs.
任何站点地图文件都被限制为50MB(未压缩),最多有50000个url。
And a Sitemap index file (not to be confused with a Sitemap file) can include up to 50,000 Sitemaps.
一个站点地图索引文件(不要与站点地图文件混淆)可以包含多达50000个站点地图。
So, for a single Sitemap index file, the maximum capacity of URLs and storage could be calculated as described below:
因此,对于单个站点地图索引文件,url和存储的最大容量可以计算如下所示:
in terms of URLs:
的网址:
50,000 sitemaps = ( 50,000 * 50,000 ) URLs = 2,500,000,000 URLs
5万个sitemaps = (50,000 * 50,000) url = 2.5亿个url。
Note: Google supports several sitemap formats but still, all formats limit a single sitemap to 10MB (uncompressed) and 50,000 URLs. Please also refer to the sitemap index file's schema as being defined here.
注意:谷歌支持多种sitemap格式,但所有格式都将单个sitemap限制为10MB(未压缩)和50,000个url。还请参考这里定义的站点地图索引文件的模式。
in terms of size:
的大小:
50MB + (50,000 sitemaps * 50MB) = 2,500,050 MB = > 2.3 TB
50MB + (50,000 sitemaps * 50MB) = 2,500,050 MB = > 2.3 TB
So altogether, we can have maximum 2,500 millions URLs by submitting a single site map index file and we can have around 2TB of storage for all sitemap files which are included in the site map index file.
因此,通过提交一个站点地图索引文件,我们可以拥有最大的2500万个url,我们可以为站点地图索引文件中包含的所有sitemap文件存储大约2TB的存储空间。
Since we can submit up to 500 sitemap index files to Google see here, the conclusion is:
由于我们可以向谷歌提交最多500个sitemap索引文件,因此,结论如下:
(500 * 2,500) millions URLs limit with the size of (500 * 2) TB
(500 * 2500)百万url限制大小为(500 * 2)TB
Reference:
参考:
Schema for Sitemap index files
站点地图索引文件的模式
Sitemap formats : Google Webmaster Console
网站地图格式:谷歌站长控制台
Google supports several sitemap formats such as XML, RSS, mRSS, Atom 1.0 and Text.
谷歌支持多种sitemap格式,如XML、RSS、mRSS、Atom 1.0和文本。
All formats limit a single sitemap to 10MB (uncompressed) and 50,000 URLs. If you have a larger file or more URLs, you will have to break your list into multiple sitemaps. You can optionally create a sitemap index file (a file that points to a list of sitemaps) and submit that single index file to Google. You can submit multiple sitemaps and/or sitemap index files to Google.
所有格式都将一个站点地图限制为10MB(未压缩)和50000个url。如果你有一个更大的文件或更多的url,你必须把你的列表分成多个站点地图。您可以选择创建一个站点地图索引文件(指向站点地图列表的文件),并将该索引文件提交给谷歌。您可以向谷歌提交多个站点地图和/或站点地图索引文件。
How big can my Sitemap be? : Sitemaps.org
我的站点地图有多大?:Sitemaps.org
Sitemaps should be no larger than 50MB (52,428,800 bytes) and can contain a maximum of 50,000 URLs. These limits help to ensure that your web server does not get bogged down serving very large files. This means that if your site contains more than 50,000 URLs or your Sitemap is bigger than 50MB, you must create multiple Sitemap files and use a Sitemap index file. You should use a Sitemap index file even if you have a small site but plan on growing beyond 50,000 URLs or a file size of 50MB. A Sitemap index file can include up to 50,000 Sitemaps and must not exceed 50MB (52,428,800 bytes). You can also use gzip to compress your Sitemaps.
站点地图不应该大于50MB(52,428,800字节),并且最多可以包含50,000个url。这些限制有助于确保您的web服务器不会因服务非常大的文件而陷入困境。这意味着,如果站点包含超过50,000个url或站点地图大于50MB,则必须创建多个站点地图文件并使用站点地图索引文件。您应该使用Sitemap索引文件,即使您有一个小站点,但是计划增长超过50,000个url或文件大小为50MB。一个站点地图索引文件可以包含多达50,000个站点地图,并且不能超过50MB(52,428,800字节)。您还可以使用gzip压缩站点地图。
#2
17
NOTE : Updated Limits ( as of Sep 10 2016 )
updated limits are
更新的限制
Number of URLs = 50,000
File size ( uncompressed ) = 10MB
Source : Official Google Guidelines
资料来源:官方谷歌指南
According to source :
据来源:
A sitemap file can't contain more than 50,000 URLs and must be no larger than 10 MB uncompressed. If your Sitemap is larger than this, break it into several smaller Sitemaps. These limits help ensure that your web server is not overloaded by serving large files to Google.
一个站点地图文件不能包含超过50000个url,并且不能大于10mb。如果您的站点地图大于这个,将它分成几个较小的站点。通过向谷歌提供大文件,这些限制有助于确保web服务器没有过载。
For other users, Please ignore the forum links given on other answers,
because those links point to static pages which are not updated.
对于其他用户,请忽略其他答案的论坛链接,因为这些链接指向没有更新的静态页面。
#3
8
According to a claim in the Wikipedia article, the limit is 50,000 URLs and 10 MB (uncompressed) per sitemap. I think this number is from the Google Webmaster FAQ (can't find the official entry but this Google groups entry says the same.)
根据Wikipedia文章中的一项声明,每个站点地图的url和10mb(未压缩)的大小是限制的。我认为这个数字来自谷歌站长FAQ(找不到正式的条目,但是谷歌组的条目是一样的)。
Not sure whether this limit applies to the other search engine providers as well.
不确定这一限制是否也适用于其他搜索引擎提供商。
#4
6
UPDATED limits from Nov 30 2016
从2016年11月30日起更新限额
File size limit has been increased to 50MB per uncompressed file
& URL limits remain 50,000 URLs per sitemap / sitemap index
文件大小限制已经增加到每未压缩文件50MB, URL限制仍然是每sitemap / sitemap索引50000个URL
You can provide multiple Sitemap files, but each Sitemap file that you provide must have no more than 50,000 URLs and must be no larger than 50MB (52,428,800 bytes). If you would like, you may compress your Sitemap files using gzip to reduce your bandwidth requirement; however the sitemap file once uncompressed must be no larger than 50MB. If you want to list more than 50,000 URLs, you must create multiple Sitemap files.
您可以提供多个站点地图文件,但是您提供的每个站点地图文件必须不超过50,000个url,并且必须不超过50MB(52,428,800字节)。如果您愿意,可以使用gzip压缩站点地图文件,以减少带宽需求;但是,站点地图文件一旦未被压缩,必须不大于50MB。如果要列出超过50,000个url,必须创建多个站点地图文件。
If you do provide multiple Sitemaps, you should then list each Sitemap file in a Sitemap index file. Sitemap index files may not list more than 50,000 Sitemaps and must be no larger than 50MB (52,428,800 bytes) and can be compressed. You can have more than one Sitemap index file. The XML format of a Sitemap index file is very similar to the XML format of a Sitemap file.
如果您确实提供了多个站点地图,那么应该在站点地图索引文件中列出每个站点地图文件。站点地图索引文件可能不列出超过50,000站点地图,并且必须不超过50MB(52,428,800字节),并且可以被压缩。您可以有多个站点地图索引文件。站点地图索引文件的XML格式与站点地图文件的XML格式非常相似。
Source https://www.sitemaps.org/protocol.html#otherformats
源https://www.sitemaps.org/protocol.html otherformats
For those who are still confused about the 10MB limit mentioned on the google suppport page, that page is not updated as they announced the changes on Nov 30, 2016.
对于那些仍然对谷歌suppport页面上提到的10MB的限制感到困惑的人来说,这个页面并没有在2016年11月30日宣布修改时更新。
Announcement by google : https://twitter.com/googlewmc/status/803884180266479616 Announcement by bing : https://blogs.bing.com/webmaster/November-2016/Increasing-the-size-limit-of-Sitemaps-file-to-addr
谷歌公告:https://twitter.com/googlewmc/status/803884180266479616必应公告:https://blogs.bing.com/webmaster/november - 2016/increasing - sitemaps -file-to-addr
TL;DR
博士TL;
Limit for Sitemap Files :
50,000 URLs
&50MB uncompressed file size
站点地图文件的限制:50,000个url和50MB未压缩文件大小
Limit for Sitemap Index Files :
50,000 Sitemaps
&50MB uncompressed file size
站点地图索引文件的限制:50,000站点地图和50MB未压缩文件大小
#5
5
The information you're looking for is located at the link below under "Guidelines for Sitemaps". This comes straight from the horse's mouth as they say.
您正在查找的信息位于“站点地图指南”下的链接。这是从马嘴里说出来的。
http://www.google.com/support/webmasters/bin/answer.py?answer=183668
http://www.google.com/support/webmasters/bin/answer.py?answer=183668
#6
2
The answer is clear on the official sitemaps.org:
官方网站sitemaps.org给出了明确的答案:
You can provide multiple Sitemap files, but each Sitemap file that you provide must have no more than 50,000 URLs and must be no larger than 10MB (10,485,760 bytes). If you would like, you may compress your Sitemap files using gzip to reduce your bandwidth requirement; however the sitemap file once uncompressed must be no larger than 10MB. If you want to list more than 50,000 URLs, you must create multiple Sitemap files.
您可以提供多个站点地图文件,但是您提供的每个站点地图文件必须不超过50,000个url,并且必须不超过10MB(10,485,760字节)。如果您愿意,可以使用gzip压缩站点地图文件,以减少带宽需求;但是,站点地图文件一旦未被压缩,必须不大于10MB。如果要列出超过50,000个url,必须创建多个站点地图文件。
tl;dr sitemaps.xml must be < 10mb when uncompressed, regardless if you're gzipping it or not
tl,sitemaps博士。xml在未压缩时必须小于10mb,无论您是否对其进行gzipping
#7
0
I have reached this question while developing for 100K products sitemap.
我在为100K产品sitemap开发时遇到了这个问题。
And limits are
和限制
-
50K URL
50 k的URL
-
50 MB file size limit
50 MB文件大小限制。
To stay safe I think multiple sitemaps will help.
为了安全起见,我认为多个站点地图会有所帮助。
<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap>
<loc>http://www.example.com/sitemap_1.xml</loc>
<lastmod>2018-01-02T15:11:46+06:00</lastmod>
</sitemap>
<sitemap>
<loc>http://www.example.com/sitemap_2.xml.gz</loc>
<lastmod>2018-01-01T15:11:46+06:00</lastmod>
</sitemap>
</sitemapindex>
#1
29
According to the Latest Update: 01 Jan 2017
Any Sitemap file is limited to 50MB (uncompressed) with a maximum of 50,000 URLs.
任何站点地图文件都被限制为50MB(未压缩),最多有50000个url。
And a Sitemap index file (not to be confused with a Sitemap file) can include up to 50,000 Sitemaps.
一个站点地图索引文件(不要与站点地图文件混淆)可以包含多达50000个站点地图。
So, for a single Sitemap index file, the maximum capacity of URLs and storage could be calculated as described below:
因此,对于单个站点地图索引文件,url和存储的最大容量可以计算如下所示:
in terms of URLs:
的网址:
50,000 sitemaps = ( 50,000 * 50,000 ) URLs = 2,500,000,000 URLs
5万个sitemaps = (50,000 * 50,000) url = 2.5亿个url。
Note: Google supports several sitemap formats but still, all formats limit a single sitemap to 10MB (uncompressed) and 50,000 URLs. Please also refer to the sitemap index file's schema as being defined here.
注意:谷歌支持多种sitemap格式,但所有格式都将单个sitemap限制为10MB(未压缩)和50,000个url。还请参考这里定义的站点地图索引文件的模式。
in terms of size:
的大小:
50MB + (50,000 sitemaps * 50MB) = 2,500,050 MB = > 2.3 TB
50MB + (50,000 sitemaps * 50MB) = 2,500,050 MB = > 2.3 TB
So altogether, we can have maximum 2,500 millions URLs by submitting a single site map index file and we can have around 2TB of storage for all sitemap files which are included in the site map index file.
因此,通过提交一个站点地图索引文件,我们可以拥有最大的2500万个url,我们可以为站点地图索引文件中包含的所有sitemap文件存储大约2TB的存储空间。
Since we can submit up to 500 sitemap index files to Google see here, the conclusion is:
由于我们可以向谷歌提交最多500个sitemap索引文件,因此,结论如下:
(500 * 2,500) millions URLs limit with the size of (500 * 2) TB
(500 * 2500)百万url限制大小为(500 * 2)TB
Reference:
参考:
Schema for Sitemap index files
站点地图索引文件的模式
Sitemap formats : Google Webmaster Console
网站地图格式:谷歌站长控制台
Google supports several sitemap formats such as XML, RSS, mRSS, Atom 1.0 and Text.
谷歌支持多种sitemap格式,如XML、RSS、mRSS、Atom 1.0和文本。
All formats limit a single sitemap to 10MB (uncompressed) and 50,000 URLs. If you have a larger file or more URLs, you will have to break your list into multiple sitemaps. You can optionally create a sitemap index file (a file that points to a list of sitemaps) and submit that single index file to Google. You can submit multiple sitemaps and/or sitemap index files to Google.
所有格式都将一个站点地图限制为10MB(未压缩)和50000个url。如果你有一个更大的文件或更多的url,你必须把你的列表分成多个站点地图。您可以选择创建一个站点地图索引文件(指向站点地图列表的文件),并将该索引文件提交给谷歌。您可以向谷歌提交多个站点地图和/或站点地图索引文件。
How big can my Sitemap be? : Sitemaps.org
我的站点地图有多大?:Sitemaps.org
Sitemaps should be no larger than 50MB (52,428,800 bytes) and can contain a maximum of 50,000 URLs. These limits help to ensure that your web server does not get bogged down serving very large files. This means that if your site contains more than 50,000 URLs or your Sitemap is bigger than 50MB, you must create multiple Sitemap files and use a Sitemap index file. You should use a Sitemap index file even if you have a small site but plan on growing beyond 50,000 URLs or a file size of 50MB. A Sitemap index file can include up to 50,000 Sitemaps and must not exceed 50MB (52,428,800 bytes). You can also use gzip to compress your Sitemaps.
站点地图不应该大于50MB(52,428,800字节),并且最多可以包含50,000个url。这些限制有助于确保您的web服务器不会因服务非常大的文件而陷入困境。这意味着,如果站点包含超过50,000个url或站点地图大于50MB,则必须创建多个站点地图文件并使用站点地图索引文件。您应该使用Sitemap索引文件,即使您有一个小站点,但是计划增长超过50,000个url或文件大小为50MB。一个站点地图索引文件可以包含多达50,000个站点地图,并且不能超过50MB(52,428,800字节)。您还可以使用gzip压缩站点地图。
#2
17
NOTE : Updated Limits ( as of Sep 10 2016 )
updated limits are
更新的限制
Number of URLs = 50,000
File size ( uncompressed ) = 10MB
Source : Official Google Guidelines
资料来源:官方谷歌指南
According to source :
据来源:
A sitemap file can't contain more than 50,000 URLs and must be no larger than 10 MB uncompressed. If your Sitemap is larger than this, break it into several smaller Sitemaps. These limits help ensure that your web server is not overloaded by serving large files to Google.
一个站点地图文件不能包含超过50000个url,并且不能大于10mb。如果您的站点地图大于这个,将它分成几个较小的站点。通过向谷歌提供大文件,这些限制有助于确保web服务器没有过载。
For other users, Please ignore the forum links given on other answers,
because those links point to static pages which are not updated.
对于其他用户,请忽略其他答案的论坛链接,因为这些链接指向没有更新的静态页面。
#3
8
According to a claim in the Wikipedia article, the limit is 50,000 URLs and 10 MB (uncompressed) per sitemap. I think this number is from the Google Webmaster FAQ (can't find the official entry but this Google groups entry says the same.)
根据Wikipedia文章中的一项声明,每个站点地图的url和10mb(未压缩)的大小是限制的。我认为这个数字来自谷歌站长FAQ(找不到正式的条目,但是谷歌组的条目是一样的)。
Not sure whether this limit applies to the other search engine providers as well.
不确定这一限制是否也适用于其他搜索引擎提供商。
#4
6
UPDATED limits from Nov 30 2016
从2016年11月30日起更新限额
File size limit has been increased to 50MB per uncompressed file
& URL limits remain 50,000 URLs per sitemap / sitemap index
文件大小限制已经增加到每未压缩文件50MB, URL限制仍然是每sitemap / sitemap索引50000个URL
You can provide multiple Sitemap files, but each Sitemap file that you provide must have no more than 50,000 URLs and must be no larger than 50MB (52,428,800 bytes). If you would like, you may compress your Sitemap files using gzip to reduce your bandwidth requirement; however the sitemap file once uncompressed must be no larger than 50MB. If you want to list more than 50,000 URLs, you must create multiple Sitemap files.
您可以提供多个站点地图文件,但是您提供的每个站点地图文件必须不超过50,000个url,并且必须不超过50MB(52,428,800字节)。如果您愿意,可以使用gzip压缩站点地图文件,以减少带宽需求;但是,站点地图文件一旦未被压缩,必须不大于50MB。如果要列出超过50,000个url,必须创建多个站点地图文件。
If you do provide multiple Sitemaps, you should then list each Sitemap file in a Sitemap index file. Sitemap index files may not list more than 50,000 Sitemaps and must be no larger than 50MB (52,428,800 bytes) and can be compressed. You can have more than one Sitemap index file. The XML format of a Sitemap index file is very similar to the XML format of a Sitemap file.
如果您确实提供了多个站点地图,那么应该在站点地图索引文件中列出每个站点地图文件。站点地图索引文件可能不列出超过50,000站点地图,并且必须不超过50MB(52,428,800字节),并且可以被压缩。您可以有多个站点地图索引文件。站点地图索引文件的XML格式与站点地图文件的XML格式非常相似。
Source https://www.sitemaps.org/protocol.html#otherformats
源https://www.sitemaps.org/protocol.html otherformats
For those who are still confused about the 10MB limit mentioned on the google suppport page, that page is not updated as they announced the changes on Nov 30, 2016.
对于那些仍然对谷歌suppport页面上提到的10MB的限制感到困惑的人来说,这个页面并没有在2016年11月30日宣布修改时更新。
Announcement by google : https://twitter.com/googlewmc/status/803884180266479616 Announcement by bing : https://blogs.bing.com/webmaster/November-2016/Increasing-the-size-limit-of-Sitemaps-file-to-addr
谷歌公告:https://twitter.com/googlewmc/status/803884180266479616必应公告:https://blogs.bing.com/webmaster/november - 2016/increasing - sitemaps -file-to-addr
TL;DR
博士TL;
Limit for Sitemap Files :
50,000 URLs
&50MB uncompressed file size
站点地图文件的限制:50,000个url和50MB未压缩文件大小
Limit for Sitemap Index Files :
50,000 Sitemaps
&50MB uncompressed file size
站点地图索引文件的限制:50,000站点地图和50MB未压缩文件大小
#5
5
The information you're looking for is located at the link below under "Guidelines for Sitemaps". This comes straight from the horse's mouth as they say.
您正在查找的信息位于“站点地图指南”下的链接。这是从马嘴里说出来的。
http://www.google.com/support/webmasters/bin/answer.py?answer=183668
http://www.google.com/support/webmasters/bin/answer.py?answer=183668
#6
2
The answer is clear on the official sitemaps.org:
官方网站sitemaps.org给出了明确的答案:
You can provide multiple Sitemap files, but each Sitemap file that you provide must have no more than 50,000 URLs and must be no larger than 10MB (10,485,760 bytes). If you would like, you may compress your Sitemap files using gzip to reduce your bandwidth requirement; however the sitemap file once uncompressed must be no larger than 10MB. If you want to list more than 50,000 URLs, you must create multiple Sitemap files.
您可以提供多个站点地图文件,但是您提供的每个站点地图文件必须不超过50,000个url,并且必须不超过10MB(10,485,760字节)。如果您愿意,可以使用gzip压缩站点地图文件,以减少带宽需求;但是,站点地图文件一旦未被压缩,必须不大于10MB。如果要列出超过50,000个url,必须创建多个站点地图文件。
tl;dr sitemaps.xml must be < 10mb when uncompressed, regardless if you're gzipping it or not
tl,sitemaps博士。xml在未压缩时必须小于10mb,无论您是否对其进行gzipping
#7
0
I have reached this question while developing for 100K products sitemap.
我在为100K产品sitemap开发时遇到了这个问题。
And limits are
和限制
-
50K URL
50 k的URL
-
50 MB file size limit
50 MB文件大小限制。
To stay safe I think multiple sitemaps will help.
为了安全起见,我认为多个站点地图会有所帮助。
<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap>
<loc>http://www.example.com/sitemap_1.xml</loc>
<lastmod>2018-01-02T15:11:46+06:00</lastmod>
</sitemap>
<sitemap>
<loc>http://www.example.com/sitemap_2.xml.gz</loc>
<lastmod>2018-01-01T15:11:46+06:00</lastmod>
</sitemap>
</sitemapindex>