Question about kernel patch revisions

Hello
Installing a recommended patch cluster for Solaris 9. I've noticed there are serveral patches for the kernel. Why is this? Also when I type uname -a and it shows the "revision" of the system, what is this referring to?
Thanks in advance.

When the kernel patch starts getting too big and unwieldy, they create a new kernel patch and list the previous patch as a prereq.
The revision referred to in uname -a is the kernel patch revision.

Similar Messages

  • A noobish question about kernel upgrades

    Hi, I am a noob lol. I just installed Arch a couple of weeks ago and I like it a lot. Seems like a lot more fun than most other distros I've tried. Very tight, fast and flexible. I've been through a couple of upgrades now including one kernel upgrade and everything is running very well and I am interested in keeping it that way. (I'm in Gnome with zero disk activity within about 10 - 15 seconds after I chain load it from grub2.)
    Anyway, I am currently using kernel 2.6.35.7 and I am very happy with it. However, when I do a pacman -Syu it is including kernel lts-2.6.32.24 in its list of proposed upgrades which I decline. So...let's make my first question a dumb one. Why? Other distros I am using or have tried always prefer the most recent package version unless I force it to do otherwise, so this just strikes me as a bit odd.
    Thanks.

    Hey thanks everybody. I really appreciate the replies! I figured out where it came from. I installed from the 2010.05 i686 core iso and selected base-devel, the lts kernel is part of that package.
    Anyway, it wasn't really a problem as much as a riddle. I started out with kernel 2.6.34.x and pacman was asking me to upgrade 2.6.32.x, so I'm like wtf?  I was starting to wonder about early onset Alzhiemer's. Guess I should have Googled more. I'm coming from Debianland so little things like Arch's package designations are still a little confusing to me. I have a lot more reading to do.
    BTW, I love this distro's wiki, really outstanding documentation. I think I'm going to hit Powell's or Amazon up for a couple of books though, my eyes get really heavy and blurry while reading on screen. And while I'm on that topic, does anyone have any recommendations for comprehensive entry level books on Arch?
    Thanks again everybody!
    Last edited by disastrophe (2010-10-08 14:33:35)

  • Quick question about kernel

    I switched my old desktop to Arch 64 in anticipation for my new rig that will be ready in a few days. My question is, will the kernel recognize the processor correctly right off the bat and reconfigure itself accordingly or do I need to reinstall the whole system? It sounds silly I suppose, but I just want to be safe and be ready for any troubleshooting if it will come my way. Also, if switching from AMD -> Intel might also cause a problem (I doubt it, but mentioning anyway), lemme know if that might cause a problem too. I don't expect any of this to, but I would just like to ask so I don't my hopes up of the computer running fine on the install it has now on the get-go.

    hume's doona wrote:
    I think that depends on the kernel. A stock kernel should be set up for generic x86-64 and take a range of processors, but it is possible to only allow the features of a smaller set, like core 2 duo, or 64 bit atoms.
    If you are asking, I'm assuming it's not a custom kernel and should be fine on a different cpu
    Well it's configured around an ages-old AMD 64 single-core (How many ever existed?). I set up the computer... about 3-4 weeks ago by net installation. I'll just assume that it it will take a wide range and bring up the issue up again later if it happens that the kernel hates my i7.

  • Question about kernel compilation from wiki

    Hello,
    I compile kernel in line with arch wiki (http://wiki.archlinux.org/index.php/Ker … rom_Source). In paragraph '2. With makepkg and pacman (Recommended)' are lines:
    mv [kernel location]/* src/
    cp -r [kernel location]/* src/
    Does it make sense? First I move [kernel location] to src/ (I think it should be '/src/') and then I copy nonexistent [kernel location] to the same path.
    Thanks
    #edit:
    I looked through word 'either' So now I'm not sure with this:
    (my build directory is ~/kernelbuild)
    1. in ~/kernelbuild create 'src' directory
    2. copy ~/kernelbuild/linux-2.6.30.5/* src/
    Am I right?
    Last edited by cinan (2009-08-22 12:16:34)

    Commands are correct, but as I said I was little confused about names/terms (eg kernel location-kernel source, making directory usr). I hope the wiki page will be more clear for users who never compiled custom kernel.

  • [SOLVED] Question about Warzone-SVN revision upgrade method

    Hi all,
    I have installed warzone-svn from AUR using yaourt. My question is simple, how do I upgrade when the next revision in svn repository is out?
    Do I upgrade using
    # yaourt -Syu
    or is there something else i will have to do?
    Regards,
    J0sh
    Last edited by j0sh (2010-06-16 11:08:34)

    Just a useful note for anyone else interested in this thread. Using the above mentioned solution works, but it is slower as the building takes place in /tmp directory by default. This means that everytime you attempt to upgrade your revision, all the files will be downloaded all over again and saved somewhere in /tmp, and these files will be purged when your build is completed.
    To make building much faster, the solution would be to have all the files downloaded in another directory, so that yaourt does not purge all the files used for building, and only downloads any changed files. Have a look at this topic on the forum for what sort of directory to create.
    Last edited by j0sh (2010-06-16 11:20:53)

  • Questions about Tuxedo patches and errors during installation

    Hi,
    Please help me. I'm doing my school project that requires me to install PeopleSoft Human Capital Management. I do not have customer identifier. Therefore, I could not sign in to Oracle Support. Really appreciate your help!!! Thank you in advance!
    Q1. Are Tuxedo patches able to download from Oracle support only?
    Q2. Is Tuxedo patch compulsory?
    I have few errors in the following:
    Q3. For the documentation (V27932-01 PeopleSoft PeopleTools 8.52 Supplemental Installation Information --> PeopleTools_8.52_Installation_MSS --> Task 7-5-1: Running SQRs on the Client Workstation), I got this error when I use sqrw.exe:
    Error in include file "setenv.sqc on line 408:
    <SQR 3601> Out of substitution or #DEFINE variables; use -Mfile to increase SUBVARS.
    dyn-datein-prefix
    Error in include file "setenv.sqc" on line 409:
    <SQR 3601> Out of substitution or #DEFINE variables; use -Mfile to increase SUBVARS.
    dyn-datein-suffix
    Error in include file "setenv.sqc" on line 410:
    <SQR 3601> Out of substitution or #DEFINE variables; use -Mfile to increase SUBVARS.
    timeout-prefix
    Error in include file "setenv.sqc" on line 411:
    <SQR 3601> Out of substitution or #DEFINE variables; use -Mfile to increase SUBVARS.
    timeout-suffix
    Error in include file "setenv.sqc" on line 412:
    <SQR 3601> Out of substitution or #DEFINE variables; use -Mfile to increase SUBVARS.
    dyn-timeout-prefix
    Error in include file "setenv.sqc" on line 413:
    <SQR 3601> Out of substitution or #DEFINE variables; use -Mfile to increase SUBVARS.
    dyn-timeout-suffix
    Error in include file "setenv.sqc" on line 414:
    <SQR 3601> Out of substitution or #DEFINE variables; use -Mfile to increase SUBVARS.
    timein-prefix
    Error in include file "setenv.sqc" on line 415:
    <SQR 3601> Out of substitution or #DEFINE variables; use -Mfile to increase SUBVARS.
    timein-suffix
    Error in include file "setenv.sqc" on line 416:
    <SQR 3601> Out of substitution or #DEFINE variables; use -Mfile to increase SUBVARS.
    dyn-timein-prefix
    Error in include file "setenv.sqc" on line 417:
    <SQR 3601> Out of substitution or #DEFINE variables; use -Mfile to increase SUBVARS.
    dyn-timein-suffix
    Error in include file "setenv.sqc" on line 418:
    <SQR 3601> Out of substitution or #DEFINE variables; use -Mfile to increase SUBVARS.
    time24out-prefix
    Error in include file "setenv.sqc" on line 419:
    <SQR 3601> Out of substitution or #DEFINE variables; use -Mfile to increase SUBVARS.
    time24out-suffix
    Error in include file "setenv.sqc" on line 420:
    <SQR 3601> Out of substitution or #DEFINE variables; use -Mfile to increase SUBVARS.
    dyn-time24out-prefix
    Error in include file "setenv.sqc" on line 421:
    <SQR 3601> Out of substitution or #DEFINE variables; use -Mfile to increase SUBVARS.
    dyn-time24out-suffix
    Error in include file "setenv.sqc" on line 422:
    <SQR 3601> Out of substitution or #DEFINE variables; use -Mfile to increase SUBVARS.
    time24in-prefix
    Error in include file "setenv.sqc" on line 423:
    <SQR 3601> Out of substitution or #DEFINE variables; use -Mfile to increase SUBVARS.
    time24in-suffix
    Error in include file "setenv.sqc" on line 424:
    <SQR 3601> Out of substitution or #DEFINE variables; use -Mfile to increase SUBVARS.
    dyn-time24in-prefix
    Error in include file "setenv.sqc" on line 425:
    <SQR 3601> Out of substitution or #DEFINE variables; use -Mfile to increase SUBVARS.
    dyn-time24in-suffix
    Error in include file "setenv.sqc" on line 428:
    <SQR 3601> Out of substitution or #DEFINE variables; use -Mfile to increase SUBVARS.
    binarysort-prefix
    Error in include file "setenv.sqc" on line 429:
    <SQR 3601> Out of substitution or #DEFINE variables; use -Mfile to increase SUBVARS.
    binarysort-suffix
    Error in include file "ptset01.sqc" on line 38:
    <SQR 3601> Out of substitution or #DEFINE variables; use -Mfile to increase SUBVARS.
    ptsetxx-included
    Error in include file "ptset01.sqc" on line 92:
    <SQR 3601> Out of substitution or #DEFINE variables; use -Mfile to increase SUBVARS.
    page_orientation
    Error in include file "ptset01.sqc" on line 92:
    <SQR 3601> Out of substitution or #DEFINE variables; use -Mfile to increase SUBVARS.
    colr
    Error in include file "ptset01.sqc" on line 92:
    <SQR 3601> Out of substitution or #DEFINE variables; use -Mfile to increase SUBVARS.
    page_paper_size
    Error in include file "ptset01.sqc" on line 92:
    <SQR 3601> Out of substitution or #DEFINE variables; use -Mfile to increase SUBVARS.
    line_height
    Error in include file "ptset01.sqc" on line 92:
    <SQR 3601> Out of substitution or #DEFINE variables; use -Mfile to increase SUBVARS.
    char_width
    Error in include file "ptset01.sqc" on line 116:
    <SQR 4707> No value found for substitution variable: {page_paper_size}
    paper-size={PAGE_PAPER_SIZE}
    Error in include file "ptset01.sqc" on line 117:
    <SQR 5312> Qualifier 'paper-size' requires a list of values: <val [,val]...>.
    paper-size={PAGE_PAPER_SIZE}
    Error in include file "ptset01.sqc" on line 117:
    <SQR 4707> No value found for substitution variable: {page_orientation}
    orientation={PAGE_ORIENTATION}
    Error in include file "ptset01.sqc" on line 118:
    <SQR 5302> Incorrect value for qualifier 'orientation'. Valid values are: portrait landscape
    orientation={PAGE_ORIENTATION}
    Error in include file "ptset01.sqc" on line 118:
    <SQR 4707> No value found for substitution variable: {line_height}
    line-height={LINE_HEIGHT}
    Error in include file "ptset01.sqc" on line 119:
    <SQR 5316> Qualifier 'line-height' uses an invalid Unit-Of-Measure suffix.
    Valid suffixes are: dp pt mm cm in
    line-height={LINE_HEIGHT}
    Error in include file "ptset01.sqc" on line 119:
    <SQR 4707> No value found for substitution variable: {char_width}
    char-width={CHAR_WIDTH}
    Error in include file "ptset01.sqc" on line 120:
    <SQR 5316> Qualifier 'char-width' uses an invalid Unit-Of-Measure suffix.
    Valid suffixes are: dp pt mm cm in
    char-width={CHAR_WIDTH}
    <SQR 1806> Out of query space. Use -Mfile to increase QUERIES.
    SQR for PeopleSoft: Program Aborting.
    Press ENTER to close...
    Q4. For the documentation (V27932-01 PeopleSoft PeopleTools 8.52 Supplemental Installation Information --> PeopleTools_8.52_Installation_MSS --> Task 8-4-1: Creating, configuring, and Starting the Application Server Domain), I can't boot when I use psadmin application and got this error:
    (i choose serial boot (1), don't know which is better to choose)
    Command to execute <1-2, q> [q]: 1
    Attempting to boot bulletin board...
    tmadmin - Copyright <c> 2007-2008 Oracle.
    Portions * Copyright 1986-1997 RSA Data Security, Inc.
    All Rights Reserved.
    Distributed under license by Oracle.
    Tuxedo is a registered trademark.
    No bulletin board exists. enter boot mode.
    INFO: Oracle Tuxedo, Version 10.3.0.0 with VS2008, 32-bit, Patch Level <none>Booting admin processes ...
    exec BBL -A :
    process id=4952 ... Started.
    1 process started.
    Attaching to active bulletin board.
    Attempting to boot ...INFO: Oracle Tuxedo, Version 10.3.0.0 with VS2008, 32-bit, Patch Level <none>
    Booting server processes ...
    exec PSWATCHSRV -o ".\LOGS\stdout" -e ".\LOGS\stderr" -A -- -ID 35931 -D TESTSERV -S PSWATCHSRV :
    process id=4076 ... Started.
    exec PSAPPSRV -o ".\LOGS\stdout" -e ".\LOGS\stderr" [email protected] -- -D TESTSERV -S PSAPPSRV :
    CMDTUX_CAT:1685: ERROR: Appliction initialization failure
    tmboot: CMDTUX_CAT:827: ERROR: Fatal error encountered; initiating user error handler
    tmshutdown -qy

    you said3. I run the SQR by pressing the PS_HOME\bin\sqr\MSS\binw\sqrw.exe and I type in my report name, datasource, username and password then click ok then the command came out.
    >
    What you didn't do was set the SQR arguments in the Report Arguments section. You need to supply the arguments as follow:
    -ZIF%PS_HOME%\sqr\pssqr.ini -i%PS_HOME%\sqr -fc:\temp\youroutput.htm -printer:ht -keep
    You have to do this for each SQR you want to start.
    To avoid typing these arguments every time, create a shortcut of sqrw.exe, on your desktop, or where ever your like and open the properties of the shortcut and change to command line to
    %PS_HOME%\bin\sqr\ORA\binw\sqrw.exe -ZIF%PS_HOME%\sqr\pssqr.ini -i%PS_HOME%\sqr -fc:\temp\youroutput.htm -printer:ht -keep
    Now when you dubble click on the shortcut the arguments will be filled in automatically.
    Change %PS_HOME% in above statements to your PS_HOME.
    You can also read this in the installation manual in chapter Task 7A-21-1: Running SQRs on the Client Workstation

  • Question about Project Lockdown

    I've been reading through Arup Nanda's "Project Lockdown". I understand all of his rationals and procedures, but a few things leave me feeling a bit uneasy. Maybe it's just fear of the "unknown unknowns". In particular is the discussion on changing the unix access profiles for the oracle binaries. I have this uneasy feeling that if I were to implement those particular suggestions, it would end up biting me somewhere down the road.
    Has anyone implemented all of the suggestions in this document? If so, what have been your experiences?

    Arup Nanda_2 wrote:
    Hi Ed,
    Thanks Mark for pointing me out to this.
    I have been using that for more than 8 or 9 years now, without any side effects. But as Emre Baransel reported that although he has been following that without any untoward effects, you should take every advise in the specific context of your environment. I have tried to put all caveats there; but there is no way for me to check all possible comobinations.
    For instance, one of the advises is to remove executable permissions from extjob executable. If you are not using extrnal jobs from the database (99% of people don't), heeding that advise does nothing to your activities. But if you do external jobs, they are broken now. I have made that clear in the article; but I can't be sure if the reader will pay attention to that. But if you don't use external jobs, by changing the permissions you just closed a major vulnerability without applying the CPU patch, which may or may not close all the vulnerabilities.
    Another is the case of nmb and nmo executables. If you are using Enterprise Manager to manage the O/S as well, then changing those executables will no longer allow you to do that. But if you don't do that particular activity (most don't), you again closed a major vulnerabillity without affecting your functionality.
    For anyone who has ever authored anything, one thing is clear - the work is like broadcast, not point to point transmission. Even point-to-point. "If you explain something so clearly that no one can misunderstand, someone will".
    It's not consulting which is situation specific. So, any work which is not prepared in context of a specific situation must be taken with that disclaimer - your mileage may vary. Understanding and testing is a must before committing the work.
    Hope this helps.
    ArupThanks for the response. Besides worrying about the "unknown unknowns" I also have a question about applying patches, especially the quarterly CPUs. Since, at some level, applying a patch is simply overlaying a specific file with a newer version, will this cause permissions to revert to default? Would we have to go through the process after applying a patch? I'll go back and re-read the original doc several more times to make sure I have a good grasp of what's going on here.

  • Question about the Filter type for the trace provide "Microsoft-Windows-Kernel-File"

    Hello all,
    I have moved this question from the Windows
    Server General Forum accorfing to the suggestion from Mr. Justin Gu 
    I have a question about the Filter function for the trace provider "Microsoft-Windows-Kernel-File".
    I can find the Filter function with the following operation.
    Mr. Justin Gu wrote:
    > You create a Data Collector Set for the trace provider "Microsoft-Windows-Kernel-File" and finish completely, then you > can right click it and select Properties.
    In the Properties dialog box, click Filter and
    then select ‘Edit…’. You will be> able
    to see the Filter type and Filter data in the Filter dialog box.
    What
    Kind of Filter can
    I use in this Filter dialog box?
    And, how can I set to exclude the some kind of datas?
    Could you give me your suggestion?
    Thank you.

    What
    Kind of Filter can
    I use in this Filter dialog box?
    And, how can I set to exclude the some kind of datas?
    Could you give me your suggestion?
    Thank you.
    I'm looking for the same information.

  • Kernel Patch questions

    Sorry but it has been a while. After reading all the kernel threads, I still have a few kernel patch questions.
    1) Sequencing - Does it matter what sequence I apply all the patches? Alphabetic order? Date sequence? Always finish with DW?
    2) Versioning info - some commands have a -v parameter to tell what version you currently have. Some don't. Is there some way to find out versioning info for all potential patches?
    3) Marketplace - I see there is a "complete" kernel on the marketplace now (albeit in two parts). However it's never current. It looks like the hot setup to download that and patch that and then slip that in. Does everyone agree with that assessment?
    4) Yes, I know the truly hot setup would be to contract with Volker to get s fully patched CD but since we were stuck on 4.0B for so long, I haven't had a chance to keep my skills up to date. This looks like a good opportunity.
    Thanks,
    Rick

    Hi my friend
    I assume you're referring to how to load new 700 kernel since you didn't mention. Here's the steps listed below, for details you could find in Note 912575 - iSeries: Using LODSAPKRN to load a 7.00 kernel
    1. Download the latest SAPEXE.SAR, SAPEXEDB.SAR and IGSEXE.SAR from SWDC.
    2. Create a directory in IFS and put 3 SAR files there, create a stream file called "parts" with content below:
    SAPEXE.SAR,
    SAPEXEDB.SAR,
    IGSEXE.SAR,
    P.S: I opt this way to patch IGS myself because it's more convenient, the formal IGS patching is introduced in
    Note 937000 - iSeries: Installing and patching the IGS
    3. Log on as QSECOFR or equivalent user (in 912575 it says SIDADM, which could lead to lack of authorization sometimes), and run command:
    LODSAPKRN DEV(STMF) MNTPNT('<dir>') KRNLIB(<kernel library>) USERDEF(YES) LIST('<dir>/parts')
    4. Stop SAP system and then remove old kernel:
    RMVSAP SID(<SID>) DLTKRNLIB(*NO)
    5. Change the library list (EDTLIBL) and replace the old kernel library with the new 7.00 kernel library.
    6. Activate the new 7.00 kernel:
    APYSAP TYPE(*KERNEL) SID(<SID>) DSTLIB(<new kernel library>)
    7. Delete all SQL packages: DLTR3PKG SID(<SID>)
    then start SAP system
    Regards,

  • Kernel Patch Update

    Hi
    I have a question about updating the kernel patch to the latest version Can a kernel patch be directly updated from any lower version to the latest version by applying the latest patch even if the kernel patch number itself has changed like the below scenarios
    1. Can I directly update the kernel pacth 122300-51 to 122300-57
    2.Can I directly update the kernel patch 142909-17 to 144488-17
    Thanks in advance

    Basically, yes, but you need to take care of the patch dependencies. Usually a kernel patch with a new patch ID will require the last revision of each former kernel patch to be installed first.
    Either you use patchadd on the most recent kernel patch you want to apply and then work yourself back through the patch dependencies, or you use PCA (http://www.par.univie.ac.at/solaris/pca/) which will do this job for you. Use e.g. "pca -l 144488" to get a list of all the patches which have to be installed first to get the system up to the wanted kernel patch level.

  • Real Time Kernel patch

    Hi,
    Has anyone tried to add the realtime kernel patch to an existing arch installation?
    Can anyone provide home help ?
    I want to add the RT patch so i can use some Real Time Java implementations on arch

    As you can see, a bit of googling would have solved your problems. Now, please go read the wiki on custom kernels and the AUR before asking questions about how to use those.

  • Question about LVM

    i have a really quick question about LVM, been trying to search but can't really find the answer
    here's the scenario
    i have my new quad core phenom system running arch, with an LVM volume on a few 1TB drives. i was overclocking it the other night and running geekbench, pulled 8300 flat anyway, not too bad since i started at 4900 on the arch kernel, and then hit 6800 with a custom zen patched kernel. anyhow, before i get carried away, what i want to do, is slap a spare drive and install windows 7 for a wider suite of benchmarks. but i'm worried that the drives with the lvm volume may not go in the same order when i pull the windows drive out.
    so what i want to know, is does the order of the drives with the lvm volume matter, or does LVM not care about the order at all?

    i was pretty sure thats how it worked....but pretty sure just isn't enough sometimes. like when you're looking at 3TB's of data

  • Kernel patches

    Not too long ago I posted a request to the forums and flyspray for adding the fbcondecor patch to the arch kernel:
    http://bbs.archlinux.org/viewtopic.php?id=38966
    Quite a few other people wanted it as well. Needless to say it was turned down:
    Closed by  Thomas Bächler (brain0)
    Tuesday, 23 October 2007, 12:49 GMT-5
    Reason for closing:  Won't implement
    Additional comments about closing:  We don't randomly add features to our kernel, we like to stay as vanilla as possible.
    No problem. I saw the point. I moved on and patched my own kernel. However I got really pissed off when I saw the undervolting patch among other patches being added in the next kernel release, kernel26 2.6.23.1-7. It sure looks like features are randomly added to the arch kernel. Doesn't it?
    EDIT:
    To make this more of a constructive criticism than a rant let me ask the question:
    What is the process used by the devs for deciding what patch is added to the arch kernel?
    Last edited by raymano (2007-11-09 12:27:24)

    raymano wrote:However I got really pissed off when I saw the undervolting patch among other patches being added in the next kernel release, kernel26 2.6.23.1-7. It sure looks like features are randomly added to the arch kernel. Doesn't it?
    So because you didn't get the feature you wanted, and someone else did, that makes you mad?  I can assure you that patches aren't "randomly" added, and I'm sure if you take a step back you can agree that an undervolting patch has a greater overall benefit than a bootsplash patch.
    (-edit- Hm, upon re-reading it sounds like I'm supporting the undervolting patch. I suppose I should add that I have no use for either undervolting or bootsplash.  I could do without either, and I recognize that undervolting in and of itself can be dangerous and unstable, however the heat and battery savings shouldn't be overloooked either. 
    I don't intend to support anything over anything else - my point was that undervolting offers tangible benefits, while bootsplash is simply eye candy.  Regardless, I leave these decisions up to the kernel maintainers, as I lack the knowledge and experience to make informed decisions on such things. -/edit-)
    Now, that aside, as tomk pointed out we're currently having a discussion on what gets included and what doesn't as far as kernel patches go.  Hopefully a solid policy will emerge from this.  However, the attitude of "I didn't get what I wanted so now I'm mad!" won't get you very far.
    Last edited by Cerebral (2007-11-09 14:54:12)

  • A question about the impact of SQL*PLUS SERVEROUTPUT option on v$sql

    Hello everybody,
    SQL> SELECT * FROM v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE    11.2.0.1.0  Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    SQL>
    OS : Fedora Core 17 (X86_64) Kernel 3.6.6-1.fc17.x86_64I would like to ask a question about the SQL*Plus SET SERVEROUTPUT ON/OFF option and its impact on queries on views such as v$sql and v$session. Here is the problem
    Actually I define three variables in SQL*Plus in order to store sid, serial# and prev_sql_id columns from v$session in order to be able to use them later, several times in different other queries, while I'm still working in the current session.
    So, here is how I proceed
    SET SERVEROUTPUT ON;  -- I often activate this option as the first line of almost all of my SQL-PL/SQL script files
    SET SQLBLANKLINES ON;
    VARIABLE mysid NUMBER
    VARIABLE myserial# NUMBER;
    VARIABLE saved_sql_id VARCHAR2(13);
    -- So first I store sid and serial# for the current session
    BEGIN
        SELECT sid, serial# INTO :mysid, :myserial#
        FROM v$session
        WHERE audsid = SYS_CONTEXT('UserEnv', 'SessionId');
    END;
    PL/SQL procedure successfully completed.
    -- Just check to see the result
    SQL> SELECT :mysid, :myserial# FROM DUAL;
        :MYSID :MYSERIAL#
           129   1067
    SQL> Now, let's say that I want to run the following query as the last SQL statement run within my current session
    SELECT * FROM employees WHERE salary >= 2800 AND ROWNUM <= 10;According to Oracle® Database Reference 11g Release 2 (11.2) description for v$session
    http://docs.oracle.com/cd/E11882_01/server.112/e25513/dynviews_3016.htm#REFRN30223]
    the column prev_sql_id includes the sql_id of the last sql statement executed for the given sid and serial# which in the case of my example, it will be the above mentioned SELECT query on the employees table. As a result, right after the SELECT statement on the employees table I run the following
    BEGIN
        SELECT prev_sql_id INTO :saved_sql_id
        FROM v$session
        WHERE sid = :mysid AND serial# = :myserial#;
    END;
    PL/SQL procedure successfully completed.
    SQL> SELECT :saved_sql_id FROM DUAL;
    :SAVED_SQL_ID
    9babjv8yq8ru3
    SQL> Having the value of sql_id, I'm supposed to find all information about cursor(s) for my SELECT statement and also its sql_text value in v$sql. Yet here is what I get when I query v$sql upon the stored sql_id
    SELECT child_number, sql_id, sql_text
    FROM v$sql
    WHERE sql_id = :saved_sql_id;
    CHILD_NUMBER   SQL_ID          SQL_TEXT
    0              9babjv8yq8ru3    BEGIN DBMS_OUTPUT.GET_LINES(:LINES, :NUMLINES); END;Therefore instead of
    SELECT * FROM employees WHERE salary >= 2800 AND ROWNUM <= 10;for the value of sql_text I get the following value
    BEGIN DBMS_OUTPUT.GET_LINES(:LINES, :NUMLINES);Which is not of course what I was expecting to find in v$sql for the given sql_id.
    After a bit googling I found the following thread on the OTN forum where it had been suggested (well I think maybe not exactly for the same problem) to turn off SERVEROUTPUT.
    Problem with dbms_xplan.display_cursor
    This was precisely what I did
    SET SERVEROUTPUT OFFafter that I repeated the whole procedure and this time everything worked pretty well as expected. I checked SQL*Plus documentation for SERVEROUTPUT
    and also v$session page, yet I didn't find anything indicating that SERVEROUTPUT should be switched off whenever views such as v$sql, v$session
    are queired. I don't really understand the link in terms of impact that one can have on the other or better to say rather, why there is an impact
    Could anyone kindly make some clarification?
    thanks in advance,
    Regards,
    Dariyoosh

    >
    and also v$session page, yet I didn't find anything indicating that SERVEROUTPUT should be switched off whenever views such as v$sql, v$session
    are queired. I don't really understand the link in terms of impact that one can have on the other or better to say rather, why there is an impact
    Hi Dariyoosh,
    SET SERVEROUTPUT ON has the effect of executing dbms_output.get_lines after each and every statement. Not only related to system view.
    Here below what Tom Kyte is explaining in this page:
    Now, sqlplus sees this functionality and says "hey, would not it be nice for me to dump this buffer to screen for the user?". So, they added the SQLPlus command "set serveroutput on" which does two things
    1) it tells SQLPLUS you would like it <b>to execute dbms_output.get_lines after each and every statement</b>. You would like it to do this network rounding after each call. You would like this extra overhead to take place (think of an install script with hundreds/thousands of statements to be executed -- perhaps, just perhaps you don't want this extra call after every call)
    2) SQLPLUS automatically calls the dbms_output API "enable" to turn on the buffering that happens in the package.Regards.
    Al

  • A question about grub and USB

    Hi All
    I have a quick question about grub and USB that I can't quite find the answer to by searching.   Most of the FAQs discuss booting a full linux dristribution from USB. My situation is this.  I am getting a new computer with two drives, the second will be arch and the first will be Vista (for my wife).  I want the computer to boot the same way that my wife's machine boots at work so I don't want to install grub on the MBR.  So, is there a way to have all of the grub config files and kernels installed on the second drive and simply install to grub boot loader to the MBR of a USB stick?  My goal would be to simply plug the USB stick into the new PC and boot arch from the second drive. 
    Thanks
    Kev

    i cant say for hp's
    havent worked on any in a while
    recent machines have been coupleof dell's , vaio & emachine
    which dells do offer it at least the ones i tried , my laptop does(dell)
    all home pc's are built by me which do offer to boot individual drives
    what hp you getting it may tell in specs
    are both discs sata? if so it might not offer this option with 2 drives of same interface
    check your power supply alot of these preconfigured machines put cheap under reated power supplies in there
    & will burn your motherboard i just replaced PS(250 watt) & mobo(845gvsr) in an emachines <cheap stuff<
    i hope you researched the pc before buying ie : mobo, power supply are the biggest concerns
    i find it much more benificial to build my own machine gives me peace at mind. the cost is sometimes more in $ but not always , your biggest expense is time researching hardware
    if you live in usa the best places to start looking are bensbargains.net & pricewatch.com
    i am not affiliated with either & niether sell the hardware they are just advertisers a place to buy
    for costomized machines that i would trust is unitedmicro.com theyll asemble & test before shipping
    i have gotten 2 machines so far from them with NO PROBLEMS with hardware (knock knock)
    you may want to consider this in your next venture for pc

Maybe you are looking for

  • No audio for some files in the Final Cut Event/Original Media folder

    Hi, recently, I noticed that some of the video files stored into the Final Cut Event/"Event"/Original Media folder had no audio. They do have audio when I read them into FCP X but not when I open them as ordinary files in the Finder. It worries me as

  • I load cbc.ca and it loads ok then a grey screen covers the page and freezes everything - doesn't happen on other browsers

    I load cbc.ca - I assume other sites but haven't test - and it loads ok - then a grey screen covers everything and freezes the content- Other tabs work fine for other pages just not cbc.ca - what's wrong. This happens on all my copies of ffox. So not

  • Ftp location commands not working on programs

    Hi, I dont know how to explain this so I better post a screenshot. Im trying to open a remote file with bluefish to edit it in place and save changes after. I have tried to open with several programs with no luck, so its not bluefish specific, I have

  • Mid point of Paygrade - Infoset

    Hi, We have a custom infoset (LDB PNPCE) in an Ad hoc query. IT 0008 is also a part of this infoset. When I run this query by seleting the max, mid & min point pay grade under IT 0008, it does NOT give any output for hourly employees but gives output

  • FI/CO Overview Material

    Hi I have been tasked with doing an FI/CO overview, would anybody be able to point me in the right direction for some good material/documentation on this ? Sara Respect Forum rules