SQL Server Performance Issue in Memory

Dear All
Can you please help me out of this below issue.
My Server having : Windows 2012 SD 64 bit
SQL : SQL 2008 R2 64 bit SP1 
Memory : 64 GB
SQL Min Memory : 45 GB and Max memory : 55 GB so remaining 9 GB available
but my sql server any time shows 94% memory utilization. i have checked below points
Physical Memory_MB                      Physical Memory_GB                      Virtual Memory GB
65536                                   64                                      8192
Buffer Pool Usage at the Moment
BPool_Committed_MB                      BPool_Commit_Tgt_MB                     BPool_Visible_MB
56320.000000                            56320.000000                            56320.000000
Total Memory used by SQL Server Buffer Pool as reported by Perfmon counters
Mem_KB               Mem_MB                                  Mem_GB
57671680             56320.000000                            55.000000000
Memory needed as per current Workload for SQL Server instance
Mem_KB               Mem_MB                                  Mem_GB
57671680             56320.000000                            55.000000000
Total amount of dynamic memory the server is using for maintaining connections
Mem_KB               Mem_MB                                  Mem_GB
912                  0.890625                                0.000869750
Total amount of dynamic memory the server is using for locks
Mem_KB               Mem_MB                                  Mem_GB
40296                39.351562                               0.038429260
Total amount of dynamic memory the server is using for the dynamic SQL cache
Mem_KB               Mem_MB                                  Mem_GB
2056                 2.007812                                0.001960754
Total amount of dynamic memory the server is using for query optimization
Mem_KB               Mem_MB                                  Mem_GB
2880                 2.812500                                0.002746582
Total amount of dynamic memory used for hash, sort and create index operations.
Mem_KB               Mem_MB                                  Mem_GB
0                    0.000000                                0.000000000
Total Amount of memory consumed by cursors
Mem_KB               Mem_MB                                  Mem_GB
28464                27.796875                               0.027145385
Number of pages in the buffer pool (includes database, free, and stolen).
8KB_Pages            Pages_in_KB                             Pages_in_MB
7208960              57671680.000000                         56320.000000000
Number of Data pages in the buffer pool
8KB_Pages            Pages_in_KB                             Pages_in_MB
6710944              53687552.000000                         52429.250000000
Number of Free pages in the buffer pool
8KB_Pages            Pages_in_KB                             Pages_in_MB
234598               1876784.000000                          1832.796875000
Number of Reserved pages in the buffer pool
8KB_Pages            Pages_in_KB                             Pages_in_MB
0                    0.000000                                0.000000000
Number of Stolen pages in the buffer pool
8KB_Pages            Pages_in_KB                             Pages_in_MB
263418               2107344.000000                          2057.953125000
Number of Plan Cache pages in the buffer pool
8KB_Pages            Pages_in_KB                             Pages_in_MB
135772               1086176.000000                          1060.718750000
Page Life Expectancy - Number of seconds a page will stay in the buffer pool without references
Page Life in seconds PLE Status
111450               PLE is Healthy
Number of requests per second that had to wait for a free page
Free list stalls/sec
373
Number of pages flushed to disk/sec by a checkpoint or other operation that require all dirty pages to be flushed
Checkpoint pages/sec
8052165
Number of buffers written per second by the buffer manager"s lazy writer
Lazy writes/sec
1247
Total number of processes waiting for a workspace memory grant
Memory Grants Pending
0
Total number of processes that have successfully acquired a workspace memory grant
Memory Grants Outstanding
0
My User asking how much sql transaction takes out off 55 GB , and each transaction how much takes, how to find sql healthy and sql needs how much memory. 
Thanks
Mohamed Udhuman

Issue i mentioned here, Memory bottleneck is available or not , how to avoid sql buffer pool takes more memory means.
Thanks
Mohamed Udhuman
Hello,
Your output you posted does not makes sense or may be I am not able to understand it..If you want through analysis I need following from you
1.
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
2 What is reason for keeping Max server memory and Min server mmory almost equal. 55 G is MAX and 45 G is min.
3. Does SQL server account has locked pages in memory privilege ?
4. Did you see any out of memory error ?
5 Please post output of DBCC MEMORYSTATUS and SP_readerrorlog on skydrive and post location here.
PS: SQL server utilizing memory is normal behavior ,what you posted does not exactly points to memory pressure and what seems to me cause here is poorly written queries running.
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers
My TechNet Wiki Articles

Similar Messages

  • Required info on SQL Server Performance Issue Analysis and Troubleshoot way

    Dear All,
    I am going to prepare the simple documentation steps on SQL Server Performance Issue Analysis and troubleshoot method. I am struggling to make this documentation since we have different checklist (like network latency,disk latency, memory/processor pressure,SQL
    query tuning etc) to validate once application performance issue reported from the customer.So, I am looking for the experts document or link sharing .
    Your input will help for document preparation in better way.
    Thanks in advance.

    Hi,
    Recommendations and Guidelines on configuring disk partitions for SQL Server
    http://support.microsoft.com/kb/2023571
    Disk and File Layout for SQL Server
    https://blogs.technet.com/b/dataplatforminsider/archive/2012/12/19/disk-and-file-layout-for-sql-server.aspx
    Microsoft SQL Server 2012 Performance Tuning: Implementing Physical Database Structure
    http://www.packtpub.com/article/sql-server-2012-implementing-physical-database-strusture
    Database Mirroring Best Practices and Performance Considerations
    http://technet.microsoft.com/en-us/library/cc917681.aspx
    Hope the information helps.
    Tracy Cai
    TechNet Community Support

  • How to get sql server performance counters using query?

    Hai i want to see my sql server performance counters like, Full Scans/sec,  Buffer
    Cache Hit Ratio,  Database Transactions/sec, User
    Connections, Average Latch Wait Time (ms), Lock
    Waits/sec, Lock Timeouts/sec, Number
    of Deadlocks/sec, Total Server Memory, SQL
    Re-Compilations/sec, User Settable Query. If any one know how to get it by using query means, please help me.
    Thanks in advance

    Hello,
    Below is query created by Jonathan Kehayias for measuring Perfom counters using DMV sys.dm_os_performance_counter.
    You can download book from below link
    https://www.simple-talk.com/books/sql-books/troubleshooting-sql-server-a-guide-for-the-accidental-dba/
    DECLARE @CounterPrefix NVARCHAR(30)
    SET @CounterPrefix = CASE WHEN @@SERVICENAME = 'MSSQLSERVER'
    THEN 'SQLServer:'
    ELSE 'MSSQL$' + @@SERVICENAME + ':'
    END ;
    -- Capture the first counter set
    SELECT CAST(1 AS INT) AS collection_instance ,
    [OBJECT_NAME] ,
    counter_name ,
    instance_name ,
    cntr_value ,
    cntr_type ,
    CURRENT_TIMESTAMP AS collection_time
    INTO #perf_counters_init
    FROM sys.dm_os_performance_counters
    WHERE ( OBJECT_NAME = @CounterPrefix + 'Access Methods'
    AND counter_name = 'Full Scans/sec'
    OR ( OBJECT_NAME = @CounterPrefix + 'Access Methods'
    AND counter_name = 'Index Searches/sec'
    OR ( OBJECT_NAME = @CounterPrefix + 'Buffer Manager'
    AND counter_name = 'Lazy Writes/sec'
    OR ( OBJECT_NAME = @CounterPrefix + 'Buffer Manager'
    AND counter_name = 'Page life expectancy'
    OR ( OBJECT_NAME = @CounterPrefix + 'General Statistics'
    AND counter_name = 'Processes Blocked'
    OR ( OBJECT_NAME = @CounterPrefix + 'General Statistics'
    AND counter_name = 'User Connections'
    OR ( OBJECT_NAME = @CounterPrefix + 'Locks'
    AND counter_name = 'Lock Waits/sec'
    OR ( OBJECT_NAME = @CounterPrefix + 'Locks'
    AND counter_name = 'Lock Wait Time (ms)'
    OR ( OBJECT_NAME = @CounterPrefix + 'SQL Statistics'
    AND counter_name = 'SQL Re-Compilations/sec'
    OR ( OBJECT_NAME = @CounterPrefix + 'Memory Manager'
    AND counter_name = 'Memory Grants Pending'
    OR ( OBJECT_NAME = @CounterPrefix + 'SQL Statistics'
    AND counter_name = 'Batch Requests/sec'
    OR ( OBJECT_NAME = @CounterPrefix + 'SQL Statistics'
    AND counter_name = 'SQL Compilations/sec'
    -- Wait on Second between data collection
    WAITFOR DELAY '00:00:01'
    -- Capture the second counter set
    SELECT CAST(2 AS INT) AS collection_instance ,
    OBJECT_NAME ,
    counter_name ,
    instance_name ,
    cntr_value ,
    cntr_type ,
    CURRENT_TIMESTAMP AS collection_time
    INTO #perf_counters_second
    FROM sys.dm_os_performance_counters
    WHERE ( OBJECT_NAME = @CounterPrefix + 'Access Methods'
    AND counter_name = 'Full Scans/sec'
    OR ( OBJECT_NAME = @CounterPrefix + 'Access Methods'
    AND counter_name = 'Index Searches/sec'
    OR ( OBJECT_NAME = @CounterPrefix + 'Buffer Manager'
    AND counter_name = 'Lazy Writes/sec'
    OR ( OBJECT_NAME = @CounterPrefix + 'Buffer Manager'
    AND counter_name = 'Page life expectancy'
    OR ( OBJECT_NAME = @CounterPrefix + 'General Statistics'
    AND counter_name = 'Processes Blocked'
    OR ( OBJECT_NAME = @CounterPrefix + 'General Statistics'
    AND counter_name = 'User Connections'
    OR ( OBJECT_NAME = @CounterPrefix + 'Locks'
    AND counter_name = 'Lock Waits/sec'
    OR ( OBJECT_NAME = @CounterPrefix + 'Locks'
    AND counter_name = 'Lock Wait Time (ms)'
    OR ( OBJECT_NAME = @CounterPrefix + 'SQL Statistics'
    AND counter_name = 'SQL Re-Compilations/sec'
    OR ( OBJECT_NAME = @CounterPrefix + 'Memory Manager'
    AND counter_name = 'Memory Grants Pending'
    OR ( OBJECT_NAME = @CounterPrefix + 'SQL Statistics'
    AND counter_name = 'Batch Requests/sec'
    OR ( OBJECT_NAME = @CounterPrefix + 'SQL Statistics'
    AND counter_name = 'SQL Compilations/sec'
    -- Calculate the cumulative counter values
    SELECT i.OBJECT_NAME ,
    i.counter_name ,
    i.instance_name ,
    CASE WHEN i.cntr_type = 272696576
    THEN s.cntr_value - i.cntr_value
    WHEN i.cntr_type = 65792 THEN s.cntr_value
    END AS cntr_value
    FROM #perf_counters_init AS i
    JOIN #perf_counters_second AS s
    ON i.collection_instance + 1 = s.collection_instance
    AND i.OBJECT_NAME = s.OBJECT_NAME
    AND i.counter_name = s.counter_name
    AND i.instance_name = s.instance_name
    ORDER BY OBJECT_NAME
    -- Cleanup tables
    DROP TABLE #perf_counters_init
    DROP TABLE #perf_counters_second
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • SQL query performance issues.

    Hi All,
    I worked on the query a month ago and the fix worked for me in test intance but failed in production. Following is the URL for the previous thread.
    SQL query performance issues.
    Following is the tkprof file.
    CURSOR_ID:76  LENGTH:2383  ADDRESS:f6b40ab0  HASH_VALUE:2459471753  OPTIMIZER_GOAL:ALL_ROWS  USER_ID:443 (APPS)
    insert into cos_temp(
    TRX_DATE, DEPT, PRODUCT_LINE, PART_NUMBER,
    CUSTOMER_NUMBER, QUANTITY_SOLD, ORDER_NUMBER,
    INVOICE_NUMBER, EXT_SALES, EXT_COS,
    GROSS_PROFIT, ACCT_DATE,
    SHIPMENT_TYPE,
    FROM_ORGANIZATION_ID,
    FROM_ORGANIZATION_CODE)
    select a.trx_date,
    g.segment5 dept,
    g.segment4 prd,
    m.segment1 part,
    d.customer_number customer,
    b.quantity_invoiced units,
    --       substr(a.sales_order,1,6) order#,
    substr(ltrim(b.interface_line_attribute1),1,10) order#,
    a.trx_number invoice,
    (b.quantity_invoiced * b.unit_selling_price) sales,
    (b.quantity_invoiced * nvl(price.operand,0)) cos,
    (b.quantity_invoiced * b.unit_selling_price) -
    (b.quantity_invoiced * nvl(price.operand,0)) profit,
    to_char(to_date('2010/02/28 00:00:00','yyyy/mm/dd HH24:MI:SS'),'DD-MON-RR') acct_date,
    'DRP',
    l.ship_from_org_id,
    p.organization_code
    from   ra_customers d,
    gl_code_combinations g,
    mtl_system_items m,
    ra_cust_trx_line_gl_dist c,
    ra_customer_trx_lines b,
    ra_customer_trx_all a,
    apps.oe_order_lines l,
    apps.HR_ORGANIZATION_INFORMATION i,
    apps.MTL_INTERCOMPANY_PARAMETERS inter,
    apps.HZ_CUST_SITE_USES_ALL site,
    apps.qp_list_lines_v price,
    apps.mtl_parameters p
    where a.trx_date between to_date('2010/02/01 00:00:00','yyyy/mm/dd HH24:MI:SS')
    and to_date('2010/02/28 00:00:00','yyyy/mm/dd HH24:MI:SS')+0.9999
    and   a.batch_source_id = 1001     -- Sales order shipped other OU
    and   a.complete_flag = 'Y'
    and   a.customer_trx_id = b.customer_trx_id
    and   b.customer_trx_line_id = c.customer_trx_line_id
    and   a.sold_to_customer_id = d.customer_id
    and   b.inventory_item_id = m.inventory_item_id
    and   m.organization_id
         = decode(substr(g.segment4,1,2),'01',5004,'03',5004,
         '02',5003,'00',5001,5002)
    and   nvl(m.item_type,'0') <> '111'
    and   c.code_combination_id = g.code_combination_id+0
    and   l.line_id = b.interface_line_attribute6
    and   i.organization_id = l.ship_from_org_id
    and   p.organization_id = l.ship_from_org_id
    and   i.org_information3 <> '5108'
    and   inter.ship_organization_id = i.org_information3
    and   inter.sell_organization_id = '5108'
    and   inter.customer_site_id = site.site_use_id
    and   site.price_list_id = price.list_header_id
    and   product_attr_value = to_char(m.inventory_item_id)
    call        count       cpu   elapsed         disk        query      current         rows    misses
    Parse           1      0.47      0.56           11          197            0            0         1
    Execute         1   3733.40   3739.40        34893    519962154           11          188         0
    total           2   3733.87   3739.97        34904    519962351           11          188         1
    |         Rows Row Source Operation
    | ------------ ---------------------------------------------------
    |          188 HASH JOIN (cr=519962149 pr=34889 pw=0 time=2607.35)
    |          741 .TABLE ACCESS BY INDEX ROWID QP_PRICING_ATTRIBUTES (cr=519939426 pr=34889 pw=0 time=2457.32)
    |    254644500 ..NESTED LOOPS (cr=519939265 pr=34777 pw=0 time=3819.67)
    |    254643758 ...NESTED LOOPS (cr=8921833 pr=29939 pw=0 time=1274.41)
    |          741 ....NESTED LOOPS (cr=50042 pr=7230 pw=0 time=11.37)
    |          741 .....NESTED LOOPS (cr=48558 pr=7229 pw=0 time=11.35)
    |          741 ......NESTED LOOPS (cr=47815 pr=7223 pw=0 time=11.32)
    |         3237 .......NESTED LOOPS (cr=41339 pr=7223 pw=0 time=12.42)
    |         3237 ........NESTED LOOPS (cr=38100 pr=7223 pw=0 time=12.39)
    |         3237 .........NESTED LOOPS (cr=28296 pr=7139 pw=0 time=12.29)
    |         1027 ..........NESTED LOOPS (cr=17656 pr=4471 pw=0 time=3.81)
    |         1027 ...........NESTED LOOPS (cr=13537 pr=4404 pw=0 time=3.30)
    |          486 ............NESTED LOOPS (cr=10873 pr=4240 pw=0 time=0.04)
    |          486 .............NESTED LOOPS (cr=10385 pr=4240 pw=0 time=0.03)
    |          486 ..............TABLE ACCESS BY INDEX ROWID RA_CUSTOMER_TRX_ALL (cr=9411 pr=4240 pw=0 time=0.02)
    |        75253 ...............INDEX RANGE SCAN RA_CUSTOMER_TRX_N5 (cr=403 pr=285 pw=0 time=0.38)
    |          486 ..............TABLE ACCESS BY INDEX ROWID HZ_CUST_ACCOUNTS (cr=974 pr=0 pw=0 time=0.01)
    |          486 ...............INDEX UNIQUE SCAN HZ_CUST_ACCOUNTS_U1 (cr=488 pr=0 pw=0 time=0.01)
    |          486 .............INDEX UNIQUE SCAN HZ_PARTIES_U1 (cr=488 pr=0 pw=0 time=0.01)
    |         1027 ............TABLE ACCESS BY INDEX ROWID RA_CUSTOMER_TRX_LINES_ALL (cr=2664 pr=164 pw=0 time=1.95)
    |         2063 .............INDEX RANGE SCAN RA_CUSTOMER_TRX_LINES_N2 (cr=1474 pr=28 pw=0 time=0.22)
    |         1027 ...........TABLE ACCESS BY INDEX ROWID RA_CUST_TRX_LINE_GL_DIST_ALL (cr=4119 pr=67 pw=0 time=0.54)
    |         1027 ............INDEX RANGE SCAN RA_CUST_TRX_LINE_GL_DIST_N1 (cr=3092 pr=31 pw=0 time=0.20)
    |         3237 ..........TABLE ACCESS BY INDEX ROWID MTL_SYSTEM_ITEMS_B (cr=10640 pr=2668 pw=0 time=15.35)
    |         3237 ...........INDEX RANGE SCAN MTL_SYSTEM_ITEMS_B_U1 (cr=2062 pr=40 pw=0 time=0.33)
    |         3237 .........TABLE ACCESS BY INDEX ROWID OE_ORDER_LINES_ALL (cr=9804 pr=84 pw=0 time=0.77)
    |         3237 ..........INDEX UNIQUE SCAN OE_ORDER_LINES_U1 (cr=6476 pr=47 pw=0 time=0.43)
    |         3237 ........TABLE ACCESS BY INDEX ROWID MTL_PARAMETERS (cr=3239 pr=0 pw=0 time=0.04)
    |         3237 .........INDEX UNIQUE SCAN MTL_PARAMETERS_U1 (cr=2 pr=0 pw=0 time=0.01)
    |          741 .......TABLE ACCESS BY INDEX ROWID HR_ORGANIZATION_INFORMATION (cr=6476 pr=0 pw=0 time=0.10)
    |         6474 ........INDEX RANGE SCAN HR_ORGANIZATION_INFORMATIO_FK2 (cr=3239 pr=0 pw=0 time=0.03)Please help.
    Regards
    Ashish

    |    254644500 ..NESTED LOOPS (cr=519939265 pr=34777 pw=0 time=3819.67)
    |    254643758 ...NESTED LOOPS (cr=8921833 pr=29939 pw=0 time=1274.41)There is no way the optimizer should choose to process that many rows using nested loops.
    Either the statistics are not up to date, the data values are skewed or you have some optimizer parameter set to none default to force index access.
    Please post explain plan and optimizer* parameter settings.

  • SQL Server 2014 RTM In-Memory OLTP sample

    Hi I am trying to get the sample
    https://msftdbprodsamples.codeplex.com/releases/view/114491
    but it does not appear to be there, has it been moved?

    If you want download In-Memory sample, please download it from this link: 
    SQL Server 2014 RTM In-Memory OLTP Sample.zip
    If you want Adventure Works 2014, you can download it from the following link:
    Adventure Works 2014 Full Database Backup.zip
    T-SQL Articles
    T-SQL e-book by TechNet Wiki Community
    T-SQL blog

  • SQL Server Connection Issue

    I've tried going through the steps to resolve the issue, but I am still coming up blank. The part that I am not understanding is the, "A non-recoverable error occurred during a database lookup." part.
    Is this a security problem? I can establish an ODBC connection to the server as well as connect and query through visual studio, however when trying to run it through one of our custom programs, it throws this error message. 
    A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider:
    TCP Provider, error: 0 - A non-recoverable error occurred during a database lookup.)

    There are many reasons of SQL server connectivity issue. Refer checklist to find out the real cause of connectivity issue.
    1. Check SQL services are running
    2. Check SQL Browser service is running
    3. Check remote connections are enabled
    4. Network connectivity between database & application servers by TRACERT command
    5. Check TCP/IP protocol enabled at SQL server
    6. Check talent connectivity – telnet <IP address> <port no on SQL server running>
    7. Check UDP port 1434 is open or not on SQL Server
    8. Check firewall is running or not Check
    9. If firewall running, SQL Server & UDP port must be added in exception in firewall
    10. Run SQL Discovery report on machine SQL server installed, to check you are using correct instance name to connect( default \named) -http://mssqlfun.com/2013/02/26/sql-server-discovery-report/
    http://mssqlfun.com/2012/09/28/check-list-for-sql-server-connectivity-issue/
    Regards,
    Rohit Garg
    (My Blog)
    This posting is provided with no warranties and confers no rights.
    Please remember to click Mark as Answer and Vote as Helpful on posts that help you. This can be beneficial to other community members reading the thread.

  • SQL Server 2008r2 out of memory issue

    Hi
    im running sql2008r2 on a windows 2008r2 server.
    we have a tfs server running 
    at one point in the day the server memory gets full and requests from client are dropped until we restart the server and again...
    how can i solve this issue?
    i attached some screens

    how much memory should i put in the "maximum memory" option to perform best?
    unfortunately i cant move right now other services but i can tell it is planned to in the near future. but untill then i have somehow make it work OK with these settings
    Ok Can you please refer to Answer provided by me(shanky) in below thread
    Sensible way of sizing buffer pool
    In parallel you also might need to search on error you mentioned 'Request of clients are dropped'. Since there are lot of things running I cannot upfront say how much memory you should set.
    Make sure you assign
    Locked pages in memory privilege to SQL Server service account. If SQL Server is standard edition you also need to enable trace flag 845 to take advantage of LPIM.
    Please leave enough memory for OS. I would say at least 10G for OS. This is just arbitrary value
    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 Connectivity Issue

    I am able to connect the server but not to the SSMS. getting the below error:
    The client was unable to establish a connection because of an error during connection initialization process before login. Possible causes
    include the following: the client tried to connect to an unsupported version of SQL Server; the server was too busy to accept new connections; or there was a resource limitation (insufficient memory or maximum allowed connections) on the server. (provider:
    TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.) (Microsoft SQL Server, Error: 10054)"
    To fix it :
    I have done some changes in system registry..
    from the path... \System\CurrentControlSet\Control\Lsa\Kerberos\Parameters
    -- Added the following registry value:
    Name: MaxTokenSize
    Data type: REG_DWORD
    Radix: Decimal
    Value: 48000
    --Rebooted server
    and it resolves the issue for me..
    BUT it is happening weekly basis..
    and every time server restart resolves the issue.
    CAN ANYBODY HELP TO FIX THE ISSUE PERMANENTLY..
    Details :
    SQL Server 2005 -- SP4 -- Standard Edition (64-bit)
    MS Windows Server 2003 R2 -- SP2-- Standard x64 Edition
    RAM: 16 GB
    Thanks in advance...

    It says clearly ofcourse need to check so-
    the client tried to connect to an unsupported version of SQL Server;
    >>check what version of client tools you are using for ex- you can connect sql2005 from 2008 but reverse is not possible (ofcouse it will gives complete info) or you are using one which is not the right version tool,
    the server was too busy to accept new connections; or there was a resource limitation (insufficient memory or maximum allowed connections) on the server.
    >>Check during that time what was the lad on the server like cpu,mem or other issues.
    check in the sql errorlog.
    (provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.) (Microsoft SQL Server, Error: 10054)"
    check ->Troubleshooting: Connection Forcibly Closed
    http://msdn.microsoft.com/en-us/library/ms187005(v=sql.105).aspx
    Thanks, Rama Udaya.K (http://rama38udaya.wordpress.com) ---------------------------------------- Please remember to mark the replies as answers if they help and UN-mark them if they provide no help,Vote if they gives you information.

  • SQL Server 2012 taking more memory

    I have sql server 2012 it taking more memory. for example i allocate 100 GB but it's taking 250GB and above. while
    i checking in resource monitor it's showing and there is no process is running (sp_who2)

    I have sql server 2012 it taking more memory. for example i allocate 100 GB but it's taking 250GB and above.
    while i checking in resource monitor it's showing and there is no process is running (sp_who2)
    I guess you allocated 100 G(arbitrary value) to buffer pool. Even though in SQL Server 2012 buffer pool was changed to cater to memory requests for many processes which were previously satisfied by Windows API directly (not from buffer pool) still there
    are processes which can cause memory allocation outside buffer pool and thus increase SQL server memory consumption more than what is assigned to buffer pool so what you are seeing IS NORMAL BEHAVIOR.
    http://blogs.msdn.com/b/sqlosteam/archive/2012/07/12/memory-manager-configuration-changes-in-sql-server-2012.aspx
    Can you please post output of below query
    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
    How much RAM does your system has and what is Max server memory ?
    SQL server once taken memory will not release until SQLOS asks it to do so upon seeing low memory notification flag. Memory is managed dynamically and SQL Server by default caches as much as possible to avoid I/O reads which is time taking an costly
    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 Connection Issues

    After reinstalling Windows Server 2008 R2 EE my SQL 2008 R2 Sp2 Instances have some connection issues.
    The server were installed under the same hostname, but he got a new sid in my active directory.
    On the server there one DB Engine MSSQLSERVER, two named Reporting Services for MS crm 4.0 and SCOM and one Analysis Services Instance.
    The DB Engine will collect Data from another DB, before writing to Analysis Services.
    Here are the problems on the server:
    When I connect via SSMS remotly, I sometimes get this error: Failed to connect to server <hostname> ... Named Pipes Provider, error 40 - Could not open a connection to SQL Server - Error 5
    Both RS Instances have many event log errors like "Report Server (Instance) cannot connect to the report server database.". RS Reports are working fine, but sometimes the rendering is taking a long
    time.
    The DB Engine Agent Job to collect Data sometimes throw the following error: An OLE DB error has occurred. Error code: 0x80004005.  An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 10.0"  Hresult:
    0x80004005  Description: "Unable to complete login process due to delay in opening server connection".  End Error  Error: 2013-12-10 06:03:40.41     Code: 0xC00291EC
    User use Excel to connect to the Cube on my server. Often they got timeout errors. When they connect again it will work.
    Are there any solutons on this?
    Thanks a lot!

    Hello,
    The server were installed under the same hostname, but he got a new sid in my active directory.
    Did you connect to SQL Server instance with Windows authentication? Since the SID of domain account is changed, the SQL Server instace may cannot verify the login account which stored in the master with old SID. In that case, please try to connect
    SQL Server with SQL authentication and then readd the domian as login the instance.
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • OraOledb for 64-bit, Linked Servers and SQL Server 2005 issues

    Our environment is : SQL Server 2005, Windows Server 2003, 64-bit and 32-bit operating systems.
    Problem on 64-bit operating system box: (32-bit works fine).
    I am trying to access Oracle 10g database using linked server from our SQL Server 2005. In case of number fileds i got the following error:
    Invalid data for type "numeric".
    After going through one of the posting in this forumn i was able to resolve the problem by converting those column values to char while querying and then converting them back to numeric type on SQL server side.
    But today i ran into another problem. There is a VARCHAR2 column. I was able to retrieve the data yesterday for that column but today i am getting a blank recordset. If i exclude the colum from the query then i am getting all the rows.
    I am querying against a view and it has got a number of columns whose data type is VARCHAR2.
    Again the problem is on 64-bit operating system only. We have a 32-bit operating system on which i am able to retrieve the data including this column. I looked at the data and everything looks OK. No funny characters etc.
    I tried workarounds like using cast, to_char, checking for nulls etc., Nothing works.
    Any help is greately appreciated. Thanks.

    Did you find a resolution for this? We have similar problem. Set up a linked server in SQL 2006 to Oracle (running on Windows 64-bit) Linked server works and views I had set up were working but they added some new data in the Oracle test database I am using and now I get errors on one of the views.
    Error I am getting on the view is "Cannot initialize the data source object of OLE DB Provider "OraOLDEDB.ORacle" for the linked server"
    If I fine tune my queries to find the specific table or view that is at issue, then I get the error "inconsistent metadata for a column"

  • SharePoint 2010 and SQL Server 2012 issue

    Hi,
    I have SharePoint 2010 integrated with SQL Server 2008 R2 in my machine. I wanted to use Power View feature, so I went for SQL Server 2012 installation. Now when I try to create the SQL Server Reporting service service application, it says, this feature
    is not supported by current version of database.
    Please let me know how to fix the issue. Do I need to reinstall SharePoint 2010 once again using SQL Server 2012 ?
    thanks
    Tarique

    http://social.technet.microsoft.com/Forums/sharepoint/en-US/9eacbd00-f264-4f55-bd27-55cf0761cbd7/power-view-is-not-supported-in-this-edition-of-reporting-services?forum=sharepointadmin
    The only requirements for SSRS Integrated mode/PowerView are that you're using SharePoint Enterprise and SQL Enterprise/BI and that SharePoint be installed and joined to the farm on the server where you're also installing SSRS.
    You need to reconfigure your sharepoint farm farm to use SQL server 2012 
    http://technet.microsoft.com/en-us/library/ee210640.aspx
    Business intelligence features are not all available in all editions of SQL Server 2012

  • Database Adapter and SQL Server procedure issue

    Hello,
    I am using Jdev 11.1.1.7.0 and SQL Server 2005.
    In the Database Adapter configuration wizard, Specify Stored Procedure step, I choose the “GEACupax” schema and got the following error after a click on “Procedure Browse” button:
    com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name 'GEACUPAX.INFORMATION_SCHEMA.SCHEMATA'.
    The command Database Adapter tried to execute was:
    (from jdev log:) select schema_name from GEACUPAX.INFORMATION_SCHEMA.SCHEMATA order by schema_name;
    Note, the schema name has changed to uppercase. I think that is the problem. If I try this query in SQLDeveloper, it returns the same error. I can fix it changing the schema name to “GEACupax”. The case matters.
    Any ideas?
    Leandro.

    Vijay,
    Thanks for you reply.
    I figure out a related bug:
    Bug 12859472: Cannot browse store procedure in case-sensitive MS SQL Database
    There are two possible workarounds:
    1. Use a database name with capital letters
    2. Do not use stored procedures, but access the tables directly.
    The notes on the Bug ticket describes that the issue would be scheduled to be fixed in PS7 which is 11.1.1.8.
    Cheers!
    Leandro.

  • Terminal Server performance issue

    Hi,
    We have Acrobat Pro 11.0.07 on a Terminal Serveur ( windows server 2008 R2 standard) and got performance issue when we use acrobat. Acrobat use a complete core and this is slowing our server. Is there an other version of Acrobat to use or patch to fix that issue ?

    Hi Sean,
    "Equally annoying. When I remove the printer in question, it re-adds itself and I end up with multiple copies of the same printer. Is there anyway to stop this from happening?"
    Did you try to login this terminal server locally ?
    Best Regards
    Elton Ji
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • SQL Server Mail Issue in 2012

      Hi
    I configured in SQL Server Database Mail Option in SQL Server 2012 using Gmail SMTP with all correct parameters but when i sending the mail i got the below error message
    broker is also enabled in msdb database.
    The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 3 (2014-06-24T16:51:23). Exception Message: Could not connect to mail server. (A connection attempt failed because the connected party did not properly
    respond after a period of time, or established connection failed because connected host has failed to respond 74.125.25.108:587).)
    pls do the need ful
    Here i attached mail conf wizard
    --Ragu Thangavel
    Ragu Thangavel

    Hey ragu,
    See the first film of a long TRAINSIGNAL quite comprehensively explains the use and settings of the mail server, but it illustrates not GMAIL service.
    https://www.youtube.com/watch?v=DAlD8Bzbtcs
    The second film explains how to configure GMAIL account (a port set, what server address, and the like) is only relevant for GMAIL account.
    https://www.youtube.com/watch?v=j69e3mTJF0k
    If you go to the movies can also rule out any important issues such as whether the service works, misconfiguration, etc. .. and you can learn more about the subject.
    Please Mark This As Answer if it helps to solve the issue
    Tzuri Ben Ezra | My Certifications:
    CompTIA A+ ,Microsoft MCP, MCTS, MCSA, MCITP
    |
    FaceBook: Tzuri FaceBook | vCard:
    Tzuri vCard | 
    Microsoft ID:
    Microsoft Transcript 
     |

Maybe you are looking for

  • Why does my bank website load in an old XP machine with 15.0.1 and will not load on win7 now, after I upgraded to 17.0.1

    I upgraded to 17.0.1 on a Win7 machine and now I can't access my bank website. I checked to see if the website was available on my old XP machine with 15.0.1 and I had no problem getting on my bank website. I tried again with my new machine, and I ca

  • Request to Dale-CL & ultimately Creat

    In light of the huge reaction by many consumers to the unpopular approach used by Creative in relation to software drivers can you confirm or deny if we can expect to see a more user friendly / interacti've and open approach to future drivers and inf

  • Export to Mini DV

    I know this topic has recently been discussed, but I kind of lost track and it didn't solve my problem..... I want to back up all my iMovies on MiniDVs. When exporting to the tape, the movie stops every 2-3 seconds (like it's showing pictures instead

  • Inventory data loads

    Hi All, I am new to BI and I have dought about inventory data loads u201Ccan I load BF data source with out loading BX data source and compress with marker update? Yes or NO; if yes justify reasons. Regards, Krish

  • Aironet 1400 Point to Multipoint Bridging

    Hello Everybody I`m already desinging a Wireless Point to Multipoint Bridging with Aironet 1400. I was Wondering if on the Central point the 1400 should has a external omnidireccional anntena to support all the others bridges... that is: this AP will