<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.dafne.bi-services.sk/index.php?action=history&amp;feed=atom&amp;title=Prioritization</id>
	<title>Prioritization - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.dafne.bi-services.sk/index.php?action=history&amp;feed=atom&amp;title=Prioritization"/>
	<link rel="alternate" type="text/html" href="https://wiki.dafne.bi-services.sk/index.php?title=Prioritization&amp;action=history"/>
	<updated>2026-10-23T19:25:12Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.4</generator>
	<entry>
		<id>https://wiki.dafne.bi-services.sk/index.php?title=Prioritization&amp;diff=32&amp;oldid=prev</id>
		<title>Dafne: /* Priority Inheritance */</title>
		<link rel="alternate" type="text/html" href="https://wiki.dafne.bi-services.sk/index.php?title=Prioritization&amp;diff=32&amp;oldid=prev"/>
		<updated>2025-03-25T14:18:00Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Priority Inheritance&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 14:18, 25 March 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l13&quot; &gt;Line 13:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 13:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;By following these rules, the system ensures efficient task execution while maintaining optimal server performance.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;By following these rules, the system ensures efficient task execution while maintaining optimal server performance.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Priority Inheritance ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Priority Inheritance ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;prio_inherit&lt;/del&gt;.png|right|Dedenie priorít]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Prio inherit&lt;/ins&gt;.png|right|Dedenie priorít]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In typical processing, tasks that produce outputs for reporting or user interactions are often assigned higher priority. However, these tasks can only be executed after all dependent tasks are completed. Since multiple dependent tasks may exist, and they may be processed in a cascading manner, simply assigning a high priority to the final task is insufficient unless all preceding dependent tasks also have an appropriately elevated priority.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In typical processing, tasks that produce outputs for reporting or user interactions are often assigned higher priority. However, these tasks can only be executed after all dependent tasks are completed. Since multiple dependent tasks may exist, and they may be processed in a cascading manner, simply assigning a high priority to the final task is insufficient unless all preceding dependent tasks also have an appropriately elevated priority.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Dafne</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.dafne.bi-services.sk/index.php?title=Prioritization&amp;diff=30&amp;oldid=prev</id>
		<title>Dafne: /* Priority Inheritance */</title>
		<link rel="alternate" type="text/html" href="https://wiki.dafne.bi-services.sk/index.php?title=Prioritization&amp;diff=30&amp;oldid=prev"/>
		<updated>2025-03-25T14:16:51Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Priority Inheritance&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 14:16, 25 March 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l13&quot; &gt;Line 13:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 13:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;By following these rules, the system ensures efficient task execution while maintaining optimal server performance.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;By following these rules, the system ensures efficient task execution while maintaining optimal server performance.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Priority Inheritance ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Priority Inheritance ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[[File:prio_inherit.png|right|Dedenie priorít]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In typical processing, tasks that produce outputs for reporting or user interactions are often assigned higher priority. However, these tasks can only be executed after all dependent tasks are completed. Since multiple dependent tasks may exist, and they may be processed in a cascading manner, simply assigning a high priority to the final task is insufficient unless all preceding dependent tasks also have an appropriately elevated priority.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In typical processing, tasks that produce outputs for reporting or user interactions are often assigned higher priority. However, these tasks can only be executed after all dependent tasks are completed. Since multiple dependent tasks may exist, and they may be processed in a cascading manner, simply assigning a high priority to the final task is insufficient unless all preceding dependent tasks also have an appropriately elevated priority.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Dafne</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.dafne.bi-services.sk/index.php?title=Prioritization&amp;diff=29&amp;oldid=prev</id>
		<title>Dafne: Created page with &quot;== Task Execution in Processing ==  During processing, multiple tasks need to be executed in a specific order. This order is not entirely random, nor is it strictly predefined...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.dafne.bi-services.sk/index.php?title=Prioritization&amp;diff=29&amp;oldid=prev"/>
		<updated>2025-03-25T14:13:25Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Task Execution in Processing ==  During processing, multiple tasks need to be executed in a specific order. This order is not entirely random, nor is it strictly predefined...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Task Execution in Processing ==&lt;br /&gt;
&lt;br /&gt;
During processing, multiple tasks need to be executed in a specific order. This order is not entirely random, nor is it strictly predefined. At any given time, several tasks can run simultaneously. However, the number of running tasks is constrained not only by task dependencies but also by the load they impose on the database server’s resources.&lt;br /&gt;
&lt;br /&gt;
In typical data warehouse (DWH) processing, most tasks in the staging layer can be executed without waiting for dependencies. For an average-sized DWH, this may involve running hundreds of tasks concurrently. However, such a high number of active tasks can put significant strain on server resources, particularly memory. To prevent excessive resource consumption, it is important to limit the number of tasks running at once.&lt;br /&gt;
&lt;br /&gt;
If the maximum number of allowed tasks is reached, any additional tasks that would exceed the limit will not be started. Instead, new tasks will only begin once an ongoing task is completed, making room for the next one. When selecting the next task to execute, the system follows a prioritization strategy:&lt;br /&gt;
# If multiple tasks are available, the task from the oldest process (i.e., the one with the earliest processing date and smallest iteration code) is chosen.&lt;br /&gt;
# If there is only one process or multiple processes have the same processing date and iteration code, the task with the lowest numerical Priority value is selected.&lt;br /&gt;
# If multiple tasks share the same Priority value, the task with the highest Load value is executed next.&lt;br /&gt;
# If multiple tasks have the same Priority and Load values, the task with the lowest identifier (i.e., the oldest created task) is selected.&lt;br /&gt;
&lt;br /&gt;
By following these rules, the system ensures efficient task execution while maintaining optimal server performance.&lt;br /&gt;
== Priority Inheritance ==&lt;br /&gt;
&lt;br /&gt;
In typical processing, tasks that produce outputs for reporting or user interactions are often assigned higher priority. However, these tasks can only be executed after all dependent tasks are completed. Since multiple dependent tasks may exist, and they may be processed in a cascading manner, simply assigning a high priority to the final task is insufficient unless all preceding dependent tasks also have an appropriately elevated priority.&lt;br /&gt;
&lt;br /&gt;
To address this, priority inheritance is implemented. This means that a task inherits the priority of any dependent task if that priority is higher (i.e., has a lower numerical value) than its own.&lt;br /&gt;
Example:&lt;br /&gt;
* Task A has a priority of 20.&lt;br /&gt;
* Task B has a priority of 10 and depends on Task A.&lt;br /&gt;
* Since Task B has a higher priority, Task A’s effective priority is also 10.&lt;br /&gt;
&lt;br /&gt;
This priority inheritance applies only at the task level. If a group dependency is defined, tasks within the group do not inherit the priority of any dependent groups.&lt;br /&gt;
&lt;br /&gt;
By implementing priority inheritance, the system ensures that critical reporting-related tasks are processed efficiently without unnecessary delays caused by lower-priority dependencies.&lt;/div&gt;</summary>
		<author><name>Dafne</name></author>
		
	</entry>
</feed>