How the tables got analyzed?
new to the work. and have not done the dba work for a few years.
a couple weeks ago got a cloned production's db to work on in the dev server. the db is 11.2.0.3.
I found some of the tables got analyzed on 2/15 after the cloned made, which shown as the LAST_ANALYZED in the view DBA_TABLES. But Found no related jobs in dba_jobs.
how could ?
Maybe autotask, look for it at dba_scheduler.
HTH
Antonio NAVARRO
Similar Messages
-
How the tables are linked to each other in ERP and CRM?
Dear All,
Can anyone provide the info for the below query ?
"How the tables are linked to each other in ERP and CRM"
Quick response is highly appreciated.
Best Regards
SucchiDear Buijink ,
Thanks for the info.
Here in this table SMOFTABLES , it is giving the CRM adopter objects with R/3 tables . But my requirement is more on corresponding CRM Tables , the data fetching from R/3 tables will store in which CRM tables.To be clear the adopter objects extract the data from different R/3 tables but stores in to which tables?
Thanks in advance
Best Regards
Succhi -
Full loads and how the tables in BW are rebuilt
I have a question. If i am doing full loads every time how does the underlying BW table look. for example if I have 100 records the 1st time, then 80 what is the record count in the BW table? does it do some sort of automatic deletion every time so it has 80 records?
Hi,
For cube if you load the same data Key Figure values will be added when you report on it. So, the cube fact table will have double entries. If you want to add/ modify / delete data from the cube then probably you should go for delta loads.
Hope this helps.
PB -
How the tables are related in sap-crm
Can anybody help me out ??regarding the relationship between below tables??
CRMD_PARTNER Opportunity/Activities based on Contact
CRMD_LINK Opportunity/Activity Contact Link table
CRMD_ORDERADM_H Opportunity / Activity header table
CRMD_ACTIVITY_H Activity header table
BUT000 Client / Contact/Employee Name
Thanks in advance,...
bye--
Pradeepa1 ) CRMD_ORDERADM_H -
TAKE GUID
2)CRMD_LINK --->FIND GUID-SET FOR GUID-HI
3)CRMD-PARTNER--->PASS GUID-SET IN GUID ---TO GET PARTNER-NO
4)BUT000>GIVE PARTENR NO IN PARTNER-GUID->GET PARTNER.
5) CRMD_ORDER_INDEX--->GIVE PARTNER IN PARTNER-NO >GET>OBJECT_TYPE.. -
How is the table MCHB populated?
Dear SDNers,
Need your input on how the table MCHB gets populated?
for ex. when i create material master mm01 and save, material gets created and an entry is made in master table.
Similarly, how /what tcode is processed to update the table MCHB.
I am looking for field CLABS, as to how this is getting populated.
Effort by me:
I looked at the where used list for the table mchb and was able to locate a standard report RM07KO01- Stock consistency check. In this there is an include RM07KOF4 which contains perform update_mchb.
I am not able to locate the code as to where this table is getting values populated from.
Am i being right in my search ? if not please guide me.
Regards,
SuryaD.Hi Surya,
As Suhas said..
It is being updated while any Goods Movement happens...
There are various T-Codes for it..
MIGO
MB1A
MB1B etc etc
Hope it will solve your problem..
Thanks & Regards
ilesh 24x7
ilesh Nandaniya -
How to find who dropped the table
Hi Gurus,
Is there a way beside auditing to know who dropped the table,i know we could use logminer for that but the thing is that i don't have supplemental logging turned on while the table got dropped.
I think we need to have supplemental logging enabled to find who did what even for the DDL correct?
Is there any way i can find who dropped the table?
Thanksuser9097501 wrote:
Hi Gurus,
Is there a way beside auditing to know who dropped the table,i know we could use logminer for that but the thing is that i don't have supplemental logging turned on while the table got dropped.
I think we need to have supplemental logging enabled to find who did what even for the DDL correct?
Is there any way i can find who dropped the table?
ThanksI can think about 2 different ways to do it ;
1- by using Audit http://www.oracle-base.com/articles/10g/Auditing_10gR2.php ; if it's enabled
2- or there another method , does not give a real precision, but could be helpful if the audit is not enabled ; can be to check listener log. Listener does show database connection requests. So if you know the time the table was dropped (SELECT DROPTIME
FROM DBA_RECYCLEBIN
WHERE Owner = 'XXX'
AND ORIGINAL_NAME= 'YYYYYY'), you can see from the listener log what connected to the database at that time. (asuming that the connection request was from a remote client, not the DB server)
E.g if I found that the table were dropped at 14:45:18 then I can tell from my listener log that it is probably due to a user connected by the portal application on host portal.es6.orawiss.net:
23-AUG-2010 14:45:18 * (CONNECT_DATA=(SID=DB02)(CID=(PROGRAM=httpd)(HOST=portal.es6.orawiss.net)(USER=apache))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.44.30)(PORT=60618)) * establish * DB02 * 0
Listener logs are an important source of audit information.
Hope it helps :) -
Automatic Optimizer Statistics Collection Enabled still tables not analyzed
Hello,
We have Oracle 11g R1 database. Our automatic Optimizer Statistics Collection settings are enabled, still I don't see the tables being analyzed, any suggestions if I am missing any settings. All tables do get analyzed if I do manual statistics gathering.
SQL> select CLIENT_NAME ,STATUS from DBA_AUTOTASK_CLIENT;
CLIENT_NAME STATUS
auto optimizer stats collection ENABLED
auto space advisor ENABLED
sql tuning advisor ENABLED
Thanks,
SKuser599845 wrote:
Hello,
We have Oracle 11g R1 database. Our automatic Optimizer Statistics Collection settings are enabled, still I don't see the tables being analyzed, any suggestions if I am missing any settings. All tables do get analyzed if I do manual statistics gathering.
SQL> select CLIENT_NAME ,STATUS from DBA_AUTOTASK_CLIENT;
CLIENT_NAME STATUS
auto optimizer stats collection ENABLED
auto space advisor ENABLED
sql tuning advisor ENABLED
Thanks,
SK
still I don't see the tables being analyzed, post SQL & results that lead you to this conclusion.
realize that statistics can be "collected" without updating LAST_ANALYZED column.
if data within table does not change, the nothing would be gained by "updating" statistics to same values as now/before. -
Hi Friends,
I Have a issue related to Z-Tables,last week i saw few entries in a Z-Table,but today when i checked it contains more than 1000 entries,i have a doubt whether the Development box has been refrshed whether it is possible to check the dates when the table got last refreshed?
Regards
DineshHi,
If u go to the technical settings in se11 tcode , u can see the last changed date and username.
Hope this will help u.
Regards,
Subha -
guyz!
hope this post finds u all at high on spirit. over here, i am having a requirement to buffer one custom table. let me give the scenario of table access. here it goes:
1. it gets updated every month.
2. after getting updated, it is accessed.
3. i also believe that, table size is also small, i.e. size category = 0.
4. finally the access is like, mostly it will retreive only one month data, by taking all the key fields. in my case there are 5 key fields.
so can any one suggest me, which buffering type to use.
manasHi,
select 'Buffering not allowed ' button for mentioned case.
Check this help:
Buffering status
Definition
The buffering status specifies whether or not a table may be buffered.
This depends on how the table is used, for example on the expected volume of data in the table or on the type of access to a table. (mainly read or mainly write access to the table. In the latter case, for example, one would not select buffering).
You should therefore select
- Buffering not allowed if a table may not be buffered.
- Buffering allowed but not activated if buffering is
principally allowed for a table, but at the moment no buffering
should be active. The
buffering type specified in this case is only
a suggestion.
- Buffering allowed if the table should be buffered. In this
case a buffering type
must be specified.
The buffering type defines whether and how the table should be buffered.
There are the following types of buffering:
single-record buffering
generic area buffering
full buffering
In generic area buffering, a number of key fields between 1 and no. of key fields-1 must be specified.
Regards
Appana -
How does table CE4JJ01_ACCT populated?
Hi All,
Good day.
I would like to seek help from everyone on how the table CE4JJ01_ACCT populated. Does it needs a program or a transaction code or a function module to be executed first in order to populate it.
Your help is very much appreciated.
Thanks.
Regards,
JCHi ,
Is it related to CO-PA ?
regards
Prabhu -
How an INDEX of a Table got selected when a SELECT query hits the Database
Hi All,
How an Index got selected when a SELECT query hits the Database Table.
My SELECT query is as ahown below.
SELECT ebeln ebelp matnr FROM ekpo
APPENDING TABLE i_ebeln
FOR ALL ENTRIES IN i_mara_01
WHERE werks = p_werks AND
matnr = i_mara_01-matnr AND
bstyp EQ 'F' AND
loekz IN (' ' , 'S') AND
elikz = ' ' AND
ebeln IN s_ebeln AND
pstyp IN ('0' , '3') AND
knttp = ' ' AND
ko_prctr IN r_prctr AND
retpo = ''.
The fields in the INDEX of the Table EKPO should be in the same sequence as in the WHERE clasuse?
Regards,
VijiHi,
You minimize the size of the result set by using the WHERE and HAVING clauses. To increase the efficiency of these clauses, you should formulate them to fit with the database table indexes.
Database Indexes
Indexes speed up data selection from the database. They consist of selected fields of a table, of which a copy is then made in sorted order. If you specify the index fields correctly in a condition in the WHERE or HAVING clause, the system only searches part of the index (index range scan).
The primary index is always created automatically in the R/3 System. It consists of the primary key fields of the database table. This means that for each combination of fields in the index, there is a maximum of one line in the table. This kind of index is also known as UNIQUE. If you cannot use the primary index to determine the result set because, for example, none of the primary index fields occur in the WHERE or HAVING clause, the system searches through the entire table (full table scan). For this case, you can create secondary indexes, which can restrict the number of table entries searched to form the result set.
reference : help.sap.com
thanx. -
DisplayTag - got the table but the view is simple! how to get ITS mode?
Hi guys,
I have (semi) successfully implemented a nice table using the DisplayTag
(From: http://displaytag.homeip.net/displaytag-examples-1.1/example-styles.jsp?class=its)
The thing is that I can see the table but it's in a simple mode! Meaning there's no color, nor borders, no look!
Wonder if anyone knows what I am missing.
Thanks
My code:
<%@ taglib uri="http://displaytag.sf.net" prefix="display" %>
<%@ include file="/taglibs.jsp" %>
<fmt:setBundle basename="ApplicationResources" />
<table align="center" width = "80%">
<tr><td>
<html:errors property="join"/>
<h1>hello jsp worold </h1>
<fmt:message key="loggedin.msg">
<fmt:param value='${requestScope.userName}' />
</fmt:message>
</td></tr>
</table>
<display:table name="sessionScope.all_users" class="its">
<display:column property="userID" title="ID" paramId="userID" />
<display:column property="email" paramId="action" paramName="testparam" paramScope="request" />
<display:column property="password" paramId="id" paramProperty="userID" />
</display:table>See Empty/corrupt library after upgrade/crash.
tt2 -
How to find accurate number of Rows, and size of all the tables of a Schema
HI,
How to find the accurate number of Rows, and size of all the tables of a Schema ????
Thanks.SELECT t.table_name AS "Table Name",
t.num_rows AS "Rows",
t.avg_row_len AS "Avg Row Len",
Trunc((t.blocks * p.value)/1024) AS "Size KB",
t.last_analyzed AS "Last Analyzed"
FROM dba_tables t,
v$parameter p
WHERE t.owner = Decode(Upper('&1'), 'ALL', t.owner, Upper('&1'))
AND p.name = 'db_block_size'
ORDER by 4 desc nulls last;
## Gather schema stats
begin
dbms_stats.gather_schema_stats(ownname=>'SYSLOG');
end;
## Gather a particular table stats of a schema
begin
DBMS_STATS.gather_table_stats(ownname=>'syslog',tabname=>'logs');
end;
http://www.oradev.com/create_statistics.jsp
Hope this will work.
Regards
Asif Kabir
-- Mark the answer as correct/helpful -
How to truncate the values from the table
Hi All,
I am working on an issue..where we are first deleting all the records from the table and then based on few conditions we are putting the records back in that table...when we tried to run this program along with few others those who are doing almost the same stuff we are having issues...we tried to schedule few jobs related to these programs only...but after a ceratin amount of time couple of jobs got canceled...I was talking to my basis guy and he said the problem is ratehr then truncating the records from the table we are deleting the records and it's taking lots and lots of space to execute...so we need to truncate the records from the table insted of deleting it...we are using the following the statement right now:
DELETE FROM ZTUS_PG.
COMMIT WORK.
So can you please tell me how can we truncate the values from this table instead of just deleting them and what would be effect of this.
Thanks,
Rajeev GuptaI don't think basis is saying you should delete all the records from the table. They are saying remove the table and it's contents (a much faster thing to do). I'm not sure this the right thing to do, but you can have a look at:
http://publib.boulder.ibm.com/infocenter/db2luw/v9/index.jsp?topic=/com.ibm.db2.udb.apdv.sample.doc/doc/admin_scripts/s-truncate-db2.htm
Something like:
EXEC SQL.
TRUNCATE TABLE ZTUS_PG REUSE STORAGE
ENDEXEC.
COMMIT WORK. "Empty table is committed here
Rob
Edited by: Rob Burbank on Dec 1, 2008 4:06 PM -
How do I get the table of contents to toggle? It has remained open since I opened it while reading two books ago. Thanks for the help.
Thank you for your advice. I followed your directions, but came up with the same results. However, I did discover that whenever I open up the iPhoto Library that is already existing on my MacBook a certain set of pictures shows up. But then when I open up the iPhoto Library from the Hard drive another set of pictures shows up. BUT not ALL of my pictures are showing up on the iPhoto Library from the hard drive. At least the last two years of pictures are not showing up?! Actually, it appears that all the pictures are there from when I started using iPhoto about 5 years ago up until around the time that I got my iMac desktop computer and started using that (2 years ago). I have noticed that more recent videos I have made are showing up in a folder on the hard drive, but will not appear when I open up iMovie?! Any ideas on how to access my pictures from the last 2 years off of the hard drive???
Maybe you are looking for
-
Disabling sendmail once and for all
So I'm trying to turn on sendmail on a Solaris10 box, and is run a disable sendmail and the processes die, but then they start back up. Why is this happening and what do I do to make it stop restarting?
-
Application server file download
Hi gurus, Iam using a FM F4_DXFILENAME_TOPRECURSION for downloading data to the application server and also using the same FM for retrieving the data from appl. server. I have been provided a sample path in "Development server" with the directory nam
-
Missing XML Element when using asset from library
This is not really a scripting question but I seem to be unable to find any regular ID forum and it has something to do with a scripting workflow I established for a customer. A script places an asset from a library onto a document and then (amongst
-
Creating Pages template from Photoshop layout
I need to create a Pages template from a Photoshop layout. I don't have the time to create one myself and am looking to hire someone to do this. Is there a User group or some other place where I can find someone to do this for me? Thanks in advance f
-
I'm using the grow/shrink effect twice on an object. Once onMouse Over to make it grow and once again onMouseOut to make it shrink. The problem I am having is that the object begins to grow and shrink spasticlly like it's having soome kind of seizure