SQL server client memory required
Hy
I want to ask, that I have a MS SQL 2000 Enterprise edition server. How much memory required per client. I know, the SQL system memory required (more 1 G) but my question is, if my SQL server use plus one client, how much memory must take in my blade?
pls help
Although there are some thumb rules out there, it is hard to tell as you did not specify which kind of access the users are doing at the database. For ressource intensive querying you should put more memory in your server, where on the other hand you would not have that much memory for users doing plain and simple (Select / DML ) operations. How many users do you have, how many are connected on average, what are they doing on the database ?
Jens K. Suessmeyer.
http://www.sqlserver2005.de
---
Similar Messages
-
Remote Desktop Services that require Native SQL Server Client in Windows Server 2012?
I have somehow gotten really confused on this.. Is the Remote Desktop Connection Broker the only Remote Desktop Service that requires the SQL Native Client to be installed in Windows Server 2012 (r2) ?
Hi,
If you plan on configuring RDCB in HA mode then the SQL native client is required. The other RDS role services do not require it.
-TP
Is High Availability Mode enabled by Default? -
SQL Server 2005 Memory Explosions
We have the following configuration:
ESXi 5.1.0 running on three clustered Dell 710 servers
vCenter Server 5.1.0
The clustered servers have a total of 88G of RAM
SQL Server 2005 x86 running on a virtual Server 2008 R2 x64. All databases run fine for several days with memory usage seeming at ~25%. Suddenly, the memory consumption
shoots up to ~98% and we have to reboot the server. This is based on information from the task manager and the measurements in vSphere Client. I understand that the task manager is not an accurate measurement when AWE is active but that’s the best I’ve got
at the moment.
Here's what we've done thus far:
Looked through the logs on the SQL Server and found the following:
In the System log, Resource-Exhaustion-Detected appeared at the same time but the highest memory consumption was services.exe at 125MB. Doesn’t seem to be the culprit.
In the Applications log, started getting MSSQLSERVER errors indicating ‘The Server was unable to load the SSL provider needed to login.’ These errors persisted through the downtime.
In the SQL Server Log File Viewer, we see the following errors, though I’m not sure that they are at all related:
A significant part of sql server process memory has been paged out. This may result in a performance degradation. Duration: 0 seconds. Working set (KB): 4464, committed (KB)
66976, memory utilization: 6%
(About 4.5 hours later) Warning: the available page file has dropped below 4Mb. It is at this point – seemingly – that the memory usage has jumped up to near 100%.
The virtual server has 8G of RAM allocated. However, within the vSphere Client, the Memory Granted and the Memory Consumed seem to be at the same value…meaning that
the consumed value seems to be at 100% under normal operating conditions. Not sure why that is.
If anyone has any recommendations or areas to look, we would certainly appreciate your assistance! Thanks in advance.
TonyI thank you guys so much for the rapid response! Please forgive the delayed response. All of this is on a DoD network and I cannot post to blogs on government machines. I have to go to a private
machine. Below is the information you asked for:
The Max Server Memory is 5.0GB and the Min Server Memory is 0.0GB
I have PerfMon currently running to try and capture as much information as possible.
We are getting a few other errors in the SQL Log that has given me some concern:
Failed Virtual Allocation Bytes: FAIL_VIRTUAL_RESERVE 65536
Memory Manager VM Reserverd = 3673288 KB VM Committed = 55688 KB AWE Allocated = 0 KB Reserved Memory = 1024
KB Reserved Memory In Use = 0 KB
There is also a series of MEMORYCLERK and CACHESTORE errors following
The Server was unable to load the SSL provider needed to login. SSL is used…
o
I presume that this is due to the lack of memory to process these SSL request.
There are indeed several Error: 701, Severity: 17, State: 123
Below is the system information from SQL Server 2005:
Microsoft SQL Server Management Studio 9.00.5324.00
Microsoft Analysis Services Client Tools 2005.090.5324.00
Microsoft Data Access Components (MDAC) 6.1.7601.17514 (win7sp1_rtm.101119-1850)
Microsoft MSXML
3.0 6.0
Microsoft Internet Explorer
8.0.7601.17514
Microsoft .NET Framework
2.0.50727.5477
Operating System
6.1.7601
I run a query SELECT SERVERPROPERTY(‘edition’); and it shows ‘Standard Edition’ rather than ‘Standard Edition (64-bit).’
We are using Windows Server 2008 R2. I don’t believe that there was an x86 version released but I could be wrong.
I’ve actually looked at enabling the LPIM but we are on a domain that we have no control over and there are GPOs that make it very difficult if not impossible to gpedit but that is something
we can certainly look into with the domain owners if you think it might help.
I just ran the following script in SQL:
Exec sp_configure ‘AWE’
The response is name – awe enabled, minimum – 0, maximum – 1, config_value – 0, run_value – 0
There is no third party software on this server.
The Max Server Memory is set to 5GM
Again, I do appreciate all of your help. Please let me know if I can provide anything further.
Tony -
SQL Server Denali is required to install integration services
Hi,
I've just installed a named instance of SQL Server 2014. I'm trying to create the SSISDB catalog and getting the following error.
"SQL Server Denali is required to install integration services"
I have 3 instances on my machine.
1. Default instance SQL Server 2012 SP1
2. Named instance SQL Server 2008 SP1
3. Named instance SQL Server 2014 SP1
The SSISDB creation works on the 2012 instance.Microsoft SQL Server 2014 Setup Discovery Report
Product
Instance
Instance ID
Feature
Language
Edition
Version
Clustered
Configured
Microsoft SQL Server 2014
SQL2014
MSSQL12.SQL2014
Database Engine Services
1033
Developer Edition
12.0.2000.8
No
Yes
Microsoft SQL Server 2014
SQL2014
MSSQL12.SQL2014
SQL Server Replication
1033
Developer Edition
12.0.2000.8
No
Yes
Microsoft SQL Server 2014
SQL2014
MSAS12.SQL2014
Analysis Services
1033
Developer Edition
12.0.2000.8
No
Yes
Microsoft SQL Server 2014
Management Tools - Basic
1033
Developer Edition
12.0.2000.8
No
Yes
Microsoft SQL Server 2014
Management Tools - Complete
1033
Developer Edition
12.0.2000.8
No
Yes
Microsoft SQL Server 2014
Client Tools Connectivity
1033
Developer Edition
12.0.2000.8
No
Yes
Microsoft SQL Server 2014
Client Tools Backwards Compatibility
1033
Developer Edition
12.0.2000.8
No
Yes
Microsoft SQL Server 2014
Client Tools SDK
1033
Developer Edition
12.0.2000.8
No
Yes
Microsoft SQL Server 2014
Integration Services
1033
Developer Edition
12.0.2000.8
No
Yes
Microsoft SQL Server 2014
LocalDB
1033
Express Edition
12.0.2000.8
No
Yes
Microsoft SQL Server 2012
MSSQLSERVER
MSSQL11.MSSQLSERVER
Database Engine Services
1033
Developer Edition
11.0.2100.60
No
Yes
Microsoft SQL Server 2012
MSSQLSERVER
MSSQL11.MSSQLSERVER
SQL Server Replication
1033
Developer Edition
11.0.2100.60
No
Yes
Microsoft SQL Server 2012
MSSQLSERVER
MSAS11.MSSQLSERVER
Analysis Services
1033
Developer Edition
11.0.2100.60
No
Yes
Microsoft SQL Server 2012
Management Tools - Basic
1033
Developer Edition
11.0.2100.60
No
Yes
Microsoft SQL Server 2012
Management Tools - Complete
1033
Developer Edition
11.0.2100.60
No
Yes
Microsoft SQL Server 2012
Client Tools Connectivity
1033
Developer Edition
11.0.2100.60
No
Yes
Microsoft SQL Server 2012
Client Tools Backwards Compatibility
1033
Developer Edition
11.0.2100.60
No
Yes
Microsoft SQL Server 2012
Client Tools SDK
1033
Developer Edition
11.0.2100.60
No
Yes
Microsoft SQL Server 2012
BIDS
1033
Developer Edition
11.0.2100.60
No
Yes
Microsoft SQL Server 2012
Integration Services
1033
Developer Edition
11.0.2100.60
No
Yes
Microsoft SQL Server 2012
LocalDB
1033
Express Edition
11.1.3000.0
No
Yes
Microsoft SQL Server 2008
SQL2008
MSSQL10.SQL2008
Database Engine Services
1033
Enterprise Edition
10.0.1600.22
No
Yes
Microsoft SQL Server 2008
SQL2008
MSSQL10.SQL2008
SQL Server Replication
1033
Enterprise Edition
10.0.1600.22
No
Yes -
SQL Server 2012- Memory Leak Issue
Team,
We are running a Mission Critical Application on SQL Server 2012 SP2(11.0.5058) which is configured on Always ON Synchronous mode. Offlate due to heavy development work, Application team have come up with stating memory issues. I have analysed all the areas
and everything looks normal. Please suggest if we have to patch the latest CU4 for SQL Server 2012 SP2.
The checks were performed on the below areas:
- Errorlog, System Logs - No errors reported.
- There are close to 8 Databases hosted on the instances which are all configured for AlwaysON. SQL Server is running on VM Infrastructure and the total physical memory allocated is 96GB out of which SQL is capped for 92GB.
-The Page Life Expectancy is healthy and is showing a greater number. There are no Signal waits either or pending memory grants.
- The writes are more than reads for one of the databases which is flagged with application team. There are no blockings & Deadlocks.
Please suggest me the future course of action and your inputs are much appreciated.
Best Regards,
SharathActual issue is- Application team have reported a memory leak and their builds have significantly slowed down. They suspect that its Database memory leak. However I have verified from database end and gave the above inputs.
The AOAGs are good. I was looking for any pointers whether there are any bugs which is related to memory leaks in SQL Server 2012. I know all of them are addressed with SQL Server 2012 SP2.
Application team has NO idea about SQL Server do they ? And to say SQL Server has memory leak you have to actually prove it did they showed any proof. Its common for application team to say SQL Server is leaking memory because they are unaware about fact
by default SQL Server would take as much memory as possible and would release when SQLOS asks it to do so. This might give sign that it is leaking memory BUT IT IS NOT.
As you already said AOAG is working fine so I am presuming there is nothing much to worry. To monitor memory usage in SQL Server 2012 you can use below counters
SQL Server: Memory Manager-- Target Server Memory (KB)
SQL Server: Memory Manager--Total Server Memory (KB)
SQL Server: Memory Manager- Free Memory (KB)
SQL Server: Memory Manager--Database Cache Memory (KB)
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
My Technet Wiki Article
MVP -
Can someone help me resolve this error? Thanks
Windows Server 2008 R2 Standard SP1 64-bit - SQL Server 2008R2 Standard 64-bit
VMware vCenter Server Version 5.1.0
SQLState = 08001, NativeError = 0
Error = [Microsoft][SQL Server Native Client 10.0]Client unable to establish connection due to prelogin failure
bcp program:
bcp SYM.dbo.ACCOUNT in "D:\Data\SQLExtract\EXTRACT.ACCOUNT" -f"D:\Data\SQLCommands\FMT.ACCOUNT" -S DEV-DATA\TEST\ -T -oSYMLOAD.LOG Type SYMLOAD.LOG >> SYMLOAD.LOG.CUMULATIVE
The bcp program executes successfully on a local instance of SQL Server.The error has nothing to do with BCP as such, but it is a connection problem. That is, for some reason you cannot connect to your instance from the VM. I would exect that you face a similar problem if you tried SSMS.
It could be a firewall issue, but prelogin suggests that you reach the instance. But possibly you don't come far enough for the login failure to be recorded. Possibly the instance is not configured to audit login failures.
The message you would see would be similar to
2010-08-18 14:11:30.91 Logon Error: 17809, Severity: 20, State: 3
Possibly followed by a a line that details the message. The error number may be different.
Erland Sommarskog, SQL Server MVP, [email protected] -
Run the SSIS Package using sql server Agent--Memory utilization Problem
Hi,
I have Created one SSIS Package it was working fine in BIDS but in SQL Server Agent it takes all the server memory and server gets very slow now.
in that ssis package i am using merge join,sorting tasks.Can you please suggest me how to handle in the memory usage for this..pls refer the below screenHi aravindhrm,
You can enable BufferSizeTuning logging event on the Data Flow Task to get how many rows in buffer. Or you can use Performance Counter to obtain more details about the buffers.
http://microsoft-ssis.blogspot.com/2013/04/performance-best-practice-more-rows-per.html
http://www.sql-server-performance.com/2009/ssis-an-inside-view-part-3/
Then, you can tweak the DefaultBufferMaxRows and DefaultBufferMaxSize size settings.
Besides, you can also go through the blog mentioned by Visakh and try suggestions such as increase OS pagefile size.
Regards,
Mike Yin
TechNet Community Support -
I wasn't sure, so I'm posting this question to understand better. If I have an SQL Server on SQL 2005 and a client running SQL 2000, can that client talk to the server? Also, if I had the opposite, a Server on SQL 2000 and a client on SQL 2005, is communication possible?
Thanks for the SQL help!From my experience, a newer client with an older server cannot use a new data type either. I tried this with a SQL Server 2008 R2 client against a database on a SQL Server 2000 instance.
declare @myDate1 date
Result...
Msg 2715, Level 16, State 3, Line 1
Column or parameter #-1: Cannot find data type date.
Parameter '@myDate1' has an invalid data type. -
SQL SERVER PHYSICAL MEMORY USAGE HIGH
HI Teams,
i am going threw one of my production high physical memory usage in SQL Server. It always
around 90%.When i reboot the server, it will initially good but end of the day it will around 95 to 98% physical memory usage.
please give the valid solutions..,
Regards,
DBAThis is an expected/normal behaviour in SQL Server box. Memory management is highly dynamic in SQL Server and will use the complete memory allocated to SQL Server. It is also important to set the MAX SERVER MEMORY for the SQL Server instance. You may not
need to worry about this unless you find any performance issues.
Please mark this reply as answer if it solved your issue or vote as helpful if it helped.
[Blog] -
I have a client application in c++ which interacts with sql server database. My question is whether I need to make any changes to the client application code to allow it to have the benefits of running on a SQL server 2012 cluster environment.
To elaborate more on my query my concern is for e.g if my application has called an api to execute a sql query and during
the execution of this query the sql server (part of the cluster) goes down then as per my understanding the sql cluster would ensure that another node takes up the task from the current sql server which has gone down. Is this transition transparent to the
client application or in such a case my client application needs to again make a new connection and again execute the query?Hello,
Just as Shanky post above, When you connected to a database in an availability group and specify the availability group listener in the connection string, if the availability group fails over, the original connection is broken, your application
should try a new connection after the failover.
So, when connect to an availability group, please try to increasing connection timeout and implementing connection retry logic to increase the probability of successful connection.
Reference:SqlClient Support for High Availability, Disaster Recovery
Regards,
Fanny Liu
If you have any feedback on our support, please click here.
Fanny Liu
TechNet Community Support -
We are using Access 2013 as the front end and SQL Server 2014 as the back end to a client server configuration.
Access controls are bound to the SQL fields with the same names. When using Access to create a new record in a Form, the data are not transferred to SQL if the form is exited to display a different Form or Access is closed. If the right or left arrow navigation
buttons at the bottom of the form are first used to display either the previous or next record, then the data in the new record are correctly transferred to SQL.
What is the best way to refresh the new SQL record prior to the closing of the new record in the bound Access form ? We have tried Requery of the entire form and with all of the individual controls without success. We are looking for a method of refreshing
SQL that functions in a manner similar to that of what happens with the navigation buttons.
Thank you very much for your assistance.
Robert Robinson
RERThirdHi Stefan,
I had added the code to set me.dirty = False in response to the On Dirty event and didn't realize that it was working properly. I had tried other several approaches and must have become confused somewhere along the line.
I retested the program. On Dirty is working and the problem is solved.
Thank you very much for your assistance.
Robert Robinson
RERThird -
SQL Server Max Memory Settings
Hi,
I'd like to check if SQL Server will consume memory more than the configured MAX Memory settings? And if so when does SQL consume that and how much would it consume.
Regards,
JayHi,
I'd like to check if SQL Server will consume memory more than the configured MAX Memory settings? And if so when does SQL consume that and how much would it consume.
Hi
Can you please tell us what is version and edition of SQL Server here. If it is 2012 its little difficult to reporduce your scenario where SQL Server 2012 will take more than max server memory setting because lots of features which use to take memory
outside buffer pool before SQL 2012 are now changed to take memory from buffer pool. Also quite lot depends on whether system is 32 bit or 64 bit
For SQL Server versions below 2012(not SS2000) you might get lucky with following (taken from
Here)
1. COM Objects
2. SQL Server CLR
3. Memory allocated by Linked Server OLEDB Providers and third party DLL’s loaded in SQL Server process
4. Extended Stored Procedures:
5. Network Packets
6. Memory consumed by memory managers. If the memory request is greater than 8 KB and needs contiguous allocation.
7. Backup
If you heavily use above features you might see SQL Server memory utilization crossing above max server memory setting. Of all above SQLCLR and extended stored procs would be my bet. If you use them heavily you might see what you want to. Extended
stored proc has performance issues so use it on your own risk. Use below query to check SQL server memory utilization( works from SS 2008 and above)
select
(physical_memory_in_use_kb/1024)Memory_usedby_Sqlserver_MB,
(locked_page_allocations_kb/1024 )Locked_pages_used_Sqlserver_MB,
(total_virtual_address_space_kb/1024 )Total_VAS_in_MB,
process_physical_memory_low,
process_virtual_memory_low
from sys. dm_os_process_memory
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
My TechNet Wiki Articles -
SQL Server 2008R2 memory issues
Hi Experts.
I have SQL Server 2008R2 installation,We allocated 102400MB(100GB) Memory out of 128GB Installed.
But Task manager is showing SQL Servr using 104 GB.Please some body let us know why SQL Server uisng more memory more than we allocated.
Please advise next step or recommendations if any
OS :Windows 2008R2 64bit.
DB:SQL Server 2008R2 64bit.
Thanks in advance.
Regards,But Task manager is showing SQL Servr using 104 GB.Please some body let us know why SQL Server uisng more memory more than we allocated.
You should not refer to task manager for SQL server memory consumption. Its windows tool it always wont show you correct value.
Please use below query to SQL Server memory utilization
select
(physical_memory_in_use_kb/1024)Memory_usedby_Sqlserver_MB,
(locked_page_allocations_kb/1024 )Locked_pages_used_Sqlserver_MB,
(total_virtual_address_space_kb/1024 )Total_VAS_in_MB
from sys. dm_os_process_memory
100 G limit is put on SQL Server buffer pool. SQL Server can still use memory more than 100 G because few memory allocations for objects like, XML,SQLCLR, Linked server, backup , database mail etc are allocated directly by windows and sys.dm_os_process_memory
does not tracks it. So just relax this is normal
Task manager only show Working set.
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
My Technet Wiki Article
MVP -
SQL Server 2012 Edition required for my case??
Hi,
I am setting up a SharePoint 2013 BI environment with minimal servers. Below is the configuration:
1) WFE1 - Front End Server Role
2) APP1 - Application Server Role with SSRS 2012, SSAS in SharePoint mode.
SQL Server 2012 BI edition is used here for SSRS and SSAS in SharePoint mode
3) DB Server - SharePoint content databases only
- Can this SQL Server be standard edition ? or does this server also need to have minimum BI features which means it should be BI or Enterprise edition?
Thanks
Sandeep
Sandeep Nakarmi www.snakarmi.meHi Sandeep,
Thanks for posting your query, Below are the URLs that describe the situation to USE the SQL SERVER Standard or Enterprise Edition for BI features. Kindly go through these URLs once to get the difference.
http://searchsqlserver.techtarget.com/feature/When-to-consider-SQL-Server-Enterprise-Edition
http://searchsqlserver.techtarget.com/feature/SQL-Server-Standard-Edition-Why-its-worth-the-cost
Of course, you will get more features for BI in as sequence SQL Server Edition mentioned below
Express < Standard < Enterprise
Moreover, browse the below mentioned URL to enable BI features in SharePoint
http://blogs.technet.com/b/ldusolier/archive/2014/05/19/use-of-bi-capabilities-in-sharepoint-2013-with-sql-server-2012.aspx
I hope this is helpful to you, mark it as Helpful.
If this works, Please mark it as Answered.
Regards,
Dharmendra Singh (MCPD-EA | MCTS)
Blog : http://sharepoint-community.net/profile/DharmendraSingh -
Numbers of SQL Server CAL license required ?
Hi,
We are going to set up a SQL Server 2012 Server with 2 instances. The first instance has 25 maximum number of concurrent users and the second one has 10 concurrent users.
Does it mean that we need to purchase 25 + 10 = 35 CAL license for the setup ?
ThanksHello,
This is a community forum for technical questions & issues.
For question regarding pricing / licensing please contact a Microsoft sales partner or licensing expert.
Call (1-800-426-9400), Monday through Friday, 6:00 AM to 6:00 PM PST to speak directly to Microsoft licensing specialist.
http://www.microsoft.com/sqlserver/en/us/get-sql-server/how-to-buy.aspx
http://www.microsoft.com/sqlserver/en/us/get-sql-server/licensing.aspx
http://www.microsoft.com/licensing/about-licensing/sql2012.aspx
Olaf Helper
[ Blog] [ Xing] [ MVP]
Maybe you are looking for
-
How can I show bookmarks in firefox at all times?
I would like to see my bookmarks when I'm surfing the net. Now I have to open them again and again and again.
-
Lost iphone, can it be pinged to locate it?
Lost iphone, can it be located in any way?
-
Deploying my first servlet in tomcat
I have HTML form using get method as below <HR><FORM method="GET" action="http://localhost:8080/Project/Formservlet"> and the Formservlet is in project/Web-INF/classes web.xml is in project/Web-INF set the context to Project directory in server.xml T
-
Color changes slightly after filling in selection
I have a transparent background, new layer set to normal. I go and set my foreground to the color #000124 and fill in the layer. Using the eyedropper the fill color in the layer is #00011d. Why? Any thoughts on what I could possibly be doing wrong an
-
Try to config VG224, but without success. Below is the sample config file from CCO. http://www.cisco.com/univercd/cc/td/doc/product/access/vg/vg224/scg/scgappa.htm Can someone post a workable VG224 config file? Thanks in advance.