mysql> set use_secondary_engine = FORCED;
Query OK, 0 rows affected (0.00 sec)
mysql> select count(*) from customer;
ERROR 3889 (HY000): Secondary engine operation failed. use_secondary_engine is FORCED but query could not be executed in secondary engine.
mysql> show table status like 'customer'\G;
*************************** 1. row ***************************
Name: customer
Engine: InnoDB
Version: 10
Row_format: Dynamic
Rows: 135248189
Avg_row_length: 194
Data_length: 26294091776
Max_data_length: 0
Index_length: 1887436800
Data_free: 0
Auto_increment: NULL
Create_time: 2024-03-11 18:03:22
Update_time: NULL
Check_time: NULL
Collation: latin1_swedish_ci
Checksum: NULL
Create_options: SECONDARY_ENGINE="rapid" SECONDARY_LOAD="1"
Comment:
1 row in set (0.01 sec)
ERROR:
No query specified
mysql> show create table customer;
+----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Table | Create Table |
+----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| customer | CREATE TABLE `customer` (
`c_custkey` int NOT NULL,
`c_name` varchar(25) NOT NULL,
`c_address` varchar(40) NOT NULL,
`c_nationkey` int NOT NULL,
`c_phone` char(15) NOT NULL,
`c_acctbal` decimal(15,2) NOT NULL,
`c_mktsegment` char(10) NOT NULL,
`c_comment` varchar(117) NOT NULL,
PRIMARY KEY (`c_custkey`),
KEY `customer_fk1` (`c_nationkey`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 SECONDARY_ENGINE=rapid |
+----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)
mysql>
|