You are on page 1of 1

.,.

~ ~

nnl7201@ubuntu:-

nn17201@ubuntu:-$ ls
data

Desktop
DOCUMents

dept.json

Downloads

exaMples. desktop

Music

E~ployees.csv

nongodb

Pictures

Public
TCl"1plJtcs

Videos

nn17201@ubuntu:-$ MongoiMport --jsonArray --db test --collection dept --file dept.json


'201S-07-02Tll:3S:46.367-0700
connected to: localhost
:201S-07-02Tll:3S:46.382-0700
iMported 27 docuMents
~n17201@ubuntu:-$ Mongo
'MongoDB shell version: 3.0.4
!connecttng

to: test

:server has startup warnings:


:201S-0702T10:20:34.4160700
:201S-07-02T10:20:34.416-0700
:201S-0702T10:20:34.416-0700
201S-07-02T10:20:34.416-0700
!> show collecti.ons

:dept
'ersp
!systeM.

i.ndexes

;> db. dept.count ()


;27
'>

CONTROL
CONTROL
CONTROL
CONTROL

[initandlisten]
[Lm tandl t st en]
[inHandHsten]
[initandlisten]

WARNING: /sys/kernel/MM/transparent_hugepage/defrag
We suggest setting it to 'never'

is 'always'.

You might also like