Hi,
I am new to Mongodb.I jave a C code which generates output in JSON
format(json file) and is stored on Ubuntu on my Virtual machine. I need to
push the data in JSON file onto Mongodb using C programming.
I am able to establish connection to mongodb through C code. Please let me
know the Command through which JSON file data can be stored onto mongodb
through C programming.
Thanks in
I have a 80MB json file which I need to insert into MongoDB using pymongo. I tried GridFS but figured out that it is mostly for storing a single large file (atleast from what I figure out).
Even mongoimport gave me errors saying that the input is too large
Can anybody advise me on how to go about it. How does one handle such a case
Thanks
Hi,
I am new to Mongodb. I have written a C code to produce output in JSON
format (json file). Now i need to store that JSON file into mongodb. Please
let me know the command to store the JSON file in my Ubuntu VM onto Mongodb
through C program. I am able to connect to Monogodb through C code but
unable to find command to store Json onto mongodb through C code.
Please suggest.Thanks in
hello all
i want to import initial data into a mongo database with the following
command:
mongorestore -h localhost -d leanote --directoryperdb /home/user1/leanote/mongodb_backup/leanote_install_data/
and i got an: SyntaxError: Unexpected identifier
whats wrong with the command ?
Thanks
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
Hi,
When I use mongoimport on a json file, it only imports one document (the
first one).
Here is the dos command I'm using:
c:\mongodb\bin\mongoimport --host localhost --db test --collection
australiaOceaniaGDPgrowth --type json --file
"c:\mongodb\bin\research\test.json"
and there is the test.json file:
{"id":"1","gdp_growthDate":"12\/31\/2019","australia":"2096.67","fiji":"10.544","
Hi,
When I use mongoimport on a json file, it only imports one document (the
first one).
Here is the dos command I'm using:
c:\mongodb\bin\mongoimport --host localhost --db test --collection
australiaOceaniaGDPgrowth --type json --file
"c:\mongodb\bin\research\test.json"
and there is the test.json file:
{"id":"1","gdp_growthDate":"12\/31\/2019","australia":"2096.67","fiji":"10.544","
Hi,
Can you please help me on how to import a json file into mongoDB as a
new database
i cant seem to find the correct syntax for this one. thanks.
--
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To post to this group, send email to
[email protected].
To unsubscribe from this group, send email to
[email protected]
Hello everyone!
I am in the process of creating an application and I need your support as I
have never used Mongodb before! In my application users will be uploading
CSV files of open data.
The data in the csv file must be uploaded on to a database and then need to
be retrieved back on to the applications for users to view and filter the
data. So I am wondering whether I should be creating
What is the fastest and best way to import billions of records from
postgresql into mongoDB?
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: http://www.mongodb.org/about/support/.
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe
Hi,
Found this link on the web and thought I'd try it, seems straightforward
enough, but I haven't gotten it to work yet:
http://www.andreagirardi.it/blog/route-a-message-to-mongodb/
What i include in this post is:
-my full camel-context.xml
-the XML directly from the file i'm trying to push into mongo with the route
described
-the JSON from a xmljson file > file route that does work
Hi,
I need to export MongoDB data in a server into HDFS and this job should be
daily job. I'm not able to find exact example for this requirement in your
examples. Please help!
Thanks,
Thiru
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: http://www.mongodb.org/about/support/.
You
i am storing a json file produced by cucumber json report into mongodb. But i get "String not valid UTF-8” when inserting json into mongodb.
Because the feature file has 年/月/日 , this is represented as "u5e74/u6708/u65e5" in the json file. This is what i am doing to store it in mongo
json_string=File.read(file_path)
data = JSON.parse(json_string)
@col.insert(data)
I can see that after JSON
I am having following error with mongodb 3.0 wiredtiger engine.
2015-03-05T05:48:09.243-0500 E STORAGE WiredTiger (2)
[1425552489:243711][5299:0x7f5dcd0c1700], log-server:
/home/main/mongo/database/journal: opendir: No such file or directory
2015-03-05T05:48:09.244-0500 E STORAGE WiredTiger (2)
[1425552489:244375][5299:0x7f5dcd0c1700], log-server: dirlist journal
prefix WiredTigerPreplog
We are currently using mongoexport to export all the data from our
mongodb instance in JSON format but it appears to take too long to
dump an entire collection. Our collection has over 80 million
documents (sharded and replicated) and mongoexport takes over 10
hours.
Wanted to get some recommendations / approaches towards quickly
exporting data from mongodb in JSON format. We need to export
Hi -
Could you please advise on the below.
I have a fixed length file with length of 3000 bytes (characters) each
record and it is in .txt format. These 3000 character record consists of
around 120 fields ( I can say 120 columns in a DB2 table, since am from
mainframe background, comparing against DB2 table :-).
Our requirement is to load the data into MongoDB.
What would be best approach
Please help in resolving the issue .
I tried steps as mentioned in the page - *https://github.com/mongodb/*
mongo-hadoop/wiki/Hive-Usage
.
And I am getting a specific error, If you could help me or redirect me who
could help me.
Environment Setup - Azure HDInsight and MongoLab
My objective is to Use HIVE for data manipulation on top of Mongodb tables
as input data.
I have added
I am getting the following error :
FAILED: Execution Error, return code 1 from
org.apache.hadoop.hive.ql.exec.DDLTask. com/mongodb/util/JSON
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: http://www.mongodb.org/about/support/.
You received this message because you are subscribed to the Google
This GO tool was just announced on
twitter: https://github.com/facebookgo/mongoschema
I am looking for a similar tool that outputs json schema (or any other
schema in json format).
Does anyone know of such a tool?
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: http://www.mongodb.org
Hi, I'm using MongoDB Cloud Manager / MMS to do backups of a production
database. Our production database is still 2.7 with the old storage
engine. Before WiredTiger storage engine was introduced, I could download
the tar.gz backup from the website, shutdown my local mongod, unzip the
backup into the local /data dir, restart mongod and the databases would
just be there.
Now, it appears
Hi, all. I'm fairly new to MongoDB, so I don't know if the design
decisions I've made are sound, or what I might do better. My first
project has a pretty substantial dataset, and importing it is very slow,
so I'm wondering what I might do to make it work better.
I'm attempting to store OpenStreetMap data in a MongoDB. Since OSM data
includes a unique ID, and since I frequently need to do ID-based