Oracle crash - help!

Hi,
Xserve, OSX 10.3.6, Oracle 10g
oracle.crash.log says (what could be happening?):
Date/Time: 2006-06-21 16:17:36 +0200
OS Version: 10.3.6 (Build 7R28)
Report Version: 2
Command: oracle
Path: /Volumes/x_OSX/app/oracle/product/10.1.0/db_1/bin/oracle
Version: ??? (???)
PID: 3850
Thread: 0
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000020
Thread 0 Crashed:
0 oracleorax      0x028153ec slrac + 0xec (crt.c:300)
1 oracleorax      0x000dc704 ksedst + 0x3f8 (crt.c:300)
2 oracleorax      0x000dafc4 ksedmp + 0x2fc (crt.c:300)
3 oracleorax      0x0046defc ksfdmp + 0x1c (crt.c:300)
4 oracleorax      0x026f87f8 kgeriv + 0xe0 (crt.c:300)
5 oracleorax      0x000d98f0 ksesic2 + 0x78 (crt.c:300)
6 oracleorax      0x0142f794 kturdb + 0x894 (crt.c:300)
7 oracleorax      0x00646e7c kcoapl + 0xbb8 (crt.c:300)
8 oracleorax      0x001cb1bc kcbapl + 0xa0 (crt.c:300)
9 oracleorax      0x0025ebac kcrfw_redo_gen + 0x258c (crt.c:300)
10 oracleorax      0x001c9740 kcbchg1 + 0x2018 (crt.c:300)
11 oracleorax      0x006beb58 ktuchg + 0x14fc (crt.c:300)
12 oracleorax      0x0068776c ktbchg2 + 0xec (crt.c:300)
13 oracleorax      0x01d22170 kddchg + 0x6f0 (crt.c:300)
14 oracleorax      0x01d46b04 kduovw + 0x2a70 (crt.c:300)
15 oracleorax      0x01d3f84c kduurp + 0x7b4 (crt.c:300)
16 oracleorax      0x01d3b200 kdusru + 0xf80 (crt.c:300)
17 oracleorax      0x01698af4 kauupd + 0x21c (crt.c:300)
18 oracleorax      0x00ef8a80 updrow + 0xe44 (crt.c:300)
19 oracleorax      0x02209f58 qerupRowProcedure + 0x68 (crt.c:300)
20 oracleorax      0x02209464 qerupFetch + 0x4b0 (crt.c:300)
21 oracleorax      0x00efc728 updaul + 0xfec (crt.c:300)
22 oracleorax      0x00efe0c0 updThreePhaseExe + 0x10c (crt.c:300)
23 oracleorax      0x00efd714 updexe + 0x44c (crt.c:300)
24 oracleorax      0x01034e78 opiexe + 0x2404 (crt.c:300)
25 oracleorax      0x0014639c opiodr + 0x91c (crt.c:300)
26 oracleorax      0x0014e488 rpidrus + 0xe4 (crt.c:300)
27 oracleorax      0x027a221c skgmstack + 0x140 (crt.c:300)
28 oracleorax      0x0014b660 rpidru + 0x94 (crt.c:300)
29 oracleorax      0x0014b080 rpiswu2 + 0x370 (crt.c:300)
30 oracleorax      0x0014c918 rpidrv + 0xbdc (crt.c:300)
31 oracleorax      0x0014ce34 rpiexe + 0x68 (crt.c:300)
32 oracleorax      0x00b875a4 kqdsnu + 0x4ac (crt.c:300)
33 oracleorax      0x00655c78 kqrcmt + 0x3a8 (crt.c:300)
34 oracleorax      0x00127c2c ktcrcm + 0x514 (crt.c:300)
35 oracleorax      0x00c4bd8c kdnwor + 0x434 (crt.c:300)
36 oracleorax      0x00c4aef8 kdnAllocN + 0x260 (crt.c:300)
37 oracleorax      0x00c4e7d4 kdnnxt + 0xa0 (crt.c:300)
38 oracleorax      0x005bbf88 kkdlses + 0x114 (crt.c:300)
39 oracleorax      0x01725e60 kpolna + 0x5f8 (crt.c:300)
40 oracleorax      0x01721dc0 kpogsk + 0xb8 (crt.c:300)
41 oracleorax      0x0014639c opiodr + 0x91c (crt.c:300)
42 oracleorax      0x028bb2c0 ttcpip + 0x12bc (crt.c:300)
43 oracleorax      0x001490f8 opitsk + 0xad8 (crt.c:300)
44 oracleorax      0x007a69ac opiino + 0x67c (crt.c:300)
45 oracleorax      0x0014639c opiodr + 0x91c (crt.c:300)
46 oracleorax      0x00006360 opidrv + 0x404 (crt.c:300)
47 oracleorax      0x00007d18 sou2o + 0x90 (crt.c:300)
48 oracleorax      0x00002290 main + 0xe4 (crt.c:300)
49 oracleorax      0x00001c9c _start + 0x188 (crt.c:267)
50 dyld      0x8fe1a558 dyldstart + 0x64

"the uptime is not bad..." Does this mean I have been
lucky not experiencing a crash earlier?No, not at all. It just means that I see many databases that are stopped for every backup or for some reason daily or weekly. Some are kept open 7*24. I had one on a xserve that started december 2004 and stopped for the 10.3.9 upgrade in januari of this year... Not bad at all..
Do you think it is useful and/or necessary to take
this(exp-imp) action as a routine preventive measure
every couple of months or so?
No, use the db_block checking options to check for corruptions while running and take regular backups. Doing so you can resolve block corruption.
I have two other customers running on WinNT (Oracle
7) for more than 8 years without even touching the
database, besides upgrading to v 8 and Win2000 about
2 years ago. Is the OSX platform not 100% reliable
for production environment with Oracle 10g?The only problem I have had sofar was due to an unprotected powerfailure. The corruption that this caused will be on any platform. Problems I have with oracle on the mac is the current situation in which the future support is not very clear.
Ronald.

Similar Messages

  • Help, ORA-07445 error causes oracle crash!!

    hi guys
    I met a big trouble, My oracle server always crashed since last week, Orace version is 10.2.0.1.0
    When it crashed, the alert log recorded as blew:
    {color:#ff0000}Fri Dec 05 15:38:25 2008
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    starting up 1 shared server(s) ...
    Fri Dec 05 15:38:25 2008
    Errors in file c:\oracle\product\10.2.0\admin\ppm\udump\ppm_ora_2884.trc:
    ORA-07445: exception encountered: core dump [ACCESS_VIOLATION|http://forums.oracle.com/forums/] [unable_to_trans_pc|http://forums.oracle.com/forums/] [PC:0x7D621F95|http://forums.oracle.com/forums/] [ADDR:0x55909090|http://forums.oracle.com/forums/] [UNABLE_TO_READ] [|http://forums.oracle.com/forums/]{color}
    {color:#ff0000}Fri Dec 05 15:38:26 2008
    Errors in file c:\oracle\product\10.2.0\admin\ppm\udump\ppm_ora_2884.trc:
    ORA-07445: exception encountered: core dump [ACCESS_VIOLATION|http://forums.oracle.com/forums/] [unable_to_trans_pc|http://forums.oracle.com/forums/] [PC:0x7D621F95|http://forums.oracle.com/forums/] [ADDR:0x55909090|http://forums.oracle.com/forums/] [UNABLE_TO_READ] [|http://forums.oracle.com/forums/]
    ORA-07445: exception encountered: core dump [ACCESS_VIOLATION|http://forums.oracle.com/forums/] [unable_to_trans_pc|http://forums.oracle.com/forums/] [PC:0x7D621F95|http://forums.oracle.com/forums/] [ADDR:0x55909090|http://forums.oracle.com/forums/] [UNABLE_TO_READ] [|http://forums.oracle.com/forums/]{color}
    {color:#ff0000}Fri Dec 05 15:38:27 2008
    Errors in file c:\oracle\product\10.2.0\admin\ppm\udump\ppm_ora_2884.trc:
    ORA-07445: exception encountered: core dump [ACCESS_VIOLATION|http://forums.oracle.com/forums/] [unable_to_trans_pc|http://forums.oracle.com/forums/] [PC:0x7D621F95|http://forums.oracle.com/forums/] [ADDR:0x55909090|http://forums.oracle.com/forums/] [UNABLE_TO_READ] [|http://forums.oracle.com/forums/]
    ORA-07445: exception encountered: core dump [ACCESS_VIOLATION|http://forums.oracle.com/forums/] [unable_to_trans_pc|http://forums.oracle.com/forums/] [PC:0x7D621F95|http://forums.oracle.com/forums/] [ADDR:0x55909090|http://forums.oracle.com/forums/] [UNABLE_TO_READ] [|http://forums.oracle.com/forums/]
    ORA-07445: exception encountered: core dump [ACCESS_VIOLATION|http://forums.oracle.com/forums/] [unable_to_trans_pc|http://forums.oracle.com/forums/] [PC:0x7D621F95|http://forums.oracle.com/forums/] [ADDR:0x55909090|http://forums.oracle.com/forums/] [UNABLE_TO_READ] [|http://forums.oracle.com/forums/]
    ....................(repeat the message)
    {color}{color:#000000}Then I check the trc file, as blew:
    {color}{color:#ff00ff}{color:#ff00ff}Dumping last 2 granules of Transferred Memory
    Done Dumping transfer, resize ops and granules.
    Dump event group for SESSION
    Unable to dump event group - no PROCESS state objectDump event group for SYSTEM
    *** 2008-12-05 15:38:53.725
    ksedmp: internal or fatal error
    ORA-07445: exception encountered: core dump {color}[{color:#ff00ff}] [{color}|http://forums.oracle.com/forums/]{color:#ff00ff} {color}[{color:#ff00ff}] [{color}|http://forums.oracle.com/forums/]{color:#ff00ff} {color}[{color:#ff00ff}] [{color}|http://forums.oracle.com/forums/]
    {color:#ff00ff}ORA-07445: exception encountered: core dump {color}[{color:#ff00ff}] [{color}|http://forums.oracle.com/forums/]{color:#ff00ff} {color}[{color:#ff00ff}] [{color}|http://forums.oracle.com/forums/]{color:#ff00ff} {color}[{color:#ff00ff}] [{color}|http://forums.oracle.com/forums/]
    {color:#ff00ff}ORA-07445: exception encountered: core dump {color}[{color:#ff00ff}] [{color}|http://forums.oracle.com/forums/]{color:#ff00ff} {color}[{color:#ff00ff}] [{color}|http://forums.oracle.com/forums/]{color:#ff00ff} {color}[{color:#ff00ff}] [{color}|http://forums.oracle.com/forums/]
    {color:#ff00ff}ORA-07445: exception encountered: core dump {color}[{color:#ff00ff}] [{color}|http://forums.oracle.com/forums/]{color:#ff00ff} {color}[{color:#ff00ff}] [{color}|http://forums.oracle.com/forums/]{color:#ff00ff} {color}[{color:#ff00ff}] [{color}|http://forums.oracle.com/forums/]
    {color:#ff00ff}ORA-07445: exception encountered: core dump {color}[{color:#ff00ff}] [{color}|http://forums.oracle.com/forums/]{color:#ff00ff} {color}[{color:#ff00ff}] [{color}|http://forums.oracle.com/forums/]{color:#ff00ff} {color}[{color:#ff00ff}] [{color}|http://forums.oracle.com/forums/]
    {color:#ff00ff}ORA-07445: exception encountered: core dump {color}[{color:#ff00ff}] [{color}|http://forums.oracle.com/forums/]{color:#ff00ff} {color}[{color:#ff00ff}] [{color}|http://forums.oracle.com/forums/]{color:#ff00ff} {color}[{color:#ff00ff}] [{color}|http://forums.oracle.com/forums/]
    {color:#ff00ff}ORA-07445: exception encountered: core dump {color}[{color:#ff00ff}] [{color}|http://forums.oracle.com/forums/]{color:#ff00ff} {color}[{color:#ff00ff}] [{color}|http://forums.oracle.com/forums/]{color:#ff00ff} {color}[{color:#ff00ff}] [{color}|http://forums.oracle.com/forums/]
    {color:#ff00ff}ORA-07445: exception encountered: core dump {color}[{color:#ff00ff}] [{color}|http://forums.oracle.com/forums/]{color:#ff00ff} {color}[{color:#ff00ff}] [{color}|http://forums.oracle.com/forums/]{color:#ff00ff} {color}[{color:#ff00ff}] [{color}|http://forums.oracle.com/forums/]
    {color:#ff00ff}ORA-07445: exception encountered: core dump {color}[{color:#ff00ff}] [{color}|http://forums.oracle.com/forums/]{color:#ff00ff} {color}[{color:#ff00ff}] [{color}|http://forums.oracle.com/forums/]{color:#ff00ff} {color}[{color:#ff00ff}] [{color}|http://forums.oracle.com/forums/]
    {color:#ff00ff}ORA-07445: exception encountered: core dump {color}[{color:#ff00ff}] [{color}|http://forums.oracle.com/forums/]{color:#ff00ff} {color}[{color:#ff00ff}] [{color}|http://forums.oracle.com/forums/]{color:#ff00ff} {color}[{color:#ff00ff}] [{color}|http://forums.oracle.com/forums/]
    {color:#ff00ff}ORA-07445: exception encountered: core dump {color}[{color:#ff00ff}] [{color}|http://forums.oracle.com/forums/]{color:#ff00ff} {color}[{color:#ff00ff}] [{color}|http://forums.oracle.com/forums/]{color:#ff00ff} {color}[{color:#ff00ff}] [{color}|http://forums.oracle.com/forums/]
    {color:#ff00ff}ORA-07445: exception encountered: core dump {color}[{color:#ff00ff}] [{color}|http://forums.oracle.com/forums/]{color:#ff00ff} {color}[{color:#ff00ff}] [{color}|http://forums.oracle.com/forums/]{color:#ff00ff} {color}[{color:#ff00ff}] [{color}|http://forums.oracle.com/forums/]
    {color:#ff00ff}ORA-07445: exception encountered: core dump {color}[{color:#ff00ff}ACCESS_VIOLATION{color}|http://forums.oracle.com/forums/]{color:#ff00ff} {color}[{color:#ff00ff}unable_to_trans_pc{color}|http://forums.oracle.com/forums/]{color:#ff00ff} {color}[{color:#ff00ff}PC:0x7D621F95{color}|http://forums.oracle.com/forums/]{color:#ff00ff} {color}[{color:#ff00ff}ADDR:0x55909090{color}|http://forums.oracle.com/forums/]{color:#ff00ff} {color}[{color:#ff00ff}UNABLE_TO_READ] [{color}|http://forums.oracle.com/forums/]
    {color:#ff00ff}ORA-07445: exception encountered: core dump {color}[{color:#ff00ff}ACCESS_VIOLATION{color}|http://forums.oracle.com/forums/]{color:#ff00ff} {color}[{color:#ff00ff}unable_to_trans_pc{color}|http://forums.oracle.com/forums/]{color:#ff00ff} {color}[{color:#ff00ff}PC:0x7D621F95{color}|http://forums.oracle.com/forums/]{color:#ff00ff} {color}[{color:#ff00ff}ADDR:0x55909090{color}|http://forums.oracle.com/forums/]{color:#ff00ff} {color}[{color:#ff00ff}UNABLE_TO_READ] [{color}|http://forums.oracle.com/forums/]
    {color:#ff00ff}OR
    Current SQL information unavailable - no session.
    {color}This problem occurs no rule, When the oracle crashed,I need to restart the computer, then restart the oracle service. I am very depressed...
    Are there any suggestion about the error? anything is appreciated !
    Thanks a lot
    Edited by: user10690772 on Dec 7, 2008 11:02 PM
    Edited by: user10690772 on Dec 7, 2008 11:03 PM

    You didn't mention your OS but check this note:
    [Note:405904.1-Listener Crash on Windows 2003 and/or ORA-07445: Exception encountered: CORE Dump ACCESS_VIOLATION unable_to_trans_pc|https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=405904.1]
    If it looks like your issue, try Solution 2 as a workaround and see if something changed.
    Aviad

  • Oracle crashes when trying to pull reports into Excel

    We are using Oracle 806 with Designer 2000 to pull reports into excel (office 2003).
    Here is the issue, when we try to pull the report into Excel the report pulls and it puts it in the tmapps/files folder, but excel does not open and oracle crashes.
    We also tested it with office 07 with the same results.
    What could be causing this?
    Let me know if there is any other information I can provide to help you help me.
    thank you!

    If by "oracle crashes" you mean the DB, then there are trace/dump files that the DBA can find that will help to identify the cause of the crash. If you mean Designer, I have no experience there.
    Regardless, consider newer versions/alternatives to both since they are both very dated (10 years at least) by this point.

  • Oracle Report Help

    Hello,
    I am new to Oracle and sql. I am working on the Oracle
    Reports. Can anyone suggest me where will be the best place to
    get help on this. Any suggestions will be appriciated.
    Thanks
    Sam

    Hi Sam..
    I'm also quite new in field of Oracle Reports, I have already
    had experience in Oracle Database Server. I think you may refer
    to the Oracle Reports help coming with your s/w, that's good for
    first understanding. Then.. I just find out that this forum is
    also helpful with many nice and "willing to help" people.
    Well... wish you all the best and go ahead with your new job!!
    kr,
    daniel

  • Oracle support help

    Hi,
    I have just got the login details of Oracle Support.
    I have some Q's regarding client site and want to post on metalink to seek Oracle experts help
    How I can do that?
    Thanks

    Hi 787186 ;
    Yes, I read to use the button, but just couldn't found the create SR button
    I'm service requests tab
    can't find the buttonIf you have open SR permission(your admin can give that right to you) than Service Request tab next to Knowledge tab on metalink main page.
    Please contact wiht your Metalink admin and ask for you have permisson for can create SR or not?
    Regard
    Helios

  • Oracle 10g help file

    Hi,
    Can anyone send me oracle 10g help file. which file has information about the exceptions.
    Uttam SIngh

    Pavan Kumar wrote:
    Hi,
    Are you referring to PL/SQL Exceptions or Error Messages.
    With respect to PL/SQL Exceptions -
    Refer to : http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28370/errors.htm
    and
    http://download.oracle.com/docs/cd/B10500_01/appdev.920/a96590/adg10pck.htm
    - Pavan Kumar NPavan
    One book is of 11g, another of 9i, neither is of 10g whicj is of OP's version.2ndly, even PL exceptions are listed in the error book given already Orionnet.
    Aman....

  • Oracle DBA Help

    We have an Oracle 9i Database Standard Edition that is in production for about 3 years running on Windows 2003 Server Standard Edition. Our company does not have Oracle DBA. When we purchased Oracle license we didn’t sign up for Oracle Support.
    If something goes wrong with Oracle Database, if we could not figure out the solution on our own, is there any company that provides Oracle DBA help on a contract basis?
    What happens if we get internal errors in the database? Can we still contact Oracle Support?
    Please advice.

    #1. When you purchased Oracle Licenses, I guess Oracle would have provided (Support Identifier or CSI numbers), with that you should be able to create accounts/access with METALINK, which is one form of support Oracle provides. 99.99% of the day-to-day problems are resolved via metalink, oracle forms (like this) and other discussion threads.
    #2. But if you want Oracle personnel onsite, then it needs a different contract or support level, which is very expensive in my opinion. There used to be different support levels like platinum, gold, silver etc., I'm not sure of the classification now, better contact Oracle for additional info.
    I would highly recommend for #1, check the cost involved in #2 compare that with that of hiring a part-time/remote DBA, and see which one works better. If your database is not mission critical, configuring proper back and restore would help bring your database up, but with some downtime.
    Hope it helps,
    Babu Rangasamy

  • Why Oracle crashed when running?(ORA-04030)

    There are some application connected to Oracle, but Oracle crashed down one day. Trc file belows:
    Dump file d:\oracle\product\10.2.0\admin\testdb\bdump\testdb_ckpt_3640.trc
    Thu Oct 13 14:13:34 2011
    ORACLE V10.2.0.1.0 - Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Windows Server 2003 Version V5.2 Service Pack 2
    CPU : 2 - type 586, 2 Physical Cores
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:1312M/4021M, Ph+PgF:3170M/5898M, VA:29M/2047M
    Instance name: testdb
    Redo thread mounted by this instance: 1
    Oracle process number: 7
    Windows thread id: 3640, image: ORACLE.EXE (CKPT)
    *** 2011-10-13 14:13:34.890
    *** SERVICE NAME:(SYS$BACKGROUND) 2011-10-13 14:13:34.875
    *** SESSION ID:(550.1) 2011-10-13 14:13:34.875
    error 4030 detected in background process
    ORA-04030: 在尝试分配 8716 字节 (pga heap,Get krha asynch mem) 时进程内存不足
    *** 2011-10-13 14:13:39.921 ssthreadkillsafe: skipping kill of tid=12372 (time out= 5000 ms) because thread has state SHUTTING_DOWN
    *** 2011-10-13 14:14:15.765 ssthreadkillsafe: skipping kill of tid=13784 (time out= 5000 ms) because thread has state SHUTTING_DOWN
    Edited by: 892359 on 2011-10-19 下午5:48

    This is when OS could not allocate memory to oracle process. Looks like you are on 32-bit windows server. Check for AWE and PAE settings.
    Regards
    Virendra

  • Adobe flash webcam crash help,

    adobe flash webcam crash help,
         Hello,
              I have followed all the steps on the site,,  My webcam works on other programs, ie: yahoo, aol, skype.    The crash issue I'm having is, When I turn on my webcam through Firfox - adobe,  The webcam goes on, sometimes for only a second, sometimes for a min, so I know it works, but then every time, all the time it crashes,     Every time, on different sites,    Again I followed all the steps, including, uninstalling, and using 10.,   and then  11.2   and back to where i started with 11.3.
    Please help, and thank you for your time.
    Best wishes,
         Grant
    Problem signature:
      Problem Event Name:    APPCRASH
      Application Name:    FlashPlayerPlugin_11_3_300_262.exe
      Application Version:    11.3.300.262
      Application Timestamp:    4fe20fae
      Fault Module Name:    YCWebCameraSource.ax
      Fault Module Version:    2.0.8342.3407
      Fault Module Timestamp:    4acc3fd6
      Exception Code:    c0000005
      Exception Offset:    00004fca
      OS Version:    6.1.7601.2.1.0.256.48
      Locale ID:    1033
      Additional Information 1:    a7aa
      Additional Information 2:    a7aa91f17ea749d42a4de3b390fa5b3d
      Additional Information 3:    a7aa
      Additional Information 4:    a7aa91f17ea749d42a4de3b390fa5b3d
    Read our privacy statement online:
      http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
    If the online privacy statement is not available, please read our privacy statement offline:
      C:\Windows\system32\en-US\erofflps.txt

    This looks like an Adobe Flash issue, not a Firefox issue. Have you tried asking in the Adobe forums? I did a quick search and found this: http://forums.adobe.com/thread/769338

  • Crashing during Export - I tried to export my sequence both in Premier and AME and it keeps crashing - Help Pls.

    Crashing during Exporting - I tried to export my sequence containing several clips both in Premier and AME and it keeps crashing - Help Pls.

    Thanks for your reply John.
    My Premiere Pro is CS5.5 on Windows OS with all the recent updates installed.
    My source footage is H.264 in a .mov/QuickTime format.
    There were no error message(s) before the crashing. The computer just crashes after a few minutes of exporting. My output codec is also H.264 in a QuickTime movie format.
    No other software is running at the time. Also, no third party codecs have been installed.
    I'm not sure what type of engine I use. Kindly direct me to where I can find this information.
    The problem has only happened with my final output.
    Thanks Again.
    Gloria

  • Oracle Text Help

    Hello Gurus,
    I am new to Oracle Text so i need your valuable inputs in resolving an issue i am facing.
    Here is the table definition and sample data:
    create table test ( a varchar2(100));
    insert into test values('Hello How are you');
    insert into test values('Just to say you Hello');
    insert into test values('I know you');
    insert into test values('you know');
    insert into test values('you may not know me');
    insert into test values('do i know you');
    SQL> SELECT * FROM test;
    A
    Hello How are you
    Just to say you Hello
    I know you
    you know
    you may not know me
    do i know you
    6 rows selected.
    If user enters search criteria ('you know', for example); i need to return all the records having 'you' AND 'know' anywhere. Hence for search criteria 'you know', i should get following records:
    I know you
    you know
    you may not know me
    do i know you
    Similarly, i need to return below records for criteria 'hello you':
    Hello How are you
    Just to say you Hello
    Can Oracle Text help me here?
    Thanks in advance for your help.
    regards,

    SQL>  create table test ( a varchar2(100))
    Table created.
    SQL>  insert into test values('Hello How are you')
    1 row created.
    SQL>  insert into test values('Just to say you Hello')
    1 row created.
    SQL>  insert into test values('I know you')
    1 row created.
    SQL>  insert into test values('you know')
    1 row created.
    SQL>  insert into test values('you may not know me')
    1 row created.
    SQL>  insert into test values('do i know you')
    1 row created.
    SQL>  create index test_idx on test (a) indextype is ctxsys.context
    Index created.
    SQL>  var str varchar2(100)
    SQL>  exec :str := 'you know'
    PL/SQL procedure successfully completed.
    SQL>  select * from test where contains(a,:str) > 0
    A                                                                              
    I know you                                                                     
    you know                                                                       
    you may not know me                                                            
    do i know you                                                                  
    4 rows selected.
    SQL>  exec :str := 'hello you'
    PL/SQL procedure successfully completed.
    SQL>  select * from test where contains(a,:str) > 0
    A                                                                              
    Hello How are you                                                              
    Just to say you Hello                                                          
    2 rows selected.

  • Oracle crash

    Oracle 8.1.6 on Linux 2.2.15
    crash often, leaving the following message in trace:
    PMON: terminating instance due to error 601
    Any ideas?
    Thanks in advance,
    Andriy Korud, Ukraine

    I'm very sad that 8.1.6.1 has the same >problem that 8.1.5. Nevertheless, we've >made some testing and discoveries on >the "Instance dying due to 601 error".
    1-Seems clear that the problem is related >to the use of MTS, not only EJB. If you put >the instance in TWO_TASK mode (sadly >without EJB or Java support), stability >problems dissapear.I am not using EJB, only Java Stored Procedures. And the Oracle 8.1.6.1 crash every 12 hours.
    3-You need to specify not only one >dispatcher, but also a fixed number of >server processes. For example, put at the >init.ora file:
    mts_max_dispatchers = 1
    mts_servers = 3
    mts_max_servers = 3Done.
    4-Increase SGA size (shared_pool_size, >large_pool_size and java_pool_size)I specified in initSID.ora:
    shared_pool_size = 100M
    large_pool_size = 70M
    java_pool_size = 30971520
    And during instance startup I got:
    SGA 220184560
    Fixed 69616
    Variable 203165696
    Buffers 16777216
    Redo 172032
    Is this OK (sizes and ratios between sizes)?I cannot find out how runtime values are calculated from those in file.
    5-Make sure that shared memory is allocated >in one segment (Mr. Salvo's page indicates >how to do that).Done. Checked using 'ipcs'. Oracle has one 221024256 bytes segment .
    Finally, could you please make a test and >inform me of the results.Sorry, I cannot do this just now because I have a production database and urgently need to make it rock stable. Myabe later when I have another database for playing.
    But I'll let you know if you suggestions help.
    My email is [email protected], you may send me mails directly.
    With best regards,
    Andriy Korud
    Thanks in advance
    null

  • Oracle crashes immediately about the start

    Hi,
    we stopped our database and tried to start it. For some odd reason it keeps crashing with following errors:
    Recovery of Online Redo Log: Thread 1 Group 4 Seq 32013 Reading mem 0
    Mem# 0 errs 0: /var/opt/oracle/oradata/DB_SID/redo4.log
    Block recovery completed at rba 32013.208.16, scn 1.144749304
    Mon Feb 23 12:15:14 2009
    SMON: slave died unexpectedly, downgrading to serial recovery
    Mon Feb 23 12:15:14 2009
    Errors in file /var/opt/oracle/admin/DB_SID/bdump/DB_SID_smon_1344.trc:
    ORA-07445: exception encountered: core dump [kdr9ir2rst0()+443] [SIGSEGV] [Addre
    ss not mapped to object] [0x7FBDDFFFF8] [] []
    Mon Feb 23 12:15:17 2009
    Errors in file /var/opt/oracle/admin/DB_SID/bdump/DB_SID_pmon_1332.trc:
    ORA-00474: SMON process terminated with error
    Mon Feb 23 12:15:17 2009
    PMON: terminating instance due to error 474
    Instance terminated by PMON, pid = 1332
    Last time when it happened I managed to start the database succesfully by turning off parallel recover, but now it doesn't help. Any idea how to workaround that? This is oracle 10.2.0.1 on Red Hat EL4. I know that on metalink there are several bugs covering that and suggestions that the bug is fixed in newer versions, but I would like to get the database to runnable state, because the client doesn't have valid backups.
    Regards,
    Jarek

    HI,
    You most probably have to contact Oracle Support for this since this seems to be related to Xsaction recovery.
    Anyway, try the following before requesting oracle support...
    1. Start your instance
    2. Check the bdump for any trace files
    3. Check your UNDO tablespace
    4. Reboot your machine if possible.
    try these steps and if failed..contact oracle support

  • "Panic" Crash, help please...

    I'm getting a panic crash/restart every day or so lately. Here's the report from the most recent one:
    Any help in resolving this would be greatly appreciated!!
    Interval Since Last Panic Report:  1982921 sec
    Panics Since Last Report:          3
    Anonymous UUID:                    0E5FCEE2-4388-7BC0-5A86-6A0A2DA22B5C
    Wed Feb 27 15:31:23 2013
    panic(cpu 2 caller 0xffffff8021843d8e): "a freed zone element has been modified in zone: kalloc.16"@/SourceCache/xnu/xnu-2050.18.24/osfmk/kern/zalloc.c:219
    Backtrace (CPU 2), Frame : Return Address
    0xffffff8111af3b10 : 0xffffff802181d626
    0xffffff8111af3b80 : 0xffffff8021843d8e
    0xffffff8111af3bc0 : 0xffffff80218435d2
    0xffffff8111af3ca0 : 0xffffff80218245ed
    0xffffff8111af3cd0 : 0xffffff8021c038b1
    0xffffff8111af3cf0 : 0xffffff8021c039f2
    0xffffff8111af3d20 : 0xffffff8021c01eb3
    0xffffff8111af3d70 : 0xffffff8021c03ca3
    0xffffff8111af3da0 : 0xffffff8021bf20a1
    0xffffff8111af3de0 : 0xffffff8021c27c23
    0xffffff8111af3e00 : 0xffffff8021c321e1
    0xffffff8111af3e10 : 0xffffff8021c63b28
    0xffffff8111af3e50 : 0xffffff8021893f72
    0xffffff8111af3e80 : 0xffffff8021820aed
    0xffffff8111af3eb0 : 0xffffff8021810448
    0xffffff8111af3f00 : 0xffffff802181961b
    0xffffff8111af3f70 : 0xffffff80218a5b16
    0xffffff8111af3fb0 : 0xffffff80218ced53
    BSD process name corresponding to current thread: SystemUIServer
    Mac OS version:
    12C60
    Kernel version:
    Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64
    Kernel UUID: 69A5853F-375A-3EF4-9247-478FD0247333
    Kernel slide:     0x0000000021600000
    Kernel text base: 0xffffff8021800000
    System model name: MacBookPro8,2 (Mac-94245A3940C91C80)
    System uptime in nanoseconds: 190782484104117
    last loaded kext at 190599884007237: com.sophos.kext.sav          8.0.4 (addr 0xffffff7fa3ce0000, size 24576)
    last unloaded kext at 190597681818159: com.sophos.kext.sav          8.0.4 (addr 0xffffff7fa3c64000, size 20480)
    loaded kexts:
    com.sophos.kext.sav          8.0.4
    com.Logitech.Unifying.HID Driver          1.2.0
    jp.plentycom.driver.SteerMouse          4.1.5
    com.Logitech.Control Center.HID Driver          3.6.0
    com.apple.driver.Oxford_Semi          3.1.0
    com.apple.filesystems.afpfs          10.0
    com.apple.nke.asp_tcp          7.0.0
    com.apple.driver.AppleHWSensor          1.9.5d0
    com.apple.driver.AudioAUUC          1.60
    com.apple.driver.AGPM          100.12.69
    com.apple.driver.AppleMikeyHIDDriver          122
    com.apple.iokit.IOUserEthernet          1.0.0d1
    com.apple.driver.AppleUSBDisplays          353
    com.apple.kext.AMDFramebuffer          8.0.0
    com.apple.driver.AppleHDA          2.3.1f2
    com.apple.driver.AppleMikeyDriver          2.3.1f2
    com.apple.iokit.IOBluetoothSerialManager          4.0.9f33
    com.apple.driver.AppleUpstreamUserClient          3.5.10
    com.apple.filesystems.autofs          3.0
    com.apple.iokit.BroadcomBluetoothHCIControllerUSBTransport          4.0.9f33
    com.apple.AMDRadeonAccelerator          1.0.0
    com.apple.Dont_Steal_Mac_OS_X          7.0.0
    com.apple.driver.AppleSMCLMU          2.0.2d0
    com.apple.driver.AppleSMCPDRC          1.0.0
    com.apple.driver.AppleLPC          1.6.0
    com.apple.driver.ApplePolicyControl          3.2.11
    com.apple.driver.AppleMuxControl          3.2.11
    com.apple.driver.ACPI_SMC_PlatformPlugin          1.0.0
    com.apple.driver.AppleIntelHD3000Graphics          8.0.0
    com.apple.driver.AppleIntelSNBGraphicsFB          8.0.0
    com.apple.driver.SMCMotionSensor          3.0.2d6
    com.apple.driver.AppleMCCSControl          1.0.33
    com.apple.driver.AppleUSBTCButtons          235.4
    com.apple.driver.AppleUSBTCKeyboard          235.4
    com.apple.driver.AppleIRController          320.15
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless          1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib          1.0.0d1
    com.apple.BootCache          34
    com.apple.iokit.SCSITaskUserClient          3.5.1
    com.apple.driver.XsanFilter          404
    com.apple.iokit.IOAHCIBlockStorage          2.2.2
    com.apple.driver.AppleUSBHub          5.2.5
    com.apple.driver.AirPort.Brcm4331          602.15.22
    com.apple.driver.AppleSDXC          1.2.2
    com.apple.iokit.AppleBCM5701Ethernet          3.2.5b3
    com.apple.driver.AppleFWOHCI          4.9.6
    com.apple.driver.AppleAHCIPort          2.4.1
    com.apple.driver.AppleUSBEHCI          5.4.0
    com.apple.driver.AppleEFINVRAM          1.6.1
    com.apple.driver.AppleSmartBatteryManager          161.0.0
    com.apple.driver.AppleACPIButtons          1.6
    com.apple.driver.AppleRTC          1.5
    com.apple.driver.AppleHPET          1.7
    com.apple.driver.AppleSMBIOS          1.9
    com.apple.driver.AppleACPIEC          1.6
    com.apple.driver.AppleAPIC          1.6
    com.apple.driver.AppleIntelCPUPowerManagementClient          196.0.0
    com.apple.nke.applicationfirewall          4.0.39
    com.apple.security.quarantine          2
    com.apple.driver.AppleIntelCPUPowerManagement          196.0.0
    com.apple.iokit.IOFireWireSerialBusProtocolTransport          2.1.1
    com.apple.iokit.IOFireWireSBP2          4.2.0
    com.apple.security.SecureRemotePassword          1.0
    com.apple.iokit.IOSurface          86.0.3
    com.apple.driver.DspFuncLib          2.3.1f2
    com.apple.iokit.IOAudioFamily          1.8.9fc10
    com.apple.kext.OSvKernDSPLib          1.6
    com.apple.iokit.IOSerialFamily          10.0.6
    com.apple.kext.triggers          1.0
    com.apple.iokit.AppleBluetoothHCIControllerUSBTransport          4.0.9f33
    com.apple.iokit.IOAcceleratorFamily          19.0.26
    com.apple.iokit.IOFireWireIP          2.2.5
    com.apple.driver.AppleSMBusPCI          1.0.10d0
    com.apple.kext.AMD6000Controller          8.0.0
    com.apple.kext.AMDSupport          8.0.0
    com.apple.driver.AppleGraphicsControl          3.2.11
    com.apple.driver.AppleHDAController          2.3.1f2
    com.apple.iokit.IOHDAFamily          2.3.1f2
    com.apple.driver.IOPlatformPluginLegacy          1.0.0
    com.apple.driver.IOPlatformPluginFamily          5.2.0d16
    com.apple.driver.AppleSMC          3.1.4d2
    com.apple.driver.AppleBacklightExpert          1.0.4
    com.apple.iokit.IONDRVSupport          2.3.5
    com.apple.driver.AppleSMBusController          1.0.10d0
    com.apple.iokit.IOGraphicsFamily          2.3.5
    com.apple.iokit.IOSCSIBlockCommandsDevice          3.5.1
    com.apple.iokit.IOUSBMassStorageClass          3.5.0
    com.apple.driver.AppleThunderboltDPInAdapter          1.8.5
    com.apple.driver.AppleThunderboltDPAdapterFamily          1.8.5
    com.apple.driver.AppleThunderboltPCIDownAdapter          1.2.5
    com.apple.driver.AppleUSBMultitouch          235.7
    com.apple.driver.IOBluetoothHIDDriver          4.0.9f33
    com.apple.iokit.IOBluetoothFamily          4.0.9f33
    com.apple.iokit.IOUSBHIDDriver          5.2.5
    com.apple.driver.AppleUSBMergeNub          5.2.5
    com.apple.driver.AppleUSBComposite          5.2.5
    com.apple.iokit.IOSCSIMultimediaCommandsDevice          3.5.1
    com.apple.iokit.IOBDStorageFamily          1.7
    com.apple.iokit.IODVDStorageFamily          1.7.1
    com.apple.iokit.IOCDStorageFamily          1.7.1
    com.apple.iokit.IOAHCISerialATAPI          2.5.0
    com.apple.iokit.IOSCSIArchitectureModelFamily          3.5.1
    com.apple.driver.AppleThunderboltNHI          1.6.0
    com.apple.iokit.IOThunderboltFamily          2.1.1
    com.apple.iokit.IOUSBUserClient          5.2.5
    com.apple.iokit.IO80211Family          500.15
    com.apple.iokit.IOEthernetAVBController          1.0.2b1
    com.apple.iokit.IONetworkingFamily          3.0
    com.apple.iokit.IOFireWireFamily          4.5.5
    com.apple.iokit.IOAHCIFamily          2.2.1
    com.apple.iokit.IOUSBFamily          5.4.0
    com.apple.driver.AppleEFIRuntime          1.6.1
    com.apple.iokit.IOHIDFamily          1.8.0
    com.apple.iokit.IOSMBusFamily          1.1
    com.apple.security.sandbox          220
    com.apple.kext.AppleMatch          1.0.0d1
    com.apple.security.TMSafetyNet          7
    com.apple.driver.DiskImages          344
    com.apple.iokit.IOStorageFamily          1.8
    com.apple.driver.AppleKeyStore          28.21
    com.apple.driver.AppleACPIPlatform          1.6
    com.apple.iokit.IOPCIFamily          2.7.2
    com.apple.iokit.IOACPIFamily          1.4
    com.apple.kec.corecrypto          1.0
    Model: MacBookPro8,2, BootROM MBP81.0047.B27, 4 processors, Intel Core i7, 2.4 GHz, 8 GB, SMC 1.69f4
    Graphics: Intel HD Graphics 3000, Intel HD Graphics 3000, Built-In, 512 MB
    Graphics: AMD Radeon HD 6770M, AMD Radeon HD 6770M, PCIe, 1024 MB
    Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1333 MHz, 0x859B, 0x435435313236344243313333392E4D313646
    Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1333 MHz, 0x859B, 0x435435313236344243313333392E4D313646
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xD6), Broadcom BCM43xx 1.0 (5.106.98.81.22)
    Bluetooth: Version 4.0.9f33 10885, 2 service, 18 devices, 1 incoming serial ports
    Network Service: Wi-Fi, AirPort, en1
    Serial ATA Device: APPLE HDD HTS727575A9E362, 750.16 GB
    Serial ATA Device: MATSHITADVD-R   UJ-8A8
    USB Device: hub_device, 0x0424  (SMSC), 0x2513, 0xfa100000 / 3
    USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0252, 0xfa120000 / 5
    USB Device: BRCM2070 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0xfa110000 / 4
    USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x821a, 0xfa113000 / 7
    USB Device: FaceTime HD Camera (Built-in), apple_vendor_id, 0x8509, 0xfa200000 / 2
    USB Device: hub_device, 0x0424  (SMSC), 0x2513, 0xfd100000 / 2
    USB Device: hub_device, apple_vendor_id, 0x1008, 0xfd120000 / 4
    USB Device: USB2.0 Hub, 0x05e3  (Genesys Logic, Inc.), 0x0608, 0xfd121000 / 5
    USB Device: HDD, 0x059b  (Iomega Corporation), 0x0375, 0xfd121200 / 7
    USB Device: USB2.0 Hub, 0x05e3  (Genesys Logic, Inc.), 0x0608, 0xfd121400 / 6
    USB Device: P'9231 Desktop Drive, 0x059f  (LaCie), 0x1059, 0xfd121440 / 10
    USB Device: P'9231 Desktop Drive, 0x059f  (LaCie), 0x1059, 0xfd121430 / 9
    USB Device: hub_device, apple_vendor_id, 0x9131, 0xfd121420 / 8
    USB Device: Gaming Mouse G400, 0x046d  (Logitech Inc.), 0xc245, 0xfd121421 / 13
    USB Device: USB Receiver, 0x046d  (Logitech Inc.), 0xc52b, 0xfd121423 / 12
    USB Device: Apple Cinema HD Display, apple_vendor_id, 0x9223, 0xfd121422 / 11
    USB Device: IR Receiver, apple_vendor_id, 0x8242, 0xfd110000 / 3
    FireWire Device: Extreme IV FireWire Reader/Writer, SanDisk, 800mbit_speed

    First, you need to realize that ASC is not an Apple tech support portal. It's a discussion site, to which anyone can contribute. As a result, you will sometimes get responses that are unhelpful. For example, if you ask a question related to kernel panics, you may get answers from people who like to give advice, but don't know what a kernel panic is or what can cause it. Keep that in mind.
    1. This comment applies to malicious software ("malware") that's installed unwittingly by the victim of a network attack. It does not apply to software, such as keystroke loggers, that may be installed deliberately by an intruder who has hands-on access to the victim's computer. That threat is in a different category, and there's no easy way to defend against it. If you have reason to suspect that you're the target of such an attack, you need expert help.
    2. All versions of OS X since 10.6.7 have been able to detect known Mac malware in downloaded files, and to block insecure web plugins. This feature is transparent to the user, but internally Apple calls it "XProtect." The malware recognition database is automatically checked for updates once a day; however, you shouldn't rely on it, because the attackers are always at least a day ahead of the defenders.
    The following caveats apply to XProtect:
    It can be bypassed by some third-party networking software, such as BitTorrent clients and Java applets (see below.)
    It only applies to software downloaded from the network. Software installed from a CD or other media is not checked.
    3. Starting with OS X 10.7.5, there has been another layer of built-in malware protection, designated "Gatekeeper" by Apple. By default, applications and Installer packages downloaded from the network will only run if they're digitally signed by a developer with a certificate issued by Apple. Software certified in this way hasn't actually been tested by Apple (unless it comes from the Mac App Store), but you can be reasonably sure that it hasn't been modified by anyone other than the developer. His identity is known to Apple, so he could be held legally responsible if he distributed malware. For most practical purposes, applications recognized by Gatekeeper as signed can be considered safe.
    Gatekeeper doesn't depend on a database of known malware. It has, however, the same limitations as XProtect, and in addition the following:
    It can easily be disabled or overridden by the user.
    A malware attacker could get control of a code-signing certificate under false pretenses, or could find some other way to evade Apple's controls.         
    4. Beyond XProtect and Gatekeeper, there’s no benefit, in most cases, from any other automated protection against malware. The first and best line of defense is always your own intelligence. All known malware circulating on the Internet that affects a fully-updated installation of OS X 10.6 or later takes the form of so-called "trojan horses," which can only have an effect if the victim is duped into running them. The threat therefore amounts to a battle of wits between you and the malware attacker. If you're smarter than he thinks you are, you'll win.
    That means, in practice, that you never use software that comes from an untrustworthy source. How do you know whether a source is trustworthy?
    Any website that prompts you to install a “codec,” “plug-in,” "player," "extractor," or “certificate” that comes from that same site, or an unknown one, is untrustworthy.
    A web operator who tells you that you have a “virus,” or that anything else is wrong with your computer, or that you have won a prize in a contest you never entered, is trying to commit a crime with you as the victim. (Some reputable websites did legitimately warn visitors who were infected with the "DNSChanger" malware. That exception to this rule no longer applies.)
    Pirated copies or "cracks" of commercial software, no matter where they come from, are unsafe.
    Software of any kind downloaded from a BitTorrent or from a Usenet binary newsgroup is unsafe.
    Software with a corporate brand, such as Adobe Flash Player, must be downloaded directly from the developer’s website. If it comes from any other source, it's unsafe.
    5. Java on the Web (not to be confused with JavaScript, to which it's not related, despite the similarity of the names) is a weak point in the security of any system. Java is, among other things, a platform for running complex applications in a web page, on the client. That was never a good idea, and Java's developers have had a lot of trouble implementing it without also creating a portal for malware to enter. Past Java exploits are the closest thing there has ever been to a Windows-style "virus" affecting OS X. Merely loading a page with malicious Java content could be harmful. Fortunately, Java on the Web is mostly extinct. Only a few outmoded sites still use it. Try to hasten the process of extinction by avoiding those sites, if you have a choice.
    Java is not included in OS X 10.7 and later. Discrete Java installers are distributed by Apple and by Oracle (the developer of Java.) Don't use either one unless you need it. Most people don't. If Java is installed, disable it — not JavaScript — in your browsers. In Safari, this is done by unchecking the box marked Enable Java in the Security tab of the preferences dialog.
    Regardless of version, experience has shown that Java on the Web can't be trusted. If you must use a Java applet for a specific task, enable Java only when needed for the task and disable it immediately when done. Close all other browser windows and tabs, and don't visit any other sites while Java is active. Never enable Java on a public web page that carries third-party advertising. Use it only on well-known, password-protected, secure websites without ads. In Safari 6 or later, you'll see a lock icon in the address bar with the abbreviation "https" when visiting a secure site.
    Follow these guidelines, and you’ll be practically as safe from malware as you can be.
    6. Never install any commercial "anti-virus" or "Internet security" products for the Mac, as they all do more harm than good, if they do any good at all. If you need to be able to detect Windows malware in your files, use the free software ClamXav — nothing else.
    Why shouldn't you use commercial "anti-virus" products?
    Their design is predicated on the nonexistent threat that malware may be injected at any time, anywhere in the file system. Malware is downloaded from the network; it doesn't materialize from nowhere.
    In order to meet that nonexistent threat, the software modifies or duplicates low-level functions of the operating system, which is a waste of resources and a common cause of instability, bugs, and poor performance.
    By modifying the operating system, the software itself may create weaknesses that could be exploited by malware attackers.
    7. ClamXav doesn't have these drawbacks. That doesn't mean it's entirely safe. It may report email messages that have "phishing" links in the body, or Windows malware in attachments, as infected files, and offer to delete or move them. Doing so will corrupt the Mail database. The messages should be deleted from within the Mail application.
    ClamXav is not needed, and should not be relied upon, for protection against OS X malware. It's useful only for detecting Windows malware. Windows malware can't harm you directly (unless, of course, you use Windows.) Just don't pass it on to anyone else.
    A Windows malware attachment in email is usually easy to recognize. The file name will often be targeted at people who aren't very bright; for example:
    ♥♥♥♥♥♥♥♥♥♥♥♥♥♥!!!!!!!H0TBABEZ4U!!!!!!!.AVI♥♥♥♥♥♥♥♥♥♥♥♥♥♥.exe
    ClamXav may be able to tell you which particular virus or trojan it is, but do you care? In practice, there's seldom a reason to use ClamXav unless a network administrator requires you to run an anti-virus application.
    8. The greatest harm done by anti-virus software, in my opinion, is in its effect on human behavior. It does little or nothing to protect people from emerging threats, but they get a false sense of security from it, and then they may behave in ways that expose them to higher risk. Nothing can lessen the need for safe computing practices.
    9. It seems to be a common belief that the built-in Application Firewall acts as a barrier to infection, or prevents malware from functioning. It does neither. It blocks inbound connections to certain network services you're running, such as file sharing. It's disabled by default and you should leave it that way if you're behind a router on a private home or office network. Activate it only when you're on an untrusted network, for instance a public Wi-Fi hotspot, where you don't want to provide services. Disable any services you don't use in the Sharing preference pane. All are disabled by default.

  • Oracle query help

    Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.8.0 - Production
    Report Builder 10.1.2.0.2
    ORACLE Server Release 10.1.0.4.2
    Oracle Procedure Builder 10.1.2.0.2
    Oracle ORACLE PL/SQL V10.1.0.4.2 - Production
    Oracle CORE    10.1.0.4.0    Production
    Oracle Tools Integration Services 10.1.2.0.2
    Oracle Tools Common Area 10.1.2.0.2
    Oracle Toolkit 2 for Windows 32-bit platforms 10.1.2.0.2
    Resource Object Store 10.1.2.0.2
    Oracle Help 10.1.2.0.2
    Oracle Sqlmgr 10.1.2.0.2
    Oracle Query Builder 10.1.2.0.2 - Production
    PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
    Oracle ZRC 10.1.2.0.2
    Oracle XML Developers Kit 10.1.0.4.2 - Production
    Oracle Virtual Graphics System 10.1.2.0.2
    Oracle Image 10.1.2.0.2
    Oracle Multimedia Widget 10.1.2.0.2
    Oracle Tools GUI Utilities 10.1.2.0.2
    I have enclosed sample data and also table structure. I need help in getting the query.
    select dept_id,proc_code,override_goal,goal_override_date
      from table2
    where goal_override_date between '02-jan-2014' and '11-jan-2014'
       and dept_id = 10
       and proc_code = 'CP'
    select DEPT_ID, PROC_CODE, DAY_SUNDAY, DAY_MONDAY,
           DAY_TUESDAY, DAY_WEDNESDAY, DAY_THURSDAY,
             DAY_FRIDAY, DAY_SATURDAY
      from table1
    where dept_id =10
    and proc_code = 'CP'; 
    Table1  is kind of maintenance table.
    In Table2 values can be overridden.
    Requirement
    Check to see if there is data in table 2 for the date range . If table2 has no value then take value from table1 for that day the date falls into. Any more clarification please ask me.
    Sundays are all zeros.
    I want this data. and the sum for the date range.
    2-jan-2014  - 3
    3-jan-2014  - 3
    4-jan-2014  - 3
    5-jan-2014  - 0
    6-jan-2014  - 1
    7-jan-2014  - 3
    8-jan-2014  - 5
    9-jan-2014  - 5
    10-jan-2014 - 3
    11-jan-2014 - 3
    Sum for the date range has to be 29
    Sample table and data
    CREATE TABLE TABLE1
      DEPT_ID NUMBER NOT NULL,
      PROC_CODE VARCHAR2(2 BYTE) NOT NULL,
      DAY_SUNDAY NUMBER(4) NOT NULL,
      DAY_MONDAY NUMBER(4) NOT NULL,
      DAY_TUESDAY NUMBER(4) NOT NULL,
      DAY_WEDNESDAY NUMBER(4) NOT NULL,
      DAY_THURSDAY NUMBER(4) NOT NULL,
      DAY_FRIDAY NUMBER(4) NOT NULL,
      DAY_SATURDAY NUMBER(4) NOT NULL
    Insert into TABLE1
      (DEPT_ID, PROC_CODE, DAY_SUNDAY, DAY_MONDAY, DAY_TUESDAY,
      DAY_WEDNESDAY, DAY_THURSDAY, DAY_FRIDAY, DAY_SATURDAY)
    Values
      (10, 'CP', 0, 3, 3,
      3, 3, 3, 3);
    COMMIT;
    CREATE TABLE TABLE2
      DEPT_ID NUMBER NOT NULL,
      PROC_CODE VARCHAR2(2 BYTE) NOT NULL,
      OVERRIDE_GOAL NUMBER(4),
      GOAL_OVERRIDE_DATE DATE NOT NULL
    Insert into TABLE2
      (DEPT_ID, PROC_CODE, OVERRIDE_GOAL, GOAL_OVERRIDE_DATE)
    Values
      (10, 'CP', 1, TO_DATE('01/06/2014 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into TABLE2
      (DEPT_ID, PROC_CODE, OVERRIDE_GOAL, GOAL_OVERRIDE_DATE)
    Values
      (10, 'CP', 3, TO_DATE('01/07/2014 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into TABLE2
      (DEPT_ID, PROC_CODE, OVERRIDE_GOAL, GOAL_OVERRIDE_DATE)
    Values
      (10, 'CP', 5, TO_DATE('01/08/2014 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into TABLE2
      (DEPT_ID, PROC_CODE, OVERRIDE_GOAL, GOAL_OVERRIDE_DATE)
    Values
      (10, 'CP', 5, TO_DATE('01/09/2014 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into TABLE2
      (DEPT_ID, PROC_CODE, OVERRIDE_GOAL, GOAL_OVERRIDE_DATE)
    Values
      (10, 'CP', 3, TO_DATE('01/10/2014 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into TABLE2
      (DEPT_ID, PROC_CODE, OVERRIDE_GOAL, GOAL_OVERRIDE_DATE)
    Values
      (10, 'CP', 3, TO_DATE('01/11/2014 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    COMMIT;
    Help is highly appreciated.

    SELECT dates,
           override_goal,
           SUM(override_goal) OVER()
           FROM(SELECT dates,
                       CASE WHEN EXISTS(SELECT 1
                                        FROM table2 t2
                                        WHERE t2.goal_override_date = qry1.dates
                                        AND t2.dept_id = 10
                                        AND t2.proc_code = 'CP')
                            THEN (SELECT override_goal
                                  FROM table2 t2
                                  WHERE t2.goal_override_date = qry1.dates
                                  AND t2.dept_id = 10
                                  AND t2.proc_code = 'CP')
                       ELSE (SELECT DECODE(days,'SUN',day_sunday,
                                                'MON',day_monday,
                                                'TUE',day_tuesday,
                                                'WED',day_wednesday,
                                                'THU',day_thursday,
                                                'FRI',day_friday,
                                                'SAT',day_saturday )
                              FROM table1)
                       END as override_goal
                FROM (SELECT in_dt1+(LEVEL-1) dates,
                             TO_CHAR(in_dt1+(LEVEL-1),'DY') days
                      FROM(SELECT TO_DATE(&from_date,'DD-MON-YYYY') in_dt1,
                                  TO_DATE(&to_date,'DD-MON-YYYY') in_dt2
                                 FROM dual)
                      CONNECT BY LEVEL <= (in_dt2 - in_dt1)+1) qry1);
    Now run the query it will prompt you for the inputs. You can pass the date values and check the result. Otherwise replace &from_date,&to_date with user inputs

Maybe you are looking for