X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id C6ECD9DCAEF for ; Tue, 6 Dec 2005 12:48:40 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 41560-05 for ; Tue, 6 Dec 2005 12:48:39 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from pobox.globalherald.net (pobox.octoberridge.com [192.122.208.6]) by postgresql.org (Postfix) with ESMTP id 8DFF39DCAB0 for ; Tue, 6 Dec 2005 12:48:38 -0400 (AST) Received: from pobox.octoberridge.com (pobox.octoberridge.com [192.122.208.6]) by pobox.globalherald.net (Postfix) with ESMTP id 7605F1C286 for ; Tue, 6 Dec 2005 11:47:44 -0500 (EST) Date: Tue, 6 Dec 2005 11:47:44 -0500 (EST) From: Joshua Kramer X-X-Sender: josh@localhost.localdomain To: pgsql-performance@postgresql.org Subject: TSearch2 vs. Apache Lucene Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.371 required=5 tests=[AWL=0.371] X-Spam-Score: 0.371 X-Spam-Level: X-Archive-Number: 200512/170 X-Sequence-Number: 15991 Greetings all, I'm going to do a performance comparison with DocMgr and PG81/TSearch2 on one end, and Apache Lucene on the other end. In order to do this, I'm going to create a derivative of the docmgr-autoimport script so that I can specify one file to import at a time. I'll then create a Perl script which logs all details (such as timing, etc.) as the test progresses. As test data, I have approximately 9,000 text files from Project Gutenberg ranging in size from a few hundred bytes to 4.5M. I plan to test the speed of import of each file. Then, I plan to write a web-robot in Perl that will test the speed and number of results returned. Can anyone think of a validation of this test, or how I should configure PG to maximise import and search speed? Can I maximise search speed and import speed, or are those things mutually exclusive? (Note that this will be run on limited hardware - 900MHz Athlon with 512M of ram) Has anyone ever compared TSearch2 to Lucene, as far as performance is concerned? Thanks, -Josh