Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XML
| Search | Today's Posts | Mark Forums Read
XML General XML discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XML section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 11th, 2003, 12:29 PM
Registered User
 
Join Date: Nov 2003
Location: Hyderabad, , India.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Indexing XML in relational database - performance

Hi there

What is the impact on performance if Indexing Approach is used with a relational database (MS SQL, MySQL or Oracle).

Indexing Approach or Indexing XML: The data records are stored in XML files, the XML files are stored in the file system and the Database holds a copy of part or whole of the record data.

Is it suggested to use the Indexing Approch. What is the best database to use Indexing Approach with?

Say, a table has 1,00,000 records.
The Indexing Approach is used with this table, which means the records are stored as XML files. And the database keeps the copy of 5 of 20 columns that are search-able.

If the database can execute 100 queries in 1 second in normal scenario, how many queries it may execute in 1 second if the above scenario?

And also how much may be the increase in CPU utilization?

Regards,
Venkat
 
Old November 13th, 2003, 03:49 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: Nor Hachin, Kotayk, Armenia.
Posts: 147
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to armmarti
Default

Hi,

your question is off-topic. However, indexing reduces the time complexity of search tasks from O(N) to O(log N). And the actual base of logarithm in concrete cases is about always greater than 2. So you can calculate the average improvement ;)

Regards,
Armen




Similar Threads
Thread Thread Starter Forum Replies Last Post
Relational SQL Data to XML - Vet SQL/ASP - New XML JimiTheJett XML 1 December 4th, 2008 06:06 PM
non-relational database Michel SQL Server 2000 4 February 21st, 2006 04:05 PM
applying Filters to a relational database ggiibboo Access 3 February 2nd, 2006 02:55 AM
indexing performance question BinFrog SQL Server 2000 1 February 23rd, 2005 11:47 PM
Post/Get from 2 Tables in Relational Database TSEROOGY Classic ASP Databases 1 November 16th, 2004 03:28 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.