[development] Database / SQL future thoughts

Earl Miles merlin at logrus.com
Tue May 5 20:55:04 UTC 2009


Bertrand Mansion wrote:
> Actually, "views" are inside the database:
> http://wiki.apache.org/couchdb/Introduction_to_CouchDB_views
> For example, the Views module would create views in the database
> directly, instead of storing SQL queries in a table and executing them
> later. That's more logical.

That's only more logical if you don't actually know what Views does. 
Views SQL is not generated ahead of time and then just run on demand, it 
is created as needed based upon the data available. Quite an amount of 
that data can change at runtime.


More information about the development mailing list