Finding top20 tables grown recently.

Hi,
How to find the top tables growing per week and how much are they growing.

Hi,
If you're using Oracle 10g:
You may construct a query to both DBA_OBJECTS and DBA_HIST_SEG_STAT. Unfortunately the HIST timeframe starts at instance startup
Use SPACE_USED_DELTA column from DBA_HIST_SEG_STAT.
If you don't use Oracle 10g or need frequent sampling intervals: take snapshots of DBA_SEGMENTS
of course, order by BLOCKS or SPACE (bytes) descending...
Regards
Ignacio
http://oracledisect.blogspot.com

Similar Messages

  • To find the tables

    Hi Folks,
    In my schema several times several inserts are performed on tables. I want to find the tables in which the records inserted recently
    is alert log file helpful?
    but i dontknow how to check in toad
    please shed some light
    thanks

    assuming you have aforementioned timestamp
    (ours is a column called create_dt on the majority of our tables )
    and you wanted to see the number of inserts as of a given time.
    WITH t AS (SELECT DISTINCT table_name
                 FROM all_tab_columns
                WHERE column_name = 'CREATE_DT')
    SELECT table_name,
           TO_NUMBER (
              EXTRACTVALUE (
                 xmltype (
                    DBMS_XMLGEN.
                     getxml (
                          'select count(*) c from '
                       || table_name
                       || ' where create_dt > trunc(sysdate-1)')),
                 '/ROWSET/ROW/C'))
              num_rows_inserted_yesterday
      FROM t
    ORDER BY num_rows_inserted_yesterday DESC;we also have one called delete_dt but I everytime I query this column I get no rows returned :)
    Edited by: pollywog on Jun 23, 2011 4:55 PM

  • Not able to find aliased tables when supplying username/password

    <p>I am able to run my report which contains several aliased tables just fine as long as I have the application (Viewer?) ask for the login credentials for the database. But it seems if I try to set the login credentials in the Viewer jsp, I then receive the following error message which states that it cannot find the table, stating that it is looking for a table with the alias name... not the actual name.</p><p>&#39;PositionEducation&#39; is the alias for a table named &#39;large_text&#39;, this table is aliased several times in the report so it can pull the different types of data it needs.</p><p>Thanks, Steve</p><p>*** Update  -- I did an update to the latest files and it pulled some newer jars from Crystal even though I had just installed this a few days ago :)... anyway, it now works where the application (Viewer?) does not ask me for credentials (I assume they are embedded within the rpt) and it goes on through like it did before. HOWEVER, I still have the problem that if I try to manually override the login credentials, I still receive the error as stated </p><p>*** End Update</p><p> </p><p> 2007-03-28 11:38:15,843 ERROR [com.businessobjects.reports.sdk.JRCCommunicationAdapter] - <JRCAgent2 detected an exception: The table &#39;PositionEducation&#39; could not be found.<br />    at com.crystaldecisions.reports.reportdefinition.datainterface.g.a(Unknown Source)<br />    at com.crystaldecisions.reports.dataengine.bj.new(Unknown Source)<br />    at com.crystaldecisions.reports.common.as.a(Unknown Source)<br />    at com.crystaldecisions.reports.common.ae.a(Unknown Source)<br />    at com.businessobjects.reports.sdk.b.k.a(Unknown Source)<br />    at com.businessobjects.reports.sdk.b.w.m(Unknown Source)<br />    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)<br />    at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)<br />    at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)<br />    at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)<br />    at com.crystaldecisions.sdk.occa.report.application.ag.a(Unknown Source)<br />    at com.crystaldecisions.sdk.occa.report.application.av.if(Unknown Source)<br />    at com.crystaldecisions.sdk.occa.report.application.an.new(Unknown Source)<br />    at com.crystaldecisions.sdk.occa.report.application.cb.for(Unknown Source)<br />    at com.crystaldecisions.proxy.remoteagent.u.performDo(Unknown Source)<br />    at com.crystaldecisions.proxy.remoteagent.u.a(Unknown Source)<br />    at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(Unknown Source)<br />    at com.crystaldecisions.sdk.occa.report.application.DatabaseController.setTableLocation(Unknown Source)<br />    at com.crystaldecisions.reports.sdk.DatabaseController.setTableLocation(Unknown Source)<br />    at com.businessobjects.samples.JRCHelperSample.changeDataSource(JRCHelperSample.java:182)<br />    at com.businessobjects.samples.JRCHelperSample.changeDataSource(JRCHelperSample.java:80)<br />    at org.apache.jsp.WEB_002dINF.jsp.reports.Evaluation_002dviewer_jsp._jspService(Evaluation_002dviewer_jsp.java:76)<br />    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)<br />    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)<br />    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)<br />    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)<br />    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)<br />    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)<br />    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)<br />    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)<br />    at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:39)<br />    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)<br />    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)<br />    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)<br />    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)<br />    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)<br />    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)<br />    at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:111)<br />    at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:250)<br />    at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:965)<br />    at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:744)<br />    at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:663)<br />    at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:394)<br />    at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:348)<br />    at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)<br />    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)<br />    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)<br />    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)<br />    at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)<br />    at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)<br />    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)<br />    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)<br />    at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:75)<br />    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)<br />    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)<br />    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)<br />    at net.sf.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:292)<br />    at net.sf.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:84)<br />    at net.sf.acegisecurity.intercept.web.SecurityEnforcementFilter.doFilter(SecurityEnforcementFilter.java:182)<br />    at net.sf.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:303)<br />    at net.sf.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:305)<br />    at net.sf.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:303)<br />    at net.sf.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:226)<br />    at net.sf.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:303)<br />    at net.sf.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:173)<br />    at net.sf.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:125)<br />    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)<br />    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)<br />    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)<br />    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)<br />    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)<br />   
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)<br />    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)<br />    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)<br />    at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:833)<br />    at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:639)<br />    at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1285)<br />    at java.lang.Thread.run(Unknown Source)<br />><br /> </p>

    <p> </p><p>From the stack trace, the problem appears to be happening in the setTableLocation method call.</p><p>There&#39;s a known issue with the JRC when you try and transfer datasource location for multiple aliases pointing to the same database table. </p><p>You may, however, need not trigger the setTableLocation method call, if you wish merely to enter database logon credentials.</p><p>The way to enter it would be to use ReportClientDocument method getDatabaseController().logon(String, String).  This should get you the same behavior as with the viewer.</p><p>TUeda </p>

  • Crystal Reports Cant Find the table

    Hello ,
    I have a problem when i try to preview a report Crystal Reports says that cant find the table , it happend when add a table that in his name has an underscore example "SALES_REP" , im working with CR 2008 and open access ODBC driver.
    Can you help me with the problem?
    Thank you
    Manuel

    Hello,
    Try installing all CR patches and then test using OLE DB. If not an option we need to know more details of the database and driver/client?
    I recall this may be an issue and not sure if it's been patched or not. Try searching here to see if anyone else has had this problem.
    Thank you
    Don

  • How do I find what table a field is in?

    Hi,
    If I know a field name, how would I search the Data Dictionary to find the table (or tables) that the field is found in?
    For example, I have a program spec that that says field AZSUB is in table MARM, but it is not.  How can I find what table this field is actualkly in?
    Thanks for your help!
    Andy

    Hi Andrew,
    Just goto se11, enter the data element of that field and clisk on the where used list on the application tool bar. You will get all the tables in which the field appears.
    You got find out which would be your appropriate table may be using by the description of the table or the contents or by the links..
    Regards,
    Vinod Kumar

  • How do you find a table that doesn't have a specific word in it.

    I have two questions.
    questions 1
    How do you find a table that doesn't have a specific word in it by using a query on the whole database?
    questions 2
    How would i list all of my cars names in my database not showing duplicates?
    I have tried, tried and tried some more to get both of these, but I guess i don't know how to query a specific word.
    I also don't know how to query everything in just 1 column name.
    If anyone could help with these that would be great I have been trying queries for over an hour now and no luck.
    Thanks

    798837 wrote:
    I tried the all_tab_columns, just like you did it, however that just gives me the column name I am looking for what is not in a column.
    For example I need to find all the tables where mustang is not = 'red' but using a single query i need to find all of the tables.
    As for number 2
    I am looking for something like this
    select distinct column_name
    from all_tab_columns
    where column_name ='AcertainColumn';Now I'm even more confused. In your example, is MUSTANG a column name? Or is it the value of a MODEL column in the CARS table? And how could that possibly relate to something that exists in multiple tables?
    If your data model is at all reasonable, I would expect that you would just want
    SELECT *
      FROM cars
    WHERE model = 'Mustang'
       AND color != 'Red'but I can't see how this would relate to data stored in multiple tables.
    Justin

  • HOW TO  FIND OUT TABLE DESCRIPTION FROM JDBC?

    HOW WILL FIND OUT TABLE DESCRIPTION FROM JDBC?

    Have a look at ResultSetMetaData
    getColumnCount()
    getColumnName(int)
    getColumnTypeName(int)
    getColumnDisplaySize(int)
    ***Annie***

  • How to find out table name for the field in the webUI

    Hi.
    I am in CRM2007.
    So i go to the transaction code    BSP_WD_CMPWB
    In that i provide the component name as CRM_UI_FRAME.
    I press the Test button.
    So, it opend the WebUI.
    I want how to find out table of the particular input field?
    I mean from which table the data is retrived how to find out?
    When i enter some thing in the input field how to find out in which table that data is stored?
    By pressing F2 on the input field it opend View and Component Name.
    I want find out table of that particular field. How to find it?
    If anybody know about this explain it with Screen shorts if possible.
    Thank You.
    Krishna. B.

    hi
    goto tx genil_model_browser. Suppose you want to find fields reated to your order header eg sold to name. In component set write all and press F8. Then goto access object and in access object click on node BTAdminH. Click on attribute structure. Here you will find structure and attributes. If you click relationship then you will see all the relationship wrt btadminh. open any r/s that you require. and click on other object and attribute. You will get to know the structure.
    Best regards
    Pankaj kumar

  • Using column value is it possible to find the table name in the database?

    Hi all,
    using column value is it possible to find the table name in the database?
    guys i need the table value
    Note:
    oracle-9i
    for example:
    i don't know NIC(column value) in which table in the database.
    Thank you,
    with regards,
    JP.
    Edited by: Guest on Feb 27, 2012 5:42 AM

    Hi,
    As far as I understand what you are asking for I would suggest 4 data dictionaries that will help you to know the table name from the column names
    1. USER_TAB_COLS
    2. ALL_TAB_COLS
    3. DBA_TAB_COLS
    4. COLS
    These can give you detail information about the columns and respective tables at user, schema, dba level. Further information on the table can be found by querying ALL_OBJECTS table giving table_name as Object_name, or you can join the data dictionaries too.
    To know about various data dictionaries avalible in Oracle please query select * from cat;
    Let us know if you need further assistance.
    Twinkle

  • No Fact table Exists and [nQSError: 14070] Cannot find logical table source

    Hi,
    I have 3 tables A(fact),B(dim) and C(dim). there are some other dims. i am getting Errors here.
    A is joined with B and B is joined with C .
    1) In report if i pull columns from A and B its giving data. If i include C table Columns in the report i am getting Error like
    No Fact table Exists.
    2) If i pull the C table columns only in the Criteria i am getting error [nQSError: 14070] Cannot find logical table source
    How can i resolve this.
    Thanks

    In Logical table B source properties general tab ->Click on Add button and add table C and pull required columns from Physical layer table C.
    If helps mark for any issues let me know.
    Edited by: Srini VEERAVALLI on Feb 13, 2013 6:42 AM

  • Regarding finding the table name for a field in R12 forms

    Hi all,
    I need to know how to find the table name for a field in R12. I am working on extracting the employee information but i need to know how to get the table names for the fields.
    Thank you,
    raj

    Please see these threads.
    How to find table name in ebs
    How to find table name in ebs
    E-Business tables
    E-Business tables
    Thanks,
    Hussein

  • How to get the list of top 10 tables grown last week or last few days

    Hi All,
    Please let me know, how to get the list of top 10 tables grown last week or last few days
    Thanks

    Please let me know, how to get the list of top 10 tables grown last week or last few days1.Oracle Version and OS info please ... ALWAYS
    2.Do you have licensing options (Tuning and/or Diagnostics Pack) ?
    3.Have you ran AWR/Statspack in last week or last few days
    1.Because Oracle do not store auto tack the history of tables growth. See below link where one user has showed the possible way of manual track of table(s) growth :
    Re: oracle tables growth
    2.MOS Note for How To Get Table Growth History Information? [ID 1395195.1]
    3.If you are in 10g than EM of 10g has something called Segmnet Statistics which can show you the growth of your table.
    4.Other clue :
    SQL> select * from table (dbms_space.object_growth_trend('SCOTT','EMP','TABLE'));
    TIMEPOINT                                                                   SPACE_USAGE SPACE_ALLOC QUALITY
    17-SEP-12 11.06.20.228000 AM                                                       1593       65536 GOOD5.A good script by Mice Ault for historical growth of segments within AWR:
    http://www.dba-oracle.com/t_table_growth_reports.htm
    Regards
    Girish Sharma

  • How to find the tables in OM

    Hi All,
    How to find the tables in Oracle order mangement and what are the links of the tables in oracle OM
    Thanks & Regards
    srikkanth.M

    How to find the tables in Oracle order mangement and what are the links of the tables in oracle OMeTRM
    http://etrm.oracle.com
    Thanks,
    Hussein

  • HT204088 how to I find out the most recent deductions to my account from the app store (say, for a recent download for additional functionality on a iPad game)

    How to I find out the most recent deductions to my account from the app store (say, for a recent download for additional functionality on a iPad game). Much as I try, I can't seem to get to see my account in enough detail to see what I have spent downloading apps to the ipad.

    You need to punch in the passcode for any purchase right, not just for new apps??
    If one of the other students, or anyone else, got access to your iTunes Store account, necessary to make any purchases, then they'd have all the information they'd need to also make in-app purchases. But an in-app purchase can only be made through the account through which the original app was purchased. Either your son bought the game (free or paid) and then shared it with someone else along with the account information (necessary to authorize the app on someone else's device), or someone else downloaded the game as well, not just made in-app purchases.
    In any case, changing your iTunes Store password should now have cut off any such unauthorized activity, though of course if your son gives the new password out, you'll be back to square one.
    Regards.

  • Question on FIND IN TABLE... REGEX

    Hello,
    I am trying to do a FIND IN TABLE itab, where itab is a table of strings. One of the strings is like the following:
    <bi:item name="CHART_ITEM_1" designheight="380" designwidth="730" type="CHART_ITEM">
    I'm trying to search for it using a REGEX pattern. So here's how I did it:
    CREATE OBJECT text_regex EXPORTING pattern = 'item name*type="CHART_ITEM"'.
    So apparently, the above statement does not work, as the results returned is 0.
    What gives? Any help would be much appreciated. Thanks in advance!

    Hi,
    I think your reg. expression is wrong. * does not stand for zero or more characters It is an operator which represents zero or more occurrences of some literal. You need to use literal . which represents any character. So your expression should look like item name.*type="CHART_ITEM".  There is a program DEMO_REGEX_TOY which you can use for reg. expression testing.
    Cheers

Maybe you are looking for

  • Operating/country/group in same coa

    Hi 1) may i know if local gaap account also in the same coa just like operating coa, then do we need to assign this local gaap account in alternative acc number field? 2) why in the same coa, there have more than 1 type? operating gl acc, local gaap

  • Denied expansion of controlfile

    Hi All, I am getting this problem in DB12 since one month . Any one can solve this problem. kccrsz: denied expansion of controlfile section 19 by 65535 record(s)   the number of records is already at maximum value (65535) krcpwnc: following controlfi

  • BDC - SHDB is not completing the transaction MEKH

    I am trying to create a BDC Program for updating/adding Market price KONP-KBETR using transaction MEKH. 1 .I used CALL TRANSACTION 'MEKH' in mode 'A'. But screen fields are not getting populated. 2. I tried to create the program from Recording, but I

  • Changing radio button property dynamically

    Hi, I decalred two blocks in selection screen named B1 and B2, each have 2 radio buttions. B1 has radio button named B1R1 and B1R2. B2 has radio button named B2R1 and B2R2. If i select B1R1 then B2R1 should be selected and B2R2 should be disabled(use

  • Clearing Data from MacBook Pro

    I am selling my MacBook Pro and have deleted my user account which was the system Administrator; however the old data is still visible.  How do I get rid of the old data to make this apple clean and ready to use?