Re: [PERFORM] Visual Explain

2004-06-17 Thread Adam Witney

Will this run on other platforms? OSX maybe?

 I've known about this tool for a while, but it seems many people do not
 know of its existence and I think it would be useful to a lot of people
 who have a hard time reading explain analyze output. (And even those
 who can read them without blinking.. when you get deep in join hell it
 gets tricky!)
 
 Red Hat Visual Explain - part of Red Hat Database.
 
 It is what the name implies - a graphical (java) program to draw a
 picture of your query plan (along with all the juicy information
 explain analyze provides).   I just tried it out today and after
 upgrading my JDBC to 7.4 it worked fine (If you get a message about SET
 AUTOCOMMIT then you need to upgrade your jdbc jar)
 
 Quite handy for getting a grasp on stupidly large query plans.
 
 http://sources.redhat.com/rhdb/visualexplain.html
 
 I used the CVS version, I have no idea how well the official releases
 work.
 Anyone else using it?
 
 
 --
 Jeff Trout [EMAIL PROTECTED]
 http://www.jefftrout.com/
 http://www.stuarthamm.net/
 
 
 ---(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


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


---(end of broadcast)---
TIP 2: you can get off all lists at once with the unregister command
(send unregister YourEmailAddressHere to [EMAIL PROTECTED])


Re: [PERFORM] Visual Explain

2004-06-17 Thread Paul Thomas
On 17/06/2004 12:10 Adam Witney wrote:
Will this run on other platforms? OSX maybe?
It's a Java app so it runs on any any platform with a reasonably modern
Java VM.
--
Paul Thomas
+--+-+
| Thomas Micro Systems Limited | Software Solutions for 
Business |
| Computer Consultants | 
http://www.thomas-micro-systems-ltd.co.uk   |
+--+-+

---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?
  http://www.postgresql.org/docs/faqs/FAQ.html


Re: [PERFORM] Visual Explain

2004-06-17 Thread Jeff
On Jun 17, 2004, at 7:10 AM, Adam Witney wrote:
Will this run on other platforms? OSX maybe?
I've run it on both linux (rh8) and osx (panther).
its java so it *should* run anywhere.
It isn't the fastest beast in the world though. takes a bit of time to 
render the plan.

--
Jeff Trout [EMAIL PROTECTED]
http://www.jefftrout.com/
http://www.stuarthamm.net/
---(end of broadcast)---
TIP 2: you can get off all lists at once with the unregister command
   (send unregister YourEmailAddressHere to [EMAIL PROTECTED])


Re: [PERFORM] Visual Explain

2004-06-17 Thread Vitaly Belman
Is it possible to download the Visual Explain only (link)? I only see
that you can donwload the whole ISO (which I hardly need).

On Thu, 17 Jun 2004 13:52:15 +0100, Paul Thomas [EMAIL PROTECTED] wrote:
 
 
 On 17/06/2004 12:10 Adam Witney wrote:
 
  Will this run on other platforms? OSX maybe?
 
 It's a Java app so it runs on any any platform with a reasonably modern
 Java VM.
 
 --
 Paul Thomas
 +--+-+
 | Thomas Micro Systems Limited | Software Solutions for
 Business |
 | Computer Consultants |
 http://www.thomas-micro-systems-ltd.co.uk   |
 +--+-+
 
 ---(end of broadcast)---
 TIP 5: Have you checked our extensive FAQ?
 
   http://www.postgresql.org/docs/faqs/FAQ.html


---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster


Re: [PERFORM] Visual Explain

2004-06-17 Thread Vitaly Belman
I see. Thanks :).

On Thu, 17 Jun 2004 18:35:11 +0100, Paul Thomas [EMAIL PROTECTED] wrote:
 
 On 17/06/2004 17:54 Vitaly Belman wrote:
  Is it possible to download the Visual Explain only (link)? I only see
  that you can donwload the whole ISO (which I hardly need).
 
 You can get it from CVS and build it yourself.
 
 
 
 --
 Paul Thomas
 +--+-+
 | Thomas Micro Systems Limited | Software Solutions for
 Business |
 | Computer Consultants |
 http://www.thomas-micro-systems-ltd.co.uk   |
 +--+-+


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


[PERFORM] Slow vacuum performance

2004-06-17 Thread Patrick Hatcher




Pg:  7.4.2
RedHat 7.3
Ram: 8gig

I have 6 million row table that I vacuum full analyze each night.  The time
seems to be streching out further and further as I add more rows.  I read
the archives and Josh's annotated pg.conf guide that setting the FSM higher
might help.  Currently, my memory settings are set as such.  Does this seem
low?

Last reading from vaccum verbose:
  INFO:  analyzing cdm.cdm_ddw_customer
INFO:  cdm_ddw_customer: 209106 pages, 3000 rows sampled, 6041742
estimated total rows
I think I should now set my max FSM to at least 21 but wanted to make
sure

shared_buffers = 2000   # min 16, at least max_connections*2, 8KB
each
sort_mem = 12288# min 64, size in KB

# - Free Space Map -

max_fsm_pages = 10  # min max_fsm_relations*16, 6 bytes each
#max_fsm_relations = 1000   # min 100, ~50 bytes each


TIA

Patrick Hatcher
Macys.Com


---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?

   http://www.postgresql.org/docs/faqs/FAQ.html