couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fabio Batalha Cunha dos Santos <>
Subject Best storage model for a access log database
Date Fri, 22 Oct 2010 12:25:04 GMT
Hello All!

I'm new with couchdb, I'm doing some experiences to create a tool to store
access logs into couchdb. URL:

I have some doubts like How is the best way to store this kind of
information in couchdb and if is it viable?. I have created a database and
start to registry all access log of our website. In almost 14 hours the
database reach 0.5Gb with 70.000 registers, I'm estimating that in 24 hours
the database will reach 1.0Gb of stored data.

According with the sample document that I'm registering and couchDB
performance. Will I be able to create statistics logs with this information
using the couchDB / map reduce, thinking that probably in 1 year the
database will reach something around 400Gb of stored data.

This is a sample of one register:

   "_id": "0007f561f96d61cf7744b987895e1ef0",
   "_rev": "1-e6b1dcdcbe0b2c6fde0dec5b4bfc41a8",
   "instance": "scielo",
   "date": "20101021",
   "time": "1832",
   "url": "",
   "host": "",
   "urlParams": {
       "pid": "S0080-62342003000300002",
       "script": "sci_arttext"
   "referrer": "",
   "referrerParams": {
       "sa": "t",
       "source": "web",
       "cd": "1",
       "ved": "0CBYQFjAA",
       "url": "",
       "rct": "j",
       "q": "qual%20religi%C3%A3o%20utiliza%20capim%20santo%3F",
       "ei": "XqPATLGMFYL-8AawmvXbBg",
       "usg": "AFQjCNEO8okxLNbxs2SiIXb1R5Nmr99WhA"
   "appCodeName": "Mozilla",
   "appVersion": "5.0 (Windows; pt-BR)",
   "language": "pt-BR",
   "platform": "Win32",
   "product": "Gecko",
   "userAgent": "Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-BR;
rv: Gecko/20101012 Firefox/3.6.11 ( .NET CLR 3.5.30729)",
   "vendor": "",
   "vendorSub": ""

Thanks in advance for any guidance, comments and suggestions.
Fabio Batalha

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message