[MCOL-1291] Tables only exist in MariaDB on PM1 Created: 2018-03-21 Updated: 2020-08-25 Resolved: 2018-06-14 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | Documentation, MariaDB Server |
| Affects Version/s: | None |
| Fix Version/s: | Icebox |
| Type: | Bug | Priority: | Major |
| Reporter: | Geoff Montee (Inactive) | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Description |
|
A user reported that he has a 4-node ColumnStore system, with 4 PMs. He noticed that the rows for one of his tables is distributed across all PMs:
However, he noticed that the table only "exists" on the MariaDB level on PM1. By this, he meant that SQLyog does not show that the tables exist on PM2-4, and that the .frm files don't exist in /usr/local/mariadb/columnstore/mysql/db/ on PM2-4. I suspect that this is because PM1 is a "combined" UM/PM system, and PM2-4 are only PMs, and tables only "exist" at the MariaDB level on UMs. Is that correct? If so, then I think we should add a note that tables only "exist" in MariaDB on UMs to the following page: https://mariadb.com/kb/en/library/columnstore-storage-architecture/ Currently, it says:
If it is true that the MariaDB schemas are only on UMs, then this line does not make that clear, so we should clarify that. The users PM2-4 systems do have mysqld processes running. If the tables do not "exist" in MariaDB on PMs, then what does the mysqld process do on PMs? We should probably also make a note about that to the following page: https://mariadb.com/kb/en/library/columnstore-performance-module/ Contrast this to the UM page, which does mention what the mysqld process does on UMs: https://mariadb.com/kb/en/library/columnstore-user-module/ |
| Comments |
| Comment by Daniel Lee (Inactive) [ 2018-03-21 ] |
|
Table schema exist on modules where mysqld is running. Normally, that would be the user module. In the case when local query is enabled, schema also exist on performance modules. We will review the pages that you mention. Thanks |
| Comment by David Hall (Inactive) [ 2018-03-21 ] |
|
The table schemas should have been replicated to PM2-4 iff local query is enabled. Since mysqld is running on these machines, it appears this is the case. Was local query turned on, but replication was not? |