Re: [HACKERS] pg_dump Add dumping of comments on index columns

2009-07-14 Thread higepon
Jaime Casanova wrote: > this one looks good to me, the only adjust i made to the patch is Thank you for your review! --- Taro Minowa(Higepon) http://www.monaos.org/ http://code.google.com/p/mosh-scheme/ On Tue, Jul 14, 2009 at 4:34 PM, Jaime Casanova wrote: > On Thu, Mar 26, 2009 a

[HACKERS] WAL dump tool

2009-05-08 Thread higepon
, TimeLineID and ? Best regards, - MINOWA Taro (Higepon) Cybozu Labs, Inc. http://www.monaos.org/ http://code.google.com/p/mosh-scheme/ -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers

Re: [HACKERS] Extra cost of "lossy mode" Bitmap Scan plan

2009-05-08 Thread higepon
Hi. > fashion --- for instance, each page is read only once.  Index scan will > result in a random sequence of accesses to the heap.  (Of course, it > might have some order if the index is well correlated with the heap > order, but most of the time that's not true.) Thank you. I finally understan

Re: [HACKERS] Extra cost of "lossy mode" Bitmap Scan plan

2009-05-06 Thread higepon
an and Bitmap Scan scans index on emp_no and they are almost same cost. In addition Bitmap Scan creates a bitmap. So Bitmap Scan is a little bit slower? Best regards, - MINOWA Taro (Higepon) Cybozu Labs, Inc. http://www.monaos.org/ http://code.google.com/p/mosh-scheme/ On Tue, Apr 28,

Re: [HACKERS] Extra cost of "lossy mode" Bitmap Scan plan

2009-04-28 Thread higepon
e, it may choose better plans than now. Or the second option is to show some hints to people who are doing performance tuning. (a) Write trace log when bitmap scans falls into "lossy" mode. (b) Show "lossy" or not on Explain results. Best regards, - MINOW

Re: [HACKERS] Extra cost of "lossy mode" Bitmap Scan plan

2009-04-27 Thread higepon
mains to be solved is "How much extra cost should we add for lossy mode?". Any ideas? Best regards, - MINOWA Taro (Higepon) Cybozu Labs, Inc. http://www.monaos.org/ http://code.google.com/p/mosh-scheme/ -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To ma

[HACKERS] Extra cost of "lossy mode" Bitmap Scan plan

2009-04-27 Thread higepon
m_maxentries = work_mem * 1024L; if (estimatedNumLows < tbm_maxentries) { /* not lossy */ } else { /* lossy : we may add some extra costs to total costs */ } Any ideas how to do this? Best regards, - MINOWA Taro (Higepon) Cybozu Labs, Inc. http://www.monaos.org/ http://code.

Re: [HACKERS] Auto-delete large objects when referencing row is deleted

2009-04-07 Thread higepon
== the negative points of bytea: memory hungry. slower than large objects. 1GB limitation. the negative points of large objects: ghost problem (no auto-delete). unable to store number of objects greater than 2^32. =========

Re: [HACKERS] Auto-delete large objects when referencing row is deleted

2009-04-07 Thread higepon
s a user of database, I think contrib/lo is not the best way. Because it's not a part of core PostgreSQL, users may forget to use them. Or it is a little messy to use. So I think we need to implement *Auto* delete functionality in PostgreSQL core. Cheers. - Taro Minowa(Higep

[HACKERS] Auto-delete large objects when referencing row is deleted

2009-04-06 Thread higepon
. (1) Define a new type for large object Same as Plan A. (unnecessary ?) (2) Delete on VACUUM On VACUUM, we check all tables which have "lo type", and delete un-referenced large objects. We may add a option "deleting large objects automatically&quo

Re: [HACKERS] pg_dump Add dumping of comments on index columns

2009-03-26 Thread higepon
Hi. > Since we are about to go to beta, it may be that no one is up for > reviewing it right now.  But I've added it to the CommitFest page for > the next CommitFest. Thank you. I wait until the next CommitFest. - Taro Minowa(Higepon) http://www.monaos.org/ http://code.goo

Re: [HACKERS] pg_dump Add dumping of comments on index columns

2009-03-26 Thread higepon
bar.b3; Type: COMMENT; Schema: public; Owner: taro -- COMMENT ON COLUMN bar.b3 IS 'column of a composite type b3'; Would someone please review this? Cheers. - Taro Minowa(Higepon) Cybozu Labs, Inc. http://www.monaos.org/ http://code.google.com/p/mosh-scheme/ On Tue, Mar 24, 2009 at 1

Re: [HACKERS] pg_dump Add dumping of comments on index columns

2009-03-24 Thread higepon
table. > Do we support comments on composite types If we do, I will also write a patch for it. Cheers. - Taro Minowa(Higepon) http://www.monaos.org/ http://code.google.com/p/mosh-scheme/ On Tue, Mar 24, 2009 at 11:10 PM, Bruce Momjian wrote: > higepon wrote: >> Hi. &g

[HACKERS] pg_dump Add dumping of comments on index columns

2009-03-23 Thread higepon
mp out COMMENT statements like following? COMMENT ON COLUMN some_index.index_column1 IS 'Hello column1'; Can anybody give me some advice on this? Best regards, - Taro Minowa(Higepon) http://www.monaos.org/ http://code.google.com/p/mosh-scheme/ -- Sent via pgsql-hackers mailing

[HACKERS] pg_dump Add dumping of comments on index columns

2009-03-23 Thread higepon
mp out COMMENT statements like following? COMMENT ON COLUMN some_index.index_column1 IS 'Hello column1'; Can anybody give me some advice on this? Best regards, - Taro Minowa(Higepon) http://www.monaos.org/ http://code.google.com/p/mosh-scheme/ -- Sent via pgsql-hackers mailing