Abstract:
An index update method, including: receiving an index update request, where the index update request is used to instruct to create or delete a target index that is associated with a field in a logic table of a tenant; updating metadata information of the logic table in a database in response to the index update request; notifying a coordination service, where the coordination service is used to notify a second data access node to perform a local synchronization update; and after all second data access nodes finish local synchronization updates, performing a data asynchronization update. After the metadata information is updated in the database, an index is updated in two steps. In a first step, a local synchronization update is performed. In a second step, after all data access nodes finish local synchronization updates, a data asynchronization update is performed.
Abstract:
An index update method, including: receiving an index update request, where the index update request is used to instruct to create or delete a target index that is associated with a field in a logic table of a tenant; updating metadata information of the logic table in a database in response to the index update request; notifying a coordination service, where the coordination service is used to notify a second data access node to perform a local synchronization update; and after all second data access nodes finish local synchronization updates, performing a data asynchronization update. After the metadata information is updated in the database, an index is updated in two steps. In a first step, a local synchronization update is performed. In a second step, after all data access nodes finish local synchronization updates, a data asynchronization update is performed.
Abstract:
Embodiments of the present invention provide a column-oriented database processing method, where a column-oriented database includes a marker column and more than one data column, the data column is used to store specific data in a column store manner, a value of a marker bit of each row in the marker column is used to indicate validity of data that is located in a same row as the marker bit, and the method includes: receiving a query request sent by an application program, where the query request contains a query condition; querying the more than one data column according to the marker column and the query condition to obtain a query result that meets both the query condition and a requirement that a marker bit of the query result in the marker column is valid; and sending the query result to the application program.
Abstract:
An index update method, including: receiving an index update request, where the index update request is used to instruct to create or delete a target index that is associated with a field in a logic table of a tenant; updating metadata information of the logic table in a database in response to the index update request; notifying a coordination service, where the coordination service is used to notify a second data access node to perform a local synchronization update; and after all second data access nodes finish local synchronization updates, performing a data asynchronization update. After the metadata information is updated in the database, an index is updated in two steps. In a first step, a local synchronization update is performed. In a second step, after all data access nodes finish local synchronization updates, a data asynchronization update is performed.
Abstract:
A chassis for an edge device includes a cabinet and a heat exchange component. The heat exchange component is disposed in a space enclosed by the cabinet. The space in the cabinet is divided into a first space and a second space for placement an electronic device. The heat exchange component performs heat transfer between the first space and the second space. A first air inlet and a first air outlet are disposed in the first space, and an airflow entering from the first air inlet flows through a first surface of the heat exchange component and exits from the first air outlet.
Abstract:
Embodiments of the present invention provide a column-oriented database processing method, where a column-oriented database includes a marker column and more than one data column, the data column is used to store specific data in a column store manner, a value of a marker bit of each row in the marker column is used to indicate validity of data that is located in a same row as the marker bit, and the method includes: receiving a query request sent by an application program, where the query request contains a query condition; querying the more than one data column according to the marker column and the query condition to obtain a query result that meets both the query condition and a requirement that a marker bit of the query result in the marker column is valid; and sending the query result to the application program.