<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>http://wiki.mipt.ru/index.php?action=history&amp;feed=atom&amp;title=Development%3ABackup_2.0_known_problems</id>
	<title>Development:Backup 2.0 known problems - История изменений</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.mipt.ru/index.php?action=history&amp;feed=atom&amp;title=Development%3ABackup_2.0_known_problems"/>
	<link rel="alternate" type="text/html" href="http://wiki.mipt.ru/index.php?title=Development:Backup_2.0_known_problems&amp;action=history"/>
	<updated>2026-05-07T14:21:26Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>http://wiki.mipt.ru/index.php?title=Development:Backup_2.0_known_problems&amp;diff=10838&amp;oldid=prev</id>
		<title>Олег Давидович: 1 версия импортирована</title>
		<link rel="alternate" type="text/html" href="http://wiki.mipt.ru/index.php?title=Development:Backup_2.0_known_problems&amp;diff=10838&amp;oldid=prev"/>
		<updated>2024-10-21T08:51:01Z</updated>

		<summary type="html">&lt;p&gt;1 версия импортирована&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Предыдущая версия&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Версия от 08:51, 21 октября 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Олег Давидович</name></author>
	</entry>
	<entry>
		<id>http://wiki.mipt.ru/index.php?title=Development:Backup_2.0_known_problems&amp;diff=10837&amp;oldid=prev</id>
		<title>1&gt;Stronk7: New page: {{Template:Development:Backup 2.0}}{{Moodle_2.0}}__NOTOC__{{Work in progress}}  * &#039;&#039;&#039;Improve XML parsing&#039;&#039;&#039;: One of the major bottlenecks i...</title>
		<link rel="alternate" type="text/html" href="http://wiki.mipt.ru/index.php?title=Development:Backup_2.0_known_problems&amp;diff=10837&amp;oldid=prev"/>
		<updated>2010-04-25T10:08:20Z</updated>

		<summary type="html">&lt;p&gt;New page: {{Template:Development:Backup 2.0}}{{Moodle_2.0}}__NOTOC__{{Work in progress}}  * &amp;#039;&amp;#039;&amp;#039;&lt;a href=&quot;/index.php?title=Development:Backup_2.0_-_Improve_XML_parsing&quot; title=&quot;Development:Backup 2.0 - Improve XML parsing&quot;&gt;Improve XML parsing&lt;/a&gt;&amp;#039;&amp;#039;&amp;#039;: One of the major bottlenecks i...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Template:Development:Backup 2.0}}{{Moodle_2.0}}__NOTOC__{{Work in progress}}&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[Development:Backup 2.0 - Improve XML parsing|Improve XML parsing]]&amp;#039;&amp;#039;&amp;#039;: One of the major bottlenecks in backup and, especially, in restore reliability under Moodle 1.x has been the large amount of memory needed to handle those operations (see bugs like MDL-14302, MDL-15489, MDL-9838... and many others). While the whole XML file (moodle.xml) is parsed in a [http://en.wikipedia.org/wiki/Simple_API_for_XML SAX] way (hence, &amp;quot;streamed&amp;quot; and requiring small amounts of memory),  we use to group some XML contents into &amp;quot;parts&amp;quot; in order to delegate the operations over those &amp;quot;parts&amp;quot; to different plugins (modules, blocks...). And problems arrive when some of those &amp;quot;parts&amp;quot; are big enough and processing them with the [http://php.net/xml_parse_into_struct xml_parse_into_struct()] function and the [http://www.hansanderson.com/php/xml/ xmlize] library uses exaggerated amounts of memory (for example, to process a 12.5MB file requires 311MB of memory, crazy!). So we need to switch to an alternate method to parse those &amp;quot;parts&amp;quot; using much less memory and to build the corresponding in-memory object with one acceptable throughput (speed).&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[Development:Backup 2.0 - Provide upwards compatibility of Moodle 1.9.x backups|Upwards compatibility of Moodle 1.9.x backups]]&amp;#039;&amp;#039;&amp;#039;: While the [[Development:Backup 2.0 multiple formats|Backup 2.0 multiple formats]] document describes how different formats will be supported by the restore process in Moodle 2.0, it&amp;#039;s going to be a highly complex task to perform the transformation of Moodle 1.9.x backups into the new, improved, Moodle 2.x backup format. Too  many things have changed between both versions to be able to achieve this easily. Surely it&amp;#039;s computable (as long as upgrade is being able to apply the correct logic, so restore will) but it is going to be handled as a separate development that will allow us to 1) be centred in the 2.0 backup/restore and 2) be free (both in mind and implementation) from any 1.9.x XML format dependency.&lt;/div&gt;</summary>
		<author><name>1&gt;Stronk7</name></author>
	</entry>
</feed>