Solved

Questions about XML type databases

Posted on 2013-02-07
6
326 Views
Last Modified: 2013-02-28
Hello all,

There is a  database which is of type xml ..i mean all the tables are xml tye and it contaings huge blob data.  The application team are running a process and it is running for more than one day.. so  have to increase the performance of that.. hiow can i check the stats on that table and how can i update the stats.  when i query like the regular tables to check the stats...it is not showing anything

like this.so please advise how to handle xml type tables/databases

select last_analyzed from dba_tables where table_name ='PS_IN_DEMAND_ADDR';
sql>no rows selected
0
Comment
Question by:bhanu823
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 77

Expert Comment

by:slightwv (䄆 Netminder)
ID: 38865217
>>sql>no rows selected

This means you don't have a table called 'PS_IN_DEMAND_ADDR'.  At best you get a null value for last_analyzed.

>>so please advise how to handle xml type tables/databases

The answer to this depends on how the XML is being used/accessed.

For example, "The application team are running a process and it is running for more than one day",  What is this doing?
0
 

Author Comment

by:bhanu823
ID: 38865259
whn i look up the toad the table is there. the tables are  there but dont know hot to update the stats or to check
0
 
LVL 77

Expert Comment

by:slightwv (䄆 Netminder)
ID: 38865268
>>whn i look up the toad the table is there.

Then DBA_TABLES should see it.

>>but dont know hot to update the stats or to check

Checking is with last_analyzed column of dba_tables.  There are other important columns in there as well but this will tell you when it was done.

As for updating them, check the online docs for DBMS_STATS.

Until we know more about what the app is doing, I cannot suggest what stats you might need to collect.

What makes you think it is a stats issue?
0
Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

 
LVL 32

Expert Comment

by:awking00
ID: 38865334
>>The application team are running a process and it is running for more than one day.. so  have to increase the performance of that<<
Do you have xmlindexes on your tables?
0
 
LVL 77

Expert Comment

by:slightwv (䄆 Netminder)
ID: 38865349
>>Do you have xmlindexes on your tables?

I'm thinking that until we know what the process is doing with the XML, xmlindexes may not be any benefit.
0
 
LVL 32

Accepted Solution

by:
awking00 earned 500 total points
ID: 38865405
slightwv,
I agree with you. The reason I was asking was that xmlindexes can dramatically reduce performance if inserts are being made, but greatly enhance performance if data is being extracted, which is where I was heading with the next question if the answer to the first was yes.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction A previously published article on Experts Exchange ("Joins in Oracle", http://www.experts-exchange.com/Database/Oracle/A_8249-Joins-in-Oracle.html) makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question