Hi,
I need to know if my regular relational database, now in DB2 v9.1 can
be transformed to an XML database easily?
The data can very easily be represented in XML, but can I convert a
regular table into an XML table and retain Stored Procedures and
Triggers. I know that the latter would have to be modified, but how
much work is it, and is it even doable?
SS 4 2348 28******@gmail. com wrote:
Hi,
I need to know if my regular relational database, now in DB2 v9.1 can
be transformed to an XML database easily?
The data can very easily be represented in XML, but can I convert a
regular table into an XML table and retain Stored Procedures and
Triggers. I know that the latter would have to be modified, but how
much work is it, and is it even doable?
SS
That's a massive question and of course the standard answer will be "it
depends". Everything is do-able given enough this I suppose.
As a "starter for 10" however, one of the first prereqs for using PureXML
within a database is that it must be defined as UNICODE (UTF-8). Without
that, you are going to have to create a new database and migrate everything
into it. That could be a massive tasks for you : so a good first check.
In general I would not expect you to want to convert data currently in
relational format for storage as XML : it is just going to make everything
slower, and access more difficult. Where PureXML is a benefit is where
data currently has a need to be in XML format : for example, in our case,
we currently receive inbound data in XML format and shred it into
relational tables. When we get to V9 there will be real benefit in not
having to do all that shredding. However we will still need to rewrite
all existing accesses to use the XML data directly, and XQuery rather than
SQL, and we still have to evaluate the relative Cost / Benefit of doing
this.
HTH
Phil
On Mar 2, 2:47 am, Philip Nelson <team...@scotdb .comwrote:
2803s...@gmail. com wrote:
Hi,
I need to know if my regular relational database, now in DB2 v9.1 can
be transformed to an XML database easily?
The data can very easily be represented in XML, but can I convert a
regular table into an XML table and retain Stored Procedures and
Triggers. I know that the latter would have to be modified, but how
much work is it, and is it even doable?
SS
That's a massive question and of course the standard answer will be "it
depends". Everything is do-able given enough this I suppose.
As a "starter for 10" however, one of the first prereqs for using PureXML
within a database is that it must be defined as UNICODE (UTF-8). Without
that, you are going to have to create a new database and migrate everything
into it. That could be a massive tasks for you : so a good first check.
In general I would not expect you to want to convert data currently in
relational format for storage as XML : it is just going to make everything
slower, and access more difficult. Where PureXML is a benefit is where
data currently has a need to be in XML format : for example, in our case,
we currently receive inbound data in XML format and shred it into
relational tables. When we get to V9 there will be real benefit in not
having to do all that shredding. However we will still need to rewrite
all existing accesses to use the XML data directly, and XQuery rather than
SQL, and we still have to evaluate the relative Cost / Benefit of doing
this.
HTH
Phil
Thanks Phil,
Well, it sounds like I'd be better off sticking to old-fashion
relational. In fact, I can't see any situation where XML storage
(input, storage, retrieval) is of any advantage!
If someone from IBM is following this . . . Why should I (or anyone)
bother with XML at all? Even if the incoming and outgoing stuff is in
XML. It can be shredded to put into a plain relational table, and
reconstructed to XML with whatever XSD that's given?
SS
Stanley Sinclair wrote:
On Mar 2, 2:47 am, Philip Nelson <team...@scotdb .comwrote:
>2803s...@gmail .com wrote:
Hi,
I need to know if my regular relational database, now in DB2 v9.1 can
be transformed to an XML database easily?
The data can very easily be represented in XML, but can I convert a
regular table into an XML table and retain Stored Procedures and
Triggers. I know that the latter would have to be modified, but how
much work is it, and is it even doable?
SS
That's a massive question and of course the standard answer will be "it depends". Everything is do-able given enough this I suppose.
As a "starter for 10" however, one of the first prereqs for using PureXML within a database is that it must be defined as UNICODE (UTF-8). Without that, you are going to have to create a new database and migrate everything into it. That could be a massive tasks for you : so a good first check.
In general I would not expect you to want to convert data currently in relational format for storage as XML : it is just going to make everything slower, and access more difficult. Where PureXML is a benefit is where data currently has a need to be in XML format : for example, in our case, we currently receive inbound data in XML format and shred it into relational tables. When we get to V9 there will be real benefit in not having to do all that shredding. However we will still need to rewrite all existing accesses to use the XML data directly, and XQuery rather than SQL, and we still have to evaluate the relative Cost / Benefit of doing this.
HTH
Phil
Thanks Phil,
Well, it sounds like I'd be better off sticking to old-fashion
relational. In fact, I can't see any situation where XML storage
(input, storage, retrieval) is of any advantage!
If someone from IBM is following this . . . Why should I (or anyone)
bother with XML at all? Even if the incoming and outgoing stuff is in
XML. It can be shredded to put into a plain relational table, and
reconstructed to XML with whatever XSD that's given?
SS
I didn't suggest that the XML wasn't worth considering : in fact we have
been storing the inbound XML documents on our system "whole" as well as
shredding them, because we believe there are immense benefits to be had
from converting once we get our systems up to V9.
Shredding is a very costly process in terms of processing power. So
eliminating that from the mix will give us a lot of savings.
Phil
Stanley Sinclair wrote:
On Mar 2, 2:47 am, Philip Nelson <team...@scotdb .comwrote:
>2803s...@gmail .com wrote:
>>Hi, I need to know if my regular relational database, now in DB2 v9.1 can be transformed to an XML database easily? The data can very easily be represented in XML, but can I convert a regular table into an XML table and retain Stored Procedures and Triggers. I know that the latter would have to be modified, but how much work is it, and is it even doable? SS
That's a massive question and of course the standard answer will be "it depends". Everything is do-able given enough this I suppose.
As a "starter for 10" however, one of the first prereqs for using PureXML within a database is that it must be defined as UNICODE (UTF-8). Without that, you are going to have to create a new database and migrate everything into it. That could be a massive tasks for you : so a good first check.
In general I would not expect you to want to convert data currently in relational format for storage as XML : it is just going to make everything slower, and access more difficult. Where PureXML is a benefit is where data currently has a need to be in XML format : for example, in our case, we currently receive inbound data in XML format and shred it into relational tables. When we get to V9 there will be real benefit in not having to do all that shredding. However we will still need to rewrite all existing accesses to use the XML data directly, and XQuery rather than SQL, and we still have to evaluate the relative Cost / Benefit of doing this.
HTH
Phil
Thanks Phil,
Well, it sounds like I'd be better off sticking to old-fashion
relational. In fact, I can't see any situation where XML storage
(input, storage, retrieval) is of any advantage!
If someone from IBM is following this . . . Why should I (or anyone)
bother with XML at all? Even if the incoming and outgoing stuff is in
XML. It can be shredded to put into a plain relational table, and
reconstructed to XML with whatever XSD that's given?
Stanley,
XML storage shines when your schema fluctuates.
I.e. when you keep adding/dropping/changing columns to your table to a
point where you feel it to be unnerving that's a pretty good indicator.
A very good example are taxes. Every year rules change.
XML thrives on schema-evolution.
Cheers
Serge
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: mprocopio |
last post by:
Fellow JavaScripters,
I am looking for code or implementation ideas for converting an integer
variable to a four-byte array. I'm porting some of my code from C#,
where I make use of their BitConverter utility class, but am still
feeling my way around a bit here with JavaScript.
The idea is that each of the four bytes that comprise an integer (I
presume numeric types in JavaScript are/can be made four bytes?) are
extracted, and then...
|
by: Hako |
last post by:
I try this command:
>>> import string
>>> string.atoi('78',16)
120
this is 120 not 4E.
Someone can tell me how to convert a decimal number to hex number? Can
print A, B, C,DEF.
Thank you.
|
by: cpptutor2000 |
last post by:
Could some C guru help me please? A byte is an unsigned char in C.
How do I convert from a C string to a corresponding byte array. Any
help would be greatly appreciated.
|
by: Namratha Shah \(Nasha\) |
last post by:
Hey Group,
After a long week end I am back again. Its nice and refreshing after a short
vacation so lets get started with .NET once again.
Today we will discuss about Isolated Storage. This is one of the topics
which I find interesting as I feel that it has a lot of practical usage or
applicability.
We all know that all applications need some storage space to archive certain
|
by: 2redline |
last post by:
I am trying to write a query in access that will pull results that are
in the database in a text field and convert to where I can get a
average including decimals. Any Ideas?
-----------------------Start SQL--------------------------------------
SELECT AVG(CAST(dbo_sur_response_answer.answer_text AS int)) AS
avg_correct
FROM (dbo_sur_response_answer
INNER JOIN dbo_sur_subitem
| |
by: Bob Homes |
last post by:
In VB6, foreground and background colors of controls had to be assigned a
single number. If you knew the RGB values for the color, you still had to
convert them into the single number accepatable to the VB6 controls.
In VB.NET, you can't set colors that way anymore, now you have to use a
"color". There is a way to convert RGB values to a "color", using the
Color.FromARGB method. But there doens't seem to be a way to convert the old...
|
by: FAQ server |
last post by:
-----------------------------------------------------------------------
FAQ Topic - How do I convert a Number into a String with
exactly 2 decimal places?
-----------------------------------------------------------------------
When formatting money for example, to format 6.57634 to
6.58, 6.5 to 6.50, and 6 to 6.00?
Rounding of x.xx5 is uncertain, as such numbers are not
represented exactly. See section 4.7 for Rounding issues.
|
by: rtillmore |
last post by:
Hello,
I did a quick google search and nothing that was returned is quite
what I am looking for. I have a 200 character hexadecimal string that
I need to convert into a 100 character string.
This is what I have so far:
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
|
by: deshaipet |
last post by:
Hi Friends,
Is it possible to convert SMS tablespace to a DMS tablespace with Automatic Storage ? Please, let me know the chances.
Thanks
Pandith
|
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: 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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
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: 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: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |