Out of Space issue when selecting data tab of a large table

[expired user #8462]'s profile image [expired user #8462] posted 9 years ago in General Permalink
Hi,
I get the following error when selecting a table name with the data tab active.
SQL Error (3): Error writing file '/tmp/MY9vaRnU' (Errcode: 28 - No space left on device)

SELECT * FROM `dbID`.`session` ORDER BY `status_time` DESC LIMIT 1000;

Is what Heidi is doing, sadly, the column it auto-selected is not one which has a key on it, and is not helped I am sure that this table is rather large ~3GB

Any ideas why Heidi auto selects this column?
[expired user #8462]'s profile image [expired user #8462] posted 9 years ago Permalink
8.3.0.4857, also on 47xx too
ansgar's profile image ansgar posted 9 years ago Permalink
The error says your harddisk on the server is full.

If that's a query in the data grid, you can deselect some columns on it, using the "Columns" button/dialog on the very top right.
[expired user #8462]'s profile image [expired user #8462] posted 9 years ago Permalink


SELECT * FROM `dbID`.`session` ORDER BY `status_time` DESC LIMIT 1000;



If I rerun the query with the following, it works perfectly fine and fast

SELECT * FROM `dbID`.`session'LIMIT 1000;

When i click on the table with the data tab active, why does Heidi make the select with the ORDER BY? Where can I control this order by ?
ansgar's profile image ansgar posted 9 years ago Permalink
Right click the table in the database tree, then click "Reset data filter". That removes a *filter*, not the order by clause.

See here for a workaround.
[expired user #8462]'s profile image [expired user #8462] posted 9 years ago Permalink
Works perfectly, thank you

Please login to leave a reply, or register at first.