<?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: How can I accelerate a query in warehousing by clauses? in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-accelerate-a-query-in-warehousing-by-clauses/m-p/13513942#M26347</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/207/anthony.j.html" nodeid="207"&gt;@anthony.johnson&lt;/A&gt;, thank you for this detailed answer.&lt;/DIV&gt;</description>
    <pubDate>Wed, 01 Dec 2021 20:36:58 GMT</pubDate>
    <dc:creator>joerg_vogel_HsH</dc:creator>
    <dc:date>2021-12-01T20:36:58Z</dc:date>
    <item>
      <title>How can I accelerate a query in warehousing by clauses?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-accelerate-a-query-in-warehousing-by-clauses/m-p/13513936#M26341</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 21.0.9 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Theoretically as an example I would build a warehouse by&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;place (cities like Houston, Saint Louis, and so on)&lt;/LI&gt;&lt;LI&gt;zones (facilities in a place)&lt;/LI&gt;&lt;LI&gt;Type (floor storage and rack)&lt;/LI&gt;&lt;LI&gt;aisle&lt;/LI&gt;&lt;LI&gt;level&lt;/LI&gt;&lt;LI&gt;bay&lt;/LI&gt;&lt;LI&gt;slot.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The internal warehouse data is immense. How should I build my query to accelerate to find slots or items in methods like findItem, findSlot, queryItems or querySlots? In which order I can limit a query data from the beginning similar to partitions while I build clauses? I would set none standard attributes as warehouse labels like place and Type from my example above.&lt;/P&gt;&lt;P&gt;Many Thanks for your insights.&lt;/P&gt;&lt;P&gt;Joerg&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 29 Nov 2021 06:39:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-accelerate-a-query-in-warehousing-by-clauses/m-p/13513936#M26341</guid>
      <dc:creator>joerg_vogel_HsH</dc:creator>
      <dc:date>2021-11-29T06:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: How can I accelerate a query in warehousing by clauses?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-accelerate-a-query-in-warehousing-by-clauses/m-p/13513937#M26342</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Found already &lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/questions/64365/table-query-speed.html" target="_blank"&gt;table query speed&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 29 Nov 2021 07:09:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-accelerate-a-query-in-warehousing-by-clauses/m-p/13513937#M26342</guid>
      <dc:creator>joerg_vogel_HsH</dc:creator>
      <dc:date>2021-11-29T07:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: How can I accelerate a query in warehousing by clauses?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-accelerate-a-query-in-warehousing-by-clauses/m-p/13513938#M26343</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/461/joerg.v.html" nodeid="461"&gt;@Joerg Vogel&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Was the other post you linked to sufficient to answer your question? If so, please add and accept an answer to let others know the solution. Or please respond to the previous comment so that we can continue to help you.&lt;/P&gt;&lt;P&gt;If we don't hear back in the next 3 business days, we'll assume you were able to solve your problem and we'll close this case in our tracker. You can always comment back at any time to reopen your question, or you can &lt;A href="https://flexs.im/contact"&gt;contact your local FlexSim distributor&lt;/A&gt; for phone or email help.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 01 Dec 2021 01:31:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-accelerate-a-query-in-warehousing-by-clauses/m-p/13513938#M26343</guid>
      <dc:creator>ryan_c10</dc:creator>
      <dc:date>2021-12-01T01:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: How can I accelerate a query in warehousing by clauses?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-accelerate-a-query-in-warehousing-by-clauses/m-p/13513939#M26344</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;At all and &lt;A rel="user" href="https://answers.flexsim.com/users/31536/ryanc10.html"&gt;@Ryan Clark&lt;/A&gt;, I attached this link to get further more specialized suggestions. If I didn’t do it, I would get suggestion already stated there. I wish from you and FlexSim not to close my question, because optimizing a model is a general issue. A warehouse can lead to a really large list. Are there any clauses that can split and keep up a sub list cached? Are there other clauses to update such a sub list? Thank you for considering my request and keep it open! Regards Joerg&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 01 Dec 2021 07:11:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-accelerate-a-query-in-warehousing-by-clauses/m-p/13513939#M26344</guid>
      <dc:creator>joerg_vogel_HsH</dc:creator>
      <dc:date>2021-12-01T07:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: How can I accelerate a query in warehousing by clauses?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-accelerate-a-query-in-warehousing-by-clauses/m-p/13513940#M26345</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/461/joerg.v.html" nodeid="461"&gt;@Joerg Vogel&lt;/A&gt;,&lt;P&gt;No worries! We'll definitely keep your question open! I don't personally have an answer to your question, but I will make sure to leave the question open for others to answer. Thanks for your reply!&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 01 Dec 2021 17:33:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-accelerate-a-query-in-warehousing-by-clauses/m-p/13513940#M26345</guid>
      <dc:creator>ryan_c10</dc:creator>
      <dc:date>2021-12-01T17:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: How can I accelerate a query in warehousing by clauses?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-accelerate-a-query-in-warehousing-by-clauses/m-p/13513941#M26346</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(65, 65, 65); font-family: sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"&gt;The &lt;A href="https://answers.flexsim.com/questions/64365/table-query-speed.html"&gt;referenced article&lt;/A&gt; is a bit out of date, especially if you are using Storage.system.findSlot()/findItem() (it doesn't really address that). Here are some things to note as an addendum to that article:&lt;/P&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(65, 65, 65); font-family: sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;STRONG&gt;Indexing Bundle Columns&lt;/STRONG&gt;&lt;/P&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(65, 65, 65); font-family: sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"&gt;If you are using Table.query() to query a single global table, and it is a bundle table, you can index certain columns with the right-click menu in the table to improve lookup speed. For example, if your query is SELECT * FROM MyTable WHERE id = 5, then if you have selected one of the right-click "Index this column" options on your bundle table's "id" column, then it should improve speed of queries significantly. The table will keep an index of that column, so that when it sees the clause WHERE id = 5, the index will have stored exactly which rows have id 5, and it will only look at those rows when evaluating the query.&lt;/P&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(65, 65, 65); font-family: sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;STRONG&gt;Speed Improvement in 22.0&lt;/STRONG&gt;&lt;/P&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(65, 65, 65); font-family: sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"&gt;There is a significant speedup in version 22.0. In previous versions (I think from 20.0 through 21.2), we were too aggressive in trying to use available indexes, such that we were rebuilding indexes that cross reference those indexes, to optimize for the case where there are multiple possible indexes to use (which admittedly doesn't happen that often). In 22.0 we simplified this mechanism, which significantly improved speed. The side effect is that, if there are multiple indexes to use on the same table, it will only use one of them, namely the one that is further left in the query.&lt;/P&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(65, 65, 65); font-family: sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"&gt;Take an example where you have a query like SELECT * FROM MyTable WHERE id = 5 AND quantity = 1, and you have an index on both the id column and the quantity column. In older versions we tried to be clever and filter on both the indexes. However, the result is that you actually have to cross-multiply the two indexes, which kind of defeats the improvement you get from indexing. So in 22.0 we've simplified it so that it will only use one index per table. If there are multiple possible indexes to use, it will use the one left-most in the query, i.e. the id column in this example. This means that, to get the best indexing bang for your buck, you want to put the most limiting indexes to the left of your query's where. If the id column represents a primary key (only one row per id), then that's the most limiting index and should be the left-most in the query.&lt;/P&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(65, 65, 65); font-family: sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;STRONG&gt;Requirements for Using an Index&lt;/STRONG&gt;&lt;/P&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(65, 65, 65); font-family: sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"&gt;In order to use an index, the filtering expression must be either the main WHERE, or it must be part of an AND in the top-level expression of the WHERE. It cannot be part of an OR, or a "descendant" of an OR.&lt;/P&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(65, 65, 65); font-family: sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"&gt;Examples of where clauses that can use the "id" column's index&lt;/P&gt;
 &lt;UL&gt;&lt;LI&gt;WHERE id = 5&lt;/LI&gt;&lt;LI&gt;WHERE id = 5 AND quantity = 1&lt;/LI&gt;&lt;/UL&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(65, 65, 65); font-family: sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"&gt;Examples of where clauses that cannot use the "id" column's index&lt;/P&gt;
 &lt;UL&gt;&lt;LI&gt;WHERE id = 5 OR id = 7 (for this one, you could probably use UNION ALL instead to ensure index usage)&lt;/LI&gt;&lt;LI&gt;WHERE quantity = 1 OR (id = 5 and quantity = 2)&lt;/LI&gt;&lt;/UL&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(65, 65, 65); font-family: sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;STRONG&gt;Indexes in Inner Joins&lt;/STRONG&gt;&lt;/P&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(65, 65, 65); font-family: sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"&gt;For inner joins, the table will see if there is an index, and use it. If there is no index, then it will build a temporary index and use it. The index to use must be on the table on the right side of the join. For example, say your query is SELECT * FROM users INNER JOIN locations ON users.location = &lt;A rel="noopener noreferrer" href="http://locations.id" target="_blank"&gt;locations.id&lt;/A&gt;. In this case, the query engine will look to see if there is an index on the &lt;A rel="noopener noreferrer" href="http://locations.id" target="_blank"&gt;locations.id&lt;/A&gt; column. If there is not one, then it will build one and run the query. Note that this is different than if your query were SELECT * FROM locations INNER JOIN users ON users.location = &lt;A rel="noopener noreferrer" href="http://locations.id" target="_blank"&gt;locations.id&lt;/A&gt;. Even though the results of those two queries may be the same, the speed differences may be significant. Since in the second query, the users table is on the right side of the join, the query engine will look at the users.location column for an index, and build one if there isn't one, meaning potential extra time if you haven't already designated that column as indexed.&lt;/P&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(65, 65, 65); font-family: sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"&gt;Note that this also has significant implications for speed if there are other filters you want to use, because we only use one index per table. For example, say we add a where clause to the above examples: WHERE &lt;A rel="noopener noreferrer" href="http://users.id" target="_blank"&gt;users.id&lt;/A&gt; = 5. Note that, in the first example (users on the left of the inner join, locations on the right), we will look for an index on locations. That leaves us space to also still use the "id" index on users without using two indexes per table. Thus, we could get a very fast total lookup complexity of O(1) (we're looking up the user with id 5, then looking up the location with that user's location). &lt;SPAN style="color: rgb(65, 65, 65); font-family: sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;However, if we use the second example (locations on the left, users on the right), we're going to use (or build) an index on the users.location column, which leaves us no room to use the &lt;A rel="noopener noreferrer" href="http://users.id" target="_blank"&gt;users.id&lt;/A&gt; index. Here &lt;/SPAN&gt;the complexity could be O(n x m) where n is the number of rows in the locations table, and m is the average number of users per location. So you could potentially get significant speed differences for queries with the same end result.&lt;/P&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(65, 65, 65); font-family: sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;STRONG&gt;Using Storage.system.findSlot()/findItem()&lt;/STRONG&gt;&lt;/P&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(65, 65, 65); font-family: sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"&gt;The warehousing mechanism uses the same indexing mechanism as described above, but with item/slot labels as the indexes. Note that you should use 22.0 to take advantage of this, as there were significant speed issues with our too aggressive index usage mentioned previously. If you mark an item/slot label as indexed in the storage system properties, then the system will keep an up-to-date index of all item/slot labels in the system, and findSlot()/findItem() with a WHERE clause that filters on those labels will be significantly faster. As of 22.0, the system does not keep indexes on the standard &lt;SPAN style="color: rgb(65, 65, 65); font-family: sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;Storage.Slot&lt;/SPAN&gt; / &lt;SPAN style="color: rgb(65, 65, 65); font-family: sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;Storage.Slot.Item&lt;/SPAN&gt; attributes &lt;SPAN style="color: rgb(65, 65, 65); font-family: sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;(for example, things like bayID, address, etc.). Thus, i&lt;/SPAN&gt;f there are standard attributes that you want to be indexed, then you can copy those attributes to labels on the slot/item, so that you can index them. This can be done programmatically:&lt;/P&gt;
 &lt;PRE style="margin: 0px 0px 10px; color: rgb(65, 65, 65); font-family: sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"&gt;Storage.system.querySlots("UPDATE Slots SET BayID = slot.bayID") &lt;/PRE&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(65, 65, 65); font-family: sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"&gt;(Although it looks like you have to first add the label on all of your slots using the painter first).&lt;/P&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(65, 65, 65); font-family: sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"&gt;Hope this helps&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 01 Dec 2021 17:38:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-accelerate-a-query-in-warehousing-by-clauses/m-p/13513941#M26346</guid>
      <dc:creator>anthony_johnsonT83CM</dc:creator>
      <dc:date>2021-12-01T17:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: How can I accelerate a query in warehousing by clauses?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-accelerate-a-query-in-warehousing-by-clauses/m-p/13513942#M26347</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/207/anthony.j.html" nodeid="207"&gt;@anthony.johnson&lt;/A&gt;, thank you for this detailed answer.&lt;/DIV&gt;</description>
      <pubDate>Wed, 01 Dec 2021 20:36:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-accelerate-a-query-in-warehousing-by-clauses/m-p/13513942#M26347</guid>
      <dc:creator>joerg_vogel_HsH</dc:creator>
      <dc:date>2021-12-01T20:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: How can I accelerate a query in warehousing by clauses?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-accelerate-a-query-in-warehousing-by-clauses/m-p/13513943#M26348</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/461/joerg.v.html" nodeid="461"&gt;@Joerg Vogel&lt;/A&gt; I also want to present a different solution, We have recently made a large warehouse model with a lot of data and we used very simple tree structures with node links where possible. So if you have a treenode structure with positions and a treenode structure with SKU's you can have a nodejoin between the SKU and the matching position for instance.&lt;/P&gt;&lt;P&gt;Sometimes you have to loop through the list and other times you can point directly to a treenode but on average we where surprised by the speed we could achieve.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 02 Dec 2021 09:56:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-accelerate-a-query-in-warehousing-by-clauses/m-p/13513943#M26348</guid>
      <dc:creator>SCHamoen</dc:creator>
      <dc:date>2021-12-02T09:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: How can I accelerate a query in warehousing by clauses?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-accelerate-a-query-in-warehousing-by-clauses/m-p/13513944#M26349</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/193/steven.h.html" nodeid="193"&gt;@Steven Hamoen&lt;/A&gt;, thank you for pointing at a parallel structure to shorten a search through a complete warehouse. I have to think about this.&lt;/DIV&gt;</description>
      <pubDate>Thu, 02 Dec 2021 10:41:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-accelerate-a-query-in-warehousing-by-clauses/m-p/13513944#M26349</guid>
      <dc:creator>joerg_vogel_HsH</dc:creator>
      <dc:date>2021-12-02T10:41:51Z</dc:date>
    </item>
  </channel>
</rss>

