타임스탬프가 순차 번호인 경우 가비지 컬렉션 정책 기준은 버전 수여야 합니다. 즉, 보관할 셀 수를 지정해야 합니다. 실제 타임스탬프 대신 순차 번호를 사용하는 경우 저장기간 기준 가비지 컬렉션 정책은 안전하지 않습니다. 그 이유는 저장기간 기준 정책이 타임스탬프를 기준으로 데이터를 삭제하기 때문입니다.
타임스탬프에 순차 번호를 저장할 때의 장점
필요한 경우 단조롭게 증가하는 타임스탬프를 사용할 수 있습니다.
타임스탬프에 순차 번호를 저장할 때의 단점
저장기간 기준 가비지 컬렉션으로 전환할 수 없습니다.
타임스탬프는 실제 날짜와 시간이 아니므로 값의 기간을 확인하는 등 다른 사용 사례에는 셀의 타임스탬프를 사용할 수 없습니다. 이 문제를 해결하려면 실제 타임스탬프를 별도의 열에 쓸 수 있지만 이렇게 하면 저장하는 데이터의 양이 늘어납니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-03-06(UTC)"],[[["This page covers garbage collection in Bigtable when sequential numbers are used as timestamps instead of actual dates and times."],["When using sequential numbers, garbage collection policies should be based on the number of versions, rather than on data age."],["Using sequential numbers allows for monotonically increasing timestamps, but prevents switching to age-based garbage collection."],["Sequential number timestamps can't be used to determine a value's age, requiring a separate column for real timestamps, which increases storage needs."],["It is important to use filters when reading the data even when using sequential number timestamps, because garbage collection is asynchronous."]]],[]]