Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 955487
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T00:23:16+00:00 2026-05-16T00:23:16+00:00

I’ve been messing about with the Ordnance Survey Code-Point Open dataset of UK postcodes/co-ordinates.

  • 0

I’ve been messing about with the Ordnance Survey Code-Point Open dataset of UK postcodes/co-ordinates. Since Couch.io were offering a free hosted CouchDB instance I thought I’d put my geo data into one of those, learning a bit about CouchDB in the process.

The idea was that since CouchDB is supposed to be good at handling large datasets (the postcode data is around 1.7 million records) and works natively with REST/JSON, it would tie in nicely with client-side jQuery for use with Google Maps applications.

My initial aim was simply to be able to make an AJAX call with a postcode as a parameter, getting back a single JSON object with lat/lon properties, which I could consume in my script (showing a marker for that postcode).

I’ve done this successfully, but coming from a relational DB background it was much trickier than I thought; as I read more about CouchDB and play with it a bit I get the impression it wouldn’t really be the right tool for this job, were I actually using it for a real-world project.

Am I right in thinking that dynamic queries are a bit of a weakness for CouchDB? Is it more aimed at returning large views which don’t change all that often, from large datasets? What might be some examples of ‘good’ and ‘bad’ uses of CouchDB, in terms of playing to its strengths?

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T00:23:17+00:00Added an answer on May 16, 2026 at 12:23 am

    I am the main Couchio hosting guy. Glad you are enjoying CouchDB.

    My feeling is, basically, relational databases are flat out better at constantly-changing, one-off queries from large data sets. It still takes forever to churn through all that data. Neither SQL nor NoSQL is a silver bullet there. However, broadly speaking, the NoSQL databases are better if you already know what questions you will ask. In other words, it’s not a question of how much the data changes, but how much the queries change.

    That is the theory. For your specific project, is CouchDB a good fit? My feeling is, there is nothing wrong with making many many indexes on the basic data set. The benefit of index-only queries is, the queries happen very fast. CouchDB in particular only needs to re-index new data, even for queries such as averages, or XOR checksums.

    So, even if you have a hundred different types of queries you might perform, if you already know what those queries are, hey just write them down. However if you will never stop making brand new queries, CouchDB would have a hard time keeping up.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a jquery bug and I've been looking for hours now, I can't
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I am reading a book about Javascript and jQuery and using one of the
I have this code to decode numeric html entities to the UTF8 equivalent character.
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I have this code: - (void)parser:(NSXMLParser *)parser foundCDATA:(NSData *)CDATABlock { NSString *someString = [[NSString
I ran into a problem. Wrote the following code snippet: teksti = teksti.Trim() teksti
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.