Cost Based Oracle – Volume 1: Fundamentals - The most awaited topic book

List,
I was very happy to know the news from AskTom site that Mr. Jonathan Lewis has written a book on most awaited topic, i.e. Cost Based Oracle - Volumne 1. I used the terms most awaited, because, I haven't found any book on this topic, may be few technical papers, but, a complete book dedicating to this topic is new, at least in my view. What you more expect when an Oracle Expert write this books, who provides with in-detailed information and not to forget with proven tests.
The book might be available in the book stall from November month onwards. Following is the linke and book index, if someone interested, please read it.
http://www.jlcomp.demon.co.uk/cbo_book/ind_book.html

A couple of years back I had a developer bring me a poorly running query that came from a vendor package. I looked at it, asked a bunch of dumb questions, and then rewote it to drive differently. It ran great. Then I told the developer that since it was a canned package I didn't know what good my version was going to do him.
A week later the developer came back and told me that the vendor had put my version of the query into their product. Considering that most of their installations are on SQL Server while we run on Oracle I found that amazing.
Sometimes the unexpected happens and it is not a bad thing. But I do not recommend waging money on a vendor accepting a performance improvement suggestion. Most of them act like your shop is the only one having performance issues with their product.
-- Mark D Powell --

Similar Messages

  • Why resource cost in Oracle does not equal the total on the routing of Usage.

    why resource cost in Oracle does not equal the total on the routing of Usage.

    Hi Judy,
    I could not reproduce your issue. Is your Project Server patched with the latest SP and CU?
    Also can you reproduce this unexpected behavior with another project?
    Can you split your screen from the resource usage view, display the resource form and click right on the grey part selecting "schedule"? Then you'll have the scheduled start and finish dates for the resource's assignments. This is to be sure that
    you are not missing any parts of the assignments due to a wrong zoom in the timephased grid.
    Hope this helps,
    Guillaume Rouyre, MBA, MCP, MCTS |

  • Stickying some of the most-used topics

    Is there any way that we could sticky the most-used topics in this section? I use the Unity-for-Arch thread frequently, and I see other threads that are quite large. I see that the ATI thread was made sticky, for good reason. Can we do the same on the larger threads, such as Unity-for-Arch, KF 5 and Plasma, i3, Pantheon Shell, etc.?

    horsemanoffaith wrote:Is there any way that we could sticky the most-used topics in this section? I use the Unity-for-Arch thread frequently, and I see other threads that are quite large. I see that the ATI thread was made sticky, for good reason. Can we do the same on the larger threads, such as Unity-for-Arch, KF 5 and Plasma, i3, Pantheon Shell, etc.?
    You should just use KSE (karol search engine) instead

  • Which EQ setting + volume level is the most 'clear'?

    Hi
    Just got an iPod Classic this week (my first ever Apple Product other than iTunes). It's replacing a 30G player from another company from 2006 (ran out of room) that had really good sound. With a simple pair of JVC Marshmallow earbuds, the right mid-volume and the right EQ setting, I could hear all the musical instruments clearly and somewhat equally and the singer's voice was clear as well, as if we were in the same room.
    I'd like to recreate this with my iPod Classic but I've noticed the EQ isn't customizable (unless I'm missing something) and that with some of the iPod's EQ settings I can hear instruments clearly but the vocals sound muffled, almost like they're dubbed from another source. But there's other settings (Vocal) where the singer comes in clear but the instruments are muffled in that dubbed way. I've tried Flat and Off but results with those vary.
    My old player's EQ was set at a reverse of the iPod's Rock setting, lowest bars on the outside and highest in the middle. Is it possible to load an EQ setting like that from iTunes? If you can download a game, can you download an EQ setting?
    AND is there a certain volume level where that 'same room' clarity shines through? Anything lower than 11 out of 20 on my old player and it would lose that clarity (anything higher than 13/20 was too loud). 12 was just right. If that makes any sense.
    Or could it have something to do with how a song is ripped from a CD? Which is what my music collection started out as.
    I'm hoping someone can help and shed some light on this for me. I got it engraved so I can't exactly return it. haha
    tangcameo

    Most audiophiles, switch off the iPod Classic EQ as it is crap, most probably designed by some team who like bubble-gum music. but if you must use, create a custom EQ presets
    read this forum
    http://www.head-fi.org/t/399487/ipod-custom-eq-yes-it-can-be-done
    But try not to boost up greater than zero db, the new iPod audio chipset don't like it, your music will sound like something from some Oriental Opera, of course, unless you like the metallic tin highs.

  • Activating Account based Copa in the existing Cost-based COPA

    Hi Sap CO gurus!
    Please advise me for the following issue.
    Presently, My client using Cost-based COPA for segment wise reporting.( Already activated).
    Now they wanted the reports in Account Based. Is it possible to activate the Account based now? Will the system allow us to activate or not?
    If yes, What will be the implications? I want to know the pros and cons for that.
    If not, How Can I edit the COPA settings( Operating concern)? Or shall I delete the Operating concern and create one new one?
    Can you please explain the impact of each situation?
    Thanks a lot in advance
    Rama

    Hi Joe
    You can deactivate Account Based COPA, but you will have to do a thorough testing so that you are aware of the issues that can crop up
    The IMG Menu is SPRO > Controlling > Prof Analysis
    You will have to do a testing of how the open sales orders would behave... The open sales orders mean Sales Orders where PGI has been done, but billing is pending AS WELL AS Sales orders which are just created, but no Logistics movement (PGI) has taken place... You will have to do testing on both types of sales orders
      - When you do PGI after deactivating the account based COPA, you may face error. Because, COGS GL account is a cost element in Account based COPA, where as in Costing based COPA, it is usually not a Cost Element
      - Also do a billing from an open sales order and see if you get any error there...
    Similar issue can arise during variance settlement also, because the variance account is not a cost ele in Costing Based COPA.
    Test out the above scenarios and do share your experiences
    Regards
    Ajay M

  • Cost Based Optimizer (CBO)

    not sure if this is a daft question or what. but i am trying to find out where exactly it exists.
    i know, when performing ST05 and viewing the execution plan, we see what the CBO has used, but is the CBO purely performed at the database server, and not at the SAP Application.
    When updating the statistics, are these passed to the database server, and once again, the CBO utilizes them for the execution plan, or do the database statistics actually reside in the database server.
    finally, in viewing the execution plan, the statement "execution costs = xxx" (xxx being a numeric value). what exactly is xxx. maybe an internal index used to compare  execution plans, or maybe the number of blocks required to read the "estimated #rows".
    anyone  ??
    thanks
    glen

    Hello Glen,
    So far as my knowledge is concerned, the statistics are actually located on the database server. That is what appears to be more logical too. what is the use of maintaining the access paths on tha application server ? Most of the modern database servers are equipped with the CBO functionality. And Cost-Based-Optimizing is dependent on the database.
    Here's what the documentation says:
    <i>You can update statistics on the Oracle database using the Computing Center Management System (CCMS). The transactions to be used are DB20 and DB21.
    By running update statistics regularly, you make sure that the database statistics are up-to-date, so improving database performance. The Oracle cost-based optimizer (CBO) uses the statistics to optimize access paths when retrieving data for queries. If the statistics are out-of-date, the CBO might generate inappropriate access paths (such as using the wrong index), resulting in poor performance.
    From Release 4.0, the CBO is a standard part of the SAP System. If statistics are available for a table, the database system uses the cost-based optimizer. Otherwise, it uses the rule-based optimizer.</i>
    Regards,
    Anand Mandalika.

  • Top Link Special Considerations in moving to Cost Based Optimizer....

    Our current application architecture consists of running a Java based application with Oracle 9i as the database and toplink as the object relational mapping tool. This is a hosted application about 5 years old with stringent SLA requirements and high availability needs. We are currently using Rule Based Optimizer (RBO) mode and do not collect statistics for the schemas. We are planning a move to Cost Based Optimizer (CBO)
    What are the special considerations we need to be aware of from moving RBO to CBO from top link perspective. Is top link code optimized for one mode over the other ?. What special parameter settings are needed ?. Any of your experience in moving Top Link based applications to RBO and best practices will be very much appreciated.
    -Thanks
    Ganesan Maha

    Ganesan,
    Over the 10 years we have been delivering TopLink I do not recall any issues with customizing TopLink for either approach. You do have the ability to customize how the SQL is generated and even replace the generated SQL with custom queries should you need to. This will not require application changes but simply modifications to the TopLink metadata.
    As of 9.0.4 you can also provide hints in the TopLink query and expression framework that will be generated into the SQL to assist the optimizer.
    Doug

  • Costing based and account based

    HI All
    Kindly let me know difference between costing based copa and accounting based copa with examples
    Thanks & Regards
    Phaneendra

    Two forms of Profitability Analysis are supported: costing-based and account-based.  
    Costing-based Profitability Analysis is the form of profitability analysis that groups
        costs and revenues according to value fields and costing-based valuation approaches,
        both of which you can define yourself. It guarantees you access at all times to
        a complete, short-term profitability report.
    Account-based Profitability Analysis is a form of profitability analysis organized in
        accounts and using an account-based valuation approach. The distinguishing
        characteristic of this form is its use of cost and revenue elements. It provides you with
        a profitability report that is permanently reconciled with financial accounting.
    You can also use both of these types of CO-PA simultaneously.
    (courtesy: help.sap.com)
    It is strongly recommended, however, that you do not activate both types of CO-PA. The
    major reason being is that you will have significant table size impacts. You must be careful
    with account based CO-PA as this creates additional line items in the existing CO tables of
    COEP (actual), COEJ (plan), COSP & COSS (summary records). Hence if you want to do any
    cost center reporting, say, from any of these existing tables you will run the risk that
    performance will be degraded by these additional and unnecessary records. 
    The only advantage of account based over costing based CO-PA is it's ability to
    automatically reconcile back to FI, in much the same manner as you would reconcile
    cost center accounting back to FI. However you don't have the flexibility in account
    based CO-PA to perform valuations using product cost estimates etc. as you do in
    costing based CO-PA. If the reason you were advised to turn on account based CO-PA
    as well as costing based was to facilitate reconciliation, it is suggested that you look
    at alternatives that won't have the same negative impacts that turning on account
    based would have. In addition to the serious table space issues, it is not that easy to
    turn on and off account based at will (especially in production).
    Instead what you should look at doing is creating a series of reports that enable you to
    reconcile costing based CO-PA back to CCA/PCA and FI, if this is required. The complexity
    of the costing based functionality you have used will determine the complexity of the
    reports that will be needed to reconcile back, but it can be done without turning on
    account based CO-PA.

  • COPA Cost based datasource

    Hi ,
    Please read the scenario given below:
    One cost based DataSource  is existing in ECC6.0, because of business requirements we have configured account based copa  and created the account based copa DataSource  on same operating concern. Now the problem is while enhancing the operating concern, copa consultant deleted few fields from the operating concern, that fields are part of the cost based DataSource . Because of that reason cost based DataSource  is not working, the only way I know is to create new cost based DataSource  with  the available fields. the existing DataSource  is delta one working based on time stamp management. If I create a new DataSource , is it possible to reinitialize delta from that time onwards( for example in production we have loaded data till yesterday with existing DataSource  using delta update, next day onwards is it possible to load data using the new DataSource ).
    If I create a new datasource it will work based on generic delta, but the previous one is working based on time stamp management
    Will it create any problem to reintialize the delta with new datasource?
    Please give your inputs.
    If any additional details is required, I will provide..
    Regards
    Nivas

    Hi Sreekanth ,
    Thanks for the update .
    Coming to R/3 side Is it possible to build to COPA Datasources based on i.e 1) Account absed COPA Datasource and Cost based Datasource .
    Presenty we are using Account based COPA datasource .
    We are planning to configure Cost based COPA datasource in coming days .
    Can we do it if so what are impacts and suggestions from your side .
    Thanks
    venkat

  • COPA extractor : account based vs cost based

    Hello
    Can you please give me an example of typical extractor output for account based and cost based models.
    Wha are the difference between different model types?  Please answer with your own words rather then with copy-paste.
    Is it the same principle like account based and key figure based in planning?
    Edited by: Comandante Che Guevara on Jun 1, 2009 10:43 AM

    no answer

  • Partitioning on Oracle 8i (Rule Based vs. Cost Based)

    At my current engagement, we are using Oracle Financials 11.0.3 on Oracle 8.0.6. The application uses rule-based optimizer. The client wants to implement Oracle partitioning. With this in mind, we are concerned about possible performance issues that the implementation of partitioning may cause since RBO does not recognize it.
    We agree that the RBO will see a non-partitioned table the same as a partitioned. In this scenario where you gain the most is with backup/recoverability and general maintenance of the partitioned table.
    Nevertheless, we have a few questions:
    When implementing partitions, will the optimizer choose to go with Cost base vs. Rule base for these partitioned tables?
    Is it possible that the optimizer might get confused with this?
    Could it degrade performance at the SQL level?
    If this change from RBO to CBO does occur, the application could potential perform poorly because of the way it has been written.
    Please provide any feedback.
    Thanks in advance.

    If the CBO is invoked when accessing these tables, you may run into problems.
    - You'll have to analyze your tables & ensure that the statistics are kept up to date.
    - It's possible that any SQL statements which invoke the CBO rather than the RBO will have different performance characteristics. The SYSTEM data dictionary tables, for example, must use the RBO or their performance suffers dramatically. Most of the time, the CBO beats the RBO, but applications which have been heavily tuned with the RBO may have problems with the CBO.
    - Check your init.ora to see what optimizer mode you're in. If you're set to CHOOSE, the CBO will be invoked whenever statistics are available on the table(s) involved. If you choose RULE, you'll only invoke the CBO when the RBO encounters situations it doesn't have rules for.
    Justin

  • Re: Oracle 8i (8.1.7.4) Rule based v/s Cost based

    Hi,
    I would like to know the advantages/disadvantages of using RULE based optimizer v/s COST based optimizer in Oracle 8i. We have a production RULE based database and are experiencing performance issues on some queries sporadically.
    TKPROF revealed:
    call       count       cpu    elapsed             disk                  query                current              rows
    Parse        0      0.00       0.00                0                      0                      0                      0
    Execute      3     94.67    2699.16            1020421            5692711            51404               0
    Fetch       13    140.93    4204.41             688482             4073366            0                      26896
    total       16       235.60    6903.57           1708903            9766077            51404               26896
    Please post your expert suggestions as soon as possible.
    Thanks and Regards,
    A

    I think the answer you are looking for is that Rule Based optimizer is predictive, but Cost Based optimizer results may vary depending on statistics of rows, indexes, etc. But at the same time, you can typically get better speed for OLTP relational databases with CBO, assuming you have correct statistics, and correct optimizer settings set.

  • My mac os x is currently 10.5.8. What is the cost to upgrade to the most current?

    My macbook pro os x is currently running 10.5.8. What is the cost to upgrade to the most current?

    Assuming you have the upgrade system requirements you would first purchase a Snow Leopard DVD and upgrade to Snow Leopard. Then you update Snow Leopard to 10.6.8 to gain access to the App Store where you would then purchase and download Lion. Costs are $29.00 for Snow Leopard and $30.00 for Lion.
    Lion System Requirements
    Mac computer with an Intel Core 2 Duo, Core i3, Core i5, Core i7, or Xeon processor
    2GB of memory
    OS X v10.6.6 or later (v10.6.8 recommended)
    7GB of available space
    Some features require an Apple ID; terms apply.
    See the following as well:
    How to Install OS X Updates Successfully
    A. Repair the Hard Drive and Permissions:
    Boot from your current OS X Installer disc. After the installer loads select your language and click on the Continue button. Then select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer. Now restart normally. 
    If DU reports errors it cannot fix, then you will need Disk Warrior (4.0 for Tiger) and/or TechTool Pro (4.5.2 for Tiger) to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    B. Make a Bootable Backup Using Restore Option of Disk Utility:
    Open Disk Utility from the Utilities folder.
    Select the destination volume from the left side list.
    Click on the Restore tab in the DU main window.
    Check the box labeled Erase destination.
    Select the destination volume from the left side list and drag it to the Destination entry field.
    Select the source volume from the left side list and drag it to the Source entry field.
    Double-check you got it right, then click on the Restore button.
    Destination means the external backup drive. Source means the internal startup drive.
    C. Important: Please read before installing:
    If you have a FireWire hard drive connected, disconnect it before installing the update unless you will boot from this drive and install the update on it. Reconnect it and turn it back on after installation is complete and you've restarted.
    You may experience unexpected results if you have installed third-party system software modifications, or if you have modified the operating system through other means. (This does not apply to normal application software installation.)
    The installation process should not be interrupted. If a power outage or other interruption occurs during installation, use the standalone installer (see below) from Apple Downloads to update.  While the installation is in progress do not use the computer.
    D. To upgrade:
    Purchase the Snow Leopard Retail DVD.
    Boot From The OS X Installer Disc:
    Insert OS X Installer Disc into the optical drive.
    Restart the computer.
    Immediately after the chime press and hold down the "C" key.
    Release the key when the spinning gear below the dark gray Apple logo appears.
    Wait for installer to finish loading.
    E. If updating:
    Download and install update(s) 
    Use Software Update, or
    Download standalone updater(s).
    Once you then purchase and download Lion from the App Store consider this before you actually install Lion:
    Make Your Own Lion Installer
    1. After downloading Lion you must first save the Install Mac OS X Lion application. After Lion downloads DO NOT click on the Install button. Go to your Applications folder and make a copy of the Lion installer. Move the copy into your Downloads folder. Now you can click on the Install button. You must do this because the installer deletes itself automatically when it finishes installing Lion.
    2. Get a USB flash drive that is at least 8 GBs. Prep this flash drive as follows:
    Open Disk Utility in your Utilities folder.
    After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Note the SMART status of the drive in DU's status area.  If it does not say "Verified" then the drive is failing or has failed and will need replacing.  SMART info will not be reported  on external drives. Otherwise, click on the Partition tab in the DU main window.
    Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, set the partition scheme to GUID then click on the OK button. Click on the Partition button and wait until the process has completed.
    Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    Set the format type to Mac OS Extended (Journaled.) Click on the Options button, check the button for Zero Data and click on OK to return to the Erase window.
    Click on the Erase button. The format process can take up to several hours depending upon the drive size.
    3. Locate the saved Lion installer in your Downloads folder. CTRL- or RIGHT-click on the installer and select Show Package Contents from the contextual menu. Double-click on the Contents folder to open it. Double-click on the SharedSupport folder. In this folder you will see a disc image named InstallESD.dmg.
    4. Plug in your freshly prepared USB flash drive. You are going to clone the InstallESD.dmg disc image to the flash drive as follows:
    Open Disk Utility.
    Select the USB flash drive from the left side list.
    Click on the Restore tab in the DU main window.
    Check the box labeled Erase destination.
    Select the USB flash drive volume from the left side list and drag it to the Destination entry field.
    Drag the InstallESD.dmg disc image file into the Source entry field.
    Double-check you got it right, then click on the Restore button.
    When the clone is completed you have a fully bootable Lion installer that  you can use without having to re-download Lion.

  • How to get the most current file based on date and time stamp using SSIS?

    Hello,
    Let us assume that files get copied in a specific directory. We need to pick up a file and load data. Can you guys let me know how to get the most current file based on date and time stamp using SSIS?
    Thanks
    thx regards dinesh vv

    hi simon
    i excuted this script it is giving error..
       Microsoft SQL Server Integration Services Script Task
       Write scripts using Microsoft Visual C# 2008.
       The ScriptMain is the entry point class of the script.
    using System;
    using System.Data;
    using Microsoft.SqlServer.Dts.Runtime;
    using System.Windows.Forms;
    namespace ST_9a6d985a04b249c2addd766b58fee890.csproj
        [System.AddIn.AddIn("ScriptMain", Version = "1.0", Publisher = "", Description = "")]
        public partial class ScriptMain : Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTARTScriptObjectModelBase
            #region VSTA generated code
            enum ScriptResults
                Success = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Success,
                Failure = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Failure
            #endregion
            The execution engine calls this method when the task executes.
            To access the object model, use the Dts property. Connections, variables, events,
            and logging features are available as members of the Dts property as shown in the following examples.
            To reference a variable, call Dts.Variables["MyCaseSensitiveVariableName"].Value;
            To post a log entry, call Dts.Log("This is my log text", 999, null);
            To fire an event, call Dts.Events.FireInformation(99, "test", "hit the help message", "", 0, true);
            To use the connections collection use something like the following:
            ConnectionManager cm = Dts.Connections.Add("OLEDB");
            cm.ConnectionString = "Data Source=localhost;Initial Catalog=AdventureWorks;Provider=SQLNCLI10;Integrated Security=SSPI;Auto Translate=False;";
            Before returning from this method, set the value of Dts.TaskResult to indicate success or failure.
            To open Help, press F1.
            public void Main()
                string file = Dts.Variables["User::FolderName"].Value.ToString();
                string[] files = System.IO.Directory.GetFiles(Dts.Variables["User::FolderName"].Value.ToString());
                System.IO.FileInfo finf;
                DateTime currentDate = new DateTime();
                string lastFile = string.Empty;
                foreach (string f in files)
                    finf = new System.IO.FileInfo(f);
                    if (finf.CreationTime >= currentDate)
                        currentDate = finf.CreationTime;
                        lastFile = f;
                Dts.Variables["User::LastFile"].Value = lastFile;
                Dts.TaskResult = (int)ScriptResults.Success;
    thx regards dinesh vv

  • What is the most efficient (in terms of cost) way to transfer 35 mm slides to my iMac hard drive?

    What is the most cost efficient way to transfer 35mm slide images to my iMac hard drive?

    This gives you the basics
    http://www.tech-faq.com/how-to-copy-slides-to-disk.htm
    The first option, the professional one, isn't the cheapest - but the results should be good.
    The second option is very appealing. Some printers come with brackets that can be used to scan film or slides.
    The third option is a slide scanner. I haven't used this option, but there's a significant startup cost of under $100.
    In short, a scanner is the cheapest and most efficient option.

Maybe you are looking for

  • Using 'Launch Application' through SDK

    Hi, I want to know if there exists a way of using the 'Launch Application' feature through SDK other than using something like System.Diagnostics.Process.Start("***.exe"). Thanks, Binita

  • How to create Tables and Fields in Java DI API?

    I have the problem to get the handle for IUserTabledMD. userTablesMD = (IUserTablesMD) getCompany().getBusinessObject(SBOCOMConstants.BoObjectTypes_oUserTables); does not work as in VB (getCompany() gets the ICompany handle). and userTablesMD = SBOCO

  • Duplication In Lov

    Hi, I have Search Form . I am using lov for the searching purpose. First i select a data from lov , i will assign all the data with respect to the selected data from lov to respective fields. my problem is i am again going to click the lov with out c

  • How to deal with delta queue when importing Support Package/Kernel Patch

    Hi, From my experience, when importing a Support Package for an installation, the system will issue an error message and get stuck if this Support Package is about to alter the structures used in delta loads. But I would like to double with you if th

  • Reader X & keyboard shortcuts

    Hello, I use the Babylon software when reading to help me to translate some terms. The shortcut I set in this purpose is Ctrl + right click on the word. But that doesn't work in Adobe Reader X. Could it prevent Babylon to catch the shortcut ? I have