SQL CAL usage

Dear all,
a our customer purchased 3 SAP B1 Professional users and SQL CAL.
He need to develop a web application. It should connect to SAP B1 SQL Server database.
Can this customer use the actual SQL CAL   (from a license point of view)?
Can its new application connect to SQL Server respecting the Microsoft SQL Server licensing rules or he should purchase a new SQL CAL?
Regards
   Emanuele

Dear Emanuele,
It is a complicate structure for SQL Server licensing. You may go through MS document to find out your answer:
http://search.microsoft.com/results.aspx?form=MSHOME&q=sql+CAL&mkt=en-us
If I understand you correctly, they may not need additional CAL because SQL only check who is using the server: i.e. if they stick on 3 users maximum.
Thanks,
Gordon

Similar Messages

  • Deleting old data won't reduce Windows Azure SQL Database usage

    My Windows Azure SQL Database usage keeps increasing. Deleting old data didn't help much. I was wondering how to figure out the distribution of the usage. All tables in my DB should not occupy more than 5GB and now it is most 12GB. Please help!
    http://yanflex.com

    Hello,
    The database fee is amortized over the month and charged daily. The daily fee depends on the peak size that each database reached that day and the maximum number of databases you use. So, if the peak size of database is 12 GB  and then you delete data
    to reduce the size, it still charge based on 12GB this day.
    You can use the following statement to get the database size:
    SELECT SUM(reserved_page_count)*8.0/1024 as DBsizeinMB
    FROM sys.dm_db_partition_stats;
    Reference:Accounts and Billing in Windows Azure SQL Database
    Regards,
    Fanny Liu
    If you have any feedback on our support, please click here.
    Fanny Liu
    TechNet Community Support

  • Sql memory usage increase each time win app runs

    Hi,
    Sql memory usage increases each time when win app runs. Why does it work like this? Is it normal ?
    I restart SQL Server 2012. Only my win app uses SQL server.
    First run of winapp.
    start memory usage : 211.800 KB
    close memory usage: 528.136 KB
    Second run of xaf app.
    start memory usage : 528.136 KB
    close memory usage: 996.844 KB
    Third run of xaf app
    start memory usage : 996.844 KB
    close memory usage: 997.640 KB
    Fourth run of xaf app
    start memory usage : 997.640 KB
    close memory usage: 1.104.864 KB

    Hi,
    Sql memory usage increases each time when win app runs. Why does it work like this? Is it normal ?
    Yes, it is perfectly normal for SQL Server to acquire and hold onto large amounts of memory indefinitely.  This memory improves performance by avoiding disk I/O, query plan compilation and costly memory management. 
    On a dedicated SQL Server you should usually let SQL Server dynamically manage memory.  It will release memory if it detects memory pressure.  But if you often run other applications on the server than need significant amounts of memory (e.g. IIS,
    application services), you may want to set max server memory as suggested.
    Dan Guzman, SQL Server MVP, http://www.dbdelta.com

  • SQL Memory Usage

    Hello
    I am updating some items with the DTW. i am updating 9000 items. I have made 9 files of 1000 records, i am just updating the picturname field. When i start to upload the files the SQL Memory usage starts to grow more and more. When i try to upload the third file the memory has grown too much, and the DTW says the file update ok but it doesnt update the database. So i need to restart the SQL service (mssqlserver) and do it again. Some times it doesnt work so i need to restart the server.
    Any ideas??
    Jacobo

    hi,
    Check this information abt DI API Memory Consumption in WIKI SDK FAQ's.
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/b1/faq_sdk
    DI API
    Memory consumption
    New connection mechanism in 2007 vs. classical
    1. In the old method the DI API was loaded into the same process with the Add-On and was an "actual part" of it, so calls to the DI-API were very quick and direct
    2. In the new method there is one common DI-API which is part of the Core B1. All the Add-Ons will use the same DI-API IF (!!!) they work in the new method. The calls to the DI-API have now to "go between" two processes. This means that they go through more processing and although it's all in the same machine and no actual communication (i.e., network traffic) is actually happening, the system's CPU and memory are "working harder".
    The impact is extremely small on an individual call level, but for an Add-On that makes a large amount of calls this difference accumulates...
    There is no huge additional CPU or Memory consumption. Most of the impact is on the Response Time level. Some of it is CPU consumption and some of it is Context Switch waiting.
    3. This trade-off between Memory consumption and Response Time is actually another reason why R&D thought it's a good idea to leave the new method to be optional based on a decision from the developer.
    Jeyakanthan

  • SQL CAL requirements

    Next year we're upgrading our SQL server since its base OS is Windows Server 2003. 
    We have software that accesses the SQL server using 1 main login but there are 40 users that run this application simultaneously. There are a few file shares on this server as well for output files run by the application. If I understand it correctly, we
    would need:
    40 User CALs for Windows Server 2012
    40 SQL CALs for the SQL server access
    Is this correct? I've heard User CALs only apply for Terminal Services, which isn't true in this case. Any help would be greatly appreciated.

    Next year we're upgrading our SQL server since its base OS is Windows Server 2003. 
    We have software that accesses the SQL server using 1 main login but there are 40 users that run this application simultaneously. There are a few file shares on this server as well for output files run by the application. If I understand it correctly, we
    would need:
    40 User CALs for Windows Server 2012
    40 SQL CALs for the SQL server access
    Is this correct? I've heard User CALs only apply for Terminal Services, which isn't true in this case. Any help would be greatly appreciated.
    Some references for you:
    http://www.microsoft.com/licensing/about-licensing/client-access-license.aspx
    http://www.microsoft.com/licensing/about-licensing/product-licensing-faq.aspx#tab=4
    Licensing can be tricky to get right, so, rely on a reputable authorised reseller/partner who is trained by MSFT on the deep detail, and, can prepare various options for you to consider, based on your current holdings, immediate plans, and longer-term plans
    - this can help you to be compliant, and potentially save you money over time. Sometimes there are special offers, transitional/bridging options, etc.
    In general, MSFT products aren't licensed on a "concurrent connections" basis at all, this means that you might need to license more users, or devices, than you might think. It sounds like you're aware of the "multiplexing" clause (where
    connections are direct and/or indirect). SQL is also a bit different, in that anybody/anything which electronically consumes the benefit of the SQL data, probably needs a SQL CAL.
    (PS: I'm not an MSFT employee, nor am I a partner touting for business :) [but I do know the value an experienced reseller/partner brings, since we have a really good one ourselves, and, we've had not-so-good ones in the past...]
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • SQL CAL license

    HI Guys,
    I've a server which is on cloud and using server 2012 standard os with SQL standerd 2012 on that there is any desktop based retail application  is running on that, now there are nos. of 300 users who works on this application, so do i need to purchase
    nos of 300 SQL CAL for this?
    The way of application access is as mentioned below.
    There is any exe file on all user's desktop once they click on that it asks for user name and password once the user name and password is verified application opened and there is an agent on server which is responsible for connectivity between clients and
    server and to provide all required data/information.
    Thanks
    Devendra

    Hi,
    CALs are owned by user, so i think you need a CAL for each user using the application.
    For more and detail information, please ask in SQL Server forums:
    http://social.technet.microsoft.com/Forums/en-US/home?category=sqlserver
    Regards.
    Vivian Wang

  • SQL Cal licence

    Hi every body.
    I need a new profesional licence for a new user. Do I also buy a new SQL CAL licence or it is enought with the SAP Profesional user licence ?

    Dear Tornel,
    Here is what I've got from partner portal about SQL cal license and SQL licensing for B1 :
    MS SQL SERVER LICENSING ESSENTIALS FOR SAP BUSINESS ONE
    Introduction
    With this document, SAP wants to provide you with clear guidelines regarding the Microsoft SQL Licensing structures relating to SAP Business One.
    The full and detailed SQL Server restrictions are included in the SAP Business One pricelist in the additional provisions. These provisions are the legal restrictions which apply to the SQL Server license purchased from SAP.
    Although a lot of attention has been put into this document, no rights can be derived from this document and the 'conditions for Use of Microsoft SQL Server when licensed from SAP' is the only document that describes the terms and conditions that apply.
    Content of this document:
    Run-time license
    Run-time license restrictions
    Run-time license and data reporting guidelines
    What is the difference between Client Access License (CAL) and Per CPU licensing
    How to determine my SQL Server licensing for SAP Business One?
    Frequently Asked Questions
    Practical examples of complex network environments
    Back to Top
    Run-time license
    SAP Business One supports the Microsoft SQL Server database system. SAP offers a run-time license of Microsoft SQL Server as an optional service to its customers. Using the run-time restricted SQL Server licensing is not mandatory for SAP Business One. The end-customer has to ensure proper licensing for SQL Server which can also be done with an SQL Server license purchased from a Microsoft partner (Commercial license).
    When a Microsoft SQL Server license is purchased from SAP, a run-time restricted license of MS-SQL Server 2005 'Standard edition' is licensed. The 'run-time' restricted license has additional restrictions in use compared to the commercial MS-SQL Server 2005 Standard Edition licenses. Please note that a customer do not have to purchase SQL licenses from SAP in any instance. SAP resells the SQL licenses as a convenience for partners and customers.
    A commercial SQL license cannot be purchased from SAP, but need to be purchased from a Microsoft Reseller.
    Back to Top
    Run-time license restrictions
    A run-time restricted license of MS-SQL Server purchased via SAP is a license which can only be used in combination with the SAP Business One Software. This means that the license cannot be used in combination with other software products. In general the restrictions are:
    The SQL Server run time license cannot be used to develop new software applications.
    Customers or Partners who are developing new applications /add-on's (for example using SAP Business One Software Development Kit) cannot use the runtime license of SQL Server. Developers have to use the commercial versions or development license of Microsoft.
    The SQL Server run-time license cannot be used in conjunction with any software application, databases or tables other then the SAP Business One application except for add-ons developed with the SDK.
    For example, when a third party application is running outside the SAP Business One environment at the customer's, for example a specific time-registration application or some 'own developed' system, the runtime license cannot be used.
    Partner add-ons developed with the SAP Business One Software Development Kit can be used with SAP Business One running on a run-time restricted license of SQL Server.
    The SQL Server run-time license cannot be used as a 'stand-alone' software application.
    Back to Top
    Run-time licenses and data reporting
    It is allowed to use a reporting tool to run queries or reports from existing tables in the SAP Business One databases.
    Using for example Excel / Crystal Reports or any other reporting tool to connect directly to the SAP Business One database is allowed as long as it is used for reporting purposes only subject to a valid run-time restricted MS SQL Server license.
    Back to Top
    What is the difference between a 'per CPU' and a CAL license?
    Per CPU licensing
    A 'Per CPU' license can be used to license an SQL Server installation on a server and link the license to a single processor. In case a server has 2 CPU's and both CPU's will be linked to SQL Server, 2 'Per CPU' licenses are required. Within the SQL Server management console you can select how many of the CPU's in the server will be used. For a 'per CPU' license it does not matter how many users connect to the SQL Server.
    Back to Top
    Client Access Licensing (CAL)
    The CAL licensing allows you to install SQL Server to one SQL Server and assign the license to that server. Within this installation it is allowed to run as many instances as you need.
    The number of logins is determining the number of SQL CAL licenses. A login user is a network user that accesses SAP Business One. A login user can have one or more user licenses assigned. For example; User A has a limited logistics and a limited financial user license assigned to the same login username. In this case there is one login user who only needs one CAL even though the number of SAP user licenses is different.
    Please note that when the license of the SAP user licenses changes this might have an effect on the required CAL licenses and additional CAL licenses have to be purchased. To avoid licensing errors, SAP strongly advices to keep the number of CAL licenses equal to the maximum number of user licenses in SAP Business One.
    The CAL licenses are per user and cannot be used for concurrent connections.
    Back to Top
    When is a 'Per CPU' license mandatory?
    A 'per CPU' license in mandatory if you cannot determine how many users will connect directly or indirectly to the SQL Server. For example, when an internet Web shop is linked to an SQL Server database, the number of web users cannot be determined and a 'per CPU" license is required. This also applies to other (internal) Web based solutions where the number of users connection cannot be controlled.
    For SAP Business One a 'per CPU' license is mandatory for:
    the e-Commerce server
    The DI-Server if the number of users connecting to the DI-Server based add-ons cannot be determined.
    Please note that a valid 'per CPU' license is required. This does not mean that the license has to be purchased from SAP.
    Back to Top
    How to determine my SQL Server licensing for SAP Business One?
    When you determine the SQL Server licensing you have to ensure that all servers running SQL Server are licensed. See also FAQ's
    If you already have a valid SQL Server license or purchased such from other suppliers, you do not need to purchase an SQL Server license from SAP.
    Ensure the Licensed version SQL Server is supported by SAP
    Ensure the license is not another 'run-time' restricted license from another software vendor
    Ensure the license has enough CAL / 'per CPU' licenses available to also be used with SAP Business One.
    Do you purchase the e-Commerce server?
    The e-Commerce server always requires a valid 'per CPU' license for MS-SQL Server for each CPU used by MS-SQL Server. The 'per CPU' license can be a 'run-time' restricted license from SAP or a commercial license from a Microsoft partner.
    Please note that every server where SQL Server is installed requires proper licensing. If the e-Commerce server uses a different SQL Server as SAP Business One, both servers have to be licensed. In this case the e-Commerce server can have a 'per CPU' license where as the SQL Server for SAP Business One could run on a CAL or CPU licensing.
    Which SQL Server license do you need when you purchase the DI-Server?
    If you already have a 'Per CPU' license available you do not need an additional 'Per CPU' SQL Server license providing the existing licensed SQL Server is used.
    Can you determine the number of named users accessing the DI-Server through the add-ons?
    No >> you should license SQL Server 'per CPU'
    Yes >> a 'per CPU' license is not mandatory but depending on the number of logins it might be cost effective. Every user has to have a CAL.
    When in doubt, SAP strongly advices to use 'per CPU' licensing for the DI-Server.
    Client Access License (CAL) License
    You do not need a CAL license if you already have valid 'Per CPU' license available for the specified SQL Server.
    You need one CAL SQL Server license for each login in SAP Business One.
    Example 1: a license with 4 Professional users and 1 Limited CRM, 1 logistics users and 1 limited financial user is in total 7 users in SAP Business One. If the licenses are assigned to also 7 logins then you would need 7 CAL licenses.
    In case the 1 limited financial user and 1 limited logistics license has been assigned to one login (1 user can have multiple licenses assigned), then you would only need 6 CAL licenses.
    Back to Top
    Below you can find a flowchart that could assist you to chose between 'per seat' or 'per CPU' licensing.
    here is a link for more detail:
    https://websmp203.sap-ag.de/%7Esapidb/011000358700000705282008E
    Rgds,

  • RMS and SQL CALS

    RMS requires SQL server
    We have RMS CAL
    Do we need to purchase SQL CAL?
    Tnx

    Hi,
    Just to add, if you have an application server which
    uses SQL Server for its database, the users of the application or the devices they use will need a SQL CAL even though they may not access the SQL Server directly. Which
    edition of SQL server do you want to install? There are two types of licensing model for SQL server, and you can refer to the link below:
    A Concise SQL Server 2012 Licensing Overview
    http://blogs.technet.com/b/uspartner_ts2team/archive/2011/11/30/a-concise-sql-server-2012-licensing-overview.aspx 
    Hope this helps.
    Susie

  • SQL INDEX USAGE

    hi,
    I have a procedure which took 15-20 minutes in the past to execute.Suddently it is taking 2 hours.When i examined i came to know that the sql statement is not using one of the index.I dropped the index and created it.The explain plan is generated but still the index is not being used.I forced the index usage by using the index hint
    SELECT /*+ INDEX(test_his test_hist_idx )*/ column 1.....
    But still it does not use the index.Please suggest me some advice on this?
    Thanks

    user589320 wrote:
    I have a procedure which took 15-20 minutes in the past to execute.Suddently it is taking 2 hours.When i examined i came to know that the sql statement is not using one of the index.I dropped the index and created it.The explain plan is generated but still the index is not being used.I forced the index usage by using the index hint
    SELECT /*+ INDEX(test_his test_hist_idx )*/ column 1.....
    I think you're going to have to post the entire text of your query if you want an answer, or people will simply be trying to guess what you've done wrong.
    Do you also have the full execution plan from before and after the change in performance ?
    If you do post the text, and plans, please use the 'code' tags to make the text readable.
    p.s. My shot in the dark guess, based on the text you've supplied, is that you've used the table name in the hint, rather than the table alias.
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    http://www.jlcomp.demon.co.uk
    "The temptation to form premature theories upon insufficient data is the bane of our profession."
    Sherlock Holmes (Sir Arthur Conan Doyle) in "The Valley of Fear".
    To post code, statspack/AWR report, execution plans or trace files, start and end the section with the tag {noformat}{noformat} (lowercase, curly brackets, no spaces) so that the text appears in fixed format.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • SQL about usage size

    Dear All
    I am beginner to use Oracle 11g.
    I want to create an SQL check the usage size of Exadata.
    · Instance name (v $ instance)
    ・Usage Size (of the total Exadata, what percentage do you use).
    Similarly, the percent you want to create an SQL check tablespace for each instance used.
    · Instance name (v $ instance)
    · Tablespace name
    ・ Size of usage Tablespace (one instance of, or use a percentage)
    For these two SQL,I will grad to send coomment.
    Thanks you.

    select d.status,
           db.name dbname,
           d.tablespace_name tsname,
           d.extent_management,
           d.allocation_type,
           to_char(nvl(d.min_extlen / 1024, 0),
           '99G999G990D90', 'NLS_NUMERIC_CHARACTERS = '',.'' ')
           "ALLOC_SIZE (K)",
           d.contents "Type",
    case
    when(d.contents = 'TEMPORARY') then
           to_char(nvl(a.bytes / 1024 / 1024, 0),
           '99G999G990D90', 'NLS_NUMERIC_CHARACTERS = '',.'' ')
    else
           to_char(nvl(t.bytes / 1024 / 1024, 0),
           '99G999G990D90', 'NLS_NUMERIC_CHARACTERS = '',.'' ')
    end as "Size (M)",
           to_char(nvl((a.bytes - nvl(f.bytes, 0)) / 1024 / 1024,   0),
           '99G999G990D90', 'NLS_NUMERIC_CHARACTERS = '',.'' ')
           "Used (M)",
           to_char(nvl((a.bytes - nvl(f.bytes, 0)) / a.bytes * 100,   0),
           '990D90', 'NLS_NUMERIC_CHARACTERS = '',.'' ')
           "Used (%)"
    from sys.dba_tablespaces d,
          (select tablespace_name,
             sum(bytes) bytes
            from dba_data_files
       group by tablespace_name)
    a,
        (select tablespace_name,
            sum(bytes) bytes
           from dba_temp_files
          group by tablespace_name)
    t,
        (select tablespace_name,
           sum(bytes) bytes
          from dba_free_space
         group by tablespace_name)
    f,
      v$database db
         where d.tablespace_name = a.tablespace_name(+)
           and d.tablespace_name = f.tablespace_name(+)
           and d.tablespace_name = t.tablespace_name(+)
         order by 10 desc

  • High SQL cpu usage?

    Just for clarification, you are talking about the alerts caused by VeeamOne, not Veeam Backup & Replication, correct?

    So I started getting warnings from Veeam about our SQL server's CPU usage. It got up to 100% at one point in the day and stayed there for 30 minutes or so.Our SQL Server specs are:4 CPU's @ 2.GHZ each I think.... 4 CPU's nonetheless.16 GB ramvirtualized on vsphere 5.1So I logged into the SQL server to see what was up (note that this has been happening for the past month or so, just hadn't had time to actually sit down and work on it, plus it didn't seem to effect the performance of our patient software too much which runs on SQL. Until this morning and it was very sluggish.)I noticed that the SQL server processes were running at 50% or more sometimes. I caught a screen shot of it when it was on it's way down. How can I trouble shoot something like this and figure out what in the hell is causing it to spike? I am not a master at SQL so...
    This topic first appeared in the Spiceworks Community

  • How many SQL CAL for bpc 7.0 Microsoft

    hello
    customer asks how many Microsoft SQL Client Access Licenses he must buy to use SAP BPC 7.0 SP3 Microsoft (100 users).
    As there is not any more direct access from Bpc client to SQL or Analysis services, I think 1 CAL is enough.
    Could tell me if I'm right ?
    Thanks.

    David,
    Don't you think your remark was rather uncharitable? It is true, there are a lot of people trying to mooch off of others' kindness (and as long as there are willing folks complying for whatever reasons, it is not going to change anytime soon), when it comes to hardcore technical details about a product, lot of people are at a loss as to how the things work (yours truly included -  i have worked in SAP space for almost a decade and i couldn't tell you their licensing details - I never needed to do that to discharge my role as a functional consultant). I think Remy did indicate the thinking behind the question which is much more than a lot of folks do when they ask you and others to just e-mail some document etc....
    I am sure you would concur.

  • Sql functions usage in sql loader

    Hi all,
    Can some one share sample code for using sql 'decode' function with sqlloader control file?
    Thanks

    Took about 30 seconds to find this link at google:
    http://www.orafaq.com/faqloadr.htm#MODIFY
    Dim

  • Checking Module to Prevent SQL Plus usage on Database

    I have a question regarding logon triggers checking against SYS_CONTEXT('USERENV', 'MODULE'). I created a logon trigger that looks for SYS_CONTEXT('USERENV', 'MODULE') = 'SQLPLUS.EXE'
    and if it matches then it only allows specified users to log in to the database. This code works but I am confused as to why when I check SYS_CONTEXT('USERENV', 'MODULE') after I login in
    shows SQL*Plus which clearly does not match my IF statement in my logon trigger.
    Second issue. If I rename sqlplus.exe to jeff.exe and run it I am abled to log in to the database as a non DBA user. But the module still shows as SQL*Plus. Why is this?
    Database Version: 11.2.0.2 64bit
    OS: Windows Server 2003 R2
    Client: 11.2.0.1
    /*********************Create Trigger******************************/
    CREATE OR REPLACE TRIGGER application_check_al
      after logon ON database 
    DECLARE
      l_username VARCHAR2(20);
      l_module   VARCHAR2(20);
    BEGIN
      l_username := SYS_CONTEXT('USERENV', 'SESSION_USER');
      l_module   := UPPER(SYS_CONTEXT('USERENV', 'MODULE'));
      IF l_module LIKE 'SQLPLUS.EXE' AND
         l_username NOT IN ('SYS', 'SYSTEM', 'DVOWNER', 'DVMGR') THEN
        raise_application_error(-20001, 'SQLPLUS ACCESS RESTRICTED FOR NON DBA USERS');
      END IF;
    END application_check_al;
    /*********************Run SQLPLUS******************************/
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Mar 7 12:22:23 2012
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Enter user-name: jeffc@dev
    Enter password:
    ERROR:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-20001: SQLPLUS ACCESS RESTRICTED FOR NON DBA USERS
    ORA-06512: at line 10
    Enter user-name: system@dev
    Enter password:
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining, Oracle Database Vault
    and Real Application Testing options
    system@dev> select sys_context('USERENV','MODULE') from dual;
    SYS_CONTEXT('USERENV','MODULE')
    SQL*Plus
    SQL>

    jeff81 wrote:
    That doesn't make sense. Why am I able to log in when I renamed the exe? And why does the module still show as SQL*Plus?You are right - it does not make sense. The idea that Oracle might perhaps set module to SQLPLUS.EXE on executable start, and then re set from SQLPLUS.EXE to SQL*Plus after connect, or in glogin.sql, to ensure it is consistent across all operating system never crossed my mind.
    You might want to refer to Support Note "SQL*Plus Session/Module is Not Showing in V$SESSION" [ID 1312340.1] to see whether anything in there helps. I'm pretty sure http://docs.oracle.com/cd/E11882_01/server.112/e16604/ch_twelve040.htm#i2698573 doesn't help much, though.
    I'd certainly be raising it with Support as a potential security challenge, to get that potential hole closed.
    Edited by: Hans Forbrich on Mar 7, 2012 2:23 PM
    I wonder whether Oracle put that capability in there - if an untained SQLPLUS.EXE, it tells you that it is SQLPLUS.EXE, but if renamed it tells you 'SQL*Plus'? Specuklation, but it is one thing I might do to subtly raise the flag. Best bet - ask Support.
    Edited by: Hans Forbrich on Mar 7, 2012 2:29 PM

  • SQL Area Usage, Performance Problem

    Hi,
    I'm a software engineer, not a DBA, with a lot of doubts about our production environment, but I think that I have found a problem at our production Database.
    At our development database when I execute the same SQL statement over than onces, I can see this behaviour (for example):
    * First execution 580 milisenconds.
    * Second execution 21 milisencons.
    As where I know, I understand that the compiled SQL statement is stored at the SQL Area, and by that reason the second execution is faster then the first one. Is that assumption correct?
    If it is correct, I have a problem on our production Database because it does not work as expected. I have done a lot of trials, and SQL statement executions do not reduce her time execution when I do consecutive SQL execution.
    Could you help me? I think that the parameter shared_pool_size value is too lower for our production server.
    Thanks in advance.
    Best Regards,
    Joan

    Just a comment about performance tuning and troubleshooting in general Joan.
    It is very dangerous to base your conclusions on observation only. Consider the following example:
    SQL> set timing on
    SQL> select count(*) from all_objects;
    COUNT(*)
    10296
    Elapsed: 00:00:18.38
    SQL>
    SQL> -- now using the magically warp speed hint
    SQL> select /*+ WARP_SPEED */ count(*) from all_objects;
    COUNT(*)
    10296
    Elapsed: 00:00:00.32
    SQL>
    From 18 seconds to less than half a second. It does look, based on pure observation of the results, that there is a WARP_SPEED hint in Oracle and it does increase performance dramatically. And we can also infer that this is an undocumented feature added by one of the Oracle kernel developers that is also a Star Trek fan. ;-)
    But if we turn on SQL tracing (as suggested), we will see that the first SELECT did a lot of physical I/O. The 2nd SELECT did the same work, but without having to do the very expensive physical I/O - as the data blocks it need to hit (again) was now in memory (inside Oracle's buffer cache).
    It had nothing to do with an invalid and non-existing CBO hint called WARP_SPEED.
    The critical bit is KNOWING exactly what you are measuring when using this type of approach. If you do not know that, you are in no position to determine a sound and valid conclusion.
    Side note on shared pool size - one of the worse mistakes can be to increase it. It can cause incredible damage to performance on an instance that deals with bindless/non-sharable SQL as the pool that Oracle needs to use to determine if a soft parse is possible gets to be huge.. without the benefit of being able to soft parse and forced to hard parse anyway. And that hard parse also now added to the size of the pool.

Maybe you are looking for

  • IPad neither sees, nor is seen by computer

    IPad 1,1 won't respond when connected to any computer, using any cable. Symptoms: -iPad shows no sign of recognition of being plugged into computers   -screen does not light up, if sleeping   -ipad will not turn on if turned off   -ipad does NOT say

  • Unable to place order with new credit card.

    I just opened a Best Buy Mastercard. I was under the impression I would be able to shop with it online immediately. That's what your site says and that's what the girl told me that helped me complete the process. I put the appliances I wanted in my c

  • Messages from Multiple customers&Multiple depots

    Hi All, My scenario is : we have 10 different customers like A, B,C... and each customer got some 4 or 5 different depots like 01, 02, 03, 04 and 05 and we will be receiving multiple messages from all of them in multiple time intervals A01, A02, A03

  • Historical data / structural authorizations compatability ?

    Hi, I'm working on a new BI7 project which is extracting  structural authorisations from HR. What I'm not sure about is what will happen in the following scenario: During 2007, manager 1 in org unit 123 is responsible for employee 1. In 2008, employe

  • PDF merge limitations...

    I have a question for the Acrobat gurus. I can merge multi pdfs up to 106 pages. My problem is that we deal with high page count media and I am having issues with merging anything over 106 PDFs into one at a time. When Acrobat is merging, it hits pag