Sql 2014 std use few memory

i implement sql 2014 std on server 2012 r2   on hyper-v
server has memory 30 GB
but memory use few  about 16%  always
i setting
maximum server memory in mb = 2147483647
minimum server memory in mb = 10240
why sql service  not use memory more i think if use more is better performance 
best regards
chatchai-netd

If you have 30GB at OS level then please configure the memory correctly...
maximum server memory in mb = 2147483647
minimum server memory in mb = 10240
May be based on the load you can consider using 80% to sql and 20 % to OS or 70% to SQL and 30 % to OS ( but its all based on your SQL and OS usage ).
If your sql is not using more memory then that means sql instance is not performing too many transactions and load is very less.
Check what is running on your server and it will take memory and other resources based on the needs and work load.
http://msdn.microsoft.com/en-nz/library/ms178067.aspx
http://www.sqlskills.com/blogs/jonathan/how-much-memory-does-my-sql-server-actually-need/
Configure using scripts :
sp_configure 'show advanced options', 1;
GO
RECONFIGURE;
GO
sp_configure 'max server memory', 25000; -- ( 25 GB )
GO
RECONFIGURE;
GO
Raju Rasagounder Sr MSSQL DBA

Similar Messages

  • New install of SQL 2014 Std MSDN. Get "The SQL Server product key is not valid. To proceed, re-enter the product key values from the Certificate of Authenticity (COA) or SQL Server packaging."

    Trying to install a new version of SQL 2014 Std 64 or x86. Installing on Windows 8.1Pro 64bit machine.
    I get:
    "TITLE: SQL Server Setup failure.
    SQL Server Setup has encountered the following error:
    The SQL Server product key is not valid. To proceed, re-enter the product key values from the Certificate of Authenticity (COA) or SQL Server packaging.
    Error code 0x858C0017."
    I looked at the summary log and that is the only error.
    I made sure there were no other instances of SQL on this machine. Uninstalled all VS2013 and sql instances just in case. IF there is somewhere to check if a previous version or license is causing the issue, i would be glad to check.
    Any help would be appreciated.

    Hi,
    Please read this thread with similar issue
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/bdd94577-515c-49fa-be44-008eacece057/installing-sql-server-2012-on-a-new-vm-error-code-0x858c0017?forum=sqlsetupandupgrade
    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 Articles

  • Trouble connecting to SQL 2014 Database using Power Query

    I am trying to connect to a SQL 2014 Database using Power Query.  My connection string requires that I set the "Application Intent" setting to a value of "readonly", The connection parameter is required by SQL 2014 because of
    the failover cluster configuration.   
    I have successfully been able to connect via PowerPivot with the following connection string:
    Provider=SQLNCLI11;Data Source=<Server>;Persist Security Info=False;Integrated Security=SSPI;Initial Catalog=<DB>;Application Intent=readonly
    I cannot seem to find the correct syntax to connect via SQL 2014.  This is the syntax that I have been attempting: 
    Sql.Database("<Server>", "<DB>",[Application Intent=readonly])
    Is this currently supported?
    Thanks, Barbara

    It's not yet, I'm afraid, but it's something we're aware of and have vague plans to address :/.

  • Is possible use licence from ms sql 2014 std to ms sql 2012 standard ?

    We have bought licenses for mssql 2014 standart, but i need install mssql 2012 server std (must be version 2012). Is possible downgrade from sql server 2014 to 2012 ?? Is there any alternative way, how to legally use mssql 2012 server with licence of
    2014 ?
    Thank you

    Hi,
    Yes downgrade rights are there but you must speak to Licensing specialist.
    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

  • DPM 2012 R2 CU4 protecting SQL 2014 AlwaysOn AG with Failover Cluster vs. DR location

    Hello!
    We have a problem protecting any Database of SQL 2014 AlwaysOn Availability Group with SQL Failover Cluster Instance when moved to DR location. Everything is protected using DPM 2012 R2 CU4 from Primary location.
    FACTS
    - all servers are Windows Server 2012 R2
    - all servers are Virtual (except Hyper-V hosts obviously:)
    - that means virtualization is based on Windows Server 2012 R2 Hyper-V
    - all clusters (SQL, Exchange,...) are Guest Clusters on Hyper-V
    - SQL 2014
    - DPM 2012 R2 CU4
    - Primary and DR location 
    SETUP
    SQL
    - Primary location: SQL 2014 Guest Cluster with SQL Failover Cluster Instance using Shared VHDX disks
    - DR location: SQL 2014 Standalone using VHDX disks
    - AlwaysOn Availability Group expands between the primary and DR location.
    DPM
    - Primary location: DPM 2012 R2 CU4
    - DPM 2012 R2 CU4 Agents installed on every possible SQL 2014 Server.
    SCENARIO
    - DPM is backing up all the SQL Databases normally as long as they exist on any SQL Cluster Node on Primary location.
    - As soon as any Database is moved to DR location, that Database is not backed up anymore with the following error.
    DPM ERROR
    Starting synchronization on SqlServerName\DatabaseName failed:
    Error 104: An unexpected error occurred while the job was running.
    Error details: The system cannot find the path specified (0x80070003)
    Recommended action: Retry the operation.
    TROUBLESHOOTING
    - Tried to modify SQL Protection Group in DPM Server while Database was active on DR location
    > error enumerating volumes or drives D:\, E:\, F:\ (I don't have exact error atm)
    > this looks like DPM is not aware that DPM is active on DR location to me
    - Checked Technet, blogs and forums; no useful information
    QUESTION
    Is this expected or by-design behavior? Is this a bug? I am aware there were quite some issues backing up AG's from DPM 2012 SP1 ans SQL 2012 on.
    Does anybody have a lab of that kind to try it out?
    Thank you!
    Best Regards,
    Damjan Grimšič
    Lpd

    OK. The issue has been resolved. Issue was related to possible Disks Owners in Failover Cluster Manager Console for SQL Cluster.
    In Primary's site SQL Cluster Failover Manager Console / Storage / Disks.
    SQL Server(s) from Secondary location need(s) to be unchecked as Possible owner(s) in Advanced Policies for all relevant Volumes.
    Lpd

  • Gathering physical memory for SQL 2005..SQL 2014

    Hi All,
    I'm trying to write a query to gather physical memory across my SQL servers (from SQL 2005 to SQL 2012).
    However, the sys.dm_os_sys_info DMV (the column for physical memory) is not the same after the switch to SQL 2012+.
    Here is the original query:
    SELECT
    @@SERVERNAME AS ServerName,
    CASE WHEN LEFT(CAST(serverproperty('productversion') as char), 1) = 9 THEN '2005'
    WHEN LEFT(CAST(serverproperty('productversion') as char), 4) = 10.0 THEN '2008'
    WHEN LEFT(CAST(serverproperty('productversion') as char), 4) = 10.5 THEN '2008R2'
    WHEN LEFT(CAST(serverproperty('productversion') as char), 2) = 11 THEN '2012'
    END AS MajorVersion,
    SERVERPROPERTY ('productlevel') AS MinorVersion,
    SERVERPROPERTY('productversion') AS FullVersion,
    SERVERPROPERTY ('edition') AS Edition,
    SERVERPROPERTY('collation') as Collation,
    cpu_count as CpuCount,
    physical_memory_in_bytes/1024/1024 as PhysMemMB
    FROM [sys].[dm_os_sys_info]
    If I run that on SQL 2014, it fails because 'physical_memory_in_bytes' is now called 'physical_memory_kb'
    I tried to do an IF..THEN..ELSE:
    IF (cast(serverproperty('productversion') as char) like '11.%')
    Then change the query accordingly but it would fail because i guess when it tried to parse the whole code, one of the T-SQL variations would have a column that did not exist in that particular version of SQL Server.
    Is there a way I can get physical memory across SQL 2005..SQL 2012 or rewrite the T-SQL above to be able to run on both?
    Thanks in advance

    Oh it seemed like you are asking SQL Server memory. the name for physical memory column ha changed only in SQL Server 2012. I wrote below script  just first run select SERVERPROPERTY('ResourceVersion')  to get exact resource database version of
    SQL Server 2012 and then replace it in below script
    IF cast ( SERVERPROPERTY('ResourceVersion') as char (10) )= '11.00.2000'--2012 resource database version
    select (physical_memory_kb/1024)as Physical_mem_MB from sys.dm_os_sys_info
    else
    select (physical_memory_in_bytes/1024/1024) as physical_mem_MB from sys.dm_os_sys_info
    Edit: A more optimized query
    If cast (LEFT( CAST(SERVERPROPERTY('ResourceVersion') AS VARCHAR(20)),2) as INT) in ('11','12')
    select (physical_memory_KB/1024) as Physical_Mem_MB from sys.dm_os_sys_info
    --else it uses for 2005-08R2
    else select (physical_memory_in_bytes/1024/1024) as Physical_Mem_MB from sys.dm_os_sys_info
    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 Articles
    Hi Shanky,
    Doesn't work and that's what I meant in my initial post..when I run that code against a SQL 2012 instance, it parses fine but when I execute it I get:
    Msg 207, Level 16, State 1, Line 6
    Invalid column name 'physical_memory_in_bytes'.

  • Does a Hyper-V VM running SQL 2014 Standard Edition support Hot Add Memory?

    According to this article: http://support.microsoft.com/kb/956893
    This was the case with SQL 2012 Standard Edition when running in a Hyper-V VM:
    Q7: Is Hyper-V Dynamic Memory supported for SQL Server? 
    A7: Hyper-V Dynamic Memory is fully supported with SQL Server. Only SQL Server versions and editions that support Hot Add Memory (Enterprise and Datacenter) can see memory that is added by using Hyper-V Dynamic Memory. SQL Server 2012 Standard
    edition also recognizes Hot Add memory when running in a virtual enviroment. SQL Server versions that do not support Hot Add Memory are still supported. But these versions will detect only the memory that is present in the operating system when SQL Server
    starts.
    I setup SQL 2014 Standard Edition in a VM and set it to Dynamic Memory, and just realized that Standard Edition does not support Hot Add Memory.  However, this support article contradicts that, but only mentions SQL 2012.
    Is anyone aware of the real answer to this question?  I just need to know how to configure the memory for my VM to make it run optimally.

    > just realized that Standard Edition does not support Hot Add Memory.  However, this support article contradicts that, but only mentions SQL 2012.
    It would not have been removed in SQL 2014.  So proceed accordingly. 
    David
    David http://blogs.msdn.com/b/dbrowne/

  • Error in converting SQL 2014 Trial to Full version using VLKey

    Hi,
    I am currently trying to upgrade my SQL 2014 evaluation version to the full version.
    I have purchased a Volume License for SQL Server 2014 Server/CAL and have extracted the product key from the ISO File.
    I have verified this product key with the product activation department and it is confirmed that it is a valid product key "ProdKey3 SQL Svr Standard Edtn 2014 00204 PA/BP VL:GVLK Pre Pidded"
    However, when i input the product key in to the server, it is showing me the error message:
    The SQL product key is not valid, enter key from certificate of authenticity or SQL server packaging
    Checked on the version of the evaluation and this is the edition - Microsoft SQL Server 2014.0120.2000.08
    The site that I am activating the server on does not have any internet connection, does this affect the activation?
    Would there be an alternate phone activation method for converting to Trial to Full?
    Kindly Assist. Thank you.

    Hi Julian,
    Firstly, according to the error message, please ensure that your SQL Server installation file is not corrupt, and make sure you use corresponding license key matched the edition and version of SQL Server. For more details about the error, please review the
    similar
    thread.
    Secondly, in addition to Ed’s post, you can also use the following command lines to upgrade SQL Server 2014 Trial to a full version.
    Setup.exe /q /ACTION=editionupgrade /INSTANCENAME=<MSSQLSERVER or instancename> /PID=<PID key for new edition>" /IACCEPTSQLSERVERLICENSETERMS
    Thirdly, for more detailed information regarding to the license issue, please call
    1-800-426-9400,
    Monday through Friday, 6:00 A.M. to 6:00 P.M. (Pacific Time) to speak directly to a Microsoft licensing specialist. For international customers, please use the Guide to Worldwide Microsoft Licensing Sites to find contact information in your locations.
    Thanks,
    Lydia Zhang

  • Sql server is using memory more then there max memory setting?

    Hi All,
    today i have faced the different issue..........
    we have one SQl server 2008 prod server... it have memory issue actually  total server memory is 8GB and we have allocated the 6 GB to SQL server,we checked the server no open trans and dont have running jobs also,one database is using the memory high(no
    open trans)... but Sql server has used 6.5 GB (6 GB) and total server used memory is reached to 7.89 GB.
    Please tell me how to find the most costly query in particular database wise and sql server internally behavior ?
    how to troubleshot the  above issue?
    please post the your valuable answers ASAP...
    Thanks,
    RAM

    Please refer to what Olaf said briefly.Buffer pool in SQL server only caters to memory requests which requires pages <8 KB . Almost all requests are satisfies by buffer pool and generally request for memory is small and so buffer pool satisfies the requests.
    However there are some direct memory allocation by windows API which is done by windows for requests which  requires memory greater than 8 KB. This memory wont come from buffer pool and this would be counted in memory utilized by SQL server. SQL
    CLR,XML, linked Server, all takes memory outside buffer pool in SQL Server 2008. This behavior changed in 2012 so my statement only applies to SQL server 2005/2008 and 2008 R2.
    I would run below to check 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,
    process_physical_memory_low,
    process_virtual_memory_low
    from sys. dm_os_process_memory
    I am sure you must be using some features mentioned above.You were worried that even though there is no query running on SQL server it has still holded up the memory. This is default behavior and this is how memory management in SQL Server works. It will
    not release memory untill SQLOS asks it to do so which is told by windows OS thorugh some flag that it is facing memory pressure.
    Please read below for more details on memory. There is section to test whether system is facing memory crunch please read that as well.
    http://social.technet.microsoft.com/wiki/contents/articles/22316.sql-server-memory-and-troubleshooting.aspx
    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

  • Backup Sharepoint 2013 SP1 Farm with SQL 2014 RTM "Always On" using System Center 2012 R2 Data Protection Manager

    Is backing up and Restoring SharePoint 2013 SP1 Farm with SQL 2014 RTM  "Always On" High Availability now supported using "System Center 2012 R2 Data Protection Manager"? 
    I cannot find information anywhere.
    Regards,
    Igor

    This is a DPM supportability issue, I believe. Last I heard, no it was not supported. SharePoint 2013 does not support SQL 2014 until the April 2014 CU. The CU should be out soon, although it appears to have been delayed (usually comes out on Patch Tuesday,
    which was this past Tuesday).
    Trevor Seward
    Follow or contact me at...
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Product keys to convert evaluation version of SQL Server Std 2014 to their SQL Server Standard 2014 Volume License

    Customer was asked for a product key to convert      evaluation version of SQL Server Std 2014 to their SQL Server Standard      2014
    Volume License.
    He cannot download the ISO as he is on a sterile server      on his client’s site.

    You may also try and look for PID in to DefaultSetup.ini file in the installation media, which can be found by going to the root folder of the SQL Server set media
    on the server or on the DVD, then look for this file in either the x64 or x86 folder.
    Keerthi Deep | Blog SQLServerF1 |
    Facebook

  • How to install sql server 2012 using the license of sql 2014

    Hello,
    We want to install sql server 2012 on a server because of an application that can not work with sql server 2014.
    We have a license for sql server 2014. The license is not visible for sql 2014 in our licenses because it is now included in the installation package. We also can not get a license key for SQL 2012 server now.
    How can we get a valid sql server 2012 license key?
    Thanks,
    Gr. Peter.

    Hello Peter, 
    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.
    Regards.
    T-SQL Articles
    T-SQL e-book by TechNet Wiki Community
    T-SQL blog

  • Strange error in SQL 2014 - is it a bug?

    Hi everybody,
    I was writing a query to help in a recent thread and then got a very strange error:
    declare @dt date = CURRENT_TIMESTAMP;
    select convert(varchar(10), 103, @dt);
    Run this code in SQL 2014 and see if it works for you or not. In BOL I didn't find anything indicating that CONVERT is not going to work with DATE type. Can you point me to BOL explaining the problem or confirm it's a bug?
    UPDATE. Same error in SQL 2012. Does it mean I can not use CONVERT function with DATE type or some styles are not available? If yes, which codes I can use and which I can not?
    UPDATE 2. I tried a few different styles and I got the same error message every time. That's new to me, looks like DATE type is not supported by CONVERT function at all?
    For every expert, there is an equal and opposite expert. - Becker's Law
    My blog
    My TechNet articles

    It should be declare @dt date = CURRENT_TIMESTAMP;
    select convert(varchar(10), @dt,103);Correct me if I'm wrong.--Prashanth

  • Read Only SQL 2012 Replica DB on a SQL 2014 box

    I have set up a data availability group between two SQl 2012 boxes on my windows cluster. they are failing over fine and synchronized as expected.
    I want to add an additional read only replica on my SQL 2014 box which is also included in my windows cluster (so i can use this replica for reporting with 2014 In Memory features) the fail-over is still between the two 2012 boxes. 
    Problem is even tho i have set this replica to read only - yes, the database is always in - Synchronized / In recovery - so i can never connect to it.
    Is this scenario possible?

    Thanks David
    Yes the whole point of this was to get access to real time data from within 2014, but the more i think about it the linked server still would not give me what i want as I belive the in memory is defined at table creation level.
    With the tables being created in 2012 that would be a problem.
    Thanks for the info mate.

  • SQL 2014 FCI+AG on Clustered Shared Volumes design

    Hello,
    I was assigned the task to design a new SQL 2014 environment for my company. Our current environment consists of two clusters of 4 nodes each (8 nodes total for the two clusters) in two datacenters (let's say LA & NY).
    Each datacenter is both primary & DR for different applications. Each cluster is active/active and has 9 SQL instances - 1 DEV/2 UAT/4 PROD/2 DR. 
    We are using Windows Server 2008 R2 SP1 + SQL 2008 R2 SP2 FCIs for HA + DBM for DR, storage is symmetric, LUNs are coming from NetApp SAN filers. 
    Due to the consolidated nature of the current SQL clusters (some hold 100+ DBs for different applications), the new platform - Windows 2012 R2 and that one WSFC cluster will be used, I decided to go with a new build instead of upgrade.
    My plan for the migration to SQL 2014 is as follows:
    1. Evict two nodes from each cluster, the 9 SQLs in each datacenter will run on two nodes and I will have two nodes more per site to build the new environment. 
    Average CPU utilization for each node is 10-20%, total max memory of all SQL Servers per site is 256GB RAM, each node has 2 CPUs x 8 cores each with 256GB RAM. SQLs will still run on two nodes with reasonable performance.
    Since the same number of cores is used and we pay SA, there will be no increase in licensing costs for the time of migration to SQL 2014 and to obsolete the SQL 2008 R2 environment.
    2. The new cluster will consists of 4 nodes with Windows 2012 R2 (2 in NY and 2 in LA) and will have Node+FileShare majority quorum model with Cluster Managed voting enabled. 
    3. New SQL 2014 FCIs will be built (9 per site) and will use Clustered Shared Volumes + AlwaysON Availability Groups. Once the new environment is built, databases will be migrated by backup/restore.
    Since we will have AlwaysON FCIs+AlwaysON AGs I'm aware that automatic failover cannot be used and the complications with addition of data files on primary databases, that's fine (file paths will be different of primary and DR SQL instances).
    My question is - is this a supported configuration from Microsoft - AlwaysON AGs running on CSVs in a multi-site cluster? 
    I am aware that CSVs are something new for the SQL world, so what are the things I should take into consideration when building this solution? Are there any pitfalls to be wary of?
    Any suggestions will be much appreciated.
    Thank you in advance,

    First, consider building a separate Hyper-V cluster in each data center, and running SQL Server in VMs. 
    In your proposed configuration if you loose connectivity between your data centers, half of your nodes will loose quorum and go offline.  It's simpler to maintain quorum seperately in each data center when trying to run active-active. 
    Hyper-V adds a bunch of useful stuff, like live migration, storage migration, and basic HA and DR without guest clustering.  And the implementation of Hyper-V on CSV is a very common pattern. 
    You can then present shared hard disks to your SQL VMs to create a FCI on a guest cluster.  See
    Deploy a Guest Cluster Using a Shared Virtual Hard Disk
    Or you can simply use stand-alone instances on the guests, and use AlwaysOn AGs for rolling upgrades and DR.
    That said, you proposed configuration is supported.  It's a variant of the solution outlined here
    AlwaysOn Architecture Guide: Building a High Availability and Disaster Recovery Solution by Using Failover Cluster Instances and Availability Groups
    The cluster would have asymmetric storage, with the nodes in each data center sharing LUNs (whether on CSVs or not), but the LUNs in a data center would not be visible to the nodes in the other datacenter.  You can and should use the same path names
    on the primary and DR instances, as outlined in the whitepaper.  This is important because otherwise file and filegroup operations will suspend the AlwaysOn data movement.
    David
    David http://blogs.msdn.com/b/dbrowne/

Maybe you are looking for

  • I cannot sync any music or movies on my ipod touch ( updated to the 5.0.1 version)

    I don't understand this at all, I just synced an album of songs onto my ipod touch but then when I went to sync a m4v file of a Tv show, it will not sync. Itunes keeps freezing. I don't even get a "sync in progress" message.

  • ITunes (10.3.1) wont upgrade on Win7 64bit

    iTunes installer completes the download and runs through the entire install and then fails. I have tried manually installing with the same result. Where I can get additional details on the failure? is there a log file I can reviewto get more details

  • Apache 2.2.13 released

    All, The ASF has released and announced Apache 2.2.13: http://www.apache.org/dist/httpd/Announcement2.2.html NetWare binaries are up at usual place: http://www.apache.org/dist/httpd/binaries/netware/ please use a nearby mirror whenever possible: http

  • How to keep data integrity with the two business service in OSB 10.3.1.0

    How to keep data integrity with the two business service in OSB 10.3.1.0 In our customer system, customer want to keep data integerity between two businness service. I thinks this is XA transaction issue. Basing customer requirment, I created a testc

  • Windows Activation Key - Help!

    My screen shattered, so I bought a replacement of the same model and copied the Windows partition over.  It works great, except that Windows claims it still needs activation.  Both computers had legitimate, similar licences for Windows.  If I can ent