List:General Discussion« Previous MessageNext Message »
From:Fred Lindberg Date:April 24 1999 3:12pm
Subject:Re: File sizes on remote server
View as plain text  
On Sat, 24 Apr 1999 09:46:51 -0500, Paul DuBois wrote:

>% cd /dir/containing/your/database          (cd to your database dir)
>% pwd                                       (to verify the location)
>% ls -l                                     (list sizes of each file)
>% du                                        (list total db size)

And make sure they change you only for the real size on disk (du) as
opposed to the file size reported by ls. Don't know about MySQL tables,
but in general files under unix can have very large holes of zeros. A
file can be 618 MB, but only use 12 MB of disk space!


-Sincerely, Fred

(Frederik Lindberg, Infectious Diseases, WashU, St. Louis, MO, USA)


Thread
File sizes on remote serverMimi Church24 Apr
  • Re: File sizes on remote serverSasha Pachev24 Apr
    • Re: File sizes on remote serverMimi Church24 Apr
      • Re: File sizes on remote serverPaul DuBois24 Apr
  • Re: File sizes on remote serverJules Bean24 Apr
    • Re: File sizes on remote serverMichael Widenius25 Apr
  • Re: File sizes on remote serverSasha Pachev24 Apr
Re: File sizes on remote serverFred Lindberg24 Apr