Regarding setting SGA size(Answer this if you can)

Hi all,
I need some justified suggestions from you all for the following Qs.I'm using Oracle 10G release 2(please dont give single word answers)
1) Is there any relation between SGA_MAX_SIZE and no of sessions
2) Is there any relation between SGA_MAX_SIZE and no of processes
3) Is there any relation between SGA_MAX_SIZE and no of weblogic application connected.
4)Which is the better option?
a) having 2 processor with 2Ghz speed
b) having 1 processor with 5GHz speed
5) why Unix is preferable over Windows for Oracle database?
6) How many sessions and processes are generally constantly ocupied by OS?
Thanks in advance..
AD

Hi,
1/ Well, I don't think there is a direct link between the two. Simply when you have more sessions, the probability (depends on your database king, data, structure, access method, ...) of using more data gets higher. And if you use more data, you need more SGA. But on the other hand if you open 10 sessions that do "select 1 from dual" or 10000000 sessions that do the same select, you will not see the difference at SGA level, but a PGA level (and latches)
2/ IIRC, in order to synch background processes, Oracle allocates a +16M in the Shared Pool. But this is for background processes, and you will not have many of them. If you're thinking of U.S.P., then you're back to question 1, though then I can think of another thing. DEDICATED or SHARED server? When using SHARED server architecture, you want tu use the Large Pool feature and hence set up a bigger S.G.A.
3/ Joker ^^
4/ Depends on what you'll be doing. f you're going to use partitionning, parallel query, etc, I'd go for 2 CPUs (which you can eventually upgrade to 2x5GHz procs)
5/ There are so many reasons that there should be books on it. As for me, the main things to consider:
. Robust/Solid, don't need to pach everyday
. Virus?
. Security
. Possibility to configure everything
. Easy tu use and understand (Oh, well... not for anybody, but...)
. Logic
. Scripting
. etc
6/ Don't understand the question. But I feel the answer should be 42 (click).
Regards,
Yoann.

Similar Messages

  • Flex Guru's - Answer this if you can

    I am having a strange problem. We have a Struts based
    application. All our JSP pages are within the WEB-INF folder.
    When I use Flex tags to even print a label, the compilation
    takes place, but then during execution page comes up blank with a
    background grey color.
    Is there any alternative to make Flex tags work for JSP's
    under WEB-INF folder.

    Hi
    It seems that you are not so clear with neither Oracle nor the OS.
    For the first 3 question there is not relationship. SGA_MAX_SIZE is a parameter that permit you to adjust the components of the SGA while Oracle is running.
    For question for it's difficult to say. That depend of your machine, what is running on the machine, the number of databases, job and so on, running on the machine. I think that the 2 processor solution should be better. You can execute more job in parallel, multithreading ...
    Question five: UNIX is "stronger" and Oracle-"native". You can manage Oracle better than as WIN.
    Six: On WIN you have a process oracle.exe on UNIX usually you have a process pro connected user (shadow process) and pro backuground process.
    Bye, Aron

  • IPhoto has somehow uninstalled itself, or I've done something wrong. If  try to open iPhoto, it gives me this message: "You can't open the application "iPhoto" because it may be damaged or incomplete. I have an iMac OS X. How do I reinstall iPhoto please

    iPhoto has somehow uninstalled itself, or I've done something wrong. If I try to open iPhoto, it gives me this message: "You can't open the application "iPhoto" because it may be damaged or incomplete". I have an iMac OS X. How do I reinstall iPhoto please?

    What is your iPhoto version and how did you install it originally?
    If it came with a new mac and Lion or Mt. Lion installed, you can delete iPhoto from the Applications folder (don't empty the Trash) and download it again from the "Purchased" tab of the App Store.
    If you have bought the iLife CD, reinstall iPhoto from the installation media, after deleting it from the Application folder.
    Or if your Mac came with an older MacOS X, but iLIfe preinstalled, use the system Install CDs,  see Terence Devlin's post here:  Re: My iPhoto isn't working. Error message says "you can't open the app "iPhoto" because it may be damaged or incomplete.
    Regards
    Léonie
    P.S: This may not only be a problem of a broken iPhoto. What did you do, directly before this happened? Did you run a program, that will clean the Mac to save space, like "Clean My Mac" or "Mac Keeper"? These little helpers can be risky and overdo it and remove too much. Then it might be safer to reinstall your system, because other essential files might be missing now.

  • I attempted to open iPhoto and got this message: you can't open the application because it may be damaged or incomplete. Now the iPhoto icon has a little line through it. Nice.

    I attempted to open iPhoto and got this message: you can't open the application because it may be damaged or incomplete. Now the iPhoto icon has a little line through it.
    Nice. Shall I say goodbye to my treasured iPhoto library? What happened?
    I did just upgrade my iPhone to OS 5. Could that be related somehow?
    Help!

    1. Back up your iPhoto Library - you should always have a back up anyway.
    Most Simple Back Up
    Drag the iPhoto Library from your Pictures Folder to another Disk. This will make a copy on that disk.
    Slightly more complex:
    Use an app that will do incremental back ups. This is a very good way to work. The first time you run the back up the app will make a complete copy of the Library. Thereafter it will update the back up with the changes you have made. That makes subsequent back ups much faster. Many of these apps also have scheduling capabilities: So set it up and it will do the back up automatically. Examples of such apps: Chronosync or DejaVu . But are many others. Search on MacUpdate
    2. Reinstall
    To re-install iPhoto
    1. Put the iPhoto.app in the trash (Drag it from your Applications Folder to the trash)
    2a: On 10.5:  Go to HD/Library/Receipts and remove any pkg file there with iPhoto in the name.
    2b: On 10.6: Those receipts may be found as follows:  In the Finder use the Go menu and select Go To Folder. In the resulting window type
    /var/db/receipts/
    2c: on 10.7 they're at
    /private/var/db/receipts
    A Finder Window will open at that location and you can remove the iPhoto pkg files.
    3. Re-install.
    If you purchased an iLife Disk, then iPhoto is on it.
    If iPhoto was installed on your Mac when you go it then it’s on the System Restore disks that came with your Mac. Insert the first one and opt to ‘Install Bundled Applications Only.
    If you purchased it on the App Store you can find it in your Purchases List.

  • Im trying to uninstall itunes because the newest version wont download.  But when i go to uninstall, it says "The system administrator has set policies to prevent this uninstallation"  Whats can i do to uninstall

    Im trying to uninstall itunes because the newest version wont download.  But when i go to uninstall, it says "The system administrator has set policies to prevent this uninstallation"  Whats can i do to uninstall

    Windows right?
    Likely your not the administor any more, the botnet is.
    Check on this site really quick if your part of a botnet
    http://botnetchecker.com/
    All clear? Hopefully. Backup your files to a external drive, cd or dvd, USB keye etc off your computer.
    Run the sfx file on this site and it will burn to a cd.
    http://www.avira.com/en/support-download-avira-antivir-rescue-system
    Next hit your BIO's key and set the cd to boot first, run the scanner and see what it pops up.
    If your all clear then create another Admin, transfer your files over from the first Admin.
    See if that works, eventually when your totally over to the new Admin, delete the old one.
    If you can't create a new Admin, find out who locked your machine down, like your parents or it's a school computer?
    Likely installed spyware or "nanyware" to watch you.
    Hope that works.

  • I have recently purchased MacBook Pro with Mac OSX 10.7.3 Lion and I would like to install Final Cut Pro 6 Studio2, and it came up with this error: 'you can't open application FinalCutProStudio.mpkg because PowerPc apps are no longer supported..pls advise

    I have recently purchased MacBook Pro with Mac OSX 10.7.3 Lion and I would like to install Final Cut Pro 6 Studio2, and it came up with this error: 'you can't open application FinalCutProStudio.mpkg because PowerPc apps are no longer supported......Is there a way to run FCP6 on lion withoput this error? Any help would be appreciated.....

    Hi Shane,
    Just one more quesiton re: this topic, I am looking to get rosetta but do not have Leopard or Snow Leopard...
    I read that it is not on Snow Leopard only on Leopard....so do I need to get only Leopard? Can u advise?
    Alternatively I do have Mac OS X Tiger so is it on this and can I install it from here?
    Please excuse my lack of knowledge here, just trying to get my FCP 6 up and running asap....
    Best Rgds.

  • How to i get rid of the redirect notice it shows up on my safari whenever i try to go to a different page  it says "the previous page is sending you to: LINK if you do not want to visit this page, you can return to the previous page"

    How to i get rid of the redirect notice it shows up on my safari whenever i try to go to a different page
    it says "the previous page is sending you to: LINK
    if you do not want to visit this page, you can return to the previous page"

    Yeah, this seems to be something to do with Google, not your iPhone. A search on that error found this page:
    http://www.google.com/support/forum/p/Web%20Search/thread?tid=56a3c4b71b3dc1d9&h l=en
    which shows people using lots of browsers on different platforms suffering from it. No definitive solutions though.

  • I just got a new MacbookPro using Mavericks OS. When I tried to load Filemaker Pro I got this message: You can't open the application Filemaker Pro.app because Power PC applications are no longer supported. This is a disaster.

    I just got a new MacbookPro using Mavericks OS. When I tried to load Filemaker Pro I got this message: You can't open the application Filemaker Pro.app because Power PC applications are no longer supported. This is a disaster.

    GiraffeHero wrote:
    I just got a new MacbookPro using Mavericks OS. When I tried to load Filemaker Pro I got this message: You can't open the application Filemaker Pro.app because Power PC applications are no longer supported. This is a disaster.
    Ralph Landry1 wrote:
    The only viable solution is to upgrade to the latest versions of the PPC legacy software that will run under Mavericks.
    Except for the other viable solution:
    If you are unable or unwilling to upgrade to a version of Filemaker that runs natively under Mavercks, you can run your existing version of Filemaker by installing Snow Leopard Server into Parallels:
                                  [Click on image to enlarge]
    Installing Snow Leopard Server into Parallels for DUMMIES:
    http://forums.macrumors.com/showpost.php?p=17285039&postcount=564

  • As of today, I can no longer or Excel.  I get this message: You can't open the application "Microsoft Excel" because PowerPC applications are no longer supported.  Is there a fix for this and why ha this all of the sudden happened.  I've rebooted 2x

    As of today, I can no longer or Excel.  I get this message: You can’t open the application “Microsoft Excel” because PowerPC applications are no longer supported.  Is there a fix for this and why ha this all of the sudden happened.  I've rebooted twice and that hasn't worked. 

    The application may be corrupt. Un-install and re-install Office.
    Office 2011 Removal
    Office 2011 Removal (2)

  • ICloud was working fine, suddenly when I try to sync I get this message "you can't use icloud when multiple versions of outlook are installed".  I only have one version of outlook installed.  Any suggestions?

    iCloud was working fine, suddenly when I try to sync I get this message "you can't use icloud when multiple versions of outlook are installed".  I only have one version of outlook installed.  Any suggestions?

    Message was edited by: leroydouglas
    better yet, try this solution:
    https://discussions.apple.com/message/12351186#12351186

  • Unable to open mail, address book etc due to this message:  You can't use this version of the application Address Book with this version of Mac OS X. HELP!

    I am transferring my mother's address book and mail etc to my computer from an external hard drive enclosure and am not able to open it due to this message:  You can't use this version of the application Address Book with this version of Mac OS X. HELP!  Is there a way to open her older applications and get the info out?

    her email is in user>Library>Mail folder. Hopefully you've created another user on your Mac for your mother so she would have her own user Library.

  • I have install adobe digital on my coputer without an adobe ID.  I want to change as I now have an ID but i get this notice "You can oly authorize this computer with a adobe ID that hasn't been previously used to authorize any other computer or mobile dev

    I have installed adobe digital on my computer without an adobe ID.  I want to change as I not have an ID but I get this notice: "You can only authorize this computer with an adobe ID that hasn't been previously used to authorize any other computer or mobile device. What do I have to do?

    Perhaps someone in the Adobe Digital Editions forum? (Adobe Reader has no connection, we don't have much of a clue). Adobe Digital Editions

  • When i want to download the new version of iPhoto, i get this message : You can not update this software since you do not have the main version. What should i do ?

    HI,
    I got this problem : when i want to download the new version of iPhoto, i get this message : You can not update this software since you do not have the main version. What should i do ?
    IPhoto was already on my MacBook Pro when i bought it.
    Thank you for your help
    Thierry

    Welcome to Apple Support Communities
    Open App Store > Purchases, and see if iPhoto app is listed. If not, unhide it > http://support.apple.com/kb/HT4928 Apart from that, check that iPhoto is in Applications folder. If not, put it in this folder.
    If nothing works, remove iPhoto, open App Store > Purchases, and install iPhoto free of charge

  • What's the maximum size of a pdf you can upload to the adobe cloud service?

    I'm trying to upload a book of 545 MB of size, with no success at all. Any information about restrictions? Thanks for the reply.

    Hi emoussi,
    I am so sorry for the inconvenience caused & will help you to get this issue resolved.
    Please let me know the file format of the e-book that you are trying to upload & also let me know if there is any attachment with that or any java script  implemented on that e-book?
    Also, check your Internet upload speed at Speedtest.net by Ookla - The Global Broadband Speed Test as 545 MB is a big size to upload & it might take long time to upload depending on your Internet upload speed.
    Regards,
    Aadesh

  • Solve this if you can!

    I have posted this three times now, and I have still not got an answer to the problem. The problem is as follows:
    I have a problem with the focus of a JTextField in a JApplet. Here is my code:
    class MyPanel extends JPanel {
        ImageIcon imageIcon;
        Image image;
        public MyPanel(Image tiledBackgroundImage) {
            setOpaque(false);
            setLayout(new BorderLayout());
            imageIcon = new ImageIcon(tiledBackgroundImage);
            image = imageIcon.getImage();
        public void paintComponent(Graphics g) {
            for (int x = 0; x < getWidth(); x += image.getWidth(this)) {
                for (int y = 0; y < getHeight(); y += image.getHeight(this))
                    g.drawImage(image, x, y, this);
            super.paintComponent(g);
    }and in the init() method of my applet I have the following call
    setContentPane(new MyPanel(getAppletContext().getImage(new URL(getDocumentBase(), getParameter("backgroundImage")))));However, before I added this code for rendering the background image everything was working well. But after I added it, the JTextFields started to reject focus; when I click on them with the mouse I see a fast blink and then focus is lost again. Why is this so?

    I don't know why some people have make theirself exceptionally clear by writing seven question marks... well, if you can solve it with this code I will give you the dollars. Here is the whole relevant code:
    import layout.TableLayout;
    import javax.swing.*;
    import javax.swing.table.DefaultTableModel;
    import javax.swing.event.ListSelectionListener;
    import javax.swing.event.ListSelectionEvent;
    import java.awt.*;
    import java.awt.event.ActionListener;
    import java.awt.event.ActionEvent;
    import java.util.Vector;
    import java.net.URL;
    import java.net.MalformedURLException;
    class MyPanel extends JPanel {
        ImageIcon imageIcon;
        Image image;
        public MyPanel(Image tiledBackgroundImage) {
            setOpaque(false);
            setLayout(new BorderLayout());
            imageIcon = new ImageIcon(tiledBackgroundImage);
            image = imageIcon.getImage();
        public void paintComponent(Graphics g) {
             setOpaque(false);
            for (int x = 0; x < getWidth(); x += image.getWidth(this)) {
                for (int y = 0; y < getHeight(); y += image.getHeight(this))
                    g.drawImage(image, x, y, this);
             setOpaque(true);
            super.paintComponent(g);
    public class AppletGUI extends JApplet {
        private Communicator databaseCommunicator;
        private JRadioButton localhostRB, otherHostRB;
        private ButtonGroup hostBG;
        private JTextField hostTF, userNameTF, fieldTypeTF, fieldKeyTF, fieldDefaultTF, fieldExtraTF;
        private JCheckBox fieldNullAllowedChB, fieldUnsignedChB, fieldZerofillChB;
        private JPasswordField passwordPF;
        private JTextArea messagesTA;
        private JScrollPane messagesSP, databasesSP, tablesSP, tableDataSP, tableStructureSP;
        private JButton loginBtn, newDBBtn, deleteDBBtn, newTableBtn, deleteTableBtn,
            newColumnBtn, deleteColumnBtn, modifyColumnBtn, newTupleBtn, deleteTupleBtn, modifyTupleBtn,
            disconnectBtn;
        private SortedJList databasesL, tablesL, tableDataL, tableFieldNamesL;
        //showColumnUI elements
        JTextField columnNameTF, columnDefaultTF;
        JComboBox columnTypeCB, columnSizeCB, columnDecimalsCB, columnKeyCB, columnReferencesTableCB,
            columnReferencesColumnCB;
        JCheckBox columnNullAllowedChB, columnZerofillChB, columnUnsignedChB, columnAutoIncrChB;
        JButton addFieldBtn, cancelBtn;
        String tableName;
        //addTableUI elements
        private JTextField tableNameTF, fieldNameTF;
        private DefaultTableModel fieldsTM;
        private JTable columnsT;
        private JScrollPane columnsSP;
        private JButton addTableBtn;
        //addDatabaseUI elements
        private JTextField nameTF;
        private String host;
        public void init() {
            try {
                getRootPane().setContentPane(new MyPanel(getAppletContext().getImage(new URL(getDocumentBase(),
                        getParameter("backgroundImage")))));
            } catch (MalformedURLException e) {
                e.printStackTrace();
            host = getParameter("host");
        public void paint(Graphics g) {
            super.paint(g);
            showLoginUI();
        private void showLoginUI() {
            getContentPane().removeAll();
            //--- Create and initialize labels ---//
            JLabel loginLbl = new JLabel("Login to the MySQL server");
            loginLbl.setFont(new Font("Arial", Font.ITALIC, 12));
            JLabel hostLbl = new JLabel("Host address:");
            hostLbl.setFont(new Font("Times New Roman", Font.PLAIN, 12));
            JLabel usernameLbl = new JLabel("Username:");
            usernameLbl.setFont(new Font("Times New Roman", Font.PLAIN, 12));
            JLabel passwordLbl = new JLabel("Password:");
            passwordLbl.setFont(new Font("Times New Roman", Font.PLAIN, 12));
            JLabel messagesLbl = new JLabel("Messages:");
            messagesLbl.setFont(new Font("Arial", Font.ITALIC, 12));
            //--- Create and initialize text fields and areas ---//
            hostTF = new JTextField(15);
            hostTF.setEditable(false);
            hostTF.setText(host);
            hostTF.setOpaque((true));
            userNameTF = new JTextField(10);
            passwordPF = new JPasswordField(10);
            messagesTA = new JTextArea(5, 20);
            messagesTA.setLineWrap(true);
            messagesTA.setWrapStyleWord(true);
            messagesTA.setEnabled(false);
            messagesTA.setBackground(hostTF.getBackground());
            messagesSP = new JScrollPane(messagesTA);
            //--- Create and initialize buttons ---//
            localhostRB = new JRadioButton("localhost");
            localhostRB.setOpaque(false);
            otherHostRB = new JRadioButton();
            otherHostRB.setSelected(true);
            otherHostRB.setOpaque(false);
            localhostRB.setEnabled(false);
            hostBG = new ButtonGroup();
            hostBG.add(localhostRB);
            hostBG.add(otherHostRB);
            loginBtn = new JButton("Login");
            loginBtn.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    if (userNameTF.getText().length() == 0 || passwordPF.getPassword().length == 0)
                        JOptionPane.showMessageDialog(AppletGUI.this, "You must specify both username and password.",
                                "Compulsory field!", JOptionPane.ERROR_MESSAGE);
                    else if (otherHostRB.isSelected() && hostTF.getText().length() == 0)
                        JOptionPane.showMessageDialog(AppletGUI.this, "Specify the host name.",
                                "Compulsory field!", JOptionPane.ERROR_MESSAGE);
                    else {
                        try {
                            if (localhostRB.isSelected())
                                databaseCommunicator = new Communicator("mysql", userNameTF.getText(),
                                        String.valueOf(passwordPF.getPassword()));
                            else
                                databaseCommunicator = new Communicator("mysql", userNameTF.getText(),
                                        String.valueOf(passwordPF.getPassword()), hostTF.getText());
                            showMainUI();
                        } catch (DatabaseException e1) {
                            e1.printStackTrace();
                            messagesTA.append(e1.getMessage() + "\n");
    /*        JButton exitBtn = new JButton("Exit");
            exitBtn.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    System.exit(0);
            final double margin = 10;
            final double pref = TableLayout.PREFERRED;
            final double textareaHeight = 100;
            final double size[][] = {
                { margin, pref, pref, pref, margin },   //Widths
                { margin, pref, pref, pref, pref, pref,
                  pref, pref, pref, pref, pref,
                  textareaHeight, margin }    //Heights
            getContentPane().setLayout(new TableLayout(size));
            //--- Layout column 1 ---//
    //        getContentPane().add(welcomeLbl, "1, 1, 3, 1");
            getContentPane().add(Box.createVerticalStrut(10), "1, 2");
            getContentPane().add(loginLbl, "1, 3, 2, 3");
            getContentPane().add(Box.createVerticalStrut(10), "1, 4");
            getContentPane().add(hostLbl, "1, 5");
            getContentPane().add(localhostRB, "1, 6");
            JPanel panel = new JPanel();
            panel.add(otherHostRB);
            panel.add(hostTF);
            panel.setOpaque(true);
            getContentPane().add(panel, "2, 6");
            getContentPane().add(Box.createVerticalStrut(10), "1, 7");
            getContentPane().add(usernameLbl, "1, 8");
            getContentPane().add(passwordLbl, "1, 9");
            getContentPane().add(Box.createVerticalStrut(10), "1, 10");
            getContentPane().add(messagesLbl, "1, 11, l, t");
            //--- Layout column 2 ---//
            getContentPane().add(userNameTF, "2, 8");
            getContentPane().add(passwordPF, "2, 9");
            getContentPane().add(messagesSP, "2, 11");
            //--- Layout column 3 ---//
            getContentPane().add(loginBtn, "3, 8, 3, 9");
    //        getContentPane().add(exitBtn, "3, 11, l, b");
    //        fitSizeAndCenter(this);
    //        setVisible(true);
            getContentPane().validate();
            getContentPane().repaint();
        }

Maybe you are looking for

  • DW CS5 TROUBLE WITH BEHAVIORS

    Making a couple photo albums-want fade in on load. I chose my image>new behavior >effects>fade> set up parameters using current selection> set to "onLoad" DW puts this script in my head: <script src="../SpryAssets/SpryEffects.js" type="text/javascrip

  • II want delete all entries in shown by showjobs

    Hi, In my local machine, i want delete all entries shown by showjobs ( dveloppemnt suite version 10.1.2.0.2) http://localmachine.domain:8889/reports/rwservlet/showjobs? Thank's in adavance.

  • KERN_INVALID_ADDRESS at 0x0000000000000020 when launching Kingtston Data Traveler 4gb

    Mac recognizes the secure thumb drive but when launching the login utility immediately get following error: Process:               _DTVP [1096] Path:                  /private/var/folders/*/DTVP.app/Contents/Resources/_DTVP.app/Contents/MacOS/_DT VP

  • W510 Mouse Problems

    Hello, The left mouse button + Wheel for panning does not work when using programs like (Chief Architect, Google Earth, and Kindle for PC). I'm using Microsoft Bluetooth 5000 mouse, and the UltraNav also does not work even when I uninstall the extern

  • Where can I get/download th 4.01 update?

    I have been using Final Cut Express 4, which was updated to 4.01. But I had computer issues, and it started to not open. So I reinstall 4.0 from my CD, but now I need the 4.01 update to open my files. Please let me know where I can get it. Upgrading