Why isn't SQL Server 2008 R2 using all available RAM? - ram

We have an analytics database server running SQL 2008 R2 with 192 GB of physical RAM. However, we're noticing that during analytics process, the server only uses around 70 GB, but tempdb swells to 300+ GB. The current Maximum Memory is set to 2147483647 MB. The server is running Windows 2008 R2. Is there a way to make SQL Server use more RAM and less disk-based tempdb?

I figured out what is going on. We're currently using the Standard Edition of SQL Server 2008 R2, which, apparently, can only use a maximum of 64 GB of RAM.
http://msdn.microsoft.com/en-us/library/ms143685.aspx

Related

sql server 2016 slower than 2008

We recently moved from the following server: Windows Server 2008 R2 + MSSQL 2008 R2 STD to Windows Server 2012 R2 +MSSQL 2016 STD. In terms of hardware, the old server was 1271v3 with 24 GB memory and the new server is 1271v6 with 32GB of memory. The rest of the hardware of the two servers is the same. The db was transferred using db backup and restore.
Although everything is working on the new server with no errors, it is significantly slower than the original server and we are even seeing some deadlocks.
If everything is the same or newer/better, how can this be?
The problem was not SQL server at all. The new server was using the default Windows power plan which is "Balanced". Switching the plan to "High Performance" mode caused a performance increase of up to 300% on more complex and long running queries.

SQL Server 2008 R2 size limit

I just want to know if what will happen if I already consumed the space available for my database? Is there any way on how to increase its maximum size because as far Screenshot of my space available as I know SQL Server 2008 R2 Express has ONLY 4GB max size.

How to check free size in SharePoint Foundation with SQL express 2008

I have SharePoint Foundation installed.
Also I have install SQL express 2008.
I had 4 GB limit.
After some time I have spent almoust all free space.
Next, I have install SQL express 2008 R2 (R2 should give me 10 GB limit for database).
I want to check if everything is ok, but I do not know where to check free size.
I can check how much I have spent, but I can not check how much space I still have.
Can someone help.
Thanks!
There is no way to check the database size limit directly, however the version of SQL Server Express determines the limit. SQL Server 2008 R2 Express or newer will allow up to 10 GB of database size, while earlier versions allow only 4 GB.
If you are still in doubt, and want to confirm your instance of SQL Server 2008 R2 Express allows 10 GB databases, just create a new database and insert a bunch of data into it.

Win 2008 Server R2 with SQL Server 2000 memory not fully used

We have a Windows 2008 Server R2 Enterprise x64 with 32gb.
We are also still using SQL Server 2000 Enterprise.
I have been monitoring the memory usage and it is only using 17.3GB total.
I have set SQL server to use AWE with a max memory usage of 29gb.
Any ideas how to allow/get SQL server to use the extra ram?
Thanks
The reason it is not using all memory is because it doesn't need it.
SQL Server is very good at managing it's own memory. The sizes of the databases you gave, fit into 11GB of RAM, that leaves 6.3 GB for internal structures such as buffers, plan cache etc. (more than enough).

ACT Professional for Windows-Memory leak?

I have an ACT! professional for Windows V11.1, with the latest SQL service pack (SP3) and have an apparent memory leak on the server.
After a restart the ACT! SQL instance (SQLSERVR) consumes almost all the available memory on the server, we have added more memory to the server (it is running under Hyper-V) but it continues to consume it all.
I have not been able to connect to the SQL server instance using management studio in order to limit the amount of RAM it is allocated.
Are there any potential solutions for this? or should I continue to restart the services?
Not a memory leak, but standard behavior.
How to configure SQL Server max memory usage
SQL SERVER 2008 - Memory Leak while storing Millions of records
+ this excellent blog entry
Other than that...
x86 or x64?
Server RAM?
PAE/AWE/3GB switch
DB size?
(left field) Trace flag 836 (changes 32 bit memory to act like SQL 2000)