[PERFORM] Substitute for this oracle query in postGre

2004-04-04 Thread Kamalraj Singh Madhan
Hi Friends,
Does anybody know the substitute of the oracle function 'connect by
prior' in postgre sql.
  The query is basically being used to get a tree structure of records. The
query in oracle is :-

select pkmsgid
from mstmessage
connect by prior pkmsgid = msgparentid
start with msgparentid = 1

Kindly suggest.

regards
Kamal



*
Network Programs is a SEI CMM Level 5 Certified Company

The information contained in this communication (including any attachments) is
intended solely for the use of the individual or entity to whom it is addressed
and others authorized to receive it. It may contain confidential or legally
privileged information. If you are not the intended recipient you are hereby
notified that any disclosure, copying, distribution or taking any action in
reliance on the contents of this information is strictly prohibited and may be
unlawful. If you have received this communication in error, please notify us
immediately by responding to this email and then delete it from your system.
Network Programs (India) Limited is neither liable for the proper and complete
transmission of the information contained in this communication nor for any
delay in its receipt.
*


---(end of broadcast)---
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]


[PERFORM] Optimizing Performance

2003-10-27 Thread Kamalraj Singh Madhan
Hi,
  I'am having major performance issues with post gre 7.3.1 db. Kindly suggest all 
the possible means by which i can optimize the performance of this database. If not 
all, some ideas (even if they are common) are also welcome. There is no optimisation 
done to the default configuration of the installed database. Kindly suggest.  

regards
Kamalraj

---(end of broadcast)---
TIP 8: explain analyze is your friend


[PERFORM] Optimizing Performance

2003-10-30 Thread Kamalraj Singh Madhan
Hi,
  I'am having major performance issues with post gre 7.3.1 db. Kindly suggest all 
the possible means by which i can optimize the performance of this database. If not 
all, some ideas (even if they are common) are also welcome. There is no optimisation 
done to the default configuration of the installed database. Kindly suggest.  

regards
Kamalraj

---(end of broadcast)---
TIP 9: the planner will ignore your desire to choose an index scan if your
  joining column's datatypes do not match


[PERFORM] Dump restoration via archive files

2003-12-01 Thread Kamalraj Singh Madhan
Hi,
I'am taking dump of a huge database and do not want the restoration of
that dump to take a lot of time as is the case when you take the dump in
text files. I want to take the dump as an archive file and get it restored
in very less time. I'am not able to figure out what is the command for
taking dump of a database in a archive file. Kindly help it's urgent.

thanks and regards
Kamalraj Singh


---(end of broadcast)---
TIP 6: Have you searched our list archives?

   http://archives.postgresql.org