writer-jill commented on code in PR #12344: URL: https://github.com/apache/druid/pull/12344#discussion_r895584118
########## docs/design/segments.md: ########## @@ -23,231 +23,196 @@ title: "Segments" --> -Apache Druid stores its index in *segment files*, which are partitioned by -time. In a basic setup, one segment file is created for each time -interval, where the time interval is configurable in the -`segmentGranularity` parameter of the -[`granularitySpec`](../ingestion/ingestion-spec.md#granularityspec). For Druid to -operate well under heavy query load, it is important for the segment +Apache Druid stores its data and indexes in *segment files* partitioned by time. Druid creates a segment for each segment interval that contains data. If an interval is empty (contains no rows) no segment exists for that time interval. Druid may create multiple segments for the same interval if you ingest data for that period via different ingestion jobs. Compaction is the Druid process that attempts to combine these segments into a single "one per segment" interval for optimal performance. Review Comment: Updated. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
