﻿<?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: Indexes and the death of temporary indexes</title><description>Afif,
There is not such thing as an expensive _query_ in RavenDB.
But yes, if you make a request one a day on something that isn't covered by any index, the behavior will be as you describe.
Auto indexes are meant to help the common case, they can't help everywhere. In that scenario, it is the user responsibility to make sure that they will create a permanent index.</description><link>http://ayende.com/161219/rob-s-sprint-indexes-and-the-death-of-temporary-indexes#comment5</link><guid>http://ayende.com/161219/rob-s-sprint-indexes-and-the-death-of-temporary-indexes#comment5</guid><pubDate>Tue, 05 Mar 2013 06:15:30 GMT</pubDate></item><item><title>afif commented on Rob&amp;rsquo;s Sprint: Indexes and the death of temporary indexes</title><description>what happens when a very expensive dynamic query is fired? an automatic index will be created and after some (read: a lot) time, it will not be stale. given if the user doesn't run this query for some time (enough for raven to clean it up), and then runs this request again, wouldn't raven have to pay the cost of indexing everything again for this dynamic query?</description><link>http://ayende.com/161219/rob-s-sprint-indexes-and-the-death-of-temporary-indexes#comment4</link><guid>http://ayende.com/161219/rob-s-sprint-indexes-and-the-death-of-temporary-indexes#comment4</guid><pubDate>Tue, 05 Mar 2013 00:05:54 GMT</pubDate></item><item><title>Ayende Rahien commented on Rob&amp;rsquo;s Sprint: Indexes and the death of temporary indexes</title><description>Daniel,
We never remove explicit indexes, only automatic ones.</description><link>http://ayende.com/161219/rob-s-sprint-indexes-and-the-death-of-temporary-indexes#comment3</link><guid>http://ayende.com/161219/rob-s-sprint-indexes-and-the-death-of-temporary-indexes#comment3</guid><pubDate>Mon, 04 Mar 2013 16:12:23 GMT</pubDate></item><item><title>Daniel Lidström commented on Rob&amp;rsquo;s Sprint: Indexes and the death of temporary indexes</title><description>Please don't remove explicitly created indexes. I have a site that is very rarely used. It would mean the site stops working when RavenDB decides to "clean up".</description><link>http://ayende.com/161219/rob-s-sprint-indexes-and-the-death-of-temporary-indexes#comment2</link><guid>http://ayende.com/161219/rob-s-sprint-indexes-and-the-death-of-temporary-indexes#comment2</guid><pubDate>Mon, 04 Mar 2013 15:37:38 GMT</pubDate></item><item><title>Igor Kalders commented on Rob&amp;rsquo;s Sprint: Indexes and the death of temporary indexes</title><description>It's always nice when you can drop a half of your code just to make something better with less code :)</description><link>http://ayende.com/161219/rob-s-sprint-indexes-and-the-death-of-temporary-indexes#comment1</link><guid>http://ayende.com/161219/rob-s-sprint-indexes-and-the-death-of-temporary-indexes#comment1</guid><pubDate>Mon, 04 Mar 2013 14:52:12 GMT</pubDate></item></channel></rss>