문서 메뉴

문서 홈MongoDB 실행 및 관리MongoDB Atlas

샘플 Mflix 데이터 세트

이 페이지의 내용

  • 컬렉션
  • sample_mflix.comments
  • sample_mflix.embedded_movies
  • sample_mflix.movies
  • sample_mflix.sessions
  • sample_mflix.theaters
  • sample_mflix.users

sample_mflix 데이터베이스에는 영화 및 영화관에 대한 데이터가 포함되어 있습니다. 데이터베이스에는 특정 영화에 대한 사용자 및 댓글을 비롯한 특정 메타데이터의 컬렉션도 포함되어 있습니다.

Atlas에서 제공하는 샘플 데이터를 클러스터에 로드하는 방법을 알아보려면 샘플 데이터 로드를 참조하세요.

sample_mflix 데이터베이스에 다음 컬렉션이 포함됩니다.

컬렉션 이름
설명
댓글
특정 영화와 관련된 댓글을 포함합니다.
plot_embedding 필드가 추가된 sample_mflix.movies 컬렉션의 Western, ActionFantasy 장르의 영화에 대한 정보를 포함하며, OpenAI의 text-embedding-ada-002 임베딩 모델을 사용하여 생성된 임베딩을 쿼리할 수 있습니다. Atlas Search 벡터 검색.
개봉 연도, 감독, 리뷰 등의 영화 정보가 포함되어 있습니다.
영화관 위치를 포함합니다.
사용자 정보를 포함합니다.

이 컬렉션에는 특정 영화와 관련된 댓글이 포함되어 있습니다. 각 문서에는 댓글 텍스트, 댓글을 제출한 사용자, 댓글이 적용되는 영화가 포함되어 있습니다.

이 컬렉션에는 다음과 같은 인덱스가 포함되어 있습니다.

이름
색인
설명
_id_
{ "_id": 1 }
_id 필드의 기본 키 인덱스입니다.
{
"_id": {
"$oid": "5a9427648b0beebeb69579cc"
},
"name": "Andrea Le",
"email": "andrea_le@fakegmail.com",
"movie_id": {
"$oid": "573a1390f29313caabcd418c"
},
"text": "Rem officiis eaque repellendus amet eos doloribus. Porro
dolor voluptatum voluptates neque culpa molestias. Voluptate unde
nulla temporibus ullam.",
"date": {
"$date": {
"$numberLong": "1332804016000"
}
}
}

이 컬렉션에는 Western, Action 또는 Fantasy genres의 영화에 대한 세부 정보가 포함되어 있습니다. 각 문서에는 단일 영화와 제목, 개봉 연도, 출연진 등의 정보가 포함되어 있습니다.

또한 이 컬렉션의 문서에는 Atlas Search 벡터 검색 기능과 함께 사용할 수 있는 OpenAI의 text-embedding-ada-002 임베딩 모델을 사용해 생성한 임베딩이 포함된 plot_embedding 필드가 포함되어 있습니다.

이 컬렉션에는 다음과 같은 인덱스가 포함되어 있습니다.

이름
색인
설명
_id_
{ "_id": 1 }
_id 필드의 기본 키 인덱스입니다.

참고

샘플의 차원 수는 가독성을 위해 일부만 표시되었습니다.

{
"_id": {
"$oid": "573a1396f29313caabce582d"
},
"plot": "A young swordsman comes to Paris and faces villains, romance, adventure and intrigue with three Musketeer friends.",
"genres": ["Action", "Adventure", "Comedy"],
"runtime": {
"$numberInt": "106"
},
"rated": "PG",
"cast": ["Oliver Reed", "Raquel Welch", "Richard Chamberlain", "Michael York"],
"num_mflix_comments": {
"$numberInt": "0"
},
"poster": "https://m.media-amazon.com/images/M/MV5BODQwNmI0MDctYzA5Yy00NmJkLWIxNGMtYzgyMDBjMTU0N2IyXkEyXkFqcGdeQXVyMjI4MjA5MzA@._V1_SY1000_SX677_AL_.jpg",
"title": "The Three Musketeers",
"lastupdated": "2015-09-16 06:21:07.210000000",
"languages": ["English"],
"released": {
"$date": {
"$numberLong": "133747200000"
}
},
"directors": ["Richard Lester"],
"writers": ["George MacDonald Fraser (screenplay)", "Alexandre Dumas père (novel)"],
"awards": {
"wins": {
"$numberInt": "4"
},
"nominations": {
"$numberInt": "7"
},
"text": "Won 1 Golden Globe. Another 3 wins & 7 nominations."
},
"year": {
"$numberInt": "1973"
},
"imdb": {
"rating": {
"$numberDouble": "7.3"
},
"votes": {
"$numberInt": "11502"
},
"id": {
"$numberInt": "72281"
}
},
"countries": ["Spain", "USA", "Panama", "UK"],
"type": "movie",
"tomatoes": {
"viewer": {
"rating": {
"$numberDouble": "3.5"
},
"numReviews": {
"$numberInt": "9600"
},
"meter": {
"$numberInt": "78"
}
},
"dvd": {
"$date": {
"$numberLong": "982022400000"
}
},
"critic": {
"rating": {
"$numberDouble": "7.1"
},
"numReviews": {
"$numberInt": "11"
},
"meter": {
"$numberInt": "82"
}
},
"lastUpdated": {
"$date": {
"$numberLong": "1441307415000"
}
},
"rotten": {
"$numberInt": "2"
},
"production": "Live Home Video",
"fresh": {
"$numberInt": "9"
}
},
"plot_embedding": [
-0.004237316,
-0.022958077,
-0.005921211,
-0.020323543,
0.010051459
]
}

이 컬렉션에는 영화에 대한 세부 정보가 포함되어 있습니다. 각 문서에는 단일 영화와 해당 영화의 제목, 개봉 연도, 출연진 등의 정보가 포함되어 있습니다.

이 컬렉션에는 다음과 같은 인덱스가 포함되어 있습니다.

이름
색인
설명
속성
_id_
{ "_id": 1 }
_id 필드의 기본 키 인덱스입니다.
cast_text_fullplot_text_genres_text_title_text
{ "_fts": "text", "_ftsx": 1 }
cast, fullplot, genrestitle 필드의 텍스트 인덱스 입니다.
{
"_id": {
"$oid": "573a1390f29313caabcd413b"
},
"title": "The Arrival of a Train",
"year": {
"$numberInt": "1896"
},
"runtime": {
"$numberInt": "1"
},
"released": {
"$date": {
"$numberLong": "-2335219200000"
}
},
"poster": "http://ia.media-imdb.com/images/M/MV5BMjEyNDk5MDYzOV5BMl5BanBnXkFtZTgwNjIxMTEwMzE@._V1_SX300.jpg",
"plot": "A group of people are standing in a straight line along the
platform of a railway station, waiting for a train, which is seen
coming at some distance. When the train stops at the platform, ...",
"fullplot": "A group of people are standing in a straight line along
the platform of a railway station, waiting for a train, which is
seen coming at some distance. When the train stops at the platform,
the line dissolves. The doors of the railway-cars open, and people
on the platform help passengers to get off.",
"lastupdated": "2015-08-15 00:02:53.443000000",
"type": "movie",
"directors": [
"Auguste Lumière",
"Louis Lumière"
],
"imdb": {
"rating": {
"$numberDouble": "7.3"
},
"votes": {
"$numberInt": "5043"
},
"id": {
"$numberInt": "12"
}
},
"cast": [
"Madeleine Koehler"
],
"countries": [
"France"
],
"genres": [
"Documentary",
"Short"
],
"tomatoes": {
"viewer": {
"rating": {
"$numberDouble": "3.7"
},
"numReviews": {
"$numberInt": "59"
}
},
"lastUpdated": {
"$date": {
"$numberLong": "1441993589000"
}
}
},
"num_mflix_comments": {
"$numberInt": "1"
}
}

이 컬렉션에는 사용자 에 대한 메타데이터가 포함되어 있습니다. 각 문서에는 사용자와 해당 JSON Web Token 이 포함되어 있습니다.

이 컬렉션에는 다음과 같은 인덱스가 포함되어 있습니다.

이름
색인
설명
속성
_id_
{ "_id": 1 }
_id 필드의 기본 키 인덱스입니다.
user_id_1
{ "user_id" : 1}
user_id 필드의 오름차순 인덱스입니다.
{
"_id": {
"$oid": "5a98348755593fdf68350932"
},
"user_id": "bfb9vc1zz@xhasq.5h9",
"jwt": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9..."
}

이 컬렉션에는 영화관 위치가 포함되어 있습니다. 각 문서에는 단일 영화관과 그 위치가 문자열 및 GeoJSON 형식으로 포함되어 있습니다.

이름
색인
설명
속성
_id_
{ "_id": 1 }
_id 필드의 기본 키 인덱스입니다.
geo index
{ "location.geo": "2dsphere" }
location.geo 필드의 지리 공간적 인덱스 입니다.
{
"_id": {
"$oid": "59a47286cfa9a3a73e51e72c"
},
"theaterId": {
"$numberInt": "1000"
},
"location": {
"address": {
"street1": "340 W Market",
"city": "Bloomington",
"state": "MN",
"zipcode": "55425"
},
"geo": {
"type": "Point",
"coordinates": [
{
"$numberDouble": "-93.24565"
},
{
"$numberDouble": "44.85466"
}
]
}
}
}

이 컬렉션에는 mflix 사용자에 대한 정보가 포함되어 있습니다. 각 문서에는 한 명의 사용자와 해당 사용자의 이름, 이메일, 비밀번호가 포함되어 있습니다.

이름
색인
설명
속성
_id_
{ "_id": 1 }
_id 필드의 기본 키 인덱스입니다.
email_1
{ "email: 1 }
email 필드에 대한 고유한 오름차순 인덱스입니다.
{
"_id": {
"$oid": "59b99db4cfa9a34dcd7885b6"
},
"name": "Ned Stark",
"email": "sean_bean@gameofthron.es",
"password": "$2b$12$UREFwsRUoyF0CRqGNK0LzO0HM/jLhgUCNNIJ9RJAqMUQ74crlJ1Vu"
}
← 샘플 가이드 데이터 세트