[MDEV-30508] Can't connect to MySQL server -- server out of memory Created: 2023-01-30 Updated: 2023-01-31 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - Connect |
| Affects Version/s: | 10.6.10 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Gisbert W. Selke | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Linux/Windows |
||
| Description |
|
I regularly need to copy "big" tables from a MySQL 5.7 server (Windows) to a MariaDB 10.6.10 server (Linux). I am trying to implement this using CONNECT tables defined on the MariaDB server reaching out via CONNECT tables to the MySQL server, doing a simple insert into linux_table select * from mysql_table_connect, where mysql_table_connect uses the CONNECT engine to access the table on the MySQL server. |
| Comments |
| Comment by Daniel Black [ 2023-01-30 ] | ||||||||||||||||||||||||||||||||||||||||||||||
|
Can you include a SHOW CREATE TABLE of the source table, don't care if you change the field names, to give a rough indication of row size? | ||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Gisbert W. Selke [ 2023-01-30 ] | ||||||||||||||||||||||||||||||||||||||||||||||
|
Sure – see below! So the statement I actually use for copying has this structure: (For the case described above where the copying process works, those tables contain roughly 1/3 as much.)
| ||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Gisbert W. Selke [ 2023-01-31 ] | ||||||||||||||||||||||||||||||||||||||||||||||
|
Here is some more detail: |