Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

[PATCH]-hash index improving


  • From: "Xiao Meng" <mx(dot)cogito(at)gmail(dot)com>
  • To: pgsql-hackers(at)postgresql(dot)org
  • Cc: "Kenneth Marshall" <ktm(at)rice(dot)edu>, "Jonah H. Harris" <jonah(dot)harris(at)gmail(dot)com>
  • Subject: [PATCH]-hash index improving
  • Date: Thu, 17 Jul 2008 17:26:38 +0800
  • Message-id: <ded849dd0807170226h7c8df076p77aa0a3f86713add@mail.gmail.com> <text/plain>

The patch store hash code only in the index tuple.
It based on  Neil Conway's patch with an old version of PostgreSQL.
It passes the regression test but I didn't test the performance yet.
Anyone interested can make a performance test;-)
You can undefine the macro HASHVALUE_ONLY in hash.h to get the
original implementation.
It's a preliminary implementation and  I'm looking for input here.
Hope to hear from you.

-- 
Best Regards,
Xiao Meng

DKERC, Harbin Institute of Technology, China
Gtalk: mx(dot)cogito(at)gmail(dot)com
MSN: cnEnder(at)live(dot)com
http://xiaomeng.yo2.cn

Attachment: hash.patch
Description: Text Data



Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group