473,387 Members | 1,619 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,387 software developers and data experts.

DB2 Viper Testdrive

5 1348
Just to give a brief idea, How XML in db2 is implemented as compared
to other Databases. XML in V9 DB2 is not stored as CLOB or BLOB
internally, nor shredded and stored as relational tables. XML is stored
as XML, rather as format which is in standards with w3c to enable
XQuery access to XML data. Which means that XML can be parsed by XQuery
Language (Like SQL For Relational data) and the XML file in one or more
pages in the table space, and the file is parsed only once to access
the data (because of architecture, when compared to be internal
implementation as LOBs).

What is in for App Developer is, once you store XML file in DB2 as XML
data type, you can use XQuery to access the data, can create
relational views out of XML data. Will not need complex transformations
that need to be done in application layer for manipulating the data,
most of XML manipulation can be done in Database layer.You can store
XML which adheres to some schema and hence do the checking using
database .

Another thing I feel, new for App Developer in Viper is the Label based
access control. You can define security policy for each object, even
attributes of the object (like columns in tables) and give access to
different roles.

Do check out Viper :) it has lots of autonomic features for
Administrators ..the who member management has gone for a an overhaul,
it faster, better and less maintanence.

Apr 6 '06 #2
Serge Rielau wrote:
ZD-Net article:

http://news.zdnet.com/2100-9593_22-6057835.html Download:
http://www.ibm.com/software/data/db2..._download.html Docs:
http://publib.boulder.ibm.com/infoce...w/v9/index.jsp

Enjoy Serge


Thanks for the interesting links on v9 ...

From reading the publib doc: Tutorial for native XML data store

"You can create tables with XML columns only in databases defined with the UTF-8 code set and a
compatible territory code."

But looking through the migration task(s), there is no mention of changing DB code sets.
What is the envisioned method to enable XML features into existing DB2 v8 sites?
Should a hybrid dual-DB configuration be employed, or better to first migrate v8 DBs to UTF-8 code set?
Eric

Apr 6 '06 #3
Eric.Jones wrote:
Serge Rielau wrote:
ZD-Net article:

http://news.zdnet.com/2100-9593_22-6057835.html Download:
http://www.ibm.com/software/data/db2..._download.html
Docs: http://publib.boulder.ibm.com/infoce...w/v9/index.jsp

Enjoy Serge


Thanks for the interesting links on v9 ...

From reading the publib doc: Tutorial for native XML data store

"You can create tables with XML columns only in databases defined with
the UTF-8 code set and a
compatible territory code."

But looking through the migration task(s), there is no mention of
changing DB code sets.
What is the envisioned method to enable XML features into existing DB2
v8 sites?
Should a hybrid dual-DB configuration be employed, or better to first
migrate v8 DBs to UTF-8 code set?

The strategy as I see it right now is to move to UTF-8 in the long haul.
Migration (I prefer the word upgrade myself) typically involves enabling
a DB on an old release to a new release without exploiting new features.
That's why you will find no mention in the docs on UTF-8 due to XML.
If you have existing DBs and you cannot/want not move them to UTF-8 at
this time, yet you want to start exploiting XML I would look into a
separate DB indeed.
For new applications starting of in UTF-8 may be in order.

In a future version I'd expect that a unicode db will provide a superset
of the capabilities as non-unicode and a whole sale move to UTF-8 will
be recommended in it's own right (with or without XML as added incentive)

Cheers
Serge
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab
Apr 6 '06 #4
hi Serge,

I tried to instal the new version of Db2(Viper)..But it fails
saying that I have db2 version 7 in my system and asks me to uninstal
the older version, where as I dont have dv2 v7 installed at all..i had
v8.2 which I had uninstalled long time back.
~ Tariq Rahiman

Apr 20 '06 #5
rAinDeEr wrote:
I tried to instal the new version of Db2(Viper)..But it fails
saying that I have db2 version 7 in my system and asks me to uninstal
the older version, where as I dont have dv2 v7 installed at all..i had
v8.2 which I had uninstalled long time back.

Best post your question here:
http://www-128.ibm.com/developerwork...rum=842&cat=19

Cheers
Serge
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab
Apr 20 '06 #6

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

Similar topics

1
by: david | last post by:
All I can see that viper adds is XML handling. Is there a list of other new features in Viper?
2
by: 2803stan | last post by:
I have an application which would very much benefit from what's described as "native XML" in Viper. It is written in VB6. >From what I read, I cannot use the "Native XML" features of VIPER...
0
by: Serge Rielau | last post by:
http://www.ibm.com/software/data/db2/9/openbeta.html -- Serge Rielau DB2 Solutions Development IBM Toronto Lab
2
by: Serge Rielau | last post by:
Hi folks, My fellow team mates had some extra time on their hands so we decided to spice up DB2 with a grab-bag of compatibility features. We wouldn't mind help validating the semantics...
33
by: Serge Rielau | last post by:
Hi folks, My fellow team mates had some extra time on their hands so we decided to spice up DB2 with a grab-bag of compatibility features. We wouldn't mind help validating the semantics...
1
by: Tonkuma | last post by:
DB2 Viper 2 compatibility features http://www.ibm.com/developerworks/db2/library/techarticle/dm-0707rielau/ It is very interesting and must be usefull. I want to know the plan when Viper 2 will...
6
by: vjayis | last post by:
hi i m just trying to learn frameworks and had started with yii. i had downloaded the files and unzipped into the root directory(htdocs) of my xampp server. and as per the documentation i...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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...

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.