473,394 Members | 2,020 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Structured Types

I've been looking at the information on Structured Types in the certifcation
guide and have previously read it in the DB2 manuals. As neat as Structured
Types are, I'm very curious to know if they are being heavily used in the
real world? Or are they just a "nice to have" feature that no one actually
uses?

I'm also curious to know if anyone is finding them dramatically better than
regular tables? If so, WHY are they finding the structured types so good?

--

Rhino
Dec 10 '07 #1
4 1792
rhino wrote:
I've been looking at the information on Structured Types in the certifcation
guide and have previously read it in the DB2 manuals. As neat as Structured
Types are, I'm very curious to know if they are being heavily used in the
real world? Or are they just a "nice to have" feature that no one actually
uses?
If you ask me OO in RDBMS was a knew-jerk reaction to fend of OODBMS
(which, as well all know now remained niche products).
Teh only common usage scenarios in DB2 for structured types are the
spatial extenders.
I'm also curious to know if anyone is finding them dramatically better than
regular tables? If so, WHY are they finding the structured types so good?
I don't think you can compare structured types with tables. Unless you
mean typed tables vs. regular tables.
If anything I would compare structured types with XML.

Cheers
Serge
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab
Dec 10 '07 #2
rhino wrote:
I've been looking at the information on Structured Types in the
certifcation guide and have previously read it in the DB2 manuals. As neat
as Structured Types are, I'm very curious to know if they are being
heavily used in the real world? Or are they just a "nice to have" feature
that no one actually uses?

I'm also curious to know if anyone is finding them dramatically better
than regular tables? If so, WHY are they finding the structured types so
good?
I think Serge already summed it up quite nicely. As a bit of background
information on the DB2 Spatial Extender: structured types were used in this
product to provide encapsulation for different pieces of geometries and
also to tie special spatial indexing mechanisms. (The indexing questions
could be solved in different ways, too.) Internally, the spatial data
types contain a BLOB in which all the geometry data is encoded.

I consider one thing as a really nice feature for structured types: if you
wrap a BLOB/CLOB into such a type, you can exploit the buffer pools for
small LOBs while really large objects are treated as always.

--
Knut Stolze
DB2 z/OS Utilities Development
IBM Germany
Dec 10 '07 #3
Knut Stolze wrote:
I consider one thing as a really nice feature for structured types: if you
wrap a BLOB/CLOB into such a type, you can exploit the buffer pools for
small LOBs while really large objects are treated as always.
True... but that's hardly an OO feature. After fixing blocking and DRDA
inlining for LOBs in DB2 9.5 there's hope this OO advantage's days are
numbered.

Cheers
Serge
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab
Dec 10 '07 #4
Serge Rielau wrote:
Knut Stolze wrote:
>I consider one thing as a really nice feature for structured types: if
you wrap a BLOB/CLOB into such a type, you can exploit the buffer pools
for small LOBs while really large objects are treated as always.

True... but that's hardly an OO feature.
Naturally...
After fixing blocking and DRDA
inlining for LOBs in DB2 9.5 there's hope this OO advantage's days are
numbered.
In case I can vote here: I'm all for it. ;-)

--
Knut Stolze
DB2 z/OS Utilities Development
IBM Germany
Dec 11 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Hoang | last post by:
Does anyone know of a Structured Text or ReStructured Text interactive previewer? As you know, learning these rules and making mistakes will cause you to iterate between editing and viewing. Has...
4
by: Dov Moryusef | last post by:
Hi to all, Is it possible to use replication with tables which contain structured type ? I know that it’s impossible to use import/export fonctions with strutured type but I don’t know about...
4
by: nekiv90 | last post by:
Greetings, I was able to create the structured type: CREATE TYPE address_t AS ( street char(30), city char(15), state char(10), postcode smallint ) MODE...
3
by: _link98 | last post by:
Running DB2 ESE V8.1.8 on WinXP. This is Fixpak 8. Have a structured-type and some methods for that type. One of my methods needs to do insert / update on tables. The type specification...
4
by: Dharmesh | last post by:
Hi every1, I am learning ASP.NET and came accross problem of storing my classes object and I want its scope to be request. Is there a way do that. I found the only way to store structured values...
3
by: Gregory Gadow | last post by:
Is there a way to create structured files in .NET 2.0? Essentially, I want to take a hierarchic web site and convert it to a single, navigatable file similar to the compiled help, but using my own...
7
by: Genus Neduba | last post by:
Hi, is it actually possible to create a table that has a UDT as a column datatype? e.g.: CREATE TYPE addressType AS ( street INTEGER, zip VARCHAR(30)) MODE DB2SQL
1
by: peter | last post by:
Hi, I want to test using structured UDT, so I was wondering if there is some sample that give me quick understanding of what is possible for generating structured using the method specification...
1
AmberJain
by: AmberJain | last post by:
HELLO, First of all, I accept that this is a too simple question but I got different opinions in different books and so I'm posting it here...... The question is simple.....Is C a block...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
Oralloy
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
tracyyun
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.