Skip to content

Roger Hosto

Good Talk

Menu
  • Home
  • Blogs
    • Databases Administration
      • MySQL
      • NoSQL
    • Development
    • Open Source Software
    • System Administration
  • Resume
  • About
Menu

NoSQL

Databases, that fall outside the of the Relational Database.

MongoDB Script for counting records in collections in all the databases

Posted on April 6, 2016September 20, 2025 by webgeek

Here is a quick script. I wrote for a co-worker. var host = “localhost” var port = 27000 var dbslist = db.adminCommand(‘listDatabases’); for( var d = 0; d < dbslist.databases.length; d++) { var db = connect(host+”:”+port+”/”+dbslist.databases[d].name); var collections = db.getCollectionNames(); for(var i = 0; i < collections.length; i++){ var name = collections[i]; if(name.substr(0, 6) !=…

Read more

Elasticsearch

Posted on February 13, 2014September 20, 2025 by webgeek

Elasticsearch is a distributed restful search and analytic tool that is built on the top of Apache Lucene for high performance. Elasticsearch features include: Real-Time Data Indexing Scalability High Availability Multi-Tenancy Full Text Search Document Orientation The flow of data never stops so the question is how quickly can that data become available. Elasticsearch indexes…

Read more
  • Back to Basics: ORM and Its Impact on Database and Data Architecture
  • MySQL Error: 1062 'Duplicate entry' Error
  • Installing MariaDB 10.1 on CentOS 6.8
  • Linux Mint
  • Querying Apache Hadoop Resource Manager with Python.
  • LinkedIn
© 2026 Roger Hosto | Powered by Minimalist Blog WordPress Theme