Question about SET log_buffer and SCOPE = SPFILE

Good evening

I am teacher Oracle. In the book I use it says that I have to specify the SCOPE = SPFILE in order (because it is a static parameter):
alter system set log_buffer = 6m scope=SPFILE;
It is said that if I specify the scope as indicated, the command will succeed, but I still get the error:
SQL> alter system set log_buffer = 6M scope=SPFILE;

alter system set log_buffer = 6M scope=SPFILE
                 *
ERROR at line 1:
ORA-02095: specified initialization parameter cannot be modified


SQL> show user
USER is "SYS"
SQL>
I am logged in as "SYS as SYSDBA.

My question is: why it is not working? (the book says it should).

Thank you for your help,

John.
SQL> alter system set log_buffer=7249920 scope=spfile;

System altered.

It works for me.

Tags: Database

Similar Questions

  • Questions about the terms and conditions

    Dear team of Adobe Stock,

    I am considering a subscription for an e-commerce site that I am developing. I have a few questions about the terms and conditions:

    3.5 social media use. You can view or download an unmodified version of the book on the Social media Site if (A) you include a notice of copyright in the work itself (© author name - stock.adobe.com) and (B) the terms of use governing the Social media Site do not include any provision that would grant exclusive rights or the ownership of those works or alterations to anyone. "Social Media Site" means a website or application that puts the main emphasis on facilitating social interaction between its users and allowing users to share content in such social interaction

    What I have to insert in each post on social media on behalf of the author? Generally, this information is displayed only for free images. What I have to insert this information even if I signed up for a plan?

    Thank you

    Hello

    Please see the link below for help:

    http://wwwimages.Adobe.com/content/dam/ACOM/en/legal/servicetou/Adobe-stock-additional-ter ms_20160119.pdf

  • A question about the methods and parameters.

    Hey guys, this is my first post here. I am very new to Java and done a bit of C++ before Java. I had a question about the methods and parameters. I do not understand the methods; I know they can be repeated when it is called, but it's almost everything. I also know that a program should have a class that contains the main method. What I really, really understand on methods is what the parameters are. I know they are in parentheses and that is it. Could you explain what they are? I really appreciate it. Thanks to all in advance. Best regards, Michael

    Taking an example:
    Suppose you calculate area of the rectangle you need two inputs one is the length and the width. Area = l X b, where l = length, b = width

    If your method, say, calculateAreaOfRectangle (length int, int width) will be two parameters as arguments.

    System.out.println ("field of rectangle:" + calculateAreaOfRectangle (40,30);)

    public int calculateAreaOfRectangle (int length, int width) {}
    int area;
    Area = length * width;
    return of area;
    }

    So if you call this method then the output will be returned in 120.

    Parameters of a method are simply the input variables for the method of treatment for all calculations or something useful.

    And we cannot have methods inside the main method in Java. It is in the java syntax and if you do, it will throw a syntax error.

  • Question about the interruptions and priming

    Hello

    I had a few questions about the startup and interruptions in a virtualized environment

    Assuming that, plenty of virtualization (no material assistance to virtualization of memory ).

    1 initialization: in an ordinary PC, the boot process starts with the BIOS, to expansion ROM, back to the BIOS and MBR secondary boot record, then grub (is it) and finally the operating system. In a virtualized environment with VMM running directly on top of hardware (Native VMM), how is the initialization of the different process, as I understand it takes BIOS-> Expansion ROM - > BIOS-MBR-> other record secondary-> VMM-> OS--> applications >. Am I right on that?

    2 breaks: VMM examines the source interruptions prior to the interruption, so in a multicore environment, assuming a 2 processor core, how the VMM decides on the kernel for which the interruption in intended, prior to shipment of the interruption. Interruptions are tag ID, said core ID?

    Thanks in advance

    -SC

    sidc7 wrote:

    1 initialization: in an ordinary PC, the boot process starts with the BIOS, to expansion ROM, back to the BIOS and MBR secondary boot record, then grub (is it) and finally the operating system. In a virtualized environment with VMM running directly on top of hardware (Native VMM), how is the different boot process, if I understand correctly to -> BIOS-> Expansion ROM BIOS-> MBR-> other documents-->--> OS--> requests VMM. Am I right on that?

    It is simplistic but essentially correct.  A metaphor would be a little better thinking that the hypervisor/vmm is an operating system, except that the process on this operating system are requests or comments OSes.  If the BIOS-> OPROM-> BIOS-> MBR-> hypervisor-> init process of the hypervisor-> reviews of fork () s operating systems.  This can become blurred by the design choices (for example Xen/Hyper-V init start a coded parent hard partition that makes hypercalls privileged to fork() guest OSes; ESXi init runs a very limited subset of applications directly on the hypervisor and ESX Classic is somewhere between these approaches).

    There is a subtle distinction between "hypervisor" and "www."  The "hypervisor" is the operating system of single root (e.g. ESX) who interacts directly with the hardware and has access to everything; a hypervisor is not to be used to run virtual machines.  When we talk about a "hypervisor", the tendency is to describe something which is a BONE (although usually a minimal OS designed only to run virtual machines).  The "www" is the layer that allows a virtual machine run: it provides the interposition, virtualization and emulation services and can be plural (for example a vmm by guest operating system).  Architecture of VMware deal with these two separate components, while most other virtualization platforms merge the two.

    sidc7 wrote:

    2 breaks: VMM examines the source interruptions prior to the interruption, so in a multicore environment, assuming a 2 processor core, how the VMM decides on the kernel for which the interruption in intended, prior to shipment of the interruption. Interruptions are tag ID, said core ID?

    Strictly speaking, the interruption is not transmitted to a guest operating system - receives the hypervisor (or rather the VMM it transmits to the hypervisor), the hypervisor drivers interpret the interruption (for example reading package of NIC, I/O process of HBA, the timer tick completion), then after a new appropriate break in the guest OS.

  • Questions about Failver customer and rapid failover

    have some questions about customer and quick Faiolver of Oracle Database HA failover. Before asking these questions, I want to explain my environment. Here are the details.



    -We have two physical locations called "ABC" and "PQR".
    -ABC is the main site.
    -PQR is the backup site.
    -In ABC, we have the database to Oracle RAC (11.2.0.2) with two nodes.
    -In the PQR, we have only one stand-alone server (11.2.0.2) database with ASM. This isn't a RAC.
    -Data Guard has been configured between ABC and PQR and it works as expected.
    -Please note that we have a license for Active Data Guard.
    -We have products of Oracle Identity Management to ABC and PQR and they will use the RAC database as a primary database that is in the CBA.
    -We have not yet set up a Data Guard Broker.

    We want to achieve under objectives:


    Objective 1:
    -------

    Whenever primary CARS down completely, standby database becomes a primary database AUTOMATICALLY and it should allow the read/write operation.
    I guess it's called 'Fast Failover'. Please let me know if I'm wrong.

    Issues related to the:

    -To do this, I need to set up Data Guard Broker so that this standy database becomes primary when CARS go down completely with a power outage, planned or not.
    -Let's say that CARS falls does completely, how long take Data Guard Broker do standby db as primary.
    -What the client application / which is already connected to the CARS.
    -Let's DB standby became as primary and after some time if RAC comes back, keep data automatically becomes the primary role of RAC?


    Objective 2:
    --------

    As I explained above, all products Oracle IDM and applications to speak to the RAC database, what do know only on the RAC database, which is the main. They are not aware of the pending database.

    -Whenever a client session is underway with the primary database of CARS if CARS completely falls down, we would like to wait until the client session should get transferred datbase standby without losing session information. However before that happens, standby database should become primary because the client session can perform write operations.

    -Whenever a client attempts to connect to the primary CARS and assumes that the cab is completely down, we would like to expect from any client connections should are transferred pending database.
    However before that happens, standby database should become primary because the client session can perform write operations.

    According to my knowledge, above scenarios are called "client failver." Please let me know if I'm wrong.



    Issues related to the:
    ----------

    1. Please throw some light to reach above features.
    2. According to my understanding, before customer failover happens, fast failover expected has already occurred and ensure should get the switch for the main role. I guess that all this happens thanks to timeout settings. What are those.


    Could you please help?

    Thank you

    I didn't say that clients cannot reconnect automatically when primary fails: I meant that client sessions can generally reconnect and also keep any session state.

    Yes, they can reconnect but only to keep the session state for a SELECT statement. It is also possible with Data Guard, not only in the CARS I wrote: here's a demo with 10 g
    http://uhesse.WordPress.com/2009/08/19/connect-time-failover-transparent-application-failover-for-Data-Guard/.
    What is not possible is to maintain a session state: (INSERT/UPDATE/DELETE) pending transactions must be cancelled.

    Edited by: P. Forstmann on Dec 8. 2011 20:30

  • Question about AP Autoinvoice and macthing the invoice?

    "Hi Forum - I have a question about accounts payable" * pay on reception Autoinvoice * "program.

    The question: Does autoinvoice program match invoices against PO, or do I need this to do it manually after running this program?


    Thanks in advance!

    Hello

    You have not need manually match invoices to the BP.

    The standard functionality of the remuneration to the receive function is as mentioned below:

    You can set up your vendors to pay upon receipt or delivery, and you can choose the level of consolidation of bills: paid site of landslide, a reception or packaging provider.

    After receipt or delivery operations are created, you can submit reception AutoInvoice compensation program to automatically import the invoices corresponding to the corresponding purchase orders.

    When the Payables open Interface import process is complete, you can then validate and pay these bills to order using the processing of payments of accounts payable standard feature.

    I hope this helps.

    Thanks and greetings
    Jeanny.

  • Question about setting up a Wi - Fi on my 1985-2001 Satellite connection

    I've had this laptop for a few years and never had a problem with my WiFi. I am not very computer, so when the computer is telling me things like that I have a bit of stuff I panic. How should I do?

    I have a Satellite phone with windows XP Home Edition 1985-2001.
    It s says: (Windows cannot configure this wireless connection).
    When I try to connect to the WiFi, it connects always to internet when I plug but not via WiFi. He also says: If you have enabled another program to manage this wireless connection, use that software.

    If you want windows to configure this service Configuration (WZC) to start the wireless zero configuration wireless. For more information on starting the automatic configuration service, see article 871122 in the Knowledge Base Microsoft on the microsoft.com Web site.

    So I did and that's what he said:
    Some computers and hardware manufacturers provide their own configuration software that replaces the service provided in Windows Wireless Auto Configuration. In this case, you must use the software that is provided by the manufacturer to set up your wireless network.

    So I have two questions, this computer has its own configuration software and two how to fix this problem?

    Could someone help me please?

    Hello

    > this computer has its own configuration software and two how can I solve this problem

    As far as I know that Toshiba laptops are delivered with various wireless network cards; for example with Intel or Atheros WLan card.

    First of all, you should check you seller of WLan cards. If you are using the Intel card, possibly the Intel ProSet WLan utility is installed and try to configure the WiFi connection.

    If you use the Atheros WLan card eventually the WLan Atheros Client Utility tries to set up and establish the connection.

    So, you can use either such 3rd utility or you will use the Windows own option to use the WiFi network.
    If you want to use clean Windows Wireless Auto Configuration, you can enable it in the network-> properties from the network connections wireless-> tab-> choose brand wireless networks the option called use Windows to configure my wireless network

    But if you want to use one of the 3rd party (Intel, Atheros) configuration utility, and then start just such program, and check the settings.

  • questions about 2100 wlc and lwap connection

    Hello

    I have a few questions, I hope you can answer me.

    In fact, I have a controller connected to 3 Lwap 2100, and they are connected to the WCS. they have a static IP address.

    The distance between each point of access to more than 30 meters.

    1. the distance between the access points affect the accuracy or the stream. How can I calculate this

    2. because the APs use a static IP address, each customer should I connect to the network to add a static ip address? can I do the APs detect clients dynamically?

    I have lwapp reset guide, guide WCS configuration and configuration guide for WLC. If you have more documents or more pls share with me.

    BR

    Yamani

    Hello Ahmed,.

    Yes the distance between AP affect the wireless signal.

    to determine the best location of AP and the distance between them, as the site survey is necessary with the expert of the spectrum wireless or airmagnat...

    You can check the following links for design and RF management

    1) http://tools.cisco.com/squish/1Ea09

    2) http://tools.cisco.com/squish/51a58

    for other questions about DHCP, it is not a must that customer use static IP, you can always configure them with DHCP.

    as an extenal DHCP (like windows server), or on the WLC himself (to the title of controller-> > internal DHCP tab).

    Kind regards

    Talal

    =========
    Please note the answers that you find useful and mark as answer - when is it :-) - so that others can easily find

  • General question about the updates and version number

    I have a general question about versions and update.  I'm new on this and am in the deep end of learning I want.

    In vSphere web client, I see the following versions (these are exactly as the seller, he left a few months that I have screenshots in my documentation that match)

    Version - VMware ESXi, 5.1.0 1612806

    Profile - Dell (updated) ESXi - 5.1 - 799733 (A00)

    I am trying to familiarize themselves with the Update Manager and I noticed that there are a lot of patches and updates available.

    Lists of Update Manager 5 patches as "Missing" with Red x but directly above them are a list of patches with green tick indicating that "installed" - it is perhaps obvious, but im guessing 'installed' means really installed when displayed on the screen - there is an update installed, labeled "ESXI 5.1 all the update 2-' would be able to tell that it has been installed by the details of profile/version above?

    I don't think it's a big deal at this stage, but if I install all missing patches and then the details of the version/profile change in summary screen?

    I hope this makes sense.

    Thank you

    This article allows to correlate the updated version: products VMware correlating build numbers to update levels (1014508)

  • Question about subjects, books and tables of contents

    I have a question about the subjects, books and tocs. I have a project that someone else created, and my task is to create a new topic and add it to the table of contents. I created the topic, but when I generate CHM project it does not appear in the table of contents. I tried to update the table of contents. What I think (I guess) could be the problem, is the 'links to the topics', when I see the links to the topics in other areas (old) they seem to have a link to the main book, but the new one is not mine. Could you help me? Thank you!!!

    It seems that you have a manual table of contents page, rather than using the table of contents of CHM.

    The toc.htm topic that you see in your list of topics is probably where you will need to add your new topic.

    If the table of contents was already populated when you inherited the project, I suspect the previous author was using it just to keep track of the topics they had added manually to the topic toc.htm - added the CHM topic in summary you did mark the column of the table of contents in the list of topics like '' Yes. '' then add to the toc.htm manual is not. Hope that makes sense.

    P.S. Just guess that it is installing what I can see in the screenshot. It is quite unusual, so I hope I'm right.

  • Questions about apex_web_service.make_request and collections

    Hello

    I began using with Apex Web services, and I have a few questions about the apex_web_service.make_request procedure. You can pass a name of the collection as a parameter. I'm a little confused on this parameter from the collection...

    This is perhaps a silly question, but the documentation is not very clear, so... This procedure always inserts just a line in the collection (with the XML returned by the web service call), or are there cases where several lines will be inserted?

    If there is still only a single row, what are the practical reasons to use a collection for her? I ask because in most cases interest you about the columns/rows to display in a form or a report in the Apex and I don't see the advantage to store in a collection of single-row, but I may be missing something...

    If the response contains several rows of data, it will be automatically extract the lines and insert them into the different lines of the collection? (posts...)

    What is the best approach then to extract several rows returned in the XML response and insert them into a collection? Currently I use XMLTABLE in a loop and call apex_collection.add_member for each row returned. is there a better way to do it?

    Thank you
    Luis

    Luis,

    the webservice returns only one row in the results collection.

    XMLTABLE using is a good idea, instead of using a loop, you can also use APEX_COLLECTION. CREATE_COLLECTION_FROM_QUERY or CREATE_COLLECTION_FROM_QUERY_B (B for bulk which may mean 'fast').

    brgds,
    Peter

    -----
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    BuilderPlugin: http://builderplugin.oracleapex.info
    Work: http://www.click-click.at

  • Question about importing RAW and JPEG

    Greetings,

    Support of Adobe at the following page talks about the "import and preferences file management Definition:

    http://help.Adobe.com/en_US/Lightroom/3.0/using/WSA66356E1-47C3-405f-8E7F-0FD7AAEB0575.htm l

    I have a few questions about this, and I would really appreciate your input gtting. (I also posted this question on this page, but I don't know if it was the right place...)

    1. that means 'otherwise, Lightroom treats the JPEG in doubles as a file? The JPEG format is not available at all in these circumstances? What can I do with this file "jpeg"? Is located in the same folder as the RAW images?

    2. my understanding is that the JPEG image contains the treatment unit (e.g., Vivid, sharpning, etc.); When I import pictures from my Nikon (NEF) raw, LR does not apply to these parameters, and the image I see in LR is * really * gross (i.e., bland and "free upgrades").  If I shoot and bring in JPEG and RAW, LR is it possible to have LR somehow automatically "make RAW image look like the JPEG?

    Thank you in advance!

    Zevi

    (1) No, it simply as an initial overview.  LR replaces this overview as soon as it renderes its own.

    (2) the profiles are already built for Nikon and Canon.  Look in the calibration Panel in the develop module.

  • Question about GROUP BY and HAVING

    Good afternoon

    I have the following query, which returns the desired result (a set of students who follow the CS112 or CS114 but not both). I wanted to 'condense' it in a single SELECT statement (if that's possible - DDL of execution of the instruction is provided at the end of this post):
    --
    -- is this select distinct * and its associated where clause absolutely
    -- necessary to obtain the result ?
    --
    
    select distinct *
      from (
            select s.sno,
                   s.sname,
                   s.age,
                   sum(case when t.cno in ('CS112', 'CS114')
                            then 1
                            else 0
                       end)
                     over (partition by s.sno) as takes_either_or_both
              from student s join take t
                               on (s.sno = t.sno)
           )
      where takes_either_or_both = 1
    ;
    The following text seemed reasonable, but unfortunately without success:
    /*
      Window functions not allowed here (in Having Clause)
    
    select max(s.sno),
           max(s.sname),
           max(s.age),
           sum(case when t.cno in ('CS112', 'CS114')
                    then 1
                    else 0
               end)
             over (partition by s.sno) as takes_either_or_both
      from student s join take t
                       on (s.sno = t.sno)
     group by s.sno
    having sum(case when t.cno in ('CS112', 'CS114')
                    then 1
                    else 0
               end)
             over (partition by s.sno) = 1
    ;
    
    */
    
    /*
    
    Invalid identifier in Having clause
    
    select s.sno,
           s.sname,
           s.age,
           sum(case when t.cno in ('CS112', 'CS114')
                    then 1
                    else 0
               end)
             over (partition by s.sno) as takes_either_or_both
      from student s join take t
                       on (s.sno = t.sno)
     group by s.sno, s.sname, s.age
    having takes_either_or_both = 1
    ;
    I tried a document that completely defines the order in which the clauses are executed. I found bits and pieces here and there but not complete something. I realize that my race with problems like this is due to my lack of understanding of the sequence and scope of the clauses that make a statement. For this reason, I can't even say if it is possible to write the query above using a single select statement. Forgive my little frustration...

    Thank you for your help,

    John.

    DDL follows.
            /* drop any preexisting tables */
    
            drop table student;
            drop table courses;
            drop table take;
    
            /* table of students */
    
            create table student
            ( sno integer,
              sname varchar(10),
              age integer
            );
    
            /* table of courses */
    
            create table courses
            ( cno varchar(5),
              title varchar(10),
              credits integer
            );
    
            /* table of students and the courses they take */
    
            create table take
            ( sno integer,
              cno varchar(5)
            );
    
            insert into student values (1,'AARON',20);
            insert into student values (2,'CHUCK',21);
            insert into student values (3,'DOUG',20);
            insert into student values (4,'MAGGIE',19);
            insert into student values (5,'STEVE',22);
            insert into student values (6,'JING',18);
            insert into student values (7,'BRIAN',21);
            insert into student values (8,'KAY',20);
            insert into student values (9,'GILLIAN',20);
            insert into student values (10,'CHAD',21);
    
            insert into courses values ('CS112','PHYSICS',4);
            insert into courses values ('CS113','CALCULUS',4);
            insert into courses values ('CS114','HISTORY',4);
    
            insert into take values (1,'CS112');
            insert into take values (1,'CS113');
            insert into take values (1,'CS114');
            insert into take values (2,'CS112');
            insert into take values (3,'CS112');
            insert into take values (3,'CS114');
            insert into take values (4,'CS112');
            insert into take values (4,'CS113');
            insert into take values (5,'CS113');
            insert into take values (6,'CS113');
            insert into take values (6,'CS114');

    Hi, John,.

    Just use the SUM aggregate function.

    --
            select s.sno,
                   s.sname,
                   s.age,
                   sum(case when t.cno in ('CS112', 'CS114')
                            then 1
                            else 0
                       end) as takes_either_or_both
              from student s join take t
                               on (s.sno = t.sno)
           GROUP BY  s.sno,
                    s.sname,
                  s.age
           HAVING  sum(case when t.cno in ('CS112', 'CS114')
                            then 1
                            else 0
                       end)  = 1;
    

    Analytical functions are calculated after the WHERE - HAVING clause are applied. Use the results of an analytic function in a WHERE or HAVING clause, you need to calculate it in a subquery, and then you can use it in a WHERE - or the HAVING of a query clause Super.

  • Question about Powerconnect M6220 and out-of-band/management 8024-K connection

    I'm sorry if this question belongs to another section, but with regard to the functionality of these switches I thought I would start here.

    My question is, the M6220 and 8024-K out-of-band connection are going through the connections on Board (for example port 18 for example) or through connection of the M1000e CMC?

    The reason for this question. We recently vlaned our network and CMC modules are VLAN 8 (10.100.8.0 255.255.248.0) and management of our switches is supposed to be on the VLAN 1 (10.100.1.0 255.255.255.0). I can't ping on the affected IPS (IE 10.100.1.15), but our CMC modules are fully accessible (IE10.100.9.120). Our blades are fully accessible and can access all the VLANS on them (they are the ESX host).

    Finally, I'm sorry if all necessary information has been provided, I'm not so much a networking guru.

    Thoughts?

    Thanks for your help

    The OOB interface is connected to the chassis management controller by the median plane of the chassis. Traffic on this

    port is separated from network traffic operating on the switch ports and cannot be lit or routed to the operational network.

  • question about sending mail and the use of UrlEncodedPostData

    Hello

    I need to send over https three things:

    (1) framework, which is a byte [] object, and has some information about the device and the things that need to be sent to the server

    object String 2) imei - imei of the device.

    (3) data - some data, which are a String object

    now I need to use URlEncodedPostData, but...

    UrlEncodedPostData _post = new UrlEncodedPostData(null, false);
    
    _post.append("frame", ???)-> my frame is a byte[] object
    

    so, what should I do? should I change channel frame? but, later when I send the _post to the server that I use:

    _httpConnection.openDataOutputStream(_post.getBytes());
    

    YH, the problem is-how to put a byte [] object to the urlEncodedPostData and then send it?

    The point of encoding is to ensure that special characters can be detected correctly.  There is no URL address, as the settings.

    You will notice that the class that you are trying to use is called URLEncodedPostData.  I don't know if the same URL encoding is used in BOTH and given POST, but I think this class should be used in the data of PUBLICATION, rather than to GET data (look at the name).  You will find that the process of encoding data GET is not so difficult and I don't know if you look you will find J2ME coding code on the Web, that will help you create correctly to GET URL format.

    However, I still think you should consider the difference between GET and POST, and what data is passed by each type of application.  I think that if you had done that earlier, you wouldn't be in this position, you understand better my answers and you will understand how to create the queries POST you have to best use later.  GET and POST are NOT Blackberry or specific RIM, they are the Web specifications and used on all platforms.  There is a lot of documentation out there.

Maybe you are looking for

  • Helps the workout App Display

    How to customize the app to drive to show me the heart rate, distance and calories status all on the same screen during an indoor workout?

  • The batch change date and time

    I have a lot of photos which, for some reason, have lost their correct dates and hours of creation, so I was eager to correct in an easy and enjoyable way.  I unfortunately discovered that Photos is not the batch option to change that used to be in i

  • screen cracked on my HP Envy 15-k204sa

    Hi unfortunately my HP Envy 15-k204sa cracked screen and I need to replace it. Can someone tell me which screen I need to buy and where I could by her? I'm in the United Kingdom Thanks much for any guidance Mark

  • 6735 b hangs and does not start on battery

    My 6735 b does not start on battery. Just hangs until I plug in the power supply. For some odd reason, I can't access the drivers even though I have the laptop regestered? Can someone post a link to the update of the bios for me?

  • Error MicrosoftUpdate and Windows 2000 AVG 9.0 - u going to post a fix for this? Thank you

    On AVG, I noticed that your update wiped out the DLL AVG.exe and you are aware of this - you're going to publish an update to fix this error If so - I not crazy with it, now that I'm not a computer expert of all means and want to be messing with the