From: | Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com> |
---|---|
To: | Vick Khera <vivek(at)khera(dot)org> |
Cc: | jg <jg(at)rilk(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: File Fragmentation |
Date: | 2013-03-20 14:22:52 |
Message-ID: | 5149C63C.3000902@gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 03/20/2013 07:14 AM, Vick Khera wrote:
>
> On Wed, Mar 20, 2013 at 9:53 AM, jg <jg(at)rilk(dot)com <mailto:jg(at)rilk(dot)com>>
> wrote:
>
> The rotated script, as explained, just drops tables and creates
> empty ones.
>
>
> That doesn't make sense then, to have fragmentation if you are creating
> new tables with fresh data copied into them. The files should be pretty
> much sequentially written.
I think the problem is here:
"Every minute, sequentially, a batch load 10.000 rows of 250 bytes with
a COPY.
After a day, i got a database with 50 tables with 1.440 set of 10.000 rows."
So if I am reading it right the table starts with 10,000 rows then
10,000 rows are added each minute during the day.
>
> Ohhhh.... I see. You're using Windows. Maybe you need some OS with a
> better file system that doesn't fragment like that?
>
--
Adrian Klaver
adrian(dot)klaver(at)gmail(dot)com
From | Date | Subject | |
---|---|---|---|
Next Message | jg | 2013-03-20 14:23:04 | Re: File Fragmentation |
Previous Message | Tom Lane | 2013-03-20 14:20:42 | Re: Matching uppercased russian words (\x0410-\x042F) in UTF8 database 8.4.13 |