hi, there.
what does “attach partition” mean?
The table with the corresponding command output was created by configuring the reference table as a column store.
What are some examples of configuring ‘reference table’ as a column store?
Is this table also shaded and partitioned?
memsql> show partitions extended on tpch;
+---------+-----------+------+--------+--------+------+------------------+------------+--------------+
| Ordinal | Host | Port | Role | Locked | Info | Last Command | Last Error | Last Message |
+---------+-----------+------+--------+--------+------+------------------+------------+--------------+
| 0 | 127.0.0.1 | 3307 | Master | 0 | NULL | CREATE PARTITION | 0 | |
| 1 | 127.0.0.1 | 3307 | Master | 0 | NULL | CREATE PARTITION | 0 | |
| 2 | 127.0.0.1 | 3307 | Master | 0 | NULL | CREATE PARTITION | 0 | |
| 3 | 127.0.0.1 | 3307 | Master | 0 | NULL | CREATE PARTITION | 0 | |
| 4 | 127.0.0.1 | 3307 | Master | 0 | NULL | CREATE PARTITION | 0 | |
| 5 | 127.0.0.1 | 3307 | Master | 0 | NULL | CREATE PARTITION | 0 | |
| 6 | 127.0.0.1 | 3307 | Master | 0 | NULL | CREATE PARTITION | 0 | |
| 7 | 127.0.0.1 | 3307 | Master | 0 | NULL | CREATE PARTITION | 0 | |
+---------+-----------+------+--------+--------+------+------------------+------------+--------------+
8 rows in set (0.00 sec)
memsql> show partitions extended on test;
+---------+-----------+------+--------+--------+------+------------------+------------+--------------+
| Ordinal | Host | Port | Role | Locked | Info | Last Command | Last Error | Last Message |
+---------+-----------+------+--------+--------+------+------------------+------------+--------------+
| 0 | 127.0.0.1 | 3307 | Master | 0 | NULL | ATTACH PARTITION | 0 | |
| 1 | 127.0.0.1 | 3307 | Master | 0 | NULL | ATTACH PARTITION | 0 | |
| 2 | 127.0.0.1 | 3307 | Master | 0 | NULL | ATTACH PARTITION | 0 | |
| 3 | 127.0.0.1 | 3307 | Master | 0 | NULL | ATTACH PARTITION | 0 | |
| 4 | 127.0.0.1 | 3307 | Master | 0 | NULL | ATTACH PARTITION | 0 | |
| 5 | 127.0.0.1 | 3307 | Master | 0 | NULL | ATTACH PARTITION | 0 | |
| 6 | 127.0.0.1 | 3307 | Master | 0 | NULL | ATTACH PARTITION | 0 | |
| 7 | 127.0.0.1 | 3307 | Master | 0 | NULL | ATTACH PARTITION | 0 | |
+---------+-----------+------+--------+--------+------+------------------+------------+--------------+
8 rows in set (0.00 sec)
thanks in advance.