How to find the unused tables in a schema
Hi All,
I have a schema in my database in which some of my web portals runs. I have n number of tables in the schema but I beleive some of the tables which are not using for a long. How do I find those or list those tables which are not using for long?
Please help,
-Thanks & Cheers
Antony
Although your question is directed to Aman, I want to let you know that auditing "will" affect the performance of the database. And auditing will catch select statements too even using "successful and nonsuccessful" selects
Kamran Agayev A. (10g OCP)
http://kamranagayev.wordpress.com
[Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]
Similar Messages
-
How to find the Source Table in one corresponding schema?
Hi All,
How to find the Source Table in one corresponding schema?
regards,
DBDB wrote:
Hi All,
How to find the Source Table in one corresponding schema?
regards,
DBHUH?
I do not understand your question
How do I ask a question on the forums?
SQL and PL/SQL FAQ -
How to find the database table behind the xtags varibles?
if in xtags we find that some varibles are not having the right data coming from xml -> database tables so how can we find out the names of database table behind it .
<!-- <xtags:variable id="msds" context="<%=specs%>" select="//header/msds"/>
<a href="/MSDS/<%=msds%> target="#">MSDS</a>
-->
now how to find the database table and the column name of database table from which the value of id msds is coming
Here they have stored the name of pdf file . from this code pdf file is displayedHi,
Thanks for your response. It is PM related. When I run a T Code - IK18, the field Total Counter Reading field appears. I am looking for that particular fields actual table name and field name. I think I have found it in IMGR table. Now I want to get IMRG-READG in my report, but there is no common fields in neither MKPF or MSEG table. So what can I do to connect IMRG table with either of them ? -
How to find latest updated tables in current schema.
Hi,
I am in 3rd line support work, jobs(unix shell scripts) are running on daily at scheduled time.
Regarding to my work, i need to found latest updated tables.
How to find latest updated tables in current schema.
please guide me.
Thanks and Regards,
Venkat.duplicate thread
Answers on other thread: How to find latest updated tables in current schema. -
How to find the new tables and columns in a schema
hi..good morning to all...
I have a schema ABC which owns some objects.
Now some days before I have made another schema XYZ which was a replica of ABC schema.
between these days some new tables, new columns in the existing tables(with or without default value), comments on the columns are being added in the new schema i.e XYZ schema.
Now I have to find the extra things which are present in the new schema. I need to find the new tables, new columns in hte existing tables, their default values and descriptions of those.
Can u plss help me how can I find it?
I am guessing that I have to write a SQL query with a minus clause but I am not able to write it and also dont know where should I execute it.
plss help. thanks in advance.And moreover, when I am executing the query to get the desired result, then it is throwing "illegal use of long datatype" error and pointing to the b.data_default area of my query..
select a.table_name, a.column_name, b.data_default, a.comments from all_col_comments a, dba_tab_columns b
where a.TABLE_NAME=b.TABLE_NAME
and a.OWNER=b.OWNER
and a.OWNER=XYZ
minus
select c.table_name, c.column_name, d.data_default, c.comments from all_col_comments c, dba_tab_columns d
where c.TABLE_NAME=d.TABLE_NAME
and c.OWNER=d.OWNER
and c.OWNER='ABC'
order by 1, 2;
plss help... -
How to find the unused files for deletion?
After mapping 600 xml files, how does one find the unused files for deletion from the folder? (eaiser and cheaper translations)
iWeb will open any file with the extension .sites2 - it doesn't have to be named "Domain".
See this page for how to open separate Domain files when using Lion/Mountain Lion...
http://www.iwebformusicians.com/iWeb/mountain-lion.html
The above page will also let you know how to find the library folder now that its hidden. -
How to find the data table sin CRM 4.0
Dear Guru's
I want to know where can i get all the data tables in crm 4.0 for example if i want to know the data table for the Reason in activity Management.with the help of data table only the ABAP people can work.....na
Points willbe given
With Best Regadrs
Sreeram RaghuHi Raghu,
There are many techniques in which you could find the database tables, few of them are given below:
- Place your cursor in the field for ex: reason in activity and press F1
- In F1 screen(performance assistant), Click on Technical Information (fourth button from left), you can find here the database table name.
Another Option:
- Go to transaction SE11
- In Database Table Field type few letters, for example to find all the activity table type * act * and then press F4, all the tables related to activity will be displayed
Wish this was useful to you
regards
Srikantan -
How to find the dates table in T.CODE:CRMD_ORDER
Hi ,
Where to find the dates at sales order header level (General tab)as well item level in Transaction code: CRMD_ORDER.
I did not see any internal table for this Dates in the FM CRM_ORDER_READ and i have tried with F1 help but is a ALV grid.
Could any one help me to find the dates table.Hi,
The dates are populated in the table IT_APPOINTMENT of FM CRM_ORDER_READ.
if you want to populate the dates in any business order in crmd_order, then u can put a debugger in FM 'CRM_ORDER_MAINTAIN', open any business order, populate the date at header and item level and press enter.
check the table IT_APPOINMENT table and the corresponding values that need to be populated.
Hope this helps!!!
Prerna -
How to find the database table for this screen field
hi in XD02
There is a scrren field customer
name1 (firt line under name)
and email id fields
i wnat to know where the data stores goes w hen user eners in this screen i mean in which table and how to find it
for kunnr name1 i suppose it goes to kna1 but how to find it?
and f or email id whre it gots which table
regards
AroraHi,
when you press F1 it will give the necessary information
but some times it may give the structure names also
those structures are being used by the back end module pool
programm
so every time we can get the exact information about the
data type or length
but not sure that every time we get the exact database table name
and field name
according to me, if i dont know where some field are getting stored in
database ( if the field name and table is structure )
then i will ask my functional consultant ...
thanks & regards,
Venkatesh -
How to find the largest tables in EBS
Hi gurus,
Oracle EBS R12.1.2
Linux x86-64
RDBMS 11g
How can I find the top 10 largest tables in EBS - in terms of size (KB/MB)? pls send me the Query and also direction from where (which Schema) should I run that query?
-- TIAHi;
I suggest check below threads:
How to know which is the largest table in my oracle database??
Find Largest Tables in 9i Database
Query to find biggest table in oracle ERP database?
Those links should give you answer of your questions.
Regard
Helios -
If an error occured in the program while running, in which table this error is stored and how to get the message no.
Hi,
Doubleclick the error message and you get the message id and message number, then use transaction SE91 (or look in table T100T).
Regards,
John. -
T-SQL for finding the unused tables which are consuming maximum disk space.
Hi,
Need help in writing a T-SQL that can return me the unused or least used tables in a database and are consuming a lot of disk space.
ThanksRefer
http://gallery.technet.microsoft.com/SQL-List-All-Tables-Space-baf0bbf9
create table #TableSize (
Name varchar(255),
[rows] int,
reserved varchar(255),
data varchar(255),
index_size varchar(255),
unused varchar(255))
create table #ConvertedSizes (
Name varchar(255),
[rows] int,
reservedKb int,
dataKb int,
reservedIndexSize int,
reservedUnused int)
EXEC sp_MSforeachtable @command1="insert into #TableSize
EXEC sp_spaceused '?'"
insert into #ConvertedSizes (Name, [rows], reservedKb, dataKb, reservedIndexSize, reservedUnused)
select name, [rows],
SUBSTRING(reserved, 0, LEN(reserved)-2),
SUBSTRING(data, 0, LEN(data)-2),
SUBSTRING(index_size, 0, LEN(index_size)-2),
SUBSTRING(unused, 0, LEN(unused)-2)
from #TableSize
select * from #ConvertedSizes
order by reservedKb desc
drop table #TableSize
drop table #ConvertedSizes
--Prashanth -
How to find the DB tables used by the workbook/worksheet
Hi,
I wonder if there is a way that we can query the EUL tables (e.g. eul5_documents, etc) to find out the database tables that are used by a specific workbook.
Please advise and thank you very much,
YkeThere is no "direct" way to do this. If a report has been run at least once, though, you may be able to find out what you want (but it will require a bit of work).
From the EUL5_QPP_STATS table, you can find the workbook (qs_doc_name) and worksheet (qs_doc_details). You can then use the qs_object_use_key value to find the objects, which will give the tables. You could try:
select obj_ext_owner || '.' || sobj_ext_table
from eul5_objs
where instr ((select qs_object_use_key
from eul5_qpp_stats
where qs_doc_name = <workbook>
and qs_doc_details = <worksheet>
and qs_created_date =
(select max(qs_created_date)
from eul5_qpp_stats
where qs_doc_name = <workbook>
and qs_doc_details = <worksheet>)),
obj_id) > 0;This should give you the tables used for the last execution of the workbook. -
How to find the Check table for a field ?
Hello All,
I have the filed name f1.
Now I want to know the check table of this field programatically and if this field has a configuration table then I need that table also.
eg: if werks is the field the Master Table is : MARC
and Configuration Table is : T001W.
Is this possible first of all programatically ?
If yes can anyone help me out ?
Regards,
Deepu.KHi again,
1. I don't know the master table for the field werks
A field is never independent. It is always linked to a table,
otherwise the information is only half.
2. So incase if we do not know the tablename,
its best to query the table DD03L with WERKS,
and filer out CHECKTABLE with *,
and take any one record.
regards,
amit m. -
How to find the table in which data from a structure sits
Hi,
I want to know how to find the exact table where data sitting in various structures during runtime are stored.
For instance,in ME23N we have various tabs and data in those are held in various structures. This we can see by checking the technical setting of each field.
I want to know in which table the data is actually stored for each field and how to find them.
Any other means other than using "WHERE USED" option?
Thanks
CMAfter checking for technical field from the screen, when you reach out to structure, you can dbl click on the particular field's data element. From this data-element you can get to know in which tables it is used. Also if the data element refers to some master data field then you can check out its domain and in the domain you can refer the<b> value table</b> for that domain. This is what i will do if i am not sure about anything.
Hope it will help a little.
Jignesh.
Maybe you are looking for
-
Secured Site from a managed (parental control) user
I hope someone has a fix for this. I just bought this iMac for my daughter. I have parental controls on and now she can not visit any secured sites. Apple - There has to be a way for her to enter her secured sites (there are a lot of sites for kids t
-
Accessing resources in another swf
I am developing a web site in Flash. It consists of a number of swf "pages". I find that I am using the same font regularly and am having to embed it into each page. Is it possible to embed it into only one "base" page and then use the font in other
-
I have Photoshop 7 and have downloaded the Photoshop 7.01 download. I have a 64 bit computer and have been running and working with photoshop for about a year with no trouble. Now, It's started to corrupt files that I've manipulated in Photoshop.
-
Spry menu bar cyan-colored controller non-responsive
The cyan-colored controller that enables users in CS4 to configure spry tabs has suddenly stopped working, evidently after I made a change in width setting for spry tabs. The controller no longer works in the site in which I first experienced the pro
-
hello does any one have an idea about what could be the problem of this exception?? java.lang.NoClassDefFoundError: net/sf/cglib/beans/BulkBeanException at net.sf.hibernate.util.ReflectHelper.getBulkBean(ReflectHelper.java:180) at net.sf.hi