You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2022/12/06 07:06:10 UTC

[GitHub] [skywalking] hanahmily opened a new issue, #10105: [BanyanDB] Remove ID tag from the measure’s schema.

hanahmily opened a new issue, #10105:
URL: https://github.com/apache/skywalking/issues/10105

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no similar feature requirement.
   
   
   ### Description
   
   OAP’s logical id is used to fetch arbitrary data from the storage layer. In BanyanDB’s scenario, we found a chance to remove this intermediate transformation. 
   
   In a typical scenario, OAP combines *entity_id + timebucket* to logical id. When the data is written, BanyanDB will create an inverted index to map the id to an internal item id which is *series_id + timestamp*. *series_id* is encoded from *entity_id*, and *timestamp* is encoded from *timebucket*. So we can remove the logical id to use the original combination to fetch data.
   
   Based on the above, we could remove the ID tag from the measure’s schema in the metric creation phase, then transform *by id* queries to *by entity_id +timebucket*.
   
   
   ### Use case
   
   _No response_
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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: notifications-unsubscribe@skywalking.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [skywalking] wu-sheng closed issue #10105: [BanyanDB] Remove ID tag from the measure’s schema.

Posted by GitBox <gi...@apache.org>.
wu-sheng closed issue #10105: [BanyanDB] Remove ID tag from the measure’s schema.
URL: https://github.com/apache/skywalking/issues/10105


-- 
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: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [skywalking] hanahmily commented on issue #10105: [BanyanDB] Remove ID tag from the measure’s schema.

Posted by GitBox <gi...@apache.org>.
hanahmily commented on issue #10105:
URL: https://github.com/apache/skywalking/issues/10105#issuecomment-1345474531

   @lujiajing1126 Before you work on this, we should schedule an offline discussion around the details.


-- 
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: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org