How to find out memory occupied by a table and a user?
I want to find out how much memory space is occupied by a table and I also wants to know how much data, a user is using.
Eg: Consider Emp table of 8 columns and 14 rows. I need memory occupied by Emp table.
Suppose consider "Scott" user is created 4 tables,3 sequences,2 indexes, 1 view.
I want to know how much memory is used by Scott?
Did you mean the object size?
--For particular object size in MEGABYTEs
select sum(bytes)/1024/1024 mega_bytes
from dba_segments
where segment_name = 'EMP'
and owner = 'SCOTT';
MEGA_BYTES
0.0625
--For a schema size
select segment_type,sum(bytes)/1024/1024 mega_bytes
from dba_segments
where owner = 'SCOTT'
group by rollup(segment_type);
SEGMENT_TYPE MEGA_BYTES
INDEX 1.0625
LOBINDEX 0.0625
LOBSEGMENT 0.0625
TABLE 15
16.1875
Similar Messages
-
How to find out the selected column in Table Control
Hi all,
How to find out the selected column in Table Control?
Thanks & Regards,
YJRHi,
Let your table control name in Screen painter be TC1.
READ TABLE TC1-COLS INTO WA_COLS (some wok area)
WITH KEY SELECTED = 'X'.
IF SY-SUBRC = 0.
CLEAR: W_DUMMY, W_COL_NAME.
SPLIT WA_COLS-SCREEN-NAME AT '-' INTO W_DUMMY
W_COL_NAME.
endif.
W_COL_NAME gives you the column name.
Hope it helps.
cheers
sharmistha -
Hi ,
How to find out the latest Record in per_all_people_f and per_all_assignments_f
Requirement : Need to find out the latest record in per_all_people_f and per_all_assignments_f to update the attribute column with pre defined value . Its not possible to track only with person_id / assignment_id and effective end date
SELECT pp_id
FROM (SELECT app.person_id pp_id,
asf.*
FROM apps.per_all_people_f app,
apps.per_all_assignments_f asf
WHERE --app.person_id=123568 and
asf.person_id = app.person_id AND
app.effective_end_date = to_date('31-dec-4712') AND
asf.effective_end_date = to_date('31-dec-4712')
GROUP BY app.person_id)
HAVING COUNT(pp_id) > 1
GROUP BY pp_id
This query also returns more than 1 value for person_id .
It would be great if you put comment on this .. Thanks in advance ,
AryaI am getting more records with asf.primary_flag='Y' . If you give ur mail id , i will send the sample data
ASSIGNMENT_ID EFFECTIVE_START_DATE EFFECTIVE_END_DATE BUSINESS_GROUP_ID RECRUITER_ID GRADE_ID POSITION_ID JOB_ID ASSIGNMENT_STATUS_TYPE_ID PAYROLL_ID LOCATION_ID PERSON_REFERRED_BY_ID SUPERVISOR_ID SPECIAL_CEILING_STEP_ID PERSON_ID RECRUITMENT_ACTIVITY_ID SOURCE_ORGANIZATION_ID ORGANIZATION_ID PEOPLE_GROUP_ID SOFT_CODING_KEYFLEX_ID VACANCY_ID PAY_BASIS_ID ASSIGNMENT_SEQUENCE ASSIGNMENT_TYPE PRIMARY_FLAG APPLICATION_ID ASSIGNMENT_NUMBER CHANGE_REASON COMMENT_ID DATE_PROBATION_END DEFAULT_CODE_COMB_ID EMPLOYMENT_CATEGORY FREQUENCY INTERNAL_ADDRESS_LINE MANAGER_FLAG NORMAL_HOURS PERF_REVIEW_PERIOD PERF_REVIEW_PERIOD_FREQUENCY PERIOD_OF_SERVICE_ID PROBATION_PERIOD PROBATION_UNIT SAL_REVIEW_PERIOD SAL_REVIEW_PERIOD_FREQUENCY SET_OF_BOOKS_ID SOURCE_TYPE TIME_NORMAL_FINISH TIME_NORMAL_START BARGAINING_UNIT_CODE LABOUR_UNION_MEMBER_FLAG HOURLY_SALARIED_CODE REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE ASS_ATTRIBUTE_CATEGORY ASS_ATTRIBUTE1 ASS_ATTRIBUTE2 ASS_ATTRIBUTE3 ASS_ATTRIBUTE4 ASS_ATTRIBUTE5 ASS_ATTRIBUTE6 ASS_ATTRIBUTE7 ASS_ATTRIBUTE8 ASS_ATTRIBUTE9 ASS_ATTRIBUTE10 ASS_ATTRIBUTE11 ASS_ATTRIBUTE12 ASS_ATTRIBUTE13 ASS_ATTRIBUTE14 ASS_ATTRIBUTE15 ASS_ATTRIBUTE16 ASS_ATTRIBUTE17 ASS_ATTRIBUTE18 ASS_ATTRIBUTE19 ASS_ATTRIBUTE20 ASS_ATTRIBUTE21 ASS_ATTRIBUTE22 ASS_ATTRIBUTE23 ASS_ATTRIBUTE24 ASS_ATTRIBUTE25 ASS_ATTRIBUTE26 ASS_ATTRIBUTE27 ASS_ATTRIBUTE28 ASS_ATTRIBUTE29 ASS_ATTRIBUTE30 LAST_UPDATE_DATE LAST_UPDATED_BY LAST_UPDATE_LOGIN CREATED_BY CREATION_DATE TITLE OBJECT_VERSION_NUMBER
931510 7-Nov-08 31-Dec-12 122 (null) (null) (null) 3978 1 (null) 14402 (null) 220150 (null) 734956 (null) (null) 476 (null) (null) (null) (null) 2 E Y (null) 100035417-2 (null) (null) (null) 45948739 (null) (null) (null) (null) (null) (null) (null) 868007 (null) (null) (null) (null) 449 (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null)
797386 26-Aug-08 26-Aug-08 122 (null) (null) (null) 3980 3 (null) 14402 (null) 218925 (null) 734956 (null) (null) 476 (null) (null) (null) (null) 1 E Y (null) 100035417 (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) 740071 (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null)
916076 26-Aug-08 31-Dec-12 122 (null) (null) (null) 3980 1 4 14402 (null) 218925 (null) 734956 (null) (null) 476 (null) (null) (null) (null) 1 B Y (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null)
797386 25-Feb-08 25-Aug-08 122 (null) (null) (null) 3980 1 (null) 14402 (null) 218925 (null) 734956 (null) (null) 476 (null) (null) (null) (null) 1 E Y (null) 100035417 (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) 740071 (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) (null) -
How to find out the versions of family pack and mini pack installed?
There are family pack and mini pack for HRMS.
How to find out the versions of family pack and mini pack installed
just by a Unix command or sqlplus Select statement?
Thanksyou can get the Minipack version of the products by querying fnd_product_installations or ad_patchdriver_minipks, for family packs you need to query through Metalink, OR if you have u driver file which resides on $AY_TOP/discoverer, looks for the minipacks/familypack version in the driver file.
-
How to find out the link for the tables for sub contract PO
Dear All,
How to find out the link for the tables for sub contract PO, I am looking for the fields Material, Unit, Batch no., quantity.
Please provide the solution for the Table related to ABAP.
Thanks,
V.V.Hi,
Make use of the table EKKO, EKPO...
For subcontract please select the option in EKPO-PSTYP.
Regards
GK. -
How to find out the script for the table using SQL
Hi,
Could any one tell me that how to find out the script for the table using SQL.
Thanks,
kamalKamal,
You can find the SQL query in Advanced tab of Answers
Thanks,
Balaa... -
How to find out the name of a table?
Hi
How can I find out the name of a table which doesn't have a record history?
Regards
RahmanNo direct way to know the tables. What you will find on the ABout this page link are the View Object (similar to record sets), Entity objects, controller and Application module. Generally EO is based on a table or the VO can be based on the query which you can find the corresponding xml file. But a button action might be calling a method in AM or CO which in turn call some wrapper method to interact with database. So nothing straight forward. You will have to analyze the all page related code objects.
They are specific to OA framework and if you are not aware about them, better go through the initial chapters of OAF dev guide.
--Shiv -
How to find the list of Parallel enabled tables for a User?
Hi All,
I created a table with parallel option. Now I want to find out the list of all tables created with that option. I searched in DBA tables but I couldn’t get it. Could some one help in it?
Thanks,
DariusYou'll find this information in user_tables in the column DEGREE.
degree=1 means noparallel
degree=default means parallel default
degree=2 means (parallel, 2)
etc... -
How to find out memory consumption for table in HANA without load it into memory
Hi,
To determine the memory consumption for a table in HANA, you can query table M_CS_TABLES, however, it requires load table into memory first, I just wonder if there has another table store memory consumption information for all HANA tables regardless it load into memory or not. Below is screenshot for one of table in my system, since that table is partially loaded into memory, "Total Memory Consumption (KB):" tell me the memory consumption of the portion load into memory, what I am looking for is something like "Estimated Maximun Memory Consumption (KB)" which provides me total memory consumption for that table including portion doesn't load into memory, of course I can use this Esitmated information, but consider I have close to thousand tables in my HANA system already, it's not pratical to check tables one by one.
Thanks,
Xiaogang.Hi Xiaogang,
Estimated Memory Size that you see in the Table Run time Information - same is available in M_CS_TABLES also
If you don't get the size of any Table in M_CS_TABLES View, then the same will also not be available in Runtime information of the Table
Even if tables are not loaded into memory, you can get the Estimated Size, just try running the query with filter LOADED = 'NO'
Regards,
Vivek -
How to find out where used list of Table or T-code
Dear ABAP gurus
I know many of you have done this several times.
wish to find out which Transaction code INSERTs the data into the table IHPA.
I did the where used list - SE11 ( for specific key work called INSERT ).
Used the Table called D010TAB which has some information.
Vise versa if I know a T-CODE , how to know which tables it read & Modify...
any better procedure than spending hours in research...
I found similar custom program to find USER EXITS ...here..., looking soething similar...
[http://wiki.sdn.sap.com/wiki/display/Snippets/FindUser-exits%2CBADIs%2CBTEs%2CEtcbyTCodeorProgram]
thank you for your help
Edited by: Raj Anvesh on Aug 3, 2011 9:58 PMHi Anvesh,
Maybe the data INSERTION is happening by BAPI,
So just try to look for the concerned BAPIS.
ECP_SRV_PARTNERS_IHPA
IREP1_IHPA_ADRNR_PRE_FETCH
IREP1_IHPA_ADRNR_READ
MAP2E_DIIHPA_TO_PARTNER
MAP2E_IHPAVB_BAPI2080_NOTPARTE
MAP2E_IHPAVB_TO_BAPI_IHPA
MAP2E_IHPA_BAPI2080_NOTPARTNRI
MAP2E_IHPA_M_BAPI2080_NOTPNRI
MAP2I_BAPI2080_NOTPARTNRI_IHPA
MAP2I_BAPI_IHPA_TO_IHPA
PM_DB_FILL_DIIHPA
PM_PARTNERCOPY_FILL_XIHPA
PM_PARTNER_DELETE_XIHPA
PM_PARTNER_GET_XIHPA
PM_PARTNER_PUT_XIHPA
PM_PARTNER_REFRESH_XIHPA
these are the bapis which are dealing with the IHPA table,
Segregate them as needed and then go to the std program
Revert for further clarification.
Thanks
Sri -
How to find out which abap queries were executed by a user
Dear SAP Gurus,
Is there a way to find out which abap queries were executed by an end user in the recent past??
1.I tried using the t-code "stat" BUT:
dont seem to be getting any results even though I put the start time almost 2 months back.
2.Also when using STAT, I give the report name of the query in the program field but it seems to truncate it.
Any ideas how can I find out which abap queries were executed by the end user.
thanks a lot, I'll make sure to award points for your help.STAT will give you the information for a limited period of time and is limited to the server which you are logged onto yourself. Beyond 24 hours it is of even less use even if you change the selection screen values.
If you want it for a period way back into the past, then you need to use ST03N.
There are at least 2 dependencies and 1 confusion:
1 dependency) The length of period is determined by the size (length) of the file. You can change this in ST03N (default 50MB) via the menu settings.
2 dependency) The stat collector jobs need to be scheduled to write the information to ST03N (once per hour is a legal requirement in some non-banana republic countries).
1 confusion) There is an obscure function which converts a report submit to a transaction name (there is not much difference anyway) and an even more obsure one which filters what ST03N will record and therefore whether you can read it. You can (un)filter these things away if you search the SAP Marketplace for the term "MONI".
What is of particular value from this control is that you can even detect a submission of an abap which only existed temporarily.
Also note that having this information is potentially very powerfull with respect to the users (some of them are human too), so you should expose and use it responsibly.
You should also ensure that only responsible users / auditors have access to S_TOOLS_EX. -
How to find out maximum number of sessions allowed to a user?
Hello all,
Can you please tell me how can I find out the maximum concurrent sessions are allowed to a particular or all users in the Oracle database?
I am currently using the Oracle 9.0.2 database server.
I tried to query v$license, it gave me NULL records.
Thanks in advance
HimanshuUsers have a profile. example :
CREATE PROFILE DEFAULT LIMIT
SESSIONS_PER_USER UNLIMITED
CPU_PER_SESSION UNLIMITED
CPU_PER_CALL UNLIMITED
CONNECT_TIME UNLIMITED
IDLE_TIME UNLIMITED
LOGICAL_READS_PER_SESSION UNLIMITED
LOGICAL_READS_PER_CALL UNLIMITED
COMPOSITE_LIMIT UNLIMITED
PRIVATE_SGA UNLIMITED
FAILED_LOGIN_ATTEMPTS UNLIMITED
PASSWORD_LIFE_TIME UNLIMITED
PASSWORD_REUSE_TIME UNLIMITED
PASSWORD_REUSE_MAX UNLIMITED
PASSWORD_LOCK_TIME UNLIMITED
PASSWORD_GRACE_TIME UNLIMITED
PASSWORD_VERIFY_FUNCTION NULL;
SESSIONS_PER_USER is the one you are looking for. You can find more here:
Select * FROM SYS.DBA_PROFILES WHERE PROFILE = :Name -
How to find out who created a custom table
I have searched the forum but didn't find an answer so thought I would put it out here.
I have a bunch of custom tables that have been created and not assigned to table groups. Some are SM30 wrappers and some aren't. They are all defaulted to &NC& which is a no-no to assign to roles. My question is, how can I see who created these tables so that I can contact them and educate them on table groups? I can't seem to figure this out.
For instance, I have a custom t-code that calls a custom view and the view is assigned to &NC& in TDDAT.
Any help appreciatedBobbi,
Try SE15->ABAP Dictionary->Database Tables->"enter table name" and execute->select table and view->Attributes Tab->Last changed on/by. Field "Last changed on/by" will give you an idea who the last user that made modification on this table.
Good Luck
-John N. -
How to Find out the Name of the Table in Data Sources
Hi All,
How Can i find out the table names used in data Sources.
For EX. Suppose I want to find out the table Names in R3 Used In GL Data Source 0FI_GL_4.
Thanks in Advance.
Vaibhav AHi,
Usefull link:
https://wiki.sdn.sap.com/wiki/display/BI/BW%20SD%20MM%20FI%20DATASOURCES
Regards. -
How to find out what is populating a table
I have a table in oracle 10g, I checked the dba_source to find out if a procedure or package is population this table, however, I couldn't find it. How can I get the name of a form or other source that can populate the table. Oracle is on window Xp.
ThanksThere is nothing in Oracle that would directly tell you what can populate a particualr table. You can look at the dba|user|all_dependencies views to see if there are stored procedures that have a dependency to the table, but that does not neccessarily mean that they populate the table. Anything external to the database (e.g. an external aplpication with embedded sql statements, a sqlplus session, TOAD, etc.) would not show up anywhere in the database.
John
Maybe you are looking for
-
Mozilla firefox 25.0 tab opens with error on URL res://ieframe.dll/unknownprotocol.htm#chrome-extension://kcnhkahnjcbndmmehfkdnkjomaanaooo/widget.html any idea? I believe this is a google voice extension but I do not have chrome installed on my PC Wi
-
SAP Conversion Agent Studio Preview Version
Hi, Does anyone have knowledge about SAP Conversion Agent Studio Preview Version? I've downloaded it from SDN and it says it comes with an Eclipse version, but i doesnt. When i try to point it to my existing Eclipse it says it needs version 2.1.2 oe
-
Stay font size when modify orientation of print page.
Hi. I'm using a simple report (Write) and when I want to print it, because of the LINE-SIZE and LINE-COUNT appears in a landscape orientation, but when I changed these parameters appears in a portrait orientation, but the problem is that font size be
-
The website is a platform called "People Soft" and aparently in order to use it I have to do this.
-
Sub Transaction Type mandatory in J1IS
Hi expert How to make Sub Transaction Type mandatory in J1IS. Regard Nabil