Traversal and Batch Operation Related Questions

1. Tcapdir cannot be connected. Error: TCAPDIR_CS_CMD_GET_TABLES_AND_ACCESS_RES timeout

Generally, there are IP addresses that cannot be linked in the Tcapdir links. It is recommended to change the links to the form of domain name proxy.

2. The project team has made changes to the first-level fields of the table (the table is configured with a buffer). Is it necessary to add cache and other operations to the TcaplusDB OMS?

If these fields do not need to be configured for buffering, then do not configure them. If necessary, update the buffering configuration.

3. In the process of upgrading TcaplusDB API, can some processes be upgraded, and some processes not?

Yes, the access layer and storage layer of TcaplusDB can maintain a higher version. The TcaplusDB API can only be less than or equal to this version. The upgrade of access layer and storage layer will have no impact on the background.

4. Can the global index be created only through OMS console? Can't it be created in XML?

At present, it cannot be created in xml, because it needs to support real-time updating of the index.

5. In addition to the TcaplusDB OMS console, are there any other interfaces that can update the table structure?

  • Web page
  • WebService API for the private environment
  • Tencent Cloud Web API for Tencent Cloud

6. Is it necessary to stop the machine for the expansion of TcaplusDB in the official service?

No, the expansion operation is lossless.

7. In the process of adding tables to the TcaplusDB OMS, how to deal with the problem that adding tables cannot continue if the number of tables in the game zone is full?

Continue to add tables after adding game zones

8. How to deal with the prompt without permission when viewing data on the TcaplusDB OMS Operation and Maintenance Platform - "App Data Processing - View/Modify Data" page?

Contact the DBA to apply for read permission

9. In the process of data rollback, for example, when the data is rolled back by the process from game zone A, will the usage in game zone A be affected in the subsequent rollback? In the process of rollback, can data be rolled back in other game zones, or can data only be rolled back in game zone A?

A piece of cold standby data can be rolled back to multiple destinations without limiting its cold standby game zone.

10. How many data shards are the default for the newly added table?

It is a single table with 1 data shard by default, which can be adjusted by the DBA.

11. Does the TcaplusDB cluster cache hot data into the memory when reading it? What is the cache size of memory

Currently, the first 1 GB of a single engine file is mapped to memory, and the latter is mapped to disk. Generally speaking, all operations are performed on disk, so disk IO util is relatively high. But it is normal that the combined cost of disk + memory is considered to be lower than the cost of pure memory.

12. Where can I view the when data expires for tables with expiration on the TcaplusDB OMS console? 

It can be viewed in the TcaplusDB OMS Console - "Table Information - Data Expire". TTL can only be configured by the administrator. However, data expiration cannot be guaranteed to be deleted immediately after expiration. This is because of periodic scanning, which depends on scanning speed, mainly to prevent excessive data volume.

13. Is it necessary for the service to be stopped to upgrade the TcaplusDB of the corresponding App, Zone, access layer, and storage layer?

No, there is no need to stop the service.

14. In the process of upgrading TcaplusDB API by the project team, besides replacing the latest TcaplusDB API library on the app side, does TcaplusDB need to do anything else?

  • Update of TcaplusDB API version.
  • Update of tbase version used by TcaplusDB API.
  • Confirm with the TcaplusDB team whether the access layer and storage layer of the corresponding App and Zone are upgraded to the corresponding version.

15. Is it possible to extract the table data of the specified player and the specified date, such as January 25?

At present, it supports rollback by cold backup, including 15 days for IDC environment and 7 days for Tencent Cloud environment. You can contact the DBA to extract data. If there is a need to recover data later, the table + data can be recovered only by the content of permanent backup.

16. When the cluster has only one table, how many shards can be set at most?

A single table can have a maximum of 10,000 data shards, depending on the app's demand for QPS and delay.

results matching ""

    No results matching ""