Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: How to store emails with fulltext index

Re: How to store emails with fulltext index

From: Marten Lehmann <lehmannmapson_at_cnm.de>
Date: Tue, 27 Nov 2007 23:38:30 +0100
Message-ID: <5r3kmvF12jhd0U1@mid.individual.net>


Hello,

> And no - Oracle is an RDBMS, not an email server, and does not
> know email record types.

well, I just thought that some databases have special record types for objects, 3d coordinates, barcodes etc.; so maybe some database has RFC822 as well.

> I would think oracle stores the email in CLOBs (Character Large
> OBjects), attachments in BLOBs (Binary Large Objs). Both
> can be indexed, using OracleText.

There is another point: MOst emails are indeed pure text, so there the size could be reduced very much using compression. But I don't know if it is possible to compress the mail on the one hand and have a fulltext index on the other.

> Of course, you could buy an Oracle Collaboration Suite licence,
> which includes Oracle's email implementation - better than Exchange,
> so they say.

Well, we don't need Exchange or a Collaboration Suite as we are developing an own special collab/ticket software customized to our needs which integrates perfectly into our own CRM software.

> Oh - and varchar2 objects can be text indexed as well; guess
> the majority of mails fits in 4000 characters (using a decent
> mail program, that produces plain text), like TBird

I wouldn't swear that all messages have a size of less than 4000 characters. Surely, most messages are smaller, but what shall I do with messages greater than that? Is the maximum limit of varchar2 really 4k? I cannot imagine that. I've seen much greater values at MySQL, Postgresql or Sybase.

Regards
Marten Received on Tue Nov 27 2007 - 16:38:30 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US