-
公开(公告)号:US20220156237A1
公开(公告)日:2022-05-19
申请号:US17181272
申请日:2021-02-22
Applicant: Coupang Corp.
Inventor: Bin Dong , Zhan Chen , Zhiyong Huang , Chuanchuan Han , Junzhao Zhang
IPC: G06F16/21 , G06F16/22 , G06F16/28 , G06F16/2455
Abstract: Methods and systems for database query efficiency improvement are disclosed. In one embodiment, a method includes mirroring a primary database to a secondary database; creating a testing database comprising the schema; receiving a query; running the query on the testing database; and evaluating the query by: identifying predicates in the query; determining most common values for each column name by querying the secondary database; creating, for each column name, a list comprising at least one of the most common values; creating a test predicate comprising one of the column names and an entry for the list corresponding to the column name; creating a test query comprising one or more test predicates; determining a resource utilization of the query by running each of the test queries on the secondary database; and providing, to a user interface for display, an efficiency improvement recommendation when the resource utilization exceeds a threshold.
-
公开(公告)号:US10963438B1
公开(公告)日:2021-03-30
申请号:US16950342
申请日:2020-11-17
Applicant: Coupang Corp.
Inventor: Bin Dong , Zhan Chen , Zhiyong Huang , Chuanchuan Han , Junzhao Zhang
IPC: G06F16/00 , G06F16/21 , G06F16/2455 , G06F16/28 , G06F16/22
Abstract: Methods and systems for database query efficiency improvement are disclosed. In one embodiment, a method includes mirroring a primary database to a secondary database; creating a testing database comprising the schema; receiving a query; running the query on the testing database; and evaluating the query by: identifying predicates in the query; determining most common values for each column name by querying the secondary database; creating, for each column name, a list comprising at least one of the most common values; creating a test predicate comprising one of the column names and an entry for the list corresponding to the column name; creating a test query comprising one or more test predicates; determining a resource utilization of the query by running each of the test queries on the secondary database; and providing, to a user interface for display, an efficiency improvement recommendation when the resource utilization exceeds a threshold.
-
公开(公告)号:US11709830B2
公开(公告)日:2023-07-25
申请号:US17240219
申请日:2021-04-26
Applicant: Coupang Corp.
Inventor: Zhan Chen , Bin Dong , Zhiyong Huang , Chuanchuan Han , Junzhao Zhang
IPC: G06F16/245 , G06F16/25 , G06F16/28 , G06F16/27 , G06F16/2452 , G06F16/2455 , G06F16/2453 , G06F11/34 , G06F11/20
CPC classification number: G06F16/24528 , G06F11/2025 , G06F11/3428 , G06F16/24549 , G06F16/24564 , G06F16/258 , G06F16/27 , G06F16/285
Abstract: Systems and methods for managing a highly available distributed hybrid database comprising: a memory storing instructions; and one or more processors configured to execute the instructions to: receive a query from a user device to retrieve data from a distributed database comprising a source node, a first plurality of replica nodes, and a second plurality of replica nodes, wherein the source node and the first plurality of replica nodes form a transactional cluster, and wherein the second plurality of replica nodes forms an analytical cluster; determine whether to process the query using the transactional cluster or the analytical cluster based on one or more rules; translate the query into a first protocol that the determined cluster comprehends; select a replica node corresponding to the determined cluster; process the query using the selected replica node; and send data associated with results from processing the query to the user device.
-
公开(公告)号:US11216441B1
公开(公告)日:2022-01-04
申请号:US17105127
申请日:2020-11-25
Applicant: Coupang Corp.
Inventor: Zhan Chen , Zhiyong Huang , Bin Dong , Chuanchuan Han , Junzhao Zhang
Abstract: Systems and methods for managing a highly available distributed database comprising: a memory storing instructions; and one or more processors configured to execute the instructions to: determine that a source node, in a distributed database comprising the source node and one or more replica nodes, is not available; select a most-updated replica node from the one or more replica nodes; switch a role of the most-updated replica node to source; update a data store to label the source node as unavailable and the selected replica node as being a promoted source node; send a notification to a user device to update a database topology based on the updated data store; determine whether the user device has updated the database topology; and upon determining the user device has not updated the database topology, continue to send the notification to the user device until the user device has updated the database topology.
-
公开(公告)号:US11016969B1
公开(公告)日:2021-05-25
申请号:US17105040
申请日:2020-11-25
Applicant: Coupang Corp.
Inventor: Zhan Chen , Bin Dong , Zhiyong Huang , Chuanchuan Han , Junzhao Zhang
IPC: G06F16/2452 , G06F16/2455 , G06F16/2453 , G06F16/27 , G06F11/34 , G06F16/25 , G06F16/28 , G06F11/20
Abstract: Systems and methods for managing a highly available distributed hybrid database comprising: a memory storing instructions; and one or more processors configured to execute the instructions to: receive a query from a user device to retrieve data from a distributed database comprising a source node, a first plurality of replica nodes, and a second plurality of replica nodes, wherein the source node and the first plurality of replica nodes form a transactional cluster, and wherein the second plurality of replica nodes forms an analytical cluster; determine whether to process the query using the transactional cluster or the analytical cluster based on one or more rules; translate the query into a first protocol that the determined cluster comprehends; select a replica node corresponding to the determined cluster; process the query using the selected replica node; and send data associated with results from processing the query to the user device.
-
公开(公告)号:US12013826B2
公开(公告)日:2024-06-18
申请号:US17181272
申请日:2021-02-22
Applicant: Coupang Corp.
Inventor: Bin Dong , Zhan Chen , Zhiyong Huang , Chuanchuan Han , Junzhao Zhang
IPC: G06F16/21 , G06F16/22 , G06F16/2455 , G06F16/28
CPC classification number: G06F16/217 , G06F16/211 , G06F16/214 , G06F16/221 , G06F16/24557 , G06F16/287
Abstract: Methods and systems for database query efficiency improvement are disclosed. In one embodiment, a method includes mirroring a primary database to a secondary database; creating a testing database comprising the schema; receiving a query; running the query on the testing database; and evaluating the query by: identifying predicates in the query; determining most common values for each column name by querying the secondary database; creating, for each column name, a list comprising at least one of the most common values; creating a test predicate comprising one of the column names and an entry for the list corresponding to the column name; creating a test query comprising one or more test predicates; determining a resource utilization of the query by running each of the test queries on the secondary database; and providing, to a user interface for display, an efficiency improvement recommendation when the resource utilization exceeds a threshold.
-
公开(公告)号:US11645263B2
公开(公告)日:2023-05-09
申请号:US17454407
申请日:2021-11-10
Applicant: Coupang Corp.
Inventor: Zhan Chen , Zhiyong Huang , Bin Dong , Chuanchuan Han , Junzhao Zhang
CPC classification number: G06F16/2358 , G06F11/008 , G06F11/1425 , G06F11/2025 , G06F11/3409 , G06F16/21 , G06F16/256
Abstract: Systems and methods for managing a highly available distributed database comprising: a memory storing instructions; and one or more processors configured to execute the instructions to: determine that a source node, in a distributed database comprising the source node and one or more replica nodes, is not available; select a most-updated replica node from the one or more replica nodes; switch a role of the most-updated replica node to source; update a data store to label the source node as unavailable and the selected replica node as being a promoted source node; send a notification to a user device to update a database topology based on the updated data store; determine whether the user device has updated the database topology; and upon determining the user device has not updated the database topology, continue to send the notification to the user device until the user device has updated the database topology.
-
-
-
-
-
-