Producer-Consumer Communication Using Multi-Work Consumers

    公开(公告)号:US20200319941A1

    公开(公告)日:2020-10-08

    申请号:US16415624

    申请日:2019-05-17

    Applicant: SAP SE

    Abstract: A producer-consumer technique includes creating a pool of consumer threads. Producer threads can enqueue work items on a work queue. Consumer threads from the consumer pool are activated to process work items on the work queue. Only one consumer thread at time is activated from the consumer pool, the remaining consumer threads in the pool waiting for an activation event. When signaled by a producer thread, the activated consumer thread pops all the work items from the work queue for processing. The activate consumer thread then signals another consumer thread in the consumer pool by generating an activation event. When the consumer thread has processed its work items, it places itself in the consumer pool by blocking to wait for an activation event.

    Inferred predicates for query optimization

    公开(公告)号:US11379485B2

    公开(公告)日:2022-07-05

    申请号:US17114823

    申请日:2020-12-08

    Applicant: SAP SE

    Abstract: A system includes reception of a query comprising a join operation on a first table and a second table and a join condition associated with the join operation, determination of a first table column of the first table and a second table column of the second table associated with the join condition, determination of an inferred predicate of the query, the inferred predicate associated with a first column dictionary of the first table column and a second column dictionary of the second table column, determination of a cost of using the inferred predicate to perform the join operation, determination of a plurality of query execution plans to execute the join operation using the inferred predicate, and determination of a cost of each of the plurality of query execution plans based on the cost of using the inferred predicate to perform the join operation.

    INFERRED PREDICATES FOR QUERY OPTIMIZATION

    公开(公告)号:US20220179854A1

    公开(公告)日:2022-06-09

    申请号:US17114823

    申请日:2020-12-08

    Applicant: SAP SE

    Abstract: A system includes reception of a query comprising a join operation on a first table and a second table and a join condition associated with the join operation, determination of a first table column of the first table and a second table column of the second table associated with the join condition, determination of an inferred predicate of the query, the inferred predicate associated with a first column dictionary of the first table column and a second column dictionary of the second table column, determination of a cost of using the inferred predicate to perform the join operation, determination of a plurality of query execution plans to execute the join operation using the inferred predicate, and determination of a cost of each of the plurality of query execution plans based on the cost of using the inferred predicate to perform the join operation.

    Producer-consumer communication using multi-work consumers

    公开(公告)号:US11086691B2

    公开(公告)日:2021-08-10

    申请号:US16415624

    申请日:2019-05-17

    Applicant: SAP SE

    Abstract: A producer-consumer technique includes creating a pool of consumer threads. Producer threads can enqueue work items on a work queue. Consumer threads from the consumer pool are activated to process work items on the work queue. Only one consumer thread at time is activated from the consumer pool, the remaining consumer threads in the pool waiting for an activation event. When signaled by a producer thread, the activated consumer thread pops all the work items from the work queue for processing. The activate consumer thread then signals another consumer thread in the consumer pool by generating an activation event. When the consumer thread has processed its work items, it places itself in the consumer pool by blocking to wait for an activation event.

Patent Agency Ranking