How to find memory used by page tables
Is there a way to find out how much memory is currently being used by page tables? I am new to Solaris ;-)
I want to quantify the advantages of Intimate Shared Memory (in the context of a large Oracle database with lots of concurrent users). I want to contrast this against Linux which does not have a method of allowing different processes to share page tables that map onto shared memory. Thus, with a large number of concurrent connections where each connection creates a new process that maps onto the Oracle shared memory, a significant amount of memory can be consumed just by the page table entries.
Yes, a very recent acquisition :-) ......I'm busy working my way through it, just taught myself about mdb today but I still can't figure how to get the amount of memory being used by page tables only. The dcmd ::memstat can give me the total amount of memory being used by the kernel but I would like some more detail than that.
On Linux you can simply look at /proc/meminfo and it contains a wealth of information. I was hoping Solaris would be similar....but isn't that always the case when doing something new? We hope it's like what we already know :-) Below is an example from Linux showing that 1860 kB have been to store page table entries.
[root@makalu ~]# cat /proc/meminfo | grep PageTables
PageTables: 1860 kB
[root@makalu ~]#
Edited by: BrettSchroeder on Mar 12, 2008 1:37 PM
Similar Messages
-
How to find modules using a specific table in Designer 10g?
Hi, we are in a conversion traject from Designer 6.0 to Designer 10g with patchset 10.1.2.5.
Apart from a conversion problem for which we got a workaround (see bug number 8453702) it looks ok now.
But with functional testing I found something strange:
- in Des10g, when you look at the usages of a table, you do not see the "Used in Module Components" part anymore. That is pretty annoying. Now I found a way to show something with aid of the matrix diagrammer, but i'm not very happy with it.
My questions:
- How come this has changed? and
- is there another way to quickly view these usages, or are we stuck with this?
Regards, Paul.Hello
Go to the repository object navigator. Go to the table definitions --> usages --> Used in sql query sets
Regards Erik -
How to find the list of existing tables in a schema using DB link?
Hi
I know how to find the list of existing tables in a schema using the following query
SQL> select * from tab;
but, how to list the tables using a DB link?
For Example
SQL> select * from tab@dblink_name;
why this doesn't work?
Pl advice me
Thanks
Reddy.ORA-02019: connection description for remote database not foundHave you used this database link successfully for some other queries?
The error posted seems to indicate that the DB Link is not functional at all. Has it worked for any other type of DML operation or is this the first time you ever tried to use the link? -
How to find out the Non Partitioned Tables used 2Gb on oracle
Hi team
how to find out the Non Partitioned Tables used > 2Gb on oracle where not is sys & system
regardsheres 1 I made earlier
set pagesize 999
set linesize 132
col owner format a25
col segment_name format a60
select owner,segment_name,segment_type,(bytes/1024/1024)"MB size"
from dba_segments
where owner not in ('SYS','SYSTEM','XDB','MDSYS','SYSMAN') -- edit for taste
and segment_type = 'TABLE'
having (bytes/1024/1024) > 2000
group by bytes, segment_Type, segment_name, owner
order by 4 asc -
How to find function module's and tables used for the particulat screen or TCODE?
Hello Nation,
I would like to know how to find the function modules and tables used for the particular screen or TCODE or program.
Example : I would like know the function module used in the program RDBGFT?
How can i find that?
Thanks in advance ,Awaiting your reply.Make use of Find function with the keyword "CALL FUNCTION".
Make use of the same find function with the keyword "Select" to know the database tables used.
Regards,
Philip. -
How to reduce memory use on my iMac
How to reduce memory use on my iMac, OS X Yosemite, 2.7 GHz Intel Core i5
8 GB memory
Running very slowly, and the little spinning ball showing up.
How do I clean up my IMac please?
Should I use MacKeep or any clean up apps?When you see a beachball cursor or the slowness is especially bad, note the exact time: hour, minute, second.
These instructions must be carried out as an administrator. If you have only one user account, you are the administrator.
Launch the Console application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad and start typing the name.
The title of the Console window should be All Messages. If it isn't, select
SYSTEM LOG QUERIES ▹ All Messages
from the log list on the left. If you don't see that list, select
View ▹ Show Log List
from the menu bar at the top of the screen.
Each message in the log begins with the date and time when it was entered. Scroll back to the time you noted above.
Select the messages entered from then until the end of the episode, or until they start to repeat, whichever comes first.
Copy the messages to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
The log contains a vast amount of information, almost all of it useless for solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
Please don't indiscriminately dump thousands of lines from the log into this discussion.
Please don't post screenshots of log messages—post the text.
Some private information, such as your name, may appear in the log. Anonymize before posting. -
How to find Transaction for a Known Table maintenance View
Hello Friends,
May I know how to find transaction for a known table maintenance View.
Thanks,
Best Regards,
Sudhanshu GargGoto SE16 Transaction and enter TSTCP Table
Here PARAM = /SM30 VIEWNAME=Table name*;UPDATE=X;
enter table name in bold.
Thanks
Seshu -
How to find the column name and table name with a value
Hi All
How to find the column name and table name with "Value".
For Example i have value named "Srikkanth" This value will be stored in one table and in one column i we dont know the table how to find the table name and column name
Any help is highly appricatable
Thanks & Regards
Srikkanth.M2 solutions by Michaels (the latter is 11g upwards only)...
michaels> var val varchar2(5)
michaels> exec :val := 'as'
PL/SQL procedure successfully completed.
michaels> select distinct substr (:val, 1, 11) "Searchword",
substr (table_name, 1, 14) "Table",
substr (t.column_value.getstringval (), 1, 50) "Column/Value"
from cols,
table
(xmlsequence
(dbms_xmlgen.getxmltype ('select ' || column_name
|| ' from ' || table_name
|| ' where upper('
|| column_name
|| ') like upper(''%' || :val
|| '%'')'
).extract ('ROWSET/ROW/*')
) t
-- where table_name in ('EMPLOYEES', 'JOB_HISTORY', 'DEPARTMENTS')
order by "Table"or
SQL> select table_name,
column_name,
:search_string search_string,
result
from cols,
xmltable(('ora:view("'||table_name||'")/ROW/'||column_name||'[ora:contains(text(),"%'|| :search_string || '%") > 0]')
columns result varchar2(10) path '.'
where table_name in ('EMP', 'DEPT')
TABLE_NAME COLUMN_NAME SEARCH_STRING RESULT
DEPT DNAME ES RESEARCH
DEPT DNAME ES SALES
EMP ENAME ES JONES
EMP ENAME ES JAMES
EMP JOB ES SALESMAN
EMP JOB ES SALESMAN
EMP JOB ES SALESMAN
EMP JOB ES PRESIDENT
EMP JOB ES SALESMAN
9 rows selected. -
How to find latest entry in the table according to time
how to find latest entry in the table according to the time
is there any function module to do so
\[removed by moderator\]
Regards
Shashi
Edited by: Jan Stallkamp on Aug 25, 2008 4:39 PMHi,
If you want to read the entry from an internal table,
sort the internal table in the descending order by the time and
delete adjacent duplicates by comparing the fields other than time and the internal table will have the latest record.
Suggestion: instead of only time try to have one more field called date with the time combination
Regards,
Ramesh -
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 u0091Where used list of BSP Applicationu0092?
Hi,
In standard, one BSP application is calling another BSP application by hard coded in application.
I want find a where used list of a BSP application.
How to find Where used list of BSP Application?
Regards,
...NaddyHi Naddy,
there is a way to find such hard coded things as long as they are really written as literal in the coding. So far i havn't used it on BSP but it's just a token search.
You can use the code inspector for such things (TCode SCI). You define an object list. Therefore you have to use the static list (dynamic won't work) e.g. for all objects in a package. The ugly thing is that sap has built a filter in SCI that you cannot run it on their standard objects (no comment on that). So you get always 0 objects on sap packages. But you can debug into SCI and set a break point on statement 'SELECT'. One of the selects gets the objects from repository. In this statement sap hands select options to exclude SAP objects. If you change the values you can get these objects in the list.
Then you run a search on these objects to find the string you look for.
Ok that's not very comfortable but still faster than checking dozens of objects by hand.
Best regards
Roman -
How to find the deleted data in tables
guys,
how to find the deleted data in tables example: i want to see whether anyone deleted data in MB5B report tables like mbew, etc.,
regards,Hi,
MBEWH is actually the history table of MBEW. It will record all the changes. As I have told you earlier if you have deleted the record dirctly from the table then it will not come even in the table MBEWH
That means no changes have been made.
regards -
How to find and use MS Office on new MBA
How to find and use MS Office on new MBAir
Office is not preinstalled on Mac computers. Since the MacBook Air lacks an optical drive, the most convenient way to get Office is to purchase it as a download from Microsoft here.
-
How to find memory taken by a process using top command
I wanted to know how to find the memory taken by a process using top command. The output of the top command is as follows as an example:
Mem: 13333364k total, 13238904k used, 94460k free, 623640k buffers
Swap: 25165816k total, 112k used, 25165704k free, 4572904k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
16514 applmgr 25 0 2197m 1.7g 10m S 0.3 13.0 15:20.67 java
30692 crestelo 22 0 2901m 1.4g 9284 S 0.0 11.0 3:03.68 java
30431 crestelo 25 0 2043m 1.4g 161m S 50.9 11.0 79:02.73 java
30869 crestelo 25 0 2860m 1.2g 9292 S 0.0 9.6 7:11.18 java
16655 applmgr 23 0 1934m 1.1g 10m S 0.3 8.9 2:17.49 java
16319 crestelo 19 0 1541m 299m 44m S 0.0 2.3 2:52.11 java
I hope, my question is clear as to how to find the memory taken by a process using top command.
Please revert with the reply to my query.
RegardsHave you tried "man top" to see the documentation for the top command?
How about the following: http://lmgtfy.com/?q=show+memory+with+top+command
The 5th column (VIRT) shows the amount of RAM + swap
The 6th column (RES) shows RAM
The 7th column (SHR) shows memory shared between processes -
How to find memory taken by Oracle processes using top command
I wanted to know how to find the memory taken by Oracle processes using top command. The output of the top command is as follows as an example:
Mem: 16436072k total, 16215708k used, 220364k free, 395128k buffers
Swap: 25165816k total, 1168288k used, 23997528k free, 13366520k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
27281 oraprod 15 0 6705m 1.3g 1.3g S 0.0 8.6 61:44.71 oracle
27383 oraprod 15 0 6702m 1.2g 1.2g S 0.0 7.7 2:22.75 oracle
5199 oraprod 16 0 6745m 1.1g 1.0g S 0.0 6.8 2:51.23 oracle
The different Oracle processes could be Oracle database, Oracle listener, Oracle enterprise manager etc.
I hope, my question is clear as to how to find the memory taken by a process using top command.
Please revert with the reply to my query.
Regardsa short and correct answer would be: you can't.
As oracle uses a fair amount of shared memory, and that shared memory is attached to most of the oracle processes, the same memory appears a number of times.
you should rephrase your question / what is it you want to achieve?
you can ask oracle how much memory is assigned to it, v$sga, v$sgastat, v$process (for PGA). moreover, you as DBA are the one who configured that.
you can look at major an minor faults per process to see what is causing the paging (if you have any).
you can also look at the /proc/pid/statm pseudofilesystem for your oracle pids.
Maybe you are looking for
-
Problems in 5.5 video w audio going into audio 5 slot.
I'm working in Premiere 5.5 and it says my files are damaged that worked on in Premiere 6 on another computer. Do I need to upgrade to 6 to use these files? Also, When working in 5.5 I drag my video into "video 1" and it puts my audio in "audio 5" I'
-
Screen sharing performanace differences on MAC and WINDOWS
Hi All I am having a big issue of screen share latency (working on WINDOWS) which is about to 20 - 30 sec sometime and 10 - 15 sec in general. I was thinking that It could be because of my network limits but when on the same time and in the same netw
-
Group by month, and also show months with no records
hi - having a major mental block this morning, pretty sure this is an easy one so just need one of you expert types to point me in the right direction.. Using the sample data below, I just need to generate a report to show userid, mon-yy, count of tr
-
We have our own TLD thats allow manage the access of the user to the HTML controls in the jsp. This features are inside a jar that provide those functionallity. How can I use this TLD inside of screenflow's jsp. Thanks
-
How download Mountain Lion?
I bought OS X MOUNTAIN LION, I recived the serial number and they told me to download it from the apple store. It doesn't appear! How can I do? Thx