- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- learning about type of dml activity on an oracle t...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2003 03:12 AM
тАО07-29-2003 03:12 AM
learning about type of dml activity on an oracle table
Some of Oracle's management suggestions depend on how a table is used - just inserts - lots of updates, etc.
Is there some way to collect information about a table over time, and then be able to make some educated guesses about the type of changes?
What I've started to do is weekly analyzes, then run a script to collect some information from dba_tables and dba_indexes. Our application has been running for over 2 years, and I'm going to be rebuilding the database in a month or so. I'd like to know what tables might benefit from changes to pctfree or initrans or other changes. I've been able to identify tables with no records, tables with no growth, and tables that grow. Now I just need to take it a bit farther. What tables have pretty much all inserts with few updates? What tables have a lot of updates?
Suggestions?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2003 03:40 AM
тАО07-29-2003 03:40 AM
Re: learning about type of dml activity on an oracle table
have a look at the V$SQL* views in the database. You might be able to extract nad postprocess the data you want.
HTH,
Michael.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2003 03:45 AM
тАО07-29-2003 03:45 AM
Re: learning about type of dml activity on an oracle table
Ever thought about using the Oracle Enterprise Manager ? Uselful tool.
What about doing an export of the database structure ( full export with no rows / compress extents =y ) ?
That might give you an idea, how much space you will need.
You can edit the export file and extract the create statements for the tablespaces.
Rgds
Alexander M. Ermes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2003 05:15 AM
тАО07-29-2003 05:15 AM
Re: learning about type of dml activity on an oracle table
SQL> alter table
Then, use the dbms_stats package to periodically collect table statistics. The dba_tab_modifications view will be updated with this information (number of inserts, updates, deletes etc). Under 8i this information is only updated every 3 hours so you may have to wait for a while to see the data.
If you've got metalink access have a look at note 102334.1 for full details.
Regards,
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2003 06:22 AM
тАО07-29-2003 06:22 AM
Re: learning about type of dml activity on an oracle table
Just to clarify my issue.
I need a way to look at a table and recognize that
this table is pretty much all inserts with few updates
where another table would have a lot of updates.
Like I said before, I am collecting periodic statistics, so I
have a good idea which tables are growing. I'm trying to find out
what tables have a lot of chaining or migration. The same for indexes,
which ones need to be rebuilt, or have parameters changed?
There is a lot of information on metalink, but it's dependant on knowing
the characteristics of a particular table - how do I find that out?
Thanks again