From: | "Somasekhar Bangalore" <sbangalore(at)zensutra(dot)com> |
---|---|
To: | "Jaime Casanova" <el_vigia_ec(at)hotmail(dot)com>, <pgsql-general(at)postgresql(dot)org>, <pgsql-hackers(at)postgresql(dot)org>, <pgsql-admin(at)postgresql(dot)org> |
Cc: | "K Harikumar" <kharikumar(at)zensutra(dot)com>, "Anoop G" <ganoop(at)zensutra(dot)com>, "Sanjay Rathod" <srathod(at)zensutra(dot)com> |
Subject: | Re: [GENERAL][HACKERS]data fragmentation |
Date: | 2003-12-12 04:29:23 |
Message-ID: | BF493B193A334743AA9EF48945E69C13519176@exchange.india.zensutra.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin pgsql-general pgsql-hackers |
Hi,
I too had the same problem; There was one query which used to take a very long time. What I did was, I took a backup of the whole database. Reinstalled postgres on a different mount point and restored the data back into the new database. Now my queries are running faster. Try it. All the very best.
Somasekhar
-----Original Message-----
From: Jaime Casanova [mailto:el_vigia_ec(at)hotmail(dot)com]
Sent: Friday, December 12, 2003 3:07 AM
To: pgsql-general(at)postgresql(dot)org; pgsql-hackers(at)postgresql(dot)org; pgsql-admin(at)postgresql(dot)org
Subject: [GENERAL][ADMIN][HACKERS]data fragmentation
Hi,
i have a theorical question. i was thought that data fragmentation can cause
a
loss of performance when retrieving data from a database. Some DBMS solved
this
with dbspaces, but postgresql doesn't support this concept.
so, pgsql databases tend to suffer from data fragmentation?
if yes, what is the solution you recommend?
also i was thought that even when DBMS support dbspaces DELETEing records
may
cause data fragmentation anyway.
so, can i think of DELETE statement as a double-edged sword?
it is indifferent in pgsql - it doesn't support dbspaces anyway?
thanks in advance,
Jaime Casanova (el_vigia)
_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?
From | Date | Subject | |
---|---|---|---|
Next Message | Olivier Hubaut | 2003-12-12 08:11:55 | How to disconnect a user? |
Previous Message | Martin Marques | 2003-12-12 00:36:43 | Re: [ADMIN] PHP and autocommit of PostgreSQL 7.4 |
From | Date | Subject | |
---|---|---|---|
Next Message | Joel Rodrigues | 2003-12-12 04:32:37 | Re: make error Mac OS X (ar: illegal option -- s) |
Previous Message | Florian G. Pflug | 2003-12-12 03:24:32 | Re: Strange permission problem regarding pg_settings |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2003-12-12 06:49:26 | fsync method checking |
Previous Message | Marc G. Fournier | 2003-12-12 02:32:13 | Re: pgsql-server/src/bin/initdb nls.mk po/it.po |