How to find the frequently updated columns in a table
Hi ,
I need to find out all the columns of a tables which are frequently getting updated.
is there any way that I can achieve this ? I am not sure if any meta data information for DML operations exist in Oracle 9 i. Any input is welcome.
Thanks in Advance !!
Thank u , i am thinking the same, Thanks for the suggestion.
any other idea.... like is there any system table which we can query to get details about these dml operations on a table ?are there any kind of system audit tables in oracle where these get recorded ?
Similar Messages
-
How to find the number of columns in an internal table DYNAMICALLY ?
Hi,
How to find the number of columns in an internal table DYNAMICALLY ?
Thanks and Regards,
saleem.Hi,
you can find the number of columns and their order using
the <b>'REUSE_ALV_FIELDCATALOG_MERGE'</b>
call function 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
I_PROGRAM_NAME = sy-repid
I_INTERNAL_TABNAME = 'ITAB'
I_INCLNAME = sy-repid
changing
ct_fieldcat = IT_FIELDCAT
EXCEPTIONS
INCONSISTENT_INTERFACE = 1
PROGRAM_ERROR = 2
OTHERS = 3
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif
now describe your fieldcat . and find no of columns.
and their order also..
regards
vijay -
How to find the last update date time and user of record field peoplecode
how to find the last update date time record field peoplecode?
Thank you.One can check the last update date time using the following query
SELECT LASTUPDDTTM FROM PSPCMPROG WHERE OBJECTVALUE1 LIKE 'RECNAME' AND OBJECTVALUE2 LIKE 'FIELDNAME' -
How to find the structure fields data in database tables?
how to find the structure fields data in database tables?
Your question doesn't appear to be Web Dynpro ABAP related. Please only post questions in this forum if they are directly Web Dynpro ABAP related. There are several other more general ABAP related forums.
-
How to find the DB schema of XI DB tables to operate on the XI DB table
Hi all,
I have to execute some queries on internal XI DB. For this I need the schema name of the DB table where the data about the message is available. Can anyone tell, how to find the DB schema-name of the DB table? I have PI 7.1 system with internalDB.
How to access the DB of the PI 7.1 system using NWA?
Regards,
SooryaHi,
The PI 7.1 Server shall definitely posses a Database. This Database shall have the ABAP and Java Dictionary tables in 2 different database schemas.You sholud be getting the names of the schema from the basis team supporting your server.
I hope your are referring to the Java DB Schema for access. In order to get the schema name for the Java Dictionary, you should have access to the NetWeaver Adminstrator (NWA) of the PI Server.
Logon to NWA, navigate to Configuration Management --> Infrastructure --> Application Resources. Select the Resurce Type to show as JDBC Drivers. Select the system driver and click on Dependent JDBC Datasources. This table should give you the schema name of the Java Table Storage of the PI 7.1 server.
Regards,
Alka. -
Query to find the no of columns in a table
Is there a query to find the total number of columns in a table?
Dou you know read?
-- the number of rows in a table named yourtable:
select count(1) from yourtable;
-- the number of columns in a table
-- If is a user's table:
select count(1)
from user_tab_columns
where table_name='YOURTABLE'
--If it is´t
select count(1)
from DBA_tab_columns
where owner = 'USEROWNER'
and table_name='YOURTABLE' -
How to find the last update on the datafile ?
Hi All,
Is there any way where I can find out the last update (DML) that was done on the datafile.
Thanks in advance,
HussainWhat is the business requirement you're trying to satisfy?
It doesn't really make sense to talk about DML on a data file. DML is applied to an object. That object resides in one or more tablespaces. Each tablespace has one ore more data files. So if you update table T which has partitions P1 and P2 in tablespaces TS1 and TS2 and each tablespace has two data files DF1 - DF4, are you really looking to determine when there was DML on T? On P1 or P2? On TS1 or TS2? Or do you really care which data file a particular update affected? What are you going to do with that information?
And are you really only concerned with DML? Not DDL? Or checkpoints? Or other things that cause the data file to change?
And does DML in this case include queries? What about SELECT FOR UPDATE statements?
Justin -
How to find the size of a Oracle 11g table
I want to find the size of a table in Oracle 11g.
I hope, my question is clear.
Please revert with the reply to my query.
Regards--- List all tables sorted by size
set lines 100 pages 999
col segment_name format a40
col mb format 999,999,999
select segment_name
, ceil(sum(bytes) / 1024 / 1024) "MB"
from dba_segments
where segment_type = 'TABLE'
group by segment_name
order by ceil(sum(bytes) / 1024 / 1024) desc
--- List all tables owned by a user sorted by size
set lines 100 pages 999
col segment_name format a40
col mb format 999,999,999
select segment_name
, ceil(sum(bytes) / 1024 / 1024) "MB"
from dba_segments
where owner like '&user'
and segment_type = 'TABLE'
group by segment_name
order by ceil(sum(bytes) / 1024 / 1024) desc
/ -
How to find the space used by a single table, a index on that table etc
Can someone tell where to locate for the Extents used by a single table , index and other objects
A large question implies a large answer, read the reference guide
http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14237/toc.htm
and search dba_extents...
Nicolas. -
How to find the Conditions and Condition values in table entries
Dear Experts -
the issue is about getting the table entries of Pricing procedure Condition type and condition values - Application Component - MS external service management.
In case of service order Condition document number (EKKO - KNUMV) is not updated.
KNUMV we can use for Pricing procedure - Application componant - M Purchasing.
How to get table entries of pricing procedure - Application Componant - MS External services management.
Thanks in AdvanceHi
SES releated table:
ESKL - Account assignment specification for service line
ESKN - Account assignment in service package
ESLH - Service package header data
ESLL - Lines in service package
ESSR - Service entry sheet header data
ESUC - External services management: Unplanned limits for contract item
ESUH - External services management: unplanned service limits header data
ESUP - External services management: unplanned limits for service packages
ESUS - External services management: Unplanned limits for service types
Regards
Prasanna R -
How to find the transport that changed a field/table
Hi Experts,
My issue is we have three transports. All three were successfully transported in PRD and there were no errors. BUT when we compare table T012 in PRD to T012 DEV and T012 QAS, T012 PRD is wrong. One of the changes did not make it. How can I find out which transport affected T012? Will I be able to search down to the field affected?Hi Marianne,
It might be possible that transports deployment sequence to Production is not same as other system deployment sequence.
Please check the same in table-E071.
Regards,
Sudeesh Soni -
How to get the last update time for a table ?
I want to know the last change of the table data , for example, a record has been changed, how can i get that time?
Regards,
LamentHello
check the tables CDHDR & CDPOS
But the condition when u r checking the these table.for a particular field the at data element level- futhur charactestictab level we have one check box called change document it as tick
Thank u,
santhosh -
How to find the current document No in VBAK table?
Hi
I want to fill the set up tables from 2LIS_11_VAITM using Number ranges . Iknow initial Sales Order number but I want to know the current number so that I can set up a range..
Thanks,
SureshLook in VBAK on the day you want to load on. Grab the the highest number right before you load the setup tables.
-
Hi, could someone tell me how to find the relation between PAY_ELEMENT_TYPES_F and GL_CODE_COMBINATION tables
that is because as you could know PAY_ELEMENT_TYPES_F holds the definitions of elements in Oracle HRMS and i need to find the accounting code of each element.
ThanksHi;
Please check e-trm site for table relation,integration,explanation etc..
etrm.oracle.com/
Regard
Helios -
Changing the order of columns in a table
Can anyone tell me how to change the order of column in a table.
I want a new column to be added in a table in 2nd position.
Is there any way out for it?1) Does this have something to do with security? If not, it really ought to be posted in a more appropriate forum (Database - General for example).
2) Why? If you care about the order of columns in a table, you're almost certainly doing something wrong. You can control the order of columns in a view, however, so you can put a view layer on top of the table to present the columns in a friendly fashion.
3) Not without recreating the table. You can use the DBMS_REDEFINITION package to recreate the table with zero or minimal downtime but behind the scenes, you're really just creating a new table, copying the data over, dropping the old table, and renaming the new table to use the old table's name. DBMS_REDEFINITION does some extra work to track changes so that the original table can be available until the last possible moment.
Justin
Maybe you are looking for
-
Although, there are dozens of posts about iTunes 11.0.44 causing problems with album art, I can't seem to find one with my specific problem. Prior to iTunes 11, I had no problem tagging my album art to my music. With the release of iTunes 11, my albu
-
Best way to handle large files in FCE HD and iDVD.
Hi everyone, I have just finished working on a holiday movie that my octagenarian parents took. They presented me with about 100 minutes of raw footage that I have managed to edit down to 64 minutes. They have viewed the final version that I recorded
-
I need to change parameter "Allow primary windows on top" witout using style manager but using either command line solaris functions or if there are no such functions in solaris change some configuration files. I'd like to know whether this functions
-
HP Color LaserJet CP3525n keeps printing blank pages without stopping
Hi, I'm having trouble with this printer, it keeps printing blank pages one after anotther as soon as it is turned on. Some pages are completely blank others have smiley faces and other characters on it. And it keeps doing this even after it has been
-
Darkened box around individual Illustrator elements
Hello all, I created a card with a dark gray background which has different flowers on it (all with transparent backgrounds). All of the flowers are the same PNG file except some of them are different colors (I traced the flowers and used Live Paint