Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I want to make a simple script that periodically performs SNMP GET and stores the output to MySQL database. It will be running on Windows.
What would be the least painful choice of programming language to write it in? Powershell, Java, …?
Python has SNMP (i.e. NET-SNMP) bindings. It will handle MySQL database as well. In that way you may use those APIs to create your own scanning application with SNMP communication channel and MySQL database storage of collected data. Of course there are tons of other solutions/combinations possible... however I recommend this one, because in such a simple case you don't have to engage heavy JVM.
Python has SNMP(Net-SNMP) binding and it's better that you can use RRD database to store output as it consists time interval itself.Python has RRD api also and you can handle easily
Related
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 2 years ago.
Improve this question
I'm needing to make a stand-alone application with NodeJS for Windows, Mac, and Linux
My first option for the database was SQLite but it's very small for my big data
My reason for using MySQL is that support many data and it's quickly
But the big problem is installing MySQL that it's hard to install it with end-user
And the important note is I packaging the NodeJS project and convert to exe file
Also, I use mosquito broker in this project and still no problem in the run this application.
Can I use MySQL like SQLite (stand-alone)?
Thanks
It's bad if you think Sqlite is weak
Because it's the best choice for your needing
It's simple, high performance, stand-alone and many features
My suggestion is using SQLite
Finally, I decide to use the same Sqlite because :
"SQLite supports databases up to 140 terabytes in size"
Also, I assign database file for each device and I think that is the best solution without Mysql database
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 4 years ago.
Improve this question
I'm building an application with the instant messaging functionality.
The application will allow the users to send files/images as well as normal text messages.
I decided to take the approach with storing the files on the filesystem and write only the file paths to the database. There will be no updates to the files (only insertions and deletions).
Which database would be the best for storing a large amount of file paths, that would be easy to query for a certain user files?
I would go with MongoDB. My experience is that a document based approach using a single Messages collection would be best. Each message document then contains all of the file paths. This eliminates joins and better supports potential future functional requirements changes.
MongoDB also provides great ways to deal with old messages such as TTL indexes.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
Could we use Orion internal MongoDB data base to store other information?
For example using Cygnus to persist data in it?
Or should it be dedicated to Orion?
Thanks and best regards.
Yes, you can.
From a functional point of view, as long as you don't use the same DB that Orion uses (by default orion) or (in the case of using -multiservice) the DB used by individual tenants (by default, the ones starting with orion- prefix) there shouldn't be any conflict.
From a non functional point of view, you should check that the MongoDB instance (or cluster) is sized properly to support the aggregated load combining all the applications using it (Orion and others).
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I'm working on a web project in clojure and I will have a mysql database storing information. I plan on using Korma for data CRUD but I'm trying to figure out the best way to manage actually creating the tables.
I'm inclined to just write a bash script that runs the CREATE TABLE commands, but I feel like this isn't the proper way to do things, and doesn't allow for future migrations. Should I use a Clojure library for this? Bash? Something else entirely?
Do you mean this one Migratus, this is used in luminus(A web framework), And I think this might help.
Liquibase is a popular tool for database migrations in the Java world. There is also a clj-liquibase project which uses EDN and uses liquibase internally, but I've never used it.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I have CSV File's With Different Columns With Few Common Columns, We Are Currently Using Excel To Remove Unwanted Rows Clean The Data, and Generate Reports, I Am Thinking Of Using Elasticsearch As A Solution For Data Storage, Transformation, Load And Reporting.
Is Elasticsearch A Good Choice For This Use Case ?
Elastic Search is, as the name indicated, using to quick search. It is build upon Lucene and similar to another Apache project, Solr...
If you want to query the raw data or do some simple aggregation upon it. It is fine and you can also use Kibana to come up with some fancy GUI so your audience can interact with the data and you can even come up with some dashboard to demonstrate some basic staff. However, it is not a replacement of a data base.
If you want to update or join.. you had better use some data base ... sql + mongo or hive for big data.