Time series collections efficiently store sequences of measurements over a period of time.
제한 사항
time series 컬렉션을 만들 때는 다음과 같은 제한 사항이 적용됩니다.
Custom collation time series 컬렉션 에 사용할 수 있는 유일한 Advanced Collection Option 입니다.
See Time Series Collection Limitations for all time series collection limitations.
절차
timeField를 지정합니다.
Specify which field should be used as the timeField for the time-series collection. This field must have a BSON type date.
선택 사항입니다. 다음 필드에 숫자 값을 지정합니다.
필드 | 유형 | 설명 |
|---|---|---|
| 숫자 | 버킷 내 측정값 사이의 최대 시간 범위를 지정합니다. 의 값은 |
| 숫자 | 새 버킷의 시작 타임스탬프를 결정하는 시간 간격을 지정합니다. 의 값은 |
| 숫자 | 지정된 시간(초)보다 오래된 문서를 자동으로 삭제할 수 있습니다. |
Time Series 필드에 대한 자세한 내용은 Time Series 객체 필드를 참조하세요.