Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Couchbase | Couchbase Server 1.8.x

All associated data in one database or split into multiple databases?

1 reply [Last post]
  • Login or register to post comments
Wed, 04/18/2012 - 15:42
fourlincoln10
Offline
Joined: 08/06/2011
Groups: None

I'm developing an asset tracking app. An asset consists of an arbitrary number of attributes. It also has file attachments and notes. I broke the attributes, attachments and notes out into separate databases, but it makes the program logic a little more complex. I'm wondering if the performance gains by using separate databases that I'm picturing in my mind (with no real data to back them up) are really much better than just storing all of the objects in an assets database and giving them a 'type' field to differentiate them?

Thanks,

Troy

Top
  • Login or register to post comments
Wed, 04/18/2012 - 23:56
ingenthr
Offline
Joined: 03/16/2010
Groups:

In 1.8, it won't really matter. There could be a slight difference if one has lots of changes when others have less changes owing to how often the datafiles will be fragmented, but otherwise it shouldn't really matter.

In 2.0, if running views over the data, it can matter but it's outside the critical path for most requests.

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker