How to find table/index statistics are outdated
Hi guys,
How can we find whether the statistics of a table or a index are outdated.
thanks...
You can use DBA_TAB_MODIFICATIONS view: please read "Determining Stale Statistics" http://download.oracle.com/docs/cd/E11882_01/server.112/e16638/stats.htm#PFGRF94738
Similar Messages
-
How to find Tables names which are updated or inserted data
Hi,
I need some help to know.
I am submitting a form in Oracle OWS (Oracle Workforce Scheduling), but don’t know where exactly data is going in the tables or how many tables are going to updated.
I want to know the table names which are update after the submitting the form.
Thanks in advance....
Regards,
SaketI don't think so. Never heard of Oracle Workforce Scheduling. Is there a forum for that?
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.apress.com/9781430235125
https://apex.oracle.com/pls/apex/f?p=31517:1
http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
------------------------------------------------------------------- -
How to find global index in partition table
Hi guys ,
need one help
How to find global index on partition table
How to find local index on partition table
Need query
Thanks in advance
Edited by: nav on Feb 17, 2012 6:51 AMnav wrote:
Hi Solomon,
so I have to identify partition & index are created or not,
also I have check the status of index ( both global and local)So what's the problem? Table/index partition is an object, so you can query DBA_OBJECTS:
SELECT SUBOBJECT_NAME,
CREATED
FROM DBA_OBJECTS
WHERE OWNER = partitioned-table-owner
AND OBJECT_NAME = partitioned-table-name
AND CREATED >= TRUNC(SYSDATE)
/This will give you partitions created today. So if you run this right after your job (I hope your job doen't run too close to midnight), you'll get table partition name your job created. Same logic can be applied to indexes.
SY. -
How to find out which objects are at the end of the datafiles
My Scenario is having a tablespace of 65G but the data is 5G and that is at the end of datafile for that we are not able to resize the datafile our though is to find out what are the objects at that end of datafiles and will either alter move <owner.tablename> move or alter index <owner.index> rebuld online.
For that how to find out which objects are at the end of the datafiles.>
My Scenario is having a tablespace of 65G but the data is 5G and that is at the end of datafile for that we are not able to resize the datafile our though is to find out what are the objects at that end of datafiles and will either alter move <owner.tablename> move or alter index <owner.index> rebuld online.
For that how to find out which objects are at the end of the datafiles.
>
You may want to copy this and add it to your toolkit
See 'What's at the End of the File?' in this Tom Kyte article from the Sept 2004 Oracle Magazine
http://www.oracle.com/technetwork/issue-archive/o54asktom-086284.html
And this AskTom blog shows you how to generate a script containing ALTER statements toresize your datafiles to the smallest possible. You can 'pick and choose' from the ALTER statements to do what you want.
Then of course, you can use techniques from this article by Oracle ACE, and noted author, Jonathan Lewis
http://jonathanlewis.wordpress.com/2010/02/06/shrink-tablespace/ -
How to find table name for the fields from Standard Extractor in CRM system
How to find table name of fields from the standard extractor in CRM system ?
e.g. We use LBWE TCode in R/3 system to find table name for the field from Extractor VCSCL(e.g.).
Likewise is there any way to find table name for the fields from Standard extractor like 0CRM_LEAD_I.Hi ,
Please find the link below for understanding BW CRM analysis.
http://help.sap.com/bp_biv135/html/bw.htm
activate the CRM DSs by scenario:
1) Activate the application component hierarchy (tcode RSA9). Changes made to the application component hierarchy in the CRM system can be transferred to the BW using the "Edit Application Component Hierarchy" (SBIW - Postprocessing of DataSources).
SAP Note 434886 must be implemented in CRM 3.0 before the application component hierarchy is activated.
2) Activate the Business Content DataSources (tcode RSA5).
Select/enter the application component and choose Execute (F8).
To compare the shipped and active versions, choose the 'Select Delta' pushbutton. If there is no active version of the DataSource, it is selected automatically.
To activate the shipped version, choose the 'Transfer DataSources' pushbutton.
3) Management of the versions of the BW-Adapter metadata (tcode BWA5). All DataSources are displayed that are managed by the BW Adapter.
As in transaction RSA5 (Service API Metadata Activation), the 'Select Delta' function can be used to select the inactive DataSources or compare shipped and active versions.
You can also go directly to the screen for maintaining DataSources that are managed by the BW Adapter.
The 'Compare Version' function makes a detailed comparison of the shipped and active versions.
All BW-Adapter metadata is considered when versions are compared:
Header information (Table SMOXHEAD)
Mapping information (Table SMOXRELP)
Global selection conditions (Table SMOXGSEL)
Attribute key fields (Table SMOXAFLD)
Hope this helps.
Regards,
csm reddy -
SQL Developer Behavior When Gathering Table/Index Statistics
Hey All,
Not sure if this has been posted yet. I did a search and did not find any threads on the topic though.
I noticed with SQL Developer 2.x, when you using the context menu to gather table/index statistics for a given table, you get no modal progress/waiting window like you did in 1.x. It just kind of "does nothing", even though it did actually execute the DBMS_STATS package. If you press cancel and try to navigate around, you get multiple "Connection is Busy" errors. Eventually it will come back and say "Statistics gathered for table <whatever>". In the old versions there was just a modal window with an animated progress bar while it ran the DBMS_STATS package. What happened to that? Or is this something unique to my install? Anyone else ran into this? Is there a fix or somewhere I can report this as an official bug? FWIW I'm running 2.1.1.64, and this did occur in the initial 2.0 release.
It is very confusing the first time you run into it... I pressed the "apply" button several times thinking it didn't take, but it ended up running the DBMS_STATS for every click I did.
Thanks!Same happens to all the other context menu opened dialogs. Indeed very confusing at first and disturbing.
The only official site to report bugs is Metalink/MOS, but you might be lucky if someone from the team picks it up here.
Regards,
K. -
How to find table & fields of standard InfoObject?
Hi
How to find table & fields of standard InfoObject for creating generic DataSource?
e.g. I want to know the table & field of 0MAINTPOS infoObject.You can get the list of tables involved in a particular DS by using the below method ( this another approach)
--> RSA3 -- enter your DS ( execute later)
--> Goto Tcode ST05 --> switch on the SQL Trace
--> now execute the extract checker in RSA3.once done switch off(deactivate) the SQL trace.
--> in st05 screen you can find the button "Display Trace" -- execute (here make sure SQL trace button is enabled.
--> from the menu bar -->Trace list--> select "combined table accesses".
--> it will display the tables involved in it -- check for TABLE names section.... select that row Table names -- click on filter button --press F4 -- here we go it will display the list of entire tables involved in the extraction activity... here you need to sort the tables which are related to your DS. -
How to find the Workbook statistics.
Hi Experts,
Can anyone please tell me how to find the Workbook statistics.
There are more 20 workbooks created from a single query. I want to find out the top 3 workbooks accessed frequently for 1 year.
Please provide your valuable inputs.
ThanksHi,
if statistics cubes are installed and getting loaded every day you can check following reports
0BWTC_C08_Q105
Business Content workbooks
0BWTC_C08_Q103
Business Content DataSources
0BWTC_C08_Q101
Business Content InfoCubes
0BWTC_C08_Q100
Business Content InfoObjects
0BWTC_C08_Q107
Business Content InfoSet queries
0BWTC_C08_Q106
Business Content InfoSets
0BWTC_C08_Q102
Business Content InfoSources
0BWTC_C08_Q104
Business Content ODS
0BWTC_C08_Q108
Business Content Queries
0BWTC_C10_Q014
Query Runtime
0BWTC_C10_Q251
Deleting Data in InfoCubes
0BWTC_C10_Q253
Deleting Data in InfoCubes - Detail, Times
0BWTC_C10_Q254
Deleting Data in InfoCubes - Details, Records
0BWTC_C10_Q252
Deleting Data in InfoCubes - Overview
0BWTC_C10_Q507
Average Time per Query
0BWTC_C10_Q021
Average Time per Query
Thanks and regards
Kiran -
How to find table information for a datasource?
Hi,
Can you please tell me how to find table information for a datasource. I am not getting much help from help.sap.
I am trying to find table information for below datasources. We are creating DSO's for the below mentioned datasources, for some we have standard DSO's(0WBS_O06), for others I am trying to create
0CO_OM_NWA_1,
0CO_OM_NWA_2,
0CO_OM_WBS_1,
0CO_OM_WBS_6
Please help me.
Regards,
Bob.Hi BOB,
Another option to find the table information...
inorder to get the tables names involved in that particular data source follow the below steps.
1) ST05 --> activate the Trace
2) RSA3 --> enter your data source (for ex: 0CO_OM_NWA_1)
3) Execute
4) Now goto ST05 -> deactivate the trace
5) click on Display trace(F7) button
6) Execute
7) It will display the complete SQL trace
8) Now from the Menu "Trace list" --> select "Combined Table Access"
it will display the complete tables list involved in that data source...
From Table name section you can get the list of tables involved in that data source.
I had traced and took the information of tables involved in that data source 0CO_OM_NWA_1
0CO_OM_NWA_1
AFKO Order header data PP orders
AFVC Operation within an order
AUFK Order master data
COSP CO Object: Cost Totals for External Postings
COSPP Transfer of the Order in the COSP Table to the Project
COSS CO Object: Cost Totals for Internal Postings
COSSP Transfer of the Order COSS Table to the Project
COVREF Coverage Reference Table: All Processing Blocks
COVRES Table of Coverage Results
You can follow the same steps and find the tables for the rest.
Regards
KP -
How to find Table names for PO & Invoices in SRM Standalnoe system SRM 7.0?
Hi,
How to find Table names for PO & Invoices in SRM Standalnoe system SRM 7.0? Please let me know.
Thanks,
MonicaHi,
In SRM for all objects like SC ( BUS21210),BID,PO(BUS22010),Confirmation (BUS2203),invoice etc all the data stored
in BBP_PDHGP and BBP_PDBEI tables only, These is no separate tables..
for your reference below are the few SRM tables
BBP_PDACC Account Assignment
BBP_PDATT Document Attachment
BBP_PDBEH Backend Specific Header Data
BBP_PDBEI Backend Specific Item Data
BBP_PDBGP Partner Extension Gen. Purchasing Data
BBP_PDBINREL Transaction Object Linkage (EBP)
BBP_PDHCF Set for Tabular Customer and Solution Fields on Hdr
BBP_PDHGP Business Transaction Purchasing Information
BBP_PDHSB Bid Invitation
BBP_PDHSC Header Extension for Customer Fields
BBP_PDHSS Hdr Extension for SAP Internal Enhancements (IBUs and so on)
BBP_PDICF Set for Tabluar Customer and Solution Fields on Itm
BBP_PDIGP Business Transaction Item-Purchasing Information
BBP_PDISB Bid Invitation/Bid-Specific Item Data
BBP_PDISC Item Extension for Customer Fields
BBP_PDISS Item Ext. for SAP Internal Enhancements (IBUs and so on)
BBP_PDLIM Value Limit
BBP_PDORG Purchasing Organizational Unit
BBP_PDPSET Further Procurement Information
BBP_PDTAX Tax
CDCLS Cluster structure for change documents
CDHDR Change document header
CDPOS_STR Additional Change Document - Table for STRINGs
CDPOS_UID Additional Table for Inclusion of TABKEY>70 Characters
CRM_JCDO Change Documents for Status Object (Table JSTO)
CRM_JCDS Change Documents for System/User Statuses (Table JEST)
CRM_JEST Individual Object Status
CRM_JSTO Status Object Information
CRMD_LINK Transaction - Set - Link
CRMD_ORDERADM_H Business Transaction
CRMD_ORDERADM_I Business Transaction Item
CRMD_PARTNER Partners
SROBLROLB Persistent Roles of BOR Objects
SROBLROLC Persistent Roles of Business Classes
SRRELROLES Object Relationship Service: Roles
Thanks & Regards,
Prasad S -
How to find out if there are repeated characters in a string
hey guys
well i kinda have a little problem figuring out how to find out
if there are repeated characters in a string.
if anyone can help, would appreciate it.
thanks
milosTry using the StringTokenizer class. if u already know which character to trace. this could do the job.
eg. String str = "here and there its everywhere";
StringTokenizer st = new StringTokenizer(str, "e");
int rep = st.countTokens(); -
Hi there,
How to find out which users are using SharePoint Designer to make changes in SharePoint 2010 site?
Thanks.You need to enable auditing on SharePoint server and it will let you know, if someone makes any critical changes for the same.
Please walk through this informative KB to enable auditing on SharePoint :https://support.office.com/en-za/article/Configure-audit-settings-for-a-site-collection-f5a346d0-ee0f-4412-a5e6-d9b5abaa1012
Here is one more resource :
https://support.office.com/en-in/article/View-audit-log-reports-4293e8d5-4e7d-4201-b8ac-c8e63a100131
Moreover, if you wish to audit such critical changes automatically, you may consider on this comprehensive application (http://www.sharepointauditing.com/) that helps to track every changes on SharePoint into
real time and provides the captured data at granular level. -
How to find tables in Lo that were extracted from R/3 to BW?
Hi Experts,
pls tell me How to find tables in Lo that were extracted from R/3 to BW?
Thanks in advance.
Regards,
Hari ReddyHi
Check the following thread,if the earlier link doesnt work..
How to locate which R/3 table-field is mapped to BW
cheers -
How to find that 2 references are pointing to same obejct??
how to find that 2 references are pointing to same obejct??
i feel that hashCode and equals will not work as far as i understood from javadocI wnat to know above because i want to check if ps in
this loop is same object or on each iteration new
object is created
for (int i = 0; i < 10 ;i ++)
PreparedStatement ps = con.prepareStatement(sql);
ps.setInt(1,i);
ps.executeUpdate();}
Here's a better question. Why in the world did you put that statement in the loop in the first place, unless the variable 'sql' is modified within? -
Hi there,
How to find out which lists are email enabled in my SP 2010?
Any script? Anything else?
Thank you.Hi frob,
check this script that is stated on this link
$SPwebApp = Get-SPWebApplication "http://migration.Company.com"
<# If it is MOSS 2007, You can use:
$SPWebApp = [Microsoft.SharePoint.Administration.SPWebApplication]::Lookup(http://sharepoint.com)
To get SPWebApplication Object
#>
#create a CSV file
"E-Mail,List,Site" > "EMail-Enabled.txt" #Write the Headers in to a text file
foreach ($SPsite in $SPwebApp.Sites) # get the collection of site collections
foreach($SPweb in $SPsite.AllWebs) # get the collection of sub sites
foreach ($SPList list in $SPweb.Lists)
if ( ($splist.CanReceiveEmail) -and ($SPlist.EmailAlias) )
# WRITE-HOST "E-Mail -" $SPList.EmailAlias "is configured for the list "$SPlist.Title "in "$SPweb.Url
$SPList.EmailAlias + "," + $SPlist.Title +"," + $SPweb.Url >> EMail-Enabled.txt #append the data
http://www.sharepointdiary.com/2011/06/find-all-incoming-email-enabled-lists.html
Kind Regards, John Naguib Technical Consultant/Architect MCITP, MCPD, MCTS, MCT, TOGAF 9 Foundation. Please remember to mark the reply as answer if it helps.
Maybe you are looking for
-
How to connect my Mac Air 13" to my Philips display with DVI and VGA ports?
How to connect my Mac Air 13" to my Philips display with DVI and VGA ports?
-
Reading email using abap program
Hi All, I have a requirement to read inbox mails through abap program. Also from address, to address, subject. Could someone help me !! Thanks in advance, Venkat Moderator message : Requirements dumping not allowed, show the work you have already do
-
Regarding Passing two internal Tables from Driver Program to Smartform
hi all, I am Passing Two Internal Tables from Driver Program to Smartform it is going to dump and message is showing like this " one of the parameters eded according to the interface description was not specified ". When i am pass
-
What would be the best way to create a queue for outoing SMTP messages? Or does one already exist? Here's my problem, I've developed an app with email-capable notices, error messges, and reminders. It can deliver an email an hour or up to 100 in a mi
-
On my new Gen2 ATV I am sharing my iphoto library all items checked but only events and albums will display. None of the slideshows are available on the ATV. All movies and other photos work justy fine. I have 6 of these with extensive slideshow libr