Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Database efficiency question
Hi! I have a colleague who posed the following scenario and questions
for comment, and I thought I would get the opinions of a broader
audience. What is your experience and/or
guess about the following scenario:
I'm defining the schema for a new table and I'd like your thoughts on efficiency and speed issues.
I'm setting up a table that has three columns -- object, attribute, and value. A simple example:
Object Attribute Value ------------------------------------------------------------string..."
"http://foobar.com/doc.html" "author" "H. Simpson"
"http://foobar.com/doc.html" "summary" "some possibly long
I'm trying to decide what datatype to use for the value column. This
ordinariliy will be a string that could be expressed in 255 characters
or
less. About 10% of the time, though, it will be a string that could be
quite long (more than 2000 characters).
Questions:
table would just point to entries in these datatype-specific tables. It
seems to me that this extra redirection would hurt performance. But
would
it save on disk or memory usage?
3. Should I be considering some of Oracle's OO capabilities for this?
Thanks in advance for any thoughts you have on this matter.
Beth Received on Thu Jan 28 1999 - 12:36:40 CST
![]() |
![]() |