question archive Compare the use of XML with the use of a relational database with regard to a) Query speed b) Ease of transfer of data between different data repositories c) Suitability for representing semi-structured data d) Human readability of stored data
Subject:Computer SciencePrice:3.87 Bought7
Compare the use of XML with the use of a relational database with regard to
a) Query speed
b) Ease of transfer of data between different data repositories
c) Suitability for representing semi-structured data
d) Human readability of stored data
Answer :-
By using the xml in the relational data base the total perception of visualising the structure of the data gets changed. And aprt from using the table and normalization in the traditional way there is xml handle the these thins in its own way. Even the querying process gets changed by using xml for storing the data.
(1) Querying speed :- As the traditional way of storing data not used here, it gets stored by using xml format. so the querying mechanism also changes.These queries done by using XML path language. And by doing so speed also improves for querying.
(2) XML is a data foramt which is basically known for the data transfer only. Its priority is data transfer and getting used for this purpose on web. So in order to repo data transfer it is extensivly smooth if someone know how to do it.
(3) By using xml the semi structured data can be represented in more natural way than the traditional system of data representation. It is hierarchical and data in this mode is more understandable and presentable.
(4) XML is human redable format, and by querying on this type of stored data . Result which comes is easily readable. The attribute and its value written in front of each other and every things remains crystal clear. For a novish in start it takes a bit focus to understand then it becomes handy.