hanahmily edited a comment on pull request #8705:
URL: https://github.com/apache/skywalking/pull/8705#issuecomment-1072366082


   > > suppose we also need sharding keys for record, e.g. we use `is_error`, 
`service_id` and
   > 
   > @hanahmily any suggestion? We didn't discuss for traces and logs.
   
   After taking a look at segment and abstract log, I recommend below 
combinations of entity pieces:
   
    * segment: `service_id`, `service_instance_id`, `is_error`
    * log: `service_id`,`service_instance_id`
    * other records: `id`, that's because these records don't need to be 
grouped by sharding key to get a better compression ratio. 


-- 
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]


Reply via email to