Way to find Missing table Index in SAP ?
Hi All,
Is there any way to check missing tables index in SAP?
and also DB size ? and reorganize the index and tables?
Cheers
Usman
Hi Usman,
Transaction <b>SE14, DB02</b> .. program to reorganize the index and tables .. <b>Report RSSDBREO </b>
Db Size :<b>Tr.DB02</b> Perform DB Check and you will get the size.
Or you can check on your database server sap data files systems. so you will know gross size of your DB.
Thanks
Saquib Khan
Message was edited by: Saquib Khan
Similar Messages
-
Is there not an easier way to find missing songs?
Is there a smarter way to find missing songs and albums besides having to go through each one individually? Some kind of batch process would be nice...
How do you guys efficiently find missing songs or albums?don't you just love the way Apple answers your questions in this forum?
-
Is there any way to find missing fonts in graphics through JS?
Is there any way to find missing fonts in images through JS? InDesign automatically substitutes the alternate fonts while trying to fetch through JS so unable to find the font status.
Hi UDevp,
in InDesign CS4 you might check the results of the preflight instead looking for used fonts and their status.
At least you should get the names of missing fonts.
Martin -
Way to find which tables are being accessed
Hi Guys
I have a large database and i want to find which tables are not being accessed (even select) from a specific period of time. is there any way to find out . I am using oracke 10g release 1
Regards
Khurana
Edited by: Khurana on Sep 8, 2009 4:29 PMselect sp.object_owner,sp.object_name,
(select sql_text from v$sqlarea sa
where sa.address = sp.address
and sa.hash_value =sp.hash_value) sqltext,
(select executions from v$sqlarea sa
where sa.address = sp.address
and sa.hash_value =sp.hash_value) no_of_full_scans,
(select lpad(nvl(trim(to_char(num_rows)),' '),15,' ')||' | '||lpad(nvl(trim(to_char(blocks)),' '),15,' ')||' | '||buffer_pool
from dba_tables where table_name = sp.object_name
and owner = sp.object_owner) "rows|blocks|pool"
from v$sql_plan sp
where operation='TABLE ACCESS'
and object_owner IN ('YOUR_USER_NAME')
order by 1,2
It will tell you that currently "OBJECT_NAME" is being accessed; but i think it is for full table scan.
Source:http://www.oracle.com/technology/oramag/code/tips2005/032105.html
Regards
Girish Sharma -
A way to find out tables and fields referred by a transaction
I want to know whether there is a way to find all the database tables and fields referred by a transaction. I know that we can do F1 on each field to get the reference table and the fielname but its taking a lot of time for me..I need to know if there is any program or a way(some tool) to find out the tables and fieldnames for a transaction. Any help would be greatly appreciated..
Thanks,
Mohsin.Hi Mohsin,
As suggested <b>SQL Trace</b> is the best Option.
Say inorder to Find the field inf. you can use SQL trace (ST05) .
<b>Steps for the same:</b>
1) Go to ST05 --> Activate Trace.
2) Run the trasaction , make some changes to the field for which you want to have the table name then SAVE.
3) Go again to ST05 ---> Deactive Trace
4) List trace
5) Then search for the chaged value which u had done on that transaction.
6) With this you will be able to see the table name in the Obj. name column.
**How can we find out what tables are being referred for what field???.
For this , one way which i follow other then F1 is :
<b>i follow Steps 2 and step 5</b> which help me to locate those values only for which i am looking for the table only as with the changed value in transaction which u had done in step 2 and after saving it it will go to the DB table and on searching the same changed value in the trace give u the quick link of the table .
It helped me many times and saves time by doing linke this otherwise u have got all the options to as suggested by the FORUM .
Cheers
Sunny
Rewrd points, if found helpful -
Is there a way to know the table linkages in SAP?
Hello Experts,
Suppose I want to know a particular table that can be linked to lets say, VBAK.
For example, I want to know the material description based from the sales document.
Is there a way to do this?Please don't give me links or files.
Thanks a lot guys and take care!Well, there are some documents that I've seen which illistrates the links between tables, it was only for the sales document tables. But really it is a matter of experience and dealing with the transactions. Finding the pieces of data as your go. You can also do an SQL trace on a transaction, this will show you all the tables hit during the runtime.
But to answer your question, the material description on the sales order is copied form the material master. The field on the sales document is ARKTX in table VBAP, the material master field is MAKTX in table MAKT, you can link to this table using the MATNR from VBAP.
Regards,
RIch Heilman -
Easy way to find missing plug-in instance?
I'm making revisions to a project another designer made. In the project, there's a reference to a plug-in I don't have. How can I easily find the layer the effect is used and remove it?
I know CS4 has the new search feature, but effect searching is only done on the timeline search bar. Is there any way I can search an entire project without opening up every comp (there are close to a hundred)?Paul Tuersley has a script that will search the project for instances of effects:
http://www.aenhancers.com/viewtopic.php?f=9&t=31 -
To find the table name using field name
Hi,
Do we have any transaction code using field name to find out the table name
Regards,
P.Arunkumar.Hi Arun,
The best way to find out table from field is,
Use SE15 Transaction->dictionary fields ->table fields->goto table field columns
Enter ur fields..
or you can use ST05
Reward points if it is useful
Regards,
R.Brahmankar -
How to find affected tables in the database
Hi Friends,
Is there any way to find the tables affected in the database when book a trade in the Application in Oracle. Please help me to find the affected tables.
Thanks,
ragu.
Edited by: user533548 on Apr 3, 2009 5:08 AM
Edited by: user533548 on Apr 3, 2009 5:13 AMHi Karthick_Arp,
You take any application for example when you book details about a new employee the rows will be affected in the database we generally use the empid to identify
what are the tables affected is there any way like this when you book a trade in the Application to find what are all the tables affected in the database.I think that
you have understand my question.
Thanks,
ragu.
Edited by: user533548 on Apr 3, 2009 5:09 AM
Edited by: user533548 on Apr 3, 2009 5:13 AM -
How can i find the tables which dont contain any data under my database ?
Can you please suggest me a way to find the tables which dont contain any data under my database ?
Regards,
RenuCan you please suggest me a way to find the tables which dont contain any data under my database ?
For the schema that you've logged in to, you could do something like this:
test@XE>
test@XE> @test
test@XE> --
test@XE> set serveroutput on size 1000000
test@XE>
test@XE> declare
2 n_count number;
3 begin
4 for rec in (select object_name from user_objects
5 where object_type = 'TABLE')
6 loop
7 execute immediate 'select count(*) from '||rec.object_name
8 into n_count;
9 if (n_count = 0) then
10 dbms_output.put_line(rec.object_name);
11 end if;
12 end loop;
13 end;
14 /
BONUS
RUN_STATS
PL/SQL procedure successfully completed.
test@XE>
test@XE>For the other schemas, you could query from dba_objects and probably display the owner as well.
HTH
isotope -
Finding Missing Time Interval in SQL
All
Need help with SQL to find Missing Time Interval.
My query returns data as given below
Data1
Column StartTime EndTime
======= ======= =======
T2 9:00 18:00T3 20:00 23:00
Data2
Column StartTime EndTime
======= ======= ======= T1 15:00 20:00
T3 20:00 07:00
Take above output, I want to find Time Not on my Data in 24 hours from First StartTime on each Data Set.
Example: Data1
First StartTime: 9:00 AM (T2 record)
Add 24 hours, which will be 9:00AM Next day.
Expected Result to get missing time interval for Data1
18:00 - 20:00
23:00 - 9:00 (next day)
For Data2 Expected result
7:00 - 15:00 Next Day
Database version: 11g
Anyone come across to calculate missing time interval? Can I use PL/SQL for this like pipeline function?
Any help/directions/references I highly appreciate.
Thanks in advance.
KarthOne way of finding Missing Intervals:
alter session set nls_date_format = 'DD-Mon-YYYY HH24:MI:SS';
with data as
select to_date('28-Jun-2013 09:00', 'DD-Mon-YYYY HH24:MI') start_time, to_date('28-Jun-2013 18:00', 'DD-Mon-YYYY HH24:MI') end_time from dual union all
select to_date('28-Jun-2013 20:00', 'DD-Mon-YYYY HH24:MI') start_time, to_date('28-Jun-2013 23:00', 'DD-Mon-YYYY HH24:MI') end_time from dual
select start_time, end_time,
case when lead(to_char(start_time, 'HH24'), 1, (select min(to_char(start_time, 'HH24')) from data)) over (order by to_char(start_time, 'HH24')) not between to_char(start_time, 'HH24') and to_char(end_time, 'HH24')
then to_char(end_time, 'HH24:MI') || ' - ' || lead(to_char(start_time, 'HH24:MI'), 1, (select min(to_char(start_time, 'HH24:MI')) from data)) over (order by to_char(start_time, 'HH24:MI'))
else
null
end period
from data
START_TIME END_TIME PERIOD
28-Jun-2013 09:00:00 28-Jun-2013 18:00:00 18:00 - 20:00
28-Jun-2013 20:00:00 28-Jun-2013 23:00:00 23:00 - 09:00
Time information need not be stored in additional Varchar fields, if you have Date Column. You can use Date fields that store Date and time both.
Another way of approaching this problem is with Connect By Clause or Model Clause. Use the search functionality to find solutions using those methods too. However, in my opinion, this method is the quickest of all. -
hi,
I need a way to find dependent tables of a table (through code I mean). That is I need to know if a table's primary key is referenced from another table as a foreign key.
Thanks in advance,
teoUse USER_CONSTRAINTS dictionary view. For example table T references by
foreign key to T1 and T2 tables:
SQL> select a.owner,a.table_name,b.owner primary_owner,b.table_name primary_table
2 from user_constraints a, user_constraints b
3 where a.table_name = 'T' and a.r_constraint_name = b.constraint_name
4 /
OWNER TABLE_NAME PRIMARY_OW PRIMARY_TA
SCOTT T SCOTT T2
SCOTT T SCOTT T1Rgds. -
How to find missing glyphs / characters
hi,
is there a way to find missing glyphs / characters (that are not contained in a font and thus displayed as pinkish rectangles) in a text?
I thought there might be a metacharacter or a variable of the Text object, but I couldn't find anything.
thanks,
wTry scripting a preflight check
-
Missing Tables and Indexes in 3.5
Hi,
when i am executing Tcode DB02 then under Missing Tables and Indexes i find 35 Indexes as not created.
can anybody tell me what does that signify. is this a issue if so how to fix it.
Indexes not created
ADCP-I04
ADCP-I03
ADCP-I02
ADCP-I01
ADCPS-I01
ADCPS-I02
ADCPS-I03
ADCPS-I04
ADRC-I14
ADRC-I11
ADRC-I05
ADRC-I02
ADRC-G
ADRP-I01
ADRP-I02
ADRP-I03
ADRP-I04
ADRP-I07
ADRP-I08
ADRP-I09
ADRV-I01
BUT000-PER
CDHDR-001
CDHDR-002
CRMD_ORDERADM_I-PKI
CRMD_ORDERADM_I-DES
ISSUE_RELATION-001
NAST-ADQ
RMPS_T_RESUB-RAG
RMPS_T_RESUB-RCU
SSPICSPRHD-S02
SSPICSTRHEAD-S01
SSPICSTRPL-FLD
STXH-TDN
SWBRULECOM-RSY
RakeshHi Rakesh,
First thing this is not an issue but an information that says that these indexes are not be created in the System.
This option Indexes not created is an SAP table maintained from Dev to Prod just to indicate that these indexes cannot be created.
That's the reason why u have a green mark beside them and this will make clear for you that this is not an issue.
Hope it helps!!!!
Thanks & Regards,
Neelesh Jain. -
Hi SAP Gurus,
on our SAP NetWeaver 7.x BW (based on AIX/Oracle) I find via transaction DB02 (path = Diagnostics => Missing Tables and Indexes) under "Unknown objects in ABAP Dictionary" under DB views a BW object /BI0/.....
When I make a double click on the object, I am getting the popup window "Display not possible for this object":
How can I identify the object and clarify with the BW application expert, if needed, how to resolve this object?
I searched already via RSA1 for the object, but I wasn't able to find anything so far ...
Thanks for your help and ideas.
Best regards
CarlosHello Carlos
The database view in question is a temporary database object created during a query execution.
Please read this SAP note 449891 - Temporary database objects in BW 3.x to understand what that view is all about and impact if those views are removed.
The SAP notes 449891 and 1139396 suggests to run the report SAP_DROP_TMPTABLES to drop these temporary objects. Whether the objects are still required or not is a question to be put across to the BW team. If the temporary objects are removed when they are used by a query, then the query will fail.
Have a nice day
RB
Maybe you are looking for
-
How can I sort content into a-z of album titles
Hi Everyone Hope someone out there can help. I run two libraries on one pc at home, in library one I have the album icon view and I click on "Album" at the top and my albums are organised a to z by album title. However in library two, I cannot get
-
Oracle 7.3.4 on Sun Solaris 7
Help needed Could anyone tell me whether Oracle 7.3.4, Oracle 8, Forms 6 and Forms 5 are available for Sun Solaris 7? Thanks
-
When I open the browser I get a extra tab besides my home page that opens. I only want my home page to open.
-
Why do I get this debug (voice), even if I undebug all.
Hi all, I am workiong in my router from a telnet terminal, I needed to do some debugs, but every time y use de "term moni" commando, I get those lines when a call is finished. 175139: Aug 29 22:20:11: %VOIPAAA-5-VOIP_CALL_HISTORY: CallLegType 2, Conn
-
Code for subscreen elements of a tabstrip.
hi i want to know what are the methods to code for subscreen elements of a tabstrip. thanks in advance