What is share pool in sql server. Need details

Hi All,
I need detailed architecture of shared pool in sql server
Regards
Rahul

Hi Monica,
Thank you for helping me out.Can you provide some more details.
Regards
Rahul
Sorry not sure what exactly you're looking at apart from above
Anyways this has a working sample of how procedure cache is used
http://sqlsalt.blogspot.in/2012/04/procedure-cache.html
Please Mark This As Answer if it solved your issue
Please Vote This As Helpful if it helps to solve your issue
Visakh
My Wiki User Page
My MSDN Page
My Personal Blog
My Facebook Page

Similar Messages

  • Connection pooling with SQL Server 2008 and Tomcat 6.0

    Hello Everybody,
    I'm creating a web application using struts 2.0 , tomcat 6.0 and sql server 2008.
    Everything works fine but i'm unable to create connection pooling with sql server 2008.Please help me to solve this issue.
    Code for this is as foolows:
    in my META-INF/context.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <Context path="/spas" docBase="spas"
    debug="5" reloadable="true" crossContext="true">
    <Resource
    name="jdbc/spas_new"
    auth="Container"
    type="javax.sql.DataSource"
    maxActive="20"
    maxIdle="10"
    maxWait="-1"
    user="spas_user"
    password="spas123"
    driverClassName="com.microsoft.sqlserver.jdbc.SQLServerDriver"
    url="jdbc:sqlserver://HGL-0053\dbo:1433;databaseName=spas_new;responseBuffering=adaptive;"/>
    </Context>
    in my web.xml
    <resource-ref>
    <description>SQL Server Datasource</description>
    <res-ref-name>jdbc/spas_new</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    and in my ConnectionThread.java file i've used:
    Context ctx = new InitialContext();
    if(ctx == null )
    throw new Exception("Sorry! No Context Exception");
    DataSource ds = (DataSource)ctx.lookup("java:/comp/env/jdbc/spas_new");
    System.out.println("ds:"+ds);
    conn=ds.getConnection();
    Following is the exception:
    org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Login failed for user ''.)
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1225)
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880)
    at login.V_SPAS_ConnectionThread.getConnection(V_SPAS_ConnectionThread.java:87)
    at org.apache.jsp.login.v_005fspas_005flogin_005fpage_jsp._jspService(v_005fspas_005flogin_005fpage_jsp.java:95)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
    at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1085)
    at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263)
    at org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:1023)
    at org.apache.struts.tiles.TilesRequestProcessor.internalModuleRelativeForward(TilesRequestProcessor.java:345)
    at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:572)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:221)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
    at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
    at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
    at org.apache.jsp.index_jsp._jspService(index_jsp.java:54)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at login.V_SPAS_SecurityCheckFilter.doFilter(V_SPAS_SecurityCheckFilter.java:108)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Login failed for user ''.

    Hi Karthikeyan,
    This is not the issue at all. I can open the management studio by the same login id and password and also i can make the database jdbc connection from plain java file.
    It does not give me any problem by them.
    I'm unable to find the actual problem. May be i'm missing something in connection pooling.
    Please help.
    Regards
    Mina

  • What is exactly STATISTICS in SQL Server

    hi all,
      What is exactly STATISTICS in SQL server query optimiser ?
    Thanks
    Selva

    Some good content with proper example can help you for sure.
    Link:
    http://blog.idera.com/sql-server/understanding-sql-server-statistics/
    Some part of text may give you idea
    If there’s an upcoming election and you are running for office and getting ready to go from town to town city to city with your flyers, you will want to know approximately how many flyers you’re going to bring.
    If you’re the coach of a sports team, you will want to know your players’ stats before you decide who to play when, and against who. You will often play a matchup game, even if you have 20 players, you might be allowed to play just 5 at a time, and you will
    want to know which of your players will best match up to the other team’s roster. And you don’t want to interview them one by one at game time (table scan), you want to know, based on their statistics, who your best bets are.
    Just like the election candidate or the sports coach, SQL Server tries to use statistics to “react intelligently” in its query optimization. Knowing number of records, density of pages, histogram, or available indexes help the SQL Server optimizer “guess”
    more accurately how it can best retrieve data. A common misnomer is that if you have indexes, SQL Server will use those indexes to retrieve records in your query.
    Not necessarily. If you create, let’s say, an index to a column City and <90% of the values are ‘Vancouver’, SQL Server will most likely opt for a table scan instead of using the index if it knows these stats......
    Santosh Singh

  • What is the difference between SQL Server 2012 R2 & SQL Server 2014

    Hi all,
     I am using SQL Server from last 3 years. I started SQL Server 2008 R2. Now I am using SQL Server 2012. I want to change my development environment to SQL Server 2012 R2. But suddenly I saw that SQL Server 2014 is released. I want to know what are the
    differences between SQL Server 2012 R2 & SQL Server 2014. Are both those are the same or different products?
    I searched through the Internet but I didn't find any article regarding that. So could someone help me to solve this matter?
    Thanks,
    Regards,
    Chiranthaka

    differences between SQL Server 2012 R2 & SQL Server 2014.
    We don't have a Version "SQL Server 2012 R2", only 2005, 2008, 2008R2, 2012 and 2014.
    See MSDN What's New in SQL Server 2014
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • SQL Server database details - DBInstanceSummary- Connection Status: Failure

    Hi guys,
    I have a strange problem with Maps 9.0 in the SQL Server database details -> DBInstanceSummary and DBInstanceProperties I got a failure as shown in the picture below.
    This sounds quite strange because I'm able to collect most of Instances and Database infos. And I'm also able to connect with status: Success to other Instances hosted in the same cluster.   
    Can you give me any good advice?
    Thanks in advance
    Ruggiero Lauria
    MCT-MCITP-MCSA-MCSE-MS SQL DBA

    We can try to see if a detailed log might reveal where the breakdown occurs. To get the detailed log, follow these instructions precisely:
    With MAP closed, rename the existing MAP log file which is located in "%LOCALAPPDATA%\Microsoft\MAP\MapToolkit.log" if the default was used during installation. It is recommended that you include a number or date when renaming so that we can keep the logs
    in order if we have to do this again.
    Open Notepad as Administrator
    Open "%LOCALAPPDATA%\Microsoft\MAP\Logging.cfg" in Notepad
    Change the line that says “.default=Info” to read “.default=Trace2”
    Save and close the file
    Open MAP (this creates a new log file)
    Go to File > Select a Database
    In the window that opens, select the radio button called “Create an inventory database” and enter a name
    Click ok
    On the Overview page in MAP, click on “Perform an inventory”
    Choose the "SQL Server with Database Details" inventory scenario
    Choose only the manual entry discovery method and enter just one target machine
    Make sure that you use the All Computers credentials for the user name and password
    Once the inventory has completed, exit MAP
    Open Logging.cfg is the same manner as before and change it back to “.default=Info”
    ZIP and send us the new log file
    Please remember to click "Mark as Answer" on the post that helps you, and to click
    "Unmark as Answer" if a marked post does not actually answer your question. Please
    VOTE as HELPFUL if the post helps you. This can be beneficial to other community members reading the thread.

  • Creating a connection pool using SQL Server 2000, Sun ONE Application Serve

    Has any one succesfully configured SQL Server 2000 to work with Sun ONE Application Server 7 on Windows 2000 server service pack 4? I am embarking on a new J2EE project and I need to configure it as soon as possible.
    The problem I am having is that, when I ping the data souce name, there is a connection error.
    I have set the data source name and other details as follows:
    Under JDBC, I have set the parameters for the connection pool as follows:
    Data Source Name:      com.microsoft.jdbc.sqlserver.SQLServerDriver
    Database Name:          jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=Test
    User:               test
    Password:          test
    In the JVM settings page, I have set the prefix class path as follows for the location of the Microsoft JDBC
    drivers that I downloaded as follows:
    c:\microsoft\drivers/lib/msbase.jar
    c:\microsoft\drivers/lib/msutil.jar
    c:\microsoft\drivers/lib/mssqlserver.jar
    Under JVM Options, there is a strange setting which I don't understand: perhaps this is the cause of the
    connction error?
    -Djdbc.drivers=com.pointbase.jdbc.jdbcUniversalDriver
    Please help????

    I'm in a similar boat...
    Trying to setup AS7 JDBC and followed the instructions on the link you provided and get the following exception. I kept the case the same, thinking 'setpassword" was incorrect, so I tried changing the property to "Password", but get the same exception but it points to "setPassword" instead.
    SEVERE: RAR5041:Cannot get jdbc connection
    com.sun.enterprise.repository.J2EEResourceException
    java.lang.NoSuchMethodException: setpassword
    at com.sun.enterprise.repository.JdbcConnectionPool.createDataSource(JdbcConnectionPool.java:243)
    at com.sun.enterprise.resource.JdbcUrlAllocator.createResource(JdbcUrlAllocator.java:80)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.createSteadyResources(IASNonSharedResourcePool.java:856)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.initPool(IASNonSharedResourcePool.java:416)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.internalGetResource(IASNonSharedResourcePool.java:625)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.getResource(IASNonSharedResourcePool.java:520)
    at com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:263)
    at com.sun.enterprise.resource.JdbcXAConnection.<init>(JdbcXAConnection.java:74)
    at com.sun.enterprise.resource.Jdbc10XaAllocator.createResource(Jdbc10XaAllocator.java:94)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.createSteadyResources(IASNonSharedResourcePool.java:856)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.initPool(IASNonSharedResourcePool.java:416)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.internalGetResource(IASNonSharedResourcePool.java:625)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.getResource(IASNonSharedResourcePool.java:520)
    at com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:263)
    at com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerImpl.java:170)
    at com.sun.enterprise.resource.JdbcDataSource.internalGetConnection(JdbcDataSource.java:241)
    at com.sun.enterprise.resource.JdbcDataSource.getConnection(JdbcDataSource.java:98)
    at com.rvi.database.jdbcConnection.getConnection(jdbcConnection.java:93)
    at com.webapp.database.ArticlesDAO.selectByYear(ArticlesDAO.java:102)
    at com.webapp.actions.ArticleAction.list(ArticleAction.java:96)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
    at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:216)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:720)
    at org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrapperValve.java:118)
    at org.apache.catalina.core.StandardWrapperValve$1.run(StandardWrapperValve.java:278)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:274)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
    at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:157)
    at com.iplanet.ias.web.WebContainer.service(WebContainer.java:598)

  • Is SQL Server needed?

    Does the sql server engine have to be running for Lookout 6.0.2 to work properly or is just to query the database with NIMax? For security purposes, IT wants to block port 1433 which is for sql server if it is not needed to run Lookout properly.
    Thanks! 
    Jason P.
    Jason Phillips

    Hi Jason!
    So I played around a bit and couldn't find any problems with stopping the SQL Server -- you just lose the ability to store and query alarms and events to/from the SQL database.  Alarms are stored in a temporary cache by Citadel until a new connection can be made with the SQL Server, so I'm not sure what long term consequences of this may be. 
    Doug M
    Applications Engineer
    National Instruments
    For those unfamiliar with NBC's The Office, my icon is NOT a picture of me

  • What to read about MS SQL server ... ?

    Hello,
    I just need an advice from you folks. I'm QE with some scripting skills. Now I've got an assignment to work with MS SQL 2008. My task is nothing with administration ... and mostly I will have to run SQL query and provide users with the results. Anyway ...
    since I'm completely new to databases and to MS SQL as well I'd like  to have some basic knowledge how database is organized, what are schema, system tables and etc.
    Could you please point me  to good on-line resource that could provide that info? It should not be sophisticated ... just basic but enough to understand how it works,
    Thanks in advance.
    EV

    Purchase SQL Server 2014 (or 2012) Developer Edition for around $50 (2008 may no longer be available).  Install it.  Also install AdventureWorks2012 sample database.
    SQL Server Management Studio is part of the client tools installation.  SSMS is your learning and later working environment.
    SSMS Object Explorer provides you access to all of the database objects.
    Practice T-SQL scripts:
    http://www.sqlusa.com/bestpractices/
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Design & Programming
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • Can two Instances of Planning share the same SQl Server Instance?

    Hi
    Can anyone clarify me on the below
    Is it possible to have our DEV and TEST instances of planning (on different host servers) point to different tables in the same instance of SQL Server 2005. I know that the apllication databases can be directed to different table names but what about the core tables:
    FSDHAADMS
    FSDHBIP
    FSDHSS
    FSDHPLANAPP
    FSDHPLANSYS
    Thanks in advance.

    I think it will work. As long as you create separate SQL databases for the planning system files for dev and prod on the sql server. If your planning web for dev is deployed on server x, and planning web for prod is on server y, when you run config utility on server x you would point to the SQL database u created for dev. Repeat on prod when u run the config utility just point to the planning system database you created for prod.
    haven't done this myself but sounds possible.

  • What is the commands for SQL server job to ftp file to remote server?

    I created the job to bcp data out and create file on file system. after that, I need to ftp the file over to another box. how can I do it from sql server job?
    JulieShop

    I would like to suggest a SSIS package with a
    FTP Task instead.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • What is the process for SQL Server 2005 patch update

    hi,
    i have 2 production SQL Server2005  Database servers in cluster ,
    what is the process for applying patches.
    Saidireddy

    In 2005 you can do it in two ways...
    Method 1 :
    With SQL Server 2005,
    when you start installing cluster service pack (or hotfix), it must be launched on the active node(node
    that hosts the instance). When installing the Setup will launch simultaneously  "remote silence" on all passive nodes. All nodes in the cluster containing the SQL Server instance are updated in the same time.
    Method 2: First you can install in passive node then you can install in the active node, In this way you can save your down time ( If you start in the active node it will check in the passive, and if its installed already then it skips that
    and start applying in the active node ), but most of the DBA's follows only first method because they may not aware of this or just they follows Microsoft common method. 
    SQL 2008 and Later....
    1.  Apply the hotfix on pasive node N2
    2.  Reboot the passive node N2
    3.  Failover on SQL resource : the passive node become the active node
    4.  Apply the hotfix on the passive node N1
    5.  Reboot the passive node N1
    Raju Rasagounder Sr MSSQL DBA

  • Collecting SQL Server Database Details from 32bit Instances Result in Error

    Hello,
    I am working with a customer to use the MAP toolkit to collection and SQL Server Instance and Database Details in their environment.  At present we are testing the MAP toolkit against one server that has seven instances installed on it.  One instance
    is 64bit and the others are 32bit.  All instances get discovered; however, the database details are only collected for the 64bit instance.  All of the other instances are marked as failed.  We ran MAP again with the tracing turned on and the
    only errors for the six instances that failed appear to be WMI namespace errors showing up repeatedly (see below).  This is just one example, but these invalid namespace errors are all over the log.
    How can we resolve these errors?
    Does MAP support collecting database details from 32bit instances?
    <2015-02-17 13:59:05.77
    WorkerThread1@WmiClassesCollectionStep,T1> ConnectToNamespaceAccessTest(Device(GUID={f787ea32-08d0-46ad-a910-3e270005b61c},DnsHostName='HOSTNAME')) - Trying to connect to the WMI namespace 'root\Microsoft\SqlServer\ComputerManagement12' while impersonating
    the user 'USERACCOUNT'.
    <2015-02-17 13:59:05.77
    WorkerThread1@WmiClassesCollectionStep,T1> ConnectToNamespaceAccessTest(Device(GUID={f787ea32-08d0-46ad-a910-3e270005b61c},DnsHostName='HOSTNAME')) - Caught ManagementException connecting to the WMI namespace 'root\Microsoft\SqlServer\ComputerManagement12'.
    Exception: System.Management.ManagementException: Invalid namespace
       |   at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
       |   at System.Management.ManagementScope.InitializeGuts(Object o)
       |   at System.Management.ManagementScope.Initialize()
       |   at Microsoft.AssessmentPlatform.InventoryEngine.DeviceInventory.WmiClassesCollectionStep.ConnectToNamespaceAccessTest(WmiCollectionState stateRec, WindowsIdentity identity, SavedImpersonationContext sic, String wmiNamespace)

    This issue was resolved by updating to Windows Management Framework 4.0 on the server.

  • What's the scope of SQL server settings?

    Suppose I do something like SET Ansi Warnings ON.  Is this setting only for the current SP? Or is it global to all SPs in the current database? Is it global to all databases in the entire instance?
    And how does it apply to a series of batches?  If the setting is turned ON for one batch in the set, does it remain on for the rest of the batches?
    Understand I'm not asking this merely in regard to Ansi Warnings but for ALL settings. Or maybe someone can point me to a chart which covers all this?

    Please refer the section Considerations...:
    http://technet.microsoft.com/en-us/library/ms190356.aspx

  • SQL Server Software ISO, How to find out what is the Edition and Version of the SQL software before starting installation

    Hi All-
    Before starting installation, I would like to find out What EDITION and VERSION  is the SQL Server Software ISO.
    Please note this is not to find out what version is the installed sql server but before the installation: Is there a note or abrv. that describes what kind of Edition and version is the ISO?
    Detail explanation is appreciated.
    Thanks.
    belayzeleka

    @Balmukund - Thanks for the input - That one is a nice blog!
    But assuming you can`t change the Product Key value (you are not provided that number, as you know it gets populated by itself) can you find out
    what implies the corresponding edition? If there is a folder where this reference is store, could you provide the full file path where  this folder is located?
    The ideal solution would be a way to find out what the Edition
    is befor we start installation.
    Thanks!
    Also just to add what I came across:
    The SQL Server 2012 installation software comes with pretty much all edition in it, that kind of makes it difficult to easily identify what edition is the specific ISO, but when
    one downloads from MSDN one must downloads the
    right edition either Standard,
    Enterprise, etc so that when you install it, it installs whatever edition is downloaded.
    The best source would be whoever downloaded the software.
    Also, before going too far, you can find out what edition it is being installed right before the setup wizard finishes on the
    License Terms page (Microsoft Software License Terms Page) and if the edition is not the one you intended to install, you can cancel it there and everything will be rolled back- no hastle.
    belayzeleka

  • SQL Server, RAM Usage, Networking Admin

    We have a VM Guest configured as follows: dedicated Sql 2008  Sp3 (x64) running on Windows 2008 R2 x64, 32GB RAM. Per Task Manager (if it is to be believed) the sql server process has allocated 20GB of RAM. The Networking Manager says
    that sql grabs every bit of memory you give it.  He has a hard time believing that sql really needs that much memory.
    a. I pointed out that we can cap the (buffer pool) memory and that sql, while reserving it, will not use the RAM unless it is actually needed. (In other words, that 20GB was needed at one point in time).
    b. I also pointed out that sql is not too quick to return the memory even it is no longer needed.
    c. I look for hard page faults on the server as an initial indication that RAM may be taxed.
    d. I told him there is no easy way to estimate the amount of RAM that a given sql server needs 
    In your opinion, are the statements a-d relatively factual or way off base?
    TIA,
    edm2
    P.S. Recently he indicated that if we raise the Sql RAM limit on a box then Sql will take it all and, despite, what is commonly said, large amounts of RAM costs lots of money.  Let us say this matter has been a point of contention between us for
    some time and we are still on opposite sides of the railroad track.

    Hello,
    Per Task Manager (if it is to be believed) the sql server process has allocated 20GB of RAM. The Networking Manager says that sql grabs every bit of memory you give it. He has a hard time believing that sql really needs that much memory.
    You're correct, don't trust task manager. If the server is not configured (max server memory) then yes, SQL Server will gobble up all available memory if it needs to (it on allocates memory if it already doesn't have room).
    a. I pointed out that we can cap the (buffer pool) memory and that sql, while reserving it, will not use the RAM unless it is actually needed. (In other words, that 20GB was needed at one point in time).
    You sir are 100% correct!
    b. I also pointed out that sql is not too quick to return the memory even it is no longer needed.
    Yes and no. SQL Server can and will respond to the windows low memory flag and give back memory if possible (for example, it won't give it back if using locked pages in memory [LPIM]). Low memory is different in versions of windows but it's always around
    100 MB which IMHO is way too late. Couple that with the fact it's a VM and it's memory could already be paged out by the host and no one would ever know means a crash could happen.
    c. I look for hard page faults on the server as an initial indication that RAM may be taxed.
    That would be true for a physical system. While it still sort of is true for a VM, we have no way of knowing if the host has that memory paged which would also cause issues (slowness, etc). Still doesn't hurt to watch though :)
    d. I told him there is no easy way to estimate the amount of RAM that a given sql server needs
    SQL Server will always happily take as much memory as you give it, to a point. If at one point it used 20 GB that's a good start. SQL Server wants everything to be in memory, because that has the fastest access time. So take into account the sizes of your
    databases, any CLR or items that run outside of the database (or are hosted), all of the queries that want to live in cache as well so they only have to be compiled once, etc.
    In your opinion, are the statements a-d relatively factual or way off base?
    See above :)
    P.S. Recently he indicated that if we raise the Sql RAM limit on a box then Sql will take it all and, despite, what is commonly said, large amounts of RAM costs lots of money. Let us say this matter has been a point of contention between us for
    some time and we are still on opposite sides of the railroad track.
    I feel you. Things to look for inside of SQL Server for memory pressure are lazy writes/second, free list stalls, a large increase in general IO of the server (could just mean the workload changed, tbh), etc. Also, depending on how the Guest is setup and
    the Host is configured will have a lot to do with performance. For example, if the guest can cross numa nodes and ends up accessing tons of foreign memory, if dynamic memory for the guest is used and constantly swapped. None of those will manifest itself in
    the counters but will surely have a negative impact on SQL Server.
    So, to be fair to you, you're correct in that (Depending on how the Host/Guest is configured) adding more RAM may or may not help (or make things worse if the memory is all paged on the host). To be fair to him, SQL Server on a physical box magically makes
    things run faster since they'll mostly be in memory.
    Sean Gallardy | Blog |
    Twitter

Maybe you are looking for