Monitor table growth
How can i monitor a table growth?
I would like to know how big it was like 2 weeks ago, etc..
This gives me the size of the table right now. i<BR>
need to know what it was like 2 weeks ago.<BR>
the dba_extents table has lots of row for a table, is<BR>
there possible to know when the row was inserted in<BR>
that table? That could give indice of what size the<BR>
table was in time.<BR>As far as I know, there's no built-in facility to do this. If you wanted to track overall table size, you could create a 'table_size' table and a weekly dbms_scheduler job to do that aforementioned 'select' statement into it.<BR>
<BR>
To find out when a row was inserted into a table, you'd have to enable auditing, ie.<BR>
<BR>
audit insert on hr.employees;<BR>
<BR>
Note that the actual value inserted won't be captured, only the event. If you wanted to head any futher into that, you could look up Oracle 10g Fine Grain Auditing.
Similar Messages
-
Is it possible to setup technical monitoring to monitor table growth statistics like top 10 growing tables etc?
if yes, how?
any info please?Hi Krishna,
Kindly follow SAP doc E2E Reporting: Database Growth - Overview - System Reporting in SAP Solution Manager - SAP Library
Hope this will help you.
Regards,
Gaurav -
Hi,
We have gone line with SAP ECC for retail scenario recently. Our database is growing 3 GB per day which includes both data and index growth.
Modules configured:
SD (Retail), MM, HR and FI/CO.
COPA is configured for reporting purpose to find article wise sales details per day and COPA summarization has not been done.
Total sales order created per day on an average: 4000
Total line items of sales order on an average per day: 25000
Total purchase order created per day on an avearage: 1000
Please suggest whether database growth of 3 GB per day is normal for our scenario or should we do something to restrict the database growth.
Fastest Growing tables are,
CE11000 Operating Concern fo
CE31000 Operating Concern fo
ACCTIT Compressed Data from FI/CO Document
BSIS Accounting: Secondary Index for G/L Accounts
GLPCA EC-PCA: Actual Line Items
FAGLFLEXA General Ledger: Actual Line Items
VBFA Sales Document Flow
RFBLG Cluster for accounting document
FAGL_SPLINFO Splittling Information of Open Items
S120 Sales as per receipts
MSEG Document Segment: Article
VBRP Billing Document: Item Data
ACCTCR Compressed Data from FI/CO Document - Currencies
CE41000_ACCT Operating Concern fo
S033 Statistics: Movements for Current Stock (Individual Records)
EDIDS Status Record (IDoc)
CKMI1 Index for Accounting Documents for Article
LIPS SD document: Delivery: Item data
VBOX SD Document: Billing Document: Rebate Index
VBPA Sales Document: Partner
BSAS Accounting: Secondary Index for G/L Accounts (Cleared Items)
BKPF Accounting Document Header
FAGL_SPLINFO_VAL Splitting Information of Open Item Values
VBAP Sales Document: Item Data
KOCLU Cluster for conditions in purchasing and sales
COEP CO Object: Line Items (by Period)
S003 SIS: SalesOrg/DistCh/Division/District/Customer/Product
S124 Customer / article
SRRELROLES Object Relationship Service: Roles
S001 SIS: Customer Statistics
Is there anyway we can reduce the datagrowth without affecting the functionalities configured?
Is COPA summarization configuration will help reducing the size of the FI/CO tables growth?
Regards,
Nalla.user480060 wrote:
Dear all,
Oracle 9.2 on AIX 5.3
In one of our database, one table has a very fast growth rate.
How can I check if the table growth is normal or not.
Please advice
The question is, what is a "very fast growth rate"?
What are the DDL of the table resp. the data types that the table uses?
One potential issue could be the way the table is populated: If you constantly insert into the table using a direct-path insert (APPEND hint) and subsequently delete rows then your table will grow faster than required because the deleted rows won't be reused by the direct-path insert because it always writes above the current high-water mark of your table.
May be you want to check your application for such an case if you think that the table grows faster than the actual amount of data it contains.
You could use the ANALYZE command to get information about empty blocks and average free space in the blocks or use the procedures provided by DBMS_SPACE package to find out more about the current usage of your segment.
Regards,
Randolf
Oracle related stuff blog:
http://oracle-randolf.blogspot.com/
SQLTools++ for Oracle (Open source Oracle GUI for Windows):
http://www.sqltools-plusplus.org:7676/
http://sourceforge.net/projects/sqlt-pp/ -
Hi Gurus,
i have one question , is there any way we can track the history of tables growth. For example table A,B,C were created at the time of database creation in schema "ricky" . how we can track the tables growth in the form of report. Lets say we want to see the growth of this table after 2 years, as such we can refer some customized script that can report weekly or monthly growth of this table in those 2 years. The reason i am asking is in order to plan the purging policy.
Any help would me much appreciated
SQL> select * from v$version;
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for Linux: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
Edited by: 821269 on 25-Mar-2011 4:20 PMHi, welcome to the forum.
>
is there any way we can track the history of tables growth
>
Automatically by Oracle, No.
Manually, doing by yourself. Yes.
You can create a table where you can store the information you want like this (as an example).
CREATE TABLE TABLES_SIZE_HIST (
SNAP_DATE DATE,
SNAP_TYPE CHAR(1), --you can put D=Daily, W=Weekly etc
OWNER VARCHAR2(30),
SEGMENT_TYPE VARCHAR2(30),
SEGMENT_NAME VARCHAR2(30),
SEGMENT_BYTES NUMBER)
/So, periodically you can insert data into the table above with this statement (only as example, you can insert data into the table in many ways).
INSERT INTO TABLES_SIZE_HIST
SELECT sysdate, 'W', s.owner, s.segment_type, s.segment_name, s.bytes
FROM dba_segments s
WHERE s.owner = '<OWNER>'
AND s.segment_type = '<TABLE>'
AND s.segment_name IN ('<TABLE1>', '<TABLE2>',.....,'<TABLE+n+>')
/So, the query above you can put it into an Oracle Job or into a Cron Job (unix) for say something.
After your period of 2 years, you can query the data collected and make desitions.
You have to be carefull because maybe you can have lot of data in your table. So, you have to find the best scenario for storage.
Obviously, depends of the period that you make the snapshot, daily, weekly, twice a day etc etc.
HTH
johnxjean -
COm_SE_CPOINTER Table growth
Dear all
In our Trex Server we are using two business objects are indexed (Abap Objects) Currently our COM_SE_CPOINTER table growth is 55 GB. For the both object we have schedule back ground job to delete the data older than one month, in the Com_se_cpointer table has lots of other objects are there weather we can delete those object by using the com_se_cpointer_delete program? If we are doing that it will have any other impact? But our usage is only the two objects other then we are not using anything.
Kindly guide us
Regards
SriramPlease see OSS 1317755:
For performance reasons, you must ensure that the change pointer tables
COM_SE_CPOINTER and COM_SE_CPOINTER2 do not become too large. Therefore,
immediately after the SES indexes are backed up, we recommend that you delete
the change pointers that have been processed up to that time. To do this, call
transaction SES_ADMIN and choose "Utilities -> Delete Change Pointers".
Alternatively, you can call the program COM_SE_CPOINTER_DELETE directly.
Best regatrds,
Kai -
I would like estimate table(s) growth on hourly/daily/weekly and monthly basis.
I found certain queries for tablespace growth. but, I could not find query for table growth in a schema. Could anyone can help on this.
Thanks
RajDBMS_SPACE built-in package:
http://www.psoug.org/reference/dbms_space.html
Look specifically at the OBJECT_GROWTH_TREND pipelined table functions. -
Hello,
I just took over the role as a junior DBA in a new organization and would like to found out how much our db's have grown in the past year. Unfortuneatly the last DBA did not monitor growth over time. Is there a way to determine how much the entire database has grown from one point in time to another without having monitored the growth? Our database versions range from 7 to 10g.hi,
look at this thread
Re: DB growth!
this looks at reporting database growth/shrinkage at monthly intervals
regards
Alan -
Table growth for Async process
Hello,
Using SOA/BPEL 11g
Have deployed Async Bpel process and want to know (since this is async -- it must be saving or persisting state in some database tables ) what are the database table names THAT Async BPEL might be storing/persisting the STATE (for future use). Also, does anyone have the stats for "Table Growth" (MB) per xx number of request for BPEL process ?
thx
ppBelow are the table names were data is stored:
AUDIT_DETAILS
AUDIT_TRAIL
COMPOSITE_INSTANCE
COMPOSITE_INSTANCE_ASSOC
COMPOSITE_INSTANCE_FAULT
CUBE_INSTANCE
CUBE_SCOPE
DLV_MESSAGE
DLV_SUBSCRIPTION
DOCUMENT_CI_REF
DOCUMENT_DLV_MSG_REF
HEADERS_PROPERTIES
INSTANCE_PAYLOAD
REFERENCE_INSTANCE
REJECTED_MESSAGE
REJECTED_MSG_NATIVE_PAYLOAD
WFTASK
WI_FAULT
WORK_ITEM
XML_DOCUMENT
XML_DOCUMENT_REF
There are no fixed guidelines for the database growth. Database utilization is different for each process depending upon the payload sizes. -
Solution Manager Monitoring Table Size
Hi Gurus!
Question for you!
Is there a way to monitor the size of a table, or even the number of registers that it has, or anything like it?
The problem is that in several ocasions the size of tables gets too big that we end up having to delete old information or archive them, and I wanted to know about this before it becomes a problem.
Thanks in advance and BR,
LucasHello,
Did you check this link http://help.sap.com/saphelp_nw70/helpdata/en/f0/02a63b9bb3e035e10000000a114084/frameset.htm on sap Help portal.
Hope this will help.
Regards,
Benjamin -
Hi
can anyone explain me, the meaning of each column of system.monitor TimesTen table ?
regards
lewismm
Edited by: lewismm on Sep 25, 2008 9:28 AMHi Lewis
Thanks for the clarification. SYS.MONITOR does not hold replication performance metrics, it is more concerned with 'engine' performance. We have rudimentary statistics for Replication which are available view the ttRepAdmin utility, -showconfig option. The numbers available, for example records per second and latency are based on samples and only really mean anything if you have a steady flow of replication work. If you see -1 under the headings then we don't have enough of a sample to provide a meaningful metric.
ttRepAdmin -showstatus is another option which will provide you with some information on the amount of data being sent across the network.
You could also look at the distance between the last written LSN (the last log record generated) and the replication hold LSN (the position in the log of the oldest acknowledged batch) via ttBookmark on the master side to determine how far behind replication is. In cases where replication has fallen way behind the workload on the master you could get in to the position where the replication agent is reading log records from disk and not from the log buffer in memory. In this situation you would being to see LOG_FS_READS in SYS.MONITOR increase.
Hope this helps
Paul -
Finding cause for table growth (JCS_MONMESSAGE0)
Hello,
we are running a SAP Solution Manager (Win64, Ora10g, NetWeaver 7.01 EHP1)with dual stack.
Since some time we are facing the situation, that an tablespace, used by the java stack (owner = sap<si>1db) is growing and growing (each day around 1 GB).
The object name is JCS_MONMESSAGE0 with index SYS_C00379744.
Searching for these keywords, on SAP Support Portal Notes, results in no match.
Can you help me out finding a hint, what could cause the growth?
Many thanks for your feedback.
Best regards
Carlos BehlauHello Juan,
many thanks for your feedback.
How can I check from ABAP stack the table of java stack?
I did some basic check with db02.
But from its table columns it does not ring a bell.
In SM30, the table is not displayed.
Also in SE16, I do not get the table listed.
Best regards
Carlos Behlau -
How to chech table growth in SAP
hi
i have a ECC6 on AIX plateform and database is oracle 10 i want to know how can i check which table is grow faster and what action i will take for smooth running of SAP system?
Thanks
VikramHi Vikram
Goto DB02 and then click on Space Statistic. For tables/indexes and tablespace give * and it will give you the table/tablespace statistics. You can select days, weeks and month wise.
For extending tablespace user brtools from ora<sid>. -
Hi,
we are in a cleaning process. Althoug nobody gets hurt by unnused customer tables, the customer wants to know about tables that are nort used.
One approach is a where-used-list. OK, done.
Another approach is to analyze table access statistics. AFAIK the database collects statistics from database accesses. From those statistics the system gains information to optimize table access.
Now my question: Where can I find (programatrically or via transaction/report) information about table access?
TIA,
regards,
ClemensU have the list of custom related tables. Goto SE11 & using the custom table check where-used-list. It displays where all the table has been used. If the table has not been used anywhere or else not related at all to a program which is not needed, these all tables can be eliminated from the system.
-
Hello Gurus,
We can see one of the "custom" table in our system is growing quite fast. From the current trend I can see it is growing 1-3 GB pe rday. We are not in a position to stop the relevant program due to the impact on Business. We are in the process of finding the solution for that. However I wanted to understand if this table is growing too fast does that impact on the over all system performance. It is given fact that if some one try to access this table then it would create a perofrmance problem (only for this specific table). My question more related overall perofrmance.
Taking a scenario when some one is updating this table (Which isgrowing too fast) and in the mean time other users are perofrming activities in other tables.
Many Thanks
Praveen KumarHi,
1). You can archive the Older data from the table, if your business allows you.
2). Create Index depends on the query accessed.
3). I strongly recommend to run twice or daily STATS for the table using DB20.
Taking a scenario when some one is updating this table (Which isgrowing too fast) and in the mean time other users are perofrming activities in other tables.
Performance problem arises when multiple people using same table to read the DATA. (Archiving Older data and Statistics on table should fix the performance issues)
Here is the link for FAQ about archiving data.
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/d76f5301-0b01-0010-2a97-9938052ddf81 -
Monitor Table and Monitor_recno
Can someone explain the use of filing these tables in start routines and update rules?
Where we can see the messages for trouble shooting?Hey Srini
Thx.
here is my start routine
DATA: itab like /BIC/AZDBOKITM00 occurs 0 with header Line.
Select * into table itab from /BIC/AZDBOKITM00
for all entries in DATA_PACKAGE
Where DOC_NUMBER = DATA_PACKAGE-DOC_NUMBER
AND S_ORD_ITEM = DATA_PACKAGE-S_ORD_ITEM.
In the update rule I used following routine for doc_type updation
Read table itab with key Doc_number = COMM_STRUCTURE-DOC_NUMBER
S_ORD_ITEM = COMM_STRUCTURE-S_ORD_ITEM.
IF sy-subrc = 0.
result value of the routine
RESULT = itab-DOC_TYPE.
ENDIF.
Syntax wise Code is ok but when I schedule the laod its not populating value for doc type.
Any help is highly apprecited
Thx
Dougw
Maybe you are looking for
-
I cannot use my iPad. It presents a black blank screen with just the circulating symbol in the middle. I cannot turn if off or on to re-boot it as the on-off swith does not respond, neither does the press button on the bottom edge of the pad. I have
-
How do I convert my purchaced iTunes TV shows to MP4?
I purchased a series on iTunes. I Want to put them on my external hard drive which only supports mp4. How can I convet them on my PC?
-
Restore database validate ERROR
I configure RMAN yesterday with the following parameters: CONFIGURE RETENTION POLICY TO REDUNDANCY 2; CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS; CONFIGURE BACKUP OPTIMIZATION ON; CONFIGURE DEFAULT DEVICE TYPE TO DISK; CONFIGURE CONTROLF
-
PO Confirmation Issues.
Hello Experts, I am having some difficulty updating the Purchase Order Confirmations Tab of the PO. Right now, I am using ME_CONFIRMATION_UPDATE to take date that is being received through an inbound IDOC formatting it, then calling the above Functi
-
Using a PCIexpress SSD as boot "disk"
Hi, Since the price on SSD is not already that low, I'd like to know before I buy. Can I use a PCIe SSD card like the Revo drive from OCZ as a boot and main drive on a Mac Pro 1,1 (2006)? http://www.ocztechnology.com/products/solid-state-drives/pci-e