Convert a relational logical schema model(in oracle) into elasticsearch nosql logical schema less - oracle10g

Could you please suggest me how to do a schema design(nosql) in elasticsearch.
As per my requirement we have already 'relational logical schema' (which is oracle schema) but we are building new version of software which has chosen ES as a NoSql Solution.
How to start the schema design in ES.
Thanks in advance
Regards,
Jaas

I am new on Elasticsearch and I am not sure if I got your question, but I haven't created a schema on Elasticsearch I just converted my data for json format and indexed it.

Related

how to get export data from oracle to mongoDB

I'm trying to change data from oracle data base to mongodb
the problem is :
my friend give me "file.sql" that have all the tables with data
and I want to get this data and add it to my mongo database
please I don't know how to do it
MongoDB is a NoSQL database, thus the SQL file will not help you.
Ask for CSV files, then you can use the mongoimport tool to import it into your MongoDB. Please note, usually it is a poor design when you migrate from Oracle to MongoDB and move tables to collections one-by-one. Typically in a MongoDB you will have much less collections than you have tables in Oracle.

mongoose Mongodb schema (nodejs) One to many Mapping

Hi i am new to mongodb
I have the following requirement for a music library application
I need to design this tabular data into mongoose schema
I need to query comments based on album,user
Somebody help me.Thanks in advance
Here is the detailed description for beginners on how to design mongo schemas
http://blog.mongodb.org/post/87200945828/6-rules-of-thumb-for-mongodb-schema-design-part-1

Mongodb database schema diagram

How can I create a Mongodb database schema diagram?
I read the documentation in mongodb.org, but it is was not clear for me. Maybe Someone can help me with this, i have a db with embebed documents.
While MongoDB is a schemaless database there are a couple generators out there which do a nice job of creating a json schema representation. I find it particularly useful when looking for strategies for sharding or migrating. The output is very nice and the code is easily readable. I've personally adapted it to generate HTML tables and PDFs.
https://github.com/variety/variety
MongoDB has a flexible schema. Therefore, you can not list all fields unless fetching all documents in a collection. An alternative is defining schema in some kind of data structure(struct, associative array, class or other user defined structrue) or config file and then print it in diagram format.

extracting schema and models back from the dumped database

I have dumped my project's mongo db database into my machine and want to extract the schema and models from the dumped database.
Is there any method in mongo db to get the schema back with the help of dumped database.
Any suggestions or feedbacks in this regard would be appreciated.
Is it not possible for you to restore the data into a MongoDB instances and look at the data again?
Not sure what you mean by schema, since MongoDB is very flexible on schema. From the nature of youu question, it looks like the schema is defined in mongoose and not exactly in MongoDB per-se and you are trying to reverse engineer that mongoose schema based on the data contained in the dump.
If you do not want to start a new instance and import the data, another option could be using bsondump utility that comes as part of MongoDB package to convert the BSON dump files to JSON format and analyzing them.

MongoDB and similar database technologies

What are comparable database like Mongo DB?
We are trying to evaluate Mongo DB and find the best database for a enterprise level application.
Is there any developer UI and admin UI available for MongoDB like SQL Plus/Toad etc for Oracle?
MongoDB is a document-oriented database, so instead of a row of data, you have a document. In MonogDB's case, its a JSON document. Apache's CouchDB is another document database that stores data in JSON format although there are subtle differences between the two.
Choosing between the two depends on your use case. Sometimes CouchDB is better than MongoDB.
Checkout this comparative to see the differences.
MongoDB is what is known as a NoSQL database, which is I assume why you're interested in it. You can find a list of other NoSQL databases at the below links:
http://en.wikipedia.org/wiki/NoSQL
http://nosql-database.org/
MongoDB does not include a GUI-style administrative interface; however, there are numerous community projects that provide admin UIs for MongoDB:
http://www.mongodb.org/display/DOCS/Admin+UIs
I like document oriented databases like MongoDB very much. Because they are shema-less. You can just insert find and update your records without first having to define a schema. But you can define one in your own Project logic. You have more freedom.
It would be nice to have an embeddable NoSQL database. Like SQLite but document oriented.
Currently I do develop one in Java. (You can also use it withhin an Android App):
https://github.com/neo-expert/thingdb
I am quite happy with MongoVue. I've made a couple of videos about this here.