473,385 Members | 1,764 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Better Unilization of Memory


In looking at top, I have noticed when doing some
long queries that RAM memory is only being used
at 1-3%. While, CPU often jumps to 97, 98, even
99% utilization (which is great!).

Is this normal for RAM utilization?

If not, how can I better utilize my RAM during
queries and or general processing?

Thanks for your help!
Lynn Tilby
lt****@asu.edu

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to ma*******@postgresql.org)

Nov 12 '05 #1
3 1500
Ly********@asu.edu writes:
In looking at top, I have noticed when doing some
long queries that RAM memory is only being used
at 1-3%. While, CPU often jumps to 97, 98, even
99% utilization (which is great!).

Is this normal for RAM utilization?


It depends on what you have set shared_buffers to in your
postgresql.conf file. If you have not tuned this value yet you should
do so as the default setting is very conservative.

There is a lot of discussion on appropriate shared_buffers settings if
you search the mailing list archives...

-Doug

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Nov 12 '05 #2

Doug,

Thanks... Looks like I need to do some tuning!
Lynn

Quoting Doug McNaught <do**@mcnaught.org>:
Ly********@asu.edu writes:
In looking at top, I have noticed when doing some
long queries that RAM memory is only being used
at 1-3%. While, CPU often jumps to 97, 98, even
99% utilization (which is great!).

Is this normal for RAM utilization?


It depends on what you have set shared_buffers to in your
postgresql.conf file. If you have not tuned this value yet you should
do so as the default setting is very conservative.

There is a lot of discussion on appropriate shared_buffers settings if
you search the mailing list archives...

-Doug

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

Nov 12 '05 #3

Doug,

Thanks... Looks like I need to do some tuning!
Lynn

Quoting Doug McNaught <do**@mcnaught.org>:
Ly********@asu.edu writes:
In looking at top, I have noticed when doing some
long queries that RAM memory is only being used
at 1-3%. While, CPU often jumps to 97, 98, even
99% utilization (which is great!).

Is this normal for RAM utilization?


It depends on what you have set shared_buffers to in your
postgresql.conf file. If you have not tuned this value yet you should
do so as the default setting is very conservative.

There is a lot of discussion on appropriate shared_buffers settings if
you search the mailing list archives...

-Doug

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

Nov 12 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: david | last post by:
I write a program which returns the maximum of three input integers. both can run weil in the DEV-C++ , but I just wonder which one is better, and I also want to make it clear that if I use the...
13
by: Bryan Parkoff | last post by:
I have created three classes according to my own design. First class is called CMain. It is the Top Class. Second class and third class are called CMemory and CMPU. They are the sub-classes....
133
by: Gaurav | last post by:
http://www.sys-con.com/story/print.cfm?storyid=45250 Any comments? Thanks Gaurav
13
by: Charulatha Kalluri | last post by:
Hi, I'm implementing a Matrix class, as part of a project. This is the interface I've designed: class Matrix( )
39
by: bazad | last post by:
Hi, I am not using C all the time. I have a general understanding of C and nothing else. The recent reply to use strlcpy and strlcat showed me that I am not aware of the best and safe...
11
by: QQ | last post by:
Hello I am running this code int main(void) { char A,B; printf("Please input A: \n"); scanf("%2s",A); printf("Please input B: \n"); scanf("%2s",B); printf("A is %s,B is %s\n",A,B); }
3
by: Sai Kit Tong | last post by:
I posted for help on legacy code interface 2 days ago. Probably I didn't make it clear in my original mail. I got a couple of answers but none of them address my issues directly (See attached...
58
by: LuisC | last post by:
What is better for holding small numbers in a program? I know that char uses less memory, but, with 32 or 64 bits systems, there are advantages (such as processing time) in using int instead of...
34
by: pamela fluente | last post by:
I would like to hear your *opinion and advice* on best programming practice under .NET. Given that several time we cannot change: MyCollection.Clear into the instantiation of a NEW...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.