What would be performance of pgSQL text search vs MySQL vs Lucene (flat
file) for a 2 terabyte db?
thanks for any comments.
..V
--
Please post on Rich Internet Applications User Interface (RiA/SoA)
<http://www.portalvu.co m>
---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to ma*******@postg resql.org so that your
message can get through to the mailing list cleanly 4 8892
On Thu, Sep 09, 2004 at 07:56:20AM -0500, Vic Cekvenich wrote: What would be performance of pgSQL text search vs MySQL vs Lucene (flat file) for a 2 terabyte db? thanks for any comments.
My experience with tsearch2 has been that indexing even moderately
large chunks of data is too slow to be feasible. Moderately large
meaning tens of megabytes.
Your milage might well vary, but I wouldn't rely on postgresql full
text search of that much data being functional, let alone fast enough
to be useful. Test before making any decisions.
If it's a static or moderately static text corpus you're probably
better using a traditional FTS system anyway (tsearch2 has two
advantages - tight integration with pgsql and good support for
incremental indexing).
Two terabytes is a lot of data. I'd suggest you do some research on
FTS algorithms rather than just picking one of the off-the-shelf FTS
systems without understanding what they actually do. "Managing
Gigabytes" ISBN 1-55860-570-3 covers some approaches.
Cheers,
Steve
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html
It be at least dual opteron 64 w 4 gigs of ram runing fedora with a huge
raid striped drives as single volume.
A similar system and types of querries would be this: http://marc.theaimsgroup.com
So I guess a table scan.
..V
Shridhar Daithankar wrote: On Thursday 09 Sep 2004 6:26 pm, Vic Cekvenich wrote:
What would be performance of pgSQL text search vs MySQL vs Lucene (flat file) for a 2 terabyte db?
Well, it depends upon lot of factors. There are few questions to be asked here.. - What is your hardware and OS configuration? - What type of data you are dealing with? Mostly static or frequently updated? - What type of query you are doing. Aggregates or table scan or selective retreival etc.
Unfortunatel y there is no one good answer. If you could provide details, it would help a lot..
Shridhar
---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddres sHere" to ma*******@postg resql.org)
--
Please post on Rich Internet Applications User Interface (RiA/SoA)
<http://www.portalvu.co m>
---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster
Steve Atkins wrote: What would be performance of pgSQL text search vs MySQL vs Lucene (flat file) for a 2 terabyte db? thanks for any comments.
My experience with tsearch2 has been that indexing even moderately large chunks of data is too slow to be feasible. Moderately large meaning tens of megabytes.
My experience with MySQL's full text search as well as the various
MySQL-based text indexing programs (forgot the names, it's been a while)
for some 10-20GB of mail archives has been pretty disappointing too. My
biggest gripe is with the indexing speed. It literally takes days to
index less than a million documents.
I ended up using Swish++. Microsoft's CHM compiler also has pretty
amazing indexing speed (though it crashes quite often when encountering
bad HTML).
--
dave
---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster
I'd say indexing of 2 TB of data would be a very costly even for
standalone solution ( no relational database ).
Ideal solution would be to have tsearch2 for current documents and
standalone solution for archive documents. If these solutions share
common parsers,diction aries and ranking schemes it would be easy to
combine results from two queries. We have prototype for standalone
solution - it's based on OpenFTS, which is already tsearch2 compatible.
Oleg
On Thu, 9 Sep 2004, Steve Atkins wrote: On Thu, Sep 09, 2004 at 07:56:20AM -0500, Vic Cekvenich wrote:
What would be performance of pgSQL text search vs MySQL vs Lucene (flat file) for a 2 terabyte db? thanks for any comments.
My experience with tsearch2 has been that indexing even moderately large chunks of data is too slow to be feasible. Moderately large meaning tens of megabytes.
Your milage might well vary, but I wouldn't rely on postgresql full text search of that much data being functional, let alone fast enough to be useful. Test before making any decisions.
If it's a static or moderately static text corpus you're probably better using a traditional FTS system anyway (tsearch2 has two advantages - tight integration with pgsql and good support for incremental indexing).
Two terabytes is a lot of data. I'd suggest you do some research on FTS algorithms rather than just picking one of the off-the-shelf FTS systems without understanding what they actually do. "Managing Gigabytes" ISBN 1-55860-570-3 covers some approaches.
Cheers, Steve
---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ?
http://www.postgresql.org/docs/faqs/FAQ.html
Regards,
Oleg
_______________ _______________ _______________ _______________ _
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: ol**@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83
---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Steve Jenkins |
last post by:
Hi,
Wonder if someone could help me. I'm looking for a PHP/MySQL based
search engine that can search flat files i.e. build it's own index
from flat files. I've used Apaches' Lucene before
(http://jakarta.apache.org/lucene/docs/index.html), so I'm looking for
something similar. If there's a pay-for product out there, I don'd
mind paying.
So, it needs:
|
by: AGB |
last post by:
Hi all,
I know this is a little off topic but I have been tasked with
implementing a search engine in my website. Does anyone have any
suggestions...I have looked at Google and Verity.
Thanks
|
by: David |
last post by:
Hi there,
I have been looking up various search engine material on the net. One that
looks promising is an article that Wrox published, which is no longer
available. I have the article, but cannot get the source code, as the
company that have taken over from wrox have decided to drop it in their
infinite wisdom.
So, does anyone have the source code for the articles?
|
by: ngocviet |
last post by:
I have a so big DB, It's about 10-100GB of text.
Now I want to create a searching function but It take too long when I
use LIKE from MySQL
Anyone know the best sollution?
Can I use Google Desktop search or an others?
Please help!
|
by: richard_b_lloyd |
last post by:
I've noticed that there are tons of tutories for creating search
engines / search pages using vb.net. What all of these tutorials don't
cover is how to parse the search text the user has enetered to handle
complex boolean searches such as, e.g. "Animal AND NOT (Cat OR Dog)"
Does anyone know of any good (Free) tutorials on text parsing that
could help me create a more complex parser than the normal and
restrictive boolean AND search on...
| |
by: Aquila Deus |
last post by:
Hi all!
Does anyone know a working full-text search engine for CJK text?
I have tried several but all of them seem to suck:
- MySQL full-text: cannot understand chinese "words" at all
- Sphinx: there is manual for using it CJK, but search result is
incorrect...
|
by: Ragavendran |
last post by:
Hi,
I am using this method for search:
Query =org.apache.lucene.queryParser.QueryParser.parse(String arg0) throws ParseException
Hits = org.apache.lucene.search.Searcher.search(Query query, Sort sort) throws IOException
Problem :
I cant able to search the word. If the word contain special character like , %BF It just taken that special character a empty space and search the remaining character
|
by: lak |
last post by:
I want to search within my page. How can I do that. When I searched in
the net, it tells to use the google search. But I want to do for my
web page. I am using intra-net system.
|
by: neoform |
last post by:
I was wondering what would be the best search application for indexing/
searching content? Fulltext in MySQL is too slow once you get a db
over 1GB. I played around with Zend's version of Lucene, but it
contains a few bugs that need to be fixed before I can use it..
Does anyone know of other search libs/apps out there that would work
well with php?
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |