List:General Discussion« Previous MessageNext Message »
From:Don Read Date:July 12 2001 6:27pm
Subject:RE: deleting rows does not release filesystem space
View as plain text  
On 12-Jul-01 Sebastian Sanchez wrote:
> Hi all:
> 
> I'm having this problem when deleting many rows from a very large table,
> after waiting for 3 hours or so mysql tells me that 20 mega rows have been
> deleted, but 
> a df -k still says that no space has been freed.
> 

Correct, the rows are *marked* as deleted, but the disk space is still
alocated; subsequent inserts will re-use the holes.
If you need the space, run OPTIMIZE TABLE.

Regards,
-- 
Don Read                                       dread@stripped
-- It's always darkest before the dawn. So if you are going to 
   steal the neighbor's newspaper, that's the time to do it.
Thread
deleting rows does not release filesystem spaceSebastian Sanchez12 Jul
  • RE: deleting rows does not release filesystem spaceDon Read12 Jul
  • MySQL.orgMichael Collins12 Jul
    • Re: MySQL.orgJeremy Zawodny13 Jul
    • RE: MySQL.orgSander Pilon13 Jul
      • Re: MySQL.org(Trond Eivind Glomsrød)13 Jul
        • RE: MySQL.orgSander Pilon13 Jul
          • RE: MySQL.orgMichael Widenius13 Jul
            • RE: MySQL.orgSander Pilon13 Jul
      • Re: MySQL.orgJeremy Zawodny13 Jul
        • Re: MySQL.orgMichael Widenius13 Jul
    • Re: MySQL.orgUnknown Sender13 Jul
Re: mysql.orgbtjones13 Jul
  • Re: mysql.orgMichael Widenius13 Jul
    • Re[2]: mysql.orgMark A. Chalkley14 Jul
      • Manual for sale? (was Re[2]: mysql.org)Michael Collins14 Jul
  • Re: mysql.org(Trond Eivind Glomsrød)13 Jul
  • Re: mysql.orgSteve Werby13 Jul
  • Re: Manual for sale? (was Re[2]: mysql.org)Colin Faber14 Jul
    • Re: Manual for sale? (was Re[2]: mysql.org)Michael Collins14 Jul
    • Re: Manual for sale? (was Re[2]: mysql.org)Sinisa Milivojevic14 Jul
  • Re: Manual for sale? (was Re[2]: mysql.org)Tonu Samuel14 Jul
Re: mysql.orgA. Clausen13 Jul
RE: mysql.orgBritt Johnston14 Jul
  • Re: mysql.orgJeremy Zawodny14 Jul
  • RE: mysql.orgDavid Axmark14 Jul
  • RE: mysql.orgMichael Collins14 Jul
    • Re: mysql.orgRobert John Hall16 Jul
  • Re: mysql.orgVan14 Jul
  • RE: mysql.orgMichael Widenius16 Jul
Re: mysql.orgJustin Farnsworth14 Jul
Re: mysql.orgMarten Mickos14 Jul
Re: mysql.orgJustin Farnsworth14 Jul
  • RE: mysql.orgSander Pilon15 Jul
Re: mysql.orgMichael Collins14 Jul
re: mysql.orgThomas J Keller14 Jul
Re: mysql.orgMarten Mickos14 Jul
  • Re: mysql.orgThomas J Keller15 Jul
    • Re: mysql.orghassan el forkani15 Jul
  • Re: mysql.orgJustin Farnsworth15 Jul
    • RE: mysql.orgCarsten H. Pedersen15 Jul
      • Re: mysql.orgAndy Woolley15 Jul
        • Re: mysql.orgRobert Alexander15 Jul
  • Re: mysql.orgB. van Ouwerkerk15 Jul
re: mysql.orgThomas J Keller15 Jul
  • Re: mysql.orgJohn Jacques20 Jul
Re: mysql.orgMarten Mickos15 Jul
  • RE: mysql.org(Dipl.-Inf. Guus Leeuw jr.)15 Jul
    • RE: mysql.orgSander Pilon15 Jul
      • Re: mysql.orgBrooklyn Linux Solutions CEO20 Jul
    • Re: mysql.orgGerald R. Jensen15 Jul
Re: mysql.orgportasio15 Jul
Re: mysql.orgSinisa Milivojevic15 Jul
Re: mysql.orgMarten Mickos15 Jul
Re: mysql.orgMarten Mickos15 Jul
re: mysql.orgThomas J Keller15 Jul
  • RE: mysql.orgCarsten H. Pedersen15 Jul
Re: MySQL.orgbtjones16 Jul
Re: mysql.orgBritt Johnston18 Jul
  • Re: mysql.orgB. van Ouwerkerk18 Jul
Re: mysql.orgLaszlo G. Szijarto18 Jul
Re: mysql.orgJustin Farnsworth18 Jul
  • Re[2]: mysql.orgWerner Stuerenburg18 Jul
Re: mysql.orgGerald R. Jensen18 Jul
Re: mysql.orgJustin Farnsworth18 Jul
Re: mysql.orgJustin Farnsworth18 Jul
  • Re: mysql.orgMichael Collins18 Jul
    • Re: mysql.orgBob Hall19 Jul
      • Re: mysql.orgBrooklyn Linux Solutions CEO19 Jul
        • RE: mysql.orgSander Pilon19 Jul
          • RE: mysql.orgG. Lovén20 Jul
      • Re: mysql.orgBob Hall20 Jul
  • RE: mysql.orgMartin Jeremic19 Jul
Re: mysql.orgMarten Mickos19 Jul
Re: mysql.orgBrooklyn Linux Solutions CEO19 Jul