x

What is internal memory and external memory?

Can you let me know what is internal and external memories?
more ▼

asked Mar 28, 2011 at 03:00 AM in Default

Shyam prasad gravatar image

Shyam prasad
132 12 13 15

Please explain where you are seeing these terms.
Mar 28, 2011 at 03:32 AM Fatherjack ♦♦
(comments are locked)
10|1200 characters needed characters left

5 answers: sort voted first

I, like Slick84, am not entirely sure what you mean by internal versus external memory. The closest thing I can think of to internal memory is a cache, which would make all other memory external.

CPUs tend to have a small cache that they work with which is physically internal to the processor die, this is distinct from the main system memory which is located on discrete hardware (normally DIMMs) and accessed by the system bus. Similarly, certain types of storage like harddrives sometimes have a cache to reduce physical accesses to the disk, and many video cards have their own onboard memory.
more ▼

answered Mar 29, 2011 at 08:52 AM

TimothyAWiseman gravatar image

TimothyAWiseman
15.5k 20 23 32

@Timothy Nice guess work:-)
Mar 29, 2011 at 12:23 PM DaniSQL
(comments are locked)
10|1200 characters needed characters left

Another way of looking at internal vs. external is RAM and DISK.

RAM is "internal" to the system and operates at nanosecond speed.

Drives are "external" and operate at millisecond speed (not counting SSDs in this).

Based on these definitions it is a benefit to perform operations in RAM - the faster medium - but for persistence you require the slower, external "memory".
more ▼

answered Mar 30, 2011 at 05:16 AM

Blackhawk-17 gravatar image

Blackhawk-17
11.9k 28 31 36

I've never heard of them referred to as internal and external memory, but it does make sense in a way.
Mar 30, 2011 at 10:51 AM TimothyAWiseman
(comments are locked)
10|1200 characters needed characters left

Another possibility with internal and external is in the realms of internal and external memory for a process.

This would be where SQL Server has N GB RAM (where N = Installed RAM - O/S Overhead). SQL Server then has access to the "internal" memory of the process, whilst there is still "external" memory out there being used by the O/S and other processes.

The terms internal and external are also used when talking about memory pressure, how an external process is starved of RAM and wants to (re)claim some from other processes. This happens on 32 Bit systems with SQL Server when memory management has not been performed properly.
more ▼

answered Mar 30, 2011 at 06:19 AM

WilliamD gravatar image

WilliamD
25.9k 17 19 41

Just shows... until the OP clarifies what they are after we can pull the IT DEPENDS card.
Mar 30, 2011 at 06:42 AM Blackhawk-17
(comments are locked)
10|1200 characters needed characters left

You can check about Memory structure in SQL Server

http://msdn.microsoft.com/en-us/library/ms178067(v=SQL.100).aspx - [Link][1]

[1]: http://bit.ly/hE4nfU
more ▼

answered Mar 28, 2011 at 12:51 PM

basit 1 gravatar image

basit 1
499 51 61 84

There's something with paranthesis and OSQA that automagically creates links (which are unfortunately broken). I've added a bit.ly-link that works.
Mar 28, 2011 at 01:27 PM Magnus Ahlkvist
Magnus it works with < and >
Mar 29, 2011 at 12:49 AM Kev Riley ♦♦
(comments are locked)
10|1200 characters needed characters left

I'm not sure where you are getting your Internal/External terminology.

However, SQL Server Database Engine is a RAM hungry application. When it's not feeding off of the RAM, its going to the disk.

As common knowledge, its more expensive from a performance perspective to read from your disks (more i/o) than compared to the RAM (Random Access Memory).

On a 64-bit system, my current production SQL server which does 5+ million transactions a day has about 64gigs of ram.
more ▼

answered Mar 28, 2011 at 12:53 PM

Slick84 gravatar image

Slick84
1.3k 75 102 142

(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

New code box

There's a new way to format code on the site - the red speech bubble logo will automatically format T-SQL for you. The original code box is still there for XML, etc. More details here.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.

Topics:

x56

asked: Mar 28, 2011 at 03:00 AM

Seen: 4691 times

Last Updated: Mar 28, 2011 at 03:00 AM