Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I'm trying to find any limitation for CouchDB. I need to know how much documents that Couch can contain. could their _id be used up ?. or another limitation posed by CouchDB since i rely on couchDB for many project lately.
Thanks
The amount of stored documents in CouchDB is only limited by available disk space for database files. You can limit maximum document size (in bytes) with couchdb/max_document_size option, but you cannot set any limits for document's count within single database.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I'm working on a Rust project that collects daily statistics for a web-site (number of requests, number of unique users, average latency etc.). I'd like to store this data in a compact key-value store where the key is a date (or a date string) and the value is an object that contain the statistics. I also need this data to be persisted to a file.
I don't have any special performance or storage requirements. That's why I don't want to use major DBs like Redis, MongoDB or Cassandra that require a separate installation and significant resources to run. I'd like something much simpler and lightweight.
The ideal solution for me would be a library that can read and write key-value data and persist it into a file. The data size I'm aiming for is around 1000-2000 records.
Can you recommend a library I can use?
I can recommend PickleDB-rs. I think it answers most of your requirements. PickleDB-rs is a Rust version of Python's PickleDB. It's intended for small DBs (I think 1000-2000 records should be ok) and the performance isn't guaranteed to be as great as large scale DBs, but for the purpose of dumping daily web-site stats into a file it should be sufficient.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 3 years ago.
Improve this question
I have a range of documents that are shared with a team of collaborators in a google drive folder.
Is it possible to view statistics on when and by whom a document was accessed?
Specifically I am interested in a Google Docs document but I believe this should also apply to Sheets and Slides.
I am aware of the activity feed which shows edit and comment history.
Unfortunately, Google has removed this feature sometime in 2013. You can still see edit history, via which you may know who has viewed them, provided they hace modified the file.
However, if they are simply viewing the document, then there is no possible way to determine the view statistics.
Possible alternative for you: DocSend
Looks as it they are revisiting this idea as part of the G Suite product, but I haven't found a free version of it:
https://9to5google.com/2018/03/07/google-drive-activity-dashboard/
and
https://gsuiteupdates.googleblog.com/2018/03/docs-activity-dashboard-launch.html
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions must demonstrate a minimal understanding of the problem being solved. Tell us what you've tried to do, why it didn't work, and how it should work. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
How to create a views in Cassandra,Can you give me an example, which data is coming from two or more tables.
You can't create views in Cassandra. Just like you can't do joins. It's not that kind of a database. With Cassandra you model your schema differently and you denormalize.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I'm trying to implement a system using node.js in which a number of sites would contain js loaded from a common host, and trigger an action when some user visits n+ sites.
I suppose a nosql solution storing a mapping of ip address => array of sites visited would be preferable to a RDBM both in terms of performance and simplicity. The actions I need are "add to array if not there already" and getting the length of the array. Also, I wouldn't like it all to sit in memory all the time, since the db might get large some day.
What's a system that fits these requirements the best? MongoDB seems like a nice option given $addToSet exists, but maybe there's something better in terms of RAM usage?
When I hear about working with lists or sets, the first choice is Redis
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
In my project, I use the spring, but the cassandra cannot support transaction. How to operate the transaction of cassandra in service layer?
You can log every transaction you carry out, store them in a log file of some sort and when you want to undo it create a query that does the opposite of what you just did.
You need to think differently in noSQL. Read Building on Quicksand http://www-db.cs.wisc.edu/cidr/cidr2009/Paper_133.pdf. If using cassandra, you may want to check out PlayOrm as well and the nosql patterns page.