I'm getting this error when running a query:
[ERROR] [MY-013132] [Server] The table '/tmp/#sql1127b_9_0' is full!
I go into the /tmp
directory but I can't see the table, I'm presuming it gets deleted when the query has finished running.
So I go into the directory when the query is running (the query takes a few minutes to run - against 40 million records). I don't see the table. I refresh the directory, I still don't see it. How can I see it? I want to see it and establish its location so I can figure out why it's filling up when I have lots of free diskspace.
I'm using MySQL 8.0.23 - I previously used MySQL 5.7.33 on the same machine with the same database and same query, never got a problem.
This is my diskspace:
Filesystem Size Used Avail Use% Mounted on
tmpfs 3.2G 3.7M 3.2G 1% /run
/dev/sdc3 215G 38G 167G 19% /
tmpfs 16G 0 16G 0% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 4.0M 0 4.0M 0% /sys/fs/cgroup
/dev/sdb6 107G 81G 21G 80% /media/Kingston_SSD_120GB
/dev/sda 459G 335G 101G 77% /media/Hitachi
/dev/sdc2 33M 7.8M 25M 24% /boot/efi
tmpfs 3.2G 120K 3.2G 1% /run/user/1001
I didn't set any diskspace for /tmp
- as can be seen, I have 167GB free space on /
.