<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic RE: Work Queue database space consumption in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Work-Queue-database-space-consumption/m-p/67636#M20241</link>
    <description>It would vary significantly depending on what is in that 5x1000 array. Also, work queue data is stored in XML format, so there's some overhead from that as well. I think the only way to get an accurate estimate would be to check the length data field of the item in the BPAWorkQueueItem table on SQL.&lt;BR /&gt;&lt;BR /&gt;Here's an example query to calculate roughly how many bytes would be used to store the data for a specific queue:&lt;BR /&gt;
&lt;PRE class="language-csharp"&gt;&lt;CODE&gt;Select
	Len(data) * 2 [Rough Size in Bytes] -- Multiply by 2 because of nvarchar
From
	BPAWorkQueue Q
	Inner Join BPAWorkQueueItem I On
		Q.ident = I.queueident
Where
	Q.name = 'your queue name here'​&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Nicholas Zejdlik&lt;BR /&gt;RPA Developer&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Fri, 11 Dec 2020 15:32:00 GMT</pubDate>
    <dc:creator>NicholasZejdlik</dc:creator>
    <dc:date>2020-12-11T15:32:00Z</dc:date>
    <item>
      <title>Work Queue database space consumption</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Work-Queue-database-space-consumption/m-p/67635#M20240</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Does any know how much space it occupies when you create a work queue entry which have item data of 5X1000 array, i mean 5 columns and 1000 rows.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;i understand BP database must have archiving policies and workqueue data must be cleaned up periodically but i am just interested to know what is the space consumption amount ?&lt;BR /&gt;&lt;BR /&gt;I am storing it for reporting perspective and would delete after reports are generate.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ishan Mahajan &lt;BR /&gt;India&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Dec 2020 10:46:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Work-Queue-database-space-consumption/m-p/67635#M20240</guid>
      <dc:creator>IshanMahajan</dc:creator>
      <dc:date>2020-12-11T10:46:00Z</dc:date>
    </item>
    <item>
      <title>RE: Work Queue database space consumption</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Work-Queue-database-space-consumption/m-p/67636#M20241</link>
      <description>It would vary significantly depending on what is in that 5x1000 array. Also, work queue data is stored in XML format, so there's some overhead from that as well. I think the only way to get an accurate estimate would be to check the length data field of the item in the BPAWorkQueueItem table on SQL.&lt;BR /&gt;&lt;BR /&gt;Here's an example query to calculate roughly how many bytes would be used to store the data for a specific queue:&lt;BR /&gt;
&lt;PRE class="language-csharp"&gt;&lt;CODE&gt;Select
	Len(data) * 2 [Rough Size in Bytes] -- Multiply by 2 because of nvarchar
From
	BPAWorkQueue Q
	Inner Join BPAWorkQueueItem I On
		Q.ident = I.queueident
Where
	Q.name = 'your queue name here'​&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Nicholas Zejdlik&lt;BR /&gt;RPA Developer&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Dec 2020 15:32:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Work-Queue-database-space-consumption/m-p/67636#M20241</guid>
      <dc:creator>NicholasZejdlik</dc:creator>
      <dc:date>2020-12-11T15:32:00Z</dc:date>
    </item>
  </channel>
</rss>

