﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>Ayende Rahien commented on Rob&amp;rsquo;s Sprint: Query optimizer jumped a grade</title><description>Configurator,
In constantly changing requirement, you are likely to _need_ those fields later on, no?
And even so, you aren't likely to get that in actual production system.</description><link>http://ayende.com/161283/rob-s-sprint-query-optimizer-jumped-a-grade#comment10</link><guid>http://ayende.com/161283/rob-s-sprint-query-optimizer-jumped-a-grade#comment10</guid><pubDate>Sat, 16 Mar 2013 05:16:20 GMT</pubDate></item><item><title> configurator commented on Rob&amp;rsquo;s Sprint: Query optimizer jumped a grade</title><description>Sure, but with constantly changing requirements you could end up with dozens of fields being indexed.</description><link>http://ayende.com/161283/rob-s-sprint-query-optimizer-jumped-a-grade#comment9</link><guid>http://ayende.com/161283/rob-s-sprint-query-optimizer-jumped-a-grade#comment9</guid><pubDate>Fri, 15 Mar 2013 10:47:57 GMT</pubDate></item><item><title>Ayende Rahien commented on Rob&amp;rsquo;s Sprint: Query optimizer jumped a grade</title><description>Configurator,
Not really, no.
The cost of indexing another field vs. the cost of maintaining another index is several orders of magnitudes.
</description><link>http://ayende.com/161283/rob-s-sprint-query-optimizer-jumped-a-grade#comment8</link><guid>http://ayende.com/161283/rob-s-sprint-query-optimizer-jumped-a-grade#comment8</guid><pubDate>Fri, 15 Mar 2013 04:12:25 GMT</pubDate></item><item><title>configurator commented on Rob&amp;rsquo;s Sprint: Query optimizer jumped a grade</title><description>Suppose I have query that uses values A and B; it will create an auto index on A and B. I then change my query to use values B and C instead - the index will be expanded to index all of A, B and C. But if I never query by A again, isn't this a bit of a waste?</description><link>http://ayende.com/161283/rob-s-sprint-query-optimizer-jumped-a-grade#comment7</link><guid>http://ayende.com/161283/rob-s-sprint-query-optimizer-jumped-a-grade#comment7</guid><pubDate>Thu, 14 Mar 2013 21:14:35 GMT</pubDate></item><item><title>Afif commented on Rob&amp;rsquo;s Sprint: Query optimizer jumped a grade</title><description>Matt,
We are using build 1.0.960. </description><link>http://ayende.com/161283/rob-s-sprint-query-optimizer-jumped-a-grade#comment6</link><guid>http://ayende.com/161283/rob-s-sprint-query-optimizer-jumped-a-grade#comment6</guid><pubDate>Thu, 07 Mar 2013 23:34:03 GMT</pubDate></item><item><title>Ayende Rahien commented on Rob&amp;rsquo;s Sprint: Query optimizer jumped a grade</title><description>Chad,
The 2.5 experimental builds.</description><link>http://ayende.com/161283/rob-s-sprint-query-optimizer-jumped-a-grade#comment5</link><guid>http://ayende.com/161283/rob-s-sprint-query-optimizer-jumped-a-grade#comment5</guid><pubDate>Thu, 07 Mar 2013 14:46:26 GMT</pubDate></item><item><title>Ayende Rahien commented on Rob&amp;rsquo;s Sprint: Query optimizer jumped a grade</title><description>Afif,
We improved on the "new index" story as well. But now that the QO takes this into account, if there is an existing index that can serve ,it will use that.</description><link>http://ayende.com/161283/rob-s-sprint-query-optimizer-jumped-a-grade#comment4</link><guid>http://ayende.com/161283/rob-s-sprint-query-optimizer-jumped-a-grade#comment4</guid><pubDate>Thu, 07 Mar 2013 14:17:57 GMT</pubDate></item><item><title>Matt Warren commented on Rob&amp;rsquo;s Sprint: Query optimizer jumped a grade</title><description>@Afif

The index definately should return results whilst it is stale. It will however not return results for the most recently inserted docs as it indexes in insert order. 

What build are you using? You might want to post an issue on the mailing list, https://groups.google.com/forum/#!forum/ravendb

Also with the latest builds the indexing times have fallen, see http://ayende.com/blog/160033/what-is-up-with-ravendb-2-0-performance for instance</description><link>http://ayende.com/161283/rob-s-sprint-query-optimizer-jumped-a-grade#comment3</link><guid>http://ayende.com/161283/rob-s-sprint-query-optimizer-jumped-a-grade#comment3</guid><pubDate>Thu, 07 Mar 2013 12:23:10 GMT</pubDate></item><item><title>Chad T commented on Rob&amp;rsquo;s Sprint: Query optimizer jumped a grade</title><description>Which build will these new index related features be in? </description><link>http://ayende.com/161283/rob-s-sprint-query-optimizer-jumped-a-grade#comment2</link><guid>http://ayende.com/161283/rob-s-sprint-query-optimizer-jumped-a-grade#comment2</guid><pubDate>Thu, 07 Mar 2013 01:05:06 GMT</pubDate></item><item><title>Afif commented on Rob&amp;rsquo;s Sprint: Query optimizer jumped a grade</title><description>from our experience of ravendb in production when you have a few million records, a new index is stale for hours. worse still many times when the index goes stale, it returns no results, as opposed to always returning what is already indexed. </description><link>http://ayende.com/161283/rob-s-sprint-query-optimizer-jumped-a-grade#comment1</link><guid>http://ayende.com/161283/rob-s-sprint-query-optimizer-jumped-a-grade#comment1</guid><pubDate>Wed, 06 Mar 2013 12:41:32 GMT</pubDate></item></channel></rss>