Matthew Wakeling <matthew@xxxxxxxxxxx> wrote: > I have implemented the very same algorithm as in Postgres, emulating > index pages and all. > The java program uses as near an on-disc format as Postgres does - > just held in memory instead of in OS cache. Interesting. Hard to explain without a lot more detail. Are they close enough in code structure for a comparison of profiling output for both to make any sense? Have you tried switching the calling convention yet; and if so, what impact did that have? -Kevin -- Sent via pgsql-performance mailing list (pgsql-performance@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance