Descending index results in DB connection being terminated

Hi all,
This is on Oracle 10g 10.1.0.3.0.
I have a table created using the following DDL:
Create table orders
purchase_order_id number,
ext_order_id number,
ext_ad_id number,
member_id number constraint campaigns_n1 not null,
status number(2) default 0 constraint campaigns_n2 not null,
name varchar2(50) constraint campaigns_n3 not null,
cost_type varchar2(10) default 'CPM' constraint campaigns_n4 not null,
unit_cost float constraint campaigns_n5 not null,
num_days number,
start_date timestamp,
end_date timestamp,
quantity number constraint campaigns_n6 not null,
key_val_targeting varchar2(2048),
ext_query_id number,
last_report_date date default sysdate,
last_update_time timestamp default systimestamp constraint campaigns_n7 not null
INITRANS 1
MAXTRANS 255
PCTUSED 60
PCTFREE 40
TABLESPACE TBS1
NOCACHE
With the following index:
create index orders_i1
on orders(status desc, last_report_date)
SORT
INITRANS 2
MAXTRANS 255
PCTFREE 10 TABLESPACE TBS1
When I execute the following query, my DB connection is immediately terminated (this is true of sqlplus, as well as a JDBC connection to the database), without any data being returned:
SELECT /*+ index (ORDERS ORDERS_I1) */ PURCHASE_ORDER_ID, EXT_QUERY_ID, STATUS, LAST_REPORT_DATE, MEMBER_ID, EXT_ORDER_ID FROM
ORDERS WHERE (STATUS = 3 OR
(LAST_REPORT_DATE <= sysdate - 3 AND (STATUS in (2, 4))))
AND ROWNUM < 5;
When the connection is terminated, I see the following message (in sqlplus):
ERROR at line 1:
ORA-03113: end-of-file on communication channel
Any clues as to what might be causing this? Since I don't get any sort of reasonable error, I can't really make out what the problem is.
thanks!

Hi,
I too have a similar kind of a problem.
My view is:
CREATE OR REPLACE VIEW EXPENSE_HEADER AS
SELECT /*+ INDEX (expense_header_tab expense_header_ix3)*/
company_id company_id,
expense_id expense_id,
start_stamp start_stamp,
end_stamp end_stamp,
FROM expense_header_tab
WITH read only
index is:
DECLARE
     columns_ Database_SYS.ColumnTabType;
BEGIN
Database_SYS.Set_Table_Column(columns_,'COMPANY_ID');
Database_SYS.Set_Table_Column(columns_,'EXPENSE_ID DESC');
Database_SYS.Create_Index('EXPENSE_HEADER_TAB','EXPENSE_HEADER_IX3',columns_);
(Database_SYS is a package that we use in the framework for DDL related work)
When I try to run a query with more than one value connected using OR conditions in the WHERE clause SQLPlus gives a end-of-file communication error. This does not happen for a single value or any other clauses.
problamatic query:
select * from expense_header t where (EXPENSE_ID = '201405' or EXPENSE_ID = '201406')
Any ideas?
Thanks!

Similar Messages

  • After my phone was fully submerged in water, I'm getting the overheating error message but the phone is not hot at all. Is this the result of the phone being damaged by the water?

    I dropped my iPhone 4S in my friends pool. It was fully submerged for about 30 seconds.
    We took it out, dried it and put it in rice. After 24 hours I checked the phone. It turns on and runs smoothly. It connects to the computer and syncs perfectly. But after a couple minutes of use I get an overheating error message. But the phone is not hot at all.
    Is this the result of the phone being damaged by the water? Is there any way around this? The phone works perfectly fine and isn't overheating at all.
    What can I do?

    Despite the error that I get after a few minutes, the phone does work fine.
    But by most peoples definition, the phone isn't working.
    I just want to know if anyone has been in my boat and if the overheat message without the phone overheating can correct itself or if it goes away with sufficient drying of the phone.
    I know its slim, but I figured I'd ask.

  • 2.1EA2: Pinning Query Results and changing Connections [fixed in 2.1.0]

    I am on 2.1EA2 (JDK 1.6.0_16) and been playing with the new SQL Worksheet pin query results functionality. I have found that it is possible to run a query against one connection, pin the results and then change connection and run the same (or a different) query against another connection. I really like this, but found a few problems:
    #1 There doesn't seem to be any way to tell which connection a query result tab was actually run against
    #2 Even if all rows are fetched, if I then disconnect from the first connection it can get quite messy. Sometimes I get an empty connection dialog (I can't remember the exact title and it doesn't reproduce consistently) with only the close window X in the corner. Some times I get prompted to log in with a connection information dialog with no reference to the connection it is connecting to - cancelling only brings up the same dialog again until I successfully connect. Some times I get prompted to log in and while that is still on the screen, SQL Developer logs me back in to the connection (even though I don't save passwords) - I even get a new worksheet for the reconnected connection.
    theFurryOne

    Raghu,
    I am happy with both.
    #1 - I would be happy if the connection name was at the start of the tool-tip style pop-up when hovering over Query Results tab and the Query Result SQL dialog that opens on the SQL button. -K-'s suggestion makes it immediately obvious for the currently selected Query Results tab, without having to move the mouse or click on something.
    Ideally, I would like something similar for the other output tabs (ie Script Output), but they seem to show results for all connections that the worksheet has used, so the same concept may not work.
    #2 - I am used to the grid being cleared when disconnecting from earlier versions - I assumed that this was a bug where SQLD was not checking the connection of the results, just the current connection of the worksheet.
    theFurryOne

  • I can't update my ipod. When I check for updates it says "can't connect to server"(despite internet connection being fine). Also, when I try and update software it starts then stops after 2 seconds

    I can't update my Ipod. When I check for updates it says "can't connect to server" despite internet connection being fine. When I receive a software update message;I say install and it starts updating then stops after 2 seconds. Help! (It is a 3rd gen IPod touch(I think)). Presumably as a result of this, I have tried to put my library onto my gf's new iPod touch and it just charges it..doesn't download my library onto the touch).

    Update Server
    Try:
    - Powering off and then back on your router.
    - iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update server
    - Change the DNS to either Google's or Open DNS servers
    Public DNS — Google Developers
    OpenDNS IP Addresses
    - For one user uninstalling/reinstalling iTunes resolved the problem
    - Try on another computer/network
    - Wait if it is an Apple problem

  • I am automating the process of sending appointment reminders to my clients. I started with an alert with an email in calendar using the clients email address as a custom entry in my me card in my contacts. this was resulting in three emails being sent wit

    I am automating the process of sending appointment reminders to my clients. I started with an alert with an email in calendar using the clients email address as a custom entry in my me card in my contacts. this was resulting in three emails being sent with slightly different versions of the same address (see my previous post). Heating someone else's suggestion I created a workflow file to send an email and calling that file from an alert on my calendar. This is working and sends only one email to the client.
    My calendar is on I cloud and I access it from three different computers so I can keep my appointment calendar current. The files that send the email only exist on one computer. My other computers show error messages when those emails get sent. It seems that each computer wants to send the email. It's a small problem but is there a way that I could not get those alerts.
    But appreciate any thoughts about this. It seems like both problems might be related to the iCloud system.
    Thank you in advance,
    Michael

    Good work, catch so far Michael, does seem to be a "feature" of iCloud syncing, not sure what you could do to disable it.

  • Fatal Error has occured and the application is being terminated

    It seems that Captivate is eating my projects.  I've started my second project (after completing my first without any errors) and I'm constintly getting corrupted files.  It set me back at least a few hours worth of work.  So I started creating backup files every 10mins, regardless of how much work i've done.  Everything was going fine, until I took an hour break and went to resume my work.
    When I try to open my file I get the following pop up message when trying to open my file: "Adobe Captivate - A fatal error has occured and the application is being terminated. Adobe Captivate has tried to save all your work in the respective project folder as .cpbackup files.  Please restart Adobe Captivate."
    I can click on the program workspace and not click ok on the error message to keep the file open.  I see my slides and objects, but all the text is missing.
    I'm using Captivate 5.5 and windows 7 64.  Within Captivate, I'm using standard objects with importing MP3 audio files and some Photoshop images.  I have a total of 4 slides with 1 being 3.5mins long and the rest are less than 1min.
    When I first started having this problem, I thought maybe the variable files were corrupte so I deleted the Users/name/appdata/local/adobe/Captivate5.5 directory to see if that was the issue.  That was before this last stint of errors.
    I tried opening a backup that was like 10 saves ago, but it displays the same message.
    I'm not sure what to do next.

    Failed to back up the data. A fatal error has occured and the application is being terminated.
    This question is Not Answered.(Mark as assumed answered)
    hi,
    I am working on a content development using captivate 5.5. all of sudden I am not able slide view I am not able to view the text captions in slide view but i am able to see the text caption in Filmstrip. and when I am selecting another side it throwing below error and application ends.
    Adobe Captivate
    A fatal error has occured and the application is being terminated. Adobe Captivate has tried to save all your work in the respective project folders as ".cpbackup" files.
    Please restart Adobe Captivate.
    OK 
    I have a deliverable by this weekend if some can help to resolve this issue will be appreciated.
    Note: when first time it crashed, I re-created the course again from scratch and its crashed again. I have multiple attempt to finish this course but no luck.
    Please help me out to deliver my work.
    Thanks
    CD

  • Failed to back up the data. A fatal error has occured and the application is being terminated.

    hi,
    I am working on a content development using captivate 5.5. all of sudden I am not able slide view I am not able to view the text captions in slide view but i am able to see the text caption in Filmstrip. and when I am selecting another side it throwing below error and application ends.
    Adobe Captivate
    A fatal error has occured and the application is being terminated. Adobe Captivate has tried to save all your work in the respective project folders as ".cpbackup" files.
    Please restart Adobe Captivate.
    OK  
    I have a deliverable by this weekend if some can help to resolve this issue will be appreciated.
    Note: when first time it crashed, I re-created the course again from scratch and its crashed again. I have multiple attempt to finish this course but no luck.
    Please help me out to deliver my work.
    Thanks
    CD

    We have the exact same problem.Renaming the backup file per this post http://forums.adobe.com/message/4055726 didn't work. I can open the file and see the text boxes even though they're now showing as empty. Is there any way to recover the file?
    Yes, we were using a network drive but now we've switched to locally stored content.

  • Itunes could not connect to the itunes store. a secure network connection was terminated unexpectedly

    itunes could not connect to the itunes store. a secure network connection was terminated unexpectedly

    سلام
    قابل توجه کاربران ایرانی، این مشکل از ارتباطات زیر ساخته و مشکل از سیستم ما نیست.
    متاسفانه فعلا باید صبر کنیم
    موفق باشید
    Hi
    Notable Forums, the problem of the connection and the problem is not in our system.
    Unfortunately, now we have to wait
    Good luck

  • Error when connecting to terminal

    Hello,
    I have a BB 8100, Desktop manager 4.6.
    Synchronization was working correctly 3-4 weeks ago.
    Today, when I tried to synchronize, I had this error message:
    0 x 80040fb3
    I tried to debug this with the procedure of modifying Last name, first name, etc.... with no success
    I tried several time to synchronize again but without success.
    Now, the situation is even worse!
    New message when I connect my BB to my computer. When I launch Desktop manager, I have the following error:
    "Error when connecting to terminal. Make sure that your terminal is correctly connected, then try again"
    I can not anymore try to synchronize!
    This is very strange, it never happened before.
    Nevertheless, Desktop Manager recognize my BB, as I can read on the buttom left part of the screen: Terminal connected (code Pin) recognized xxxxxx.
    HELLLLP!
    Thanks
    Solved!
    Go to Solution.

    Hello RianaZaire,
    Unfortunately, I still have the same error Message.
    I have not been able to solve the situation.
    I reinstall twice the software.
    I tried to connect my Blackberry to my computer with a new cable.
    I still have the same error message.
    I don't know what to do.
    Maybe somebody will read our messages, and help us!
    Maybe this information has a link with my blackberry problem:
    I also have a problem with an another device. (a TOMTOM GPS system), which happened almost at the same time.
    Usually, when I connect this device, it will directly open the GPS sofware ( where I can download the new updating stuff). But since this Blackberry problem, I can not do it anymore. Impossible to connect the TOMTOM onto it. It is not recognize onto my computer.
    For information, I also do synchronization of my adress book between my phone and TOMTOM.
    HELP HELP

  • What is the expected behavior in iOS 7 when hitting send on an email with no wifi or cell connection being present?

    What is the expected behavior in iOS 7.x when hitting send on an email with no wifi or cell connection being present? Also is the behavior designed to be any different if the user intiates airplane mode ahead of time?
    We have a couple of users that claim in this situation the email will act like it sent in which they expect it will go out once a network connection is restored.  They then come to find the recipient never recieved it and that it does not show in sent email.  Its merely lost and they claim its also not in drafts.
    I would hope the expected behavior would be that it would either retry sending once network connectivity is restored or at least warn that it needs to be saved as a draft since no connection is present.

    It should show "X unsent messages" at the bottom of the mail app.
    It also should create an outbox where the unsent emails will queue up, but this could also vary on the email provider.
    Once you re connect to a network, it should just send the messages

  • How to get descending index definition ?

    Let's say you create an ASCENDING index on the table "COMPANY", on the field "COMPANY_NAME". You name this index "INDEX_COMPANY_NAME".
    Oracle creates a record in the USER_INDEXES table (referencing "INDEX_COMPANY_NAME" as an index of the "COMPANY" table), and another one in the USER_IND_COLUMNS table (referencing "NAME" as a field of the "INDEX_COMPANY_NAME" index). In this case of ascending index, it is easy to get the field names of the index.
    If you creat now the same index as a DESCENDING one, USER_IND_COLUMNS table will not give "NAME" as a COLUMN_NAME of the "INDEX_COMPANY_NAME". You will get instead a "SYS..." value in USER_IND_COLUMNS.COLUMN_NAME.
    Finally, the question is : how can we get the list of the fields of a DESCENDING index ?

    how can we get the list of the fields of a DESCENDING index ?USER_IND_EXPRESSIONS.
    TEST@db102 SQL> create index newemp_sal_desc on newemp(sal desc);
    Index created.
    TEST@db102 SQL> select * from user_ind_columns where index_name='NEWEMP_SAL_DESC';
    INDEX_NAME                     TABLE_NAME
    COLUMN_NAME
    COLUMN_POSITION COLUMN_LENGTH CHAR_LENGTH DESC
    NEWEMP_SAL_DESC                NEWEMP
    SYS_NC00009$
                  1            34           0 DESC
    TEST@db102 SQL> select * from USER_IND_EXPRESSIONS;
    INDEX_NAME                     TABLE_NAME
    COLUMN_EXPRESSION                                                                COLUMN_POSITION
    NEWEMP_SAL_DESC                NEWEMP
    "SAL"                                                                                          1
    TEST@db102 SQL> create index newemp_upper on newemp(upper(ename), upper(job));
    Index created.
    TEST@db102 SQL> select * from user_ind_expressions where index_name='NEWEMP_UPPER';
    INDEX_NAME                     TABLE_NAME
    COLUMN_EXPRESSION                                                                COLUMN_POSITION
    NEWEMP_UPPER                   NEWEMP
    UPPER("ENAME")                                                                                 1
    NEWEMP_UPPER                   NEWEMP
    UPPER("JOB")                                                                                   2
    TEST@db102 SQL>                                                                                      

  • Error in finder method wrapper resulting in a connection leak

    we ar using OC4J 1.0.2.2.1 and dicowered some problems with connection leaking.
    The same was reproducable on 9.0.2.1 and 9.0.3 (the "J2EE 1.3 certified" version).
    Using CMP/CMT for Entity EJB.
    If we define the transaction attribute for a finder method returning single object as NotSupported
    and ObjectNotFound exception is thrown as a result of call to the finder method,
    connection is not closed.
    With emulated datasource this results in a connection pool overflow, with XA datasource
    the console gets conenction not closed exceptions but at least connections are closed (seriously influencin performance while waiuting for connection timeout).
    the same code executes with no problem on JBoss 2.4.x and 3.0 and on iPlanet.
    any comments on this - is this a bug or feature ?

    Please log a TAR with your support repesentative so that we can drill down on this issue. As described, this does not sound like the correct behavior but until the details are examined it is hard to tell.
    Thanks -- Jeff

  • Can't update iTunes. Also, message says can't connect to store despite internet connection being fine

    I can't update to the latest version of iTunes. When I get the software update reminder, it starts updating then just stops. Also, when clicking on updates I get the message ..can't cvonnect to iTunes...despite the internet connectivity being fine. Help!(Is it as simple as needing to clear some more space on my computer/removing programs etc?

    Hey Tag2006,
    Thanks for the question. Are you experiencing this issue on a Windows computer? If so, the steps in this resource may help:
    Issues installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/HT1926
    Thanks,
    Matt M.

  • A fatal error has occurred and the application is being terminated. Adobe Captivate has tried to save all your work in the respective project folders as ".cpbackup" files.   Please restart Adobe Captivate.

    I was trying to capture a simulation when a pop-up window came with this error:
    "A fatal error has occurred and the application is being terminated. Adobe Captivate has tried to save all your work in the respective project folders as ".cpbackup" files.Please restart Adobe Captivate."
    I tried every possible solution but i am getting the same error. Even now, i am not able to open a blank project. I cleared Preferences and Cache, Restarted the system, uninstalled and re-installed captivate but the error occurs.
    Please help.

    Having admin rights is not the same as 'Run Captivate as administrator'. For the last, right-click on the start icon for Captivate and check 'Run as administrator'. Or click on Advanced, where you can check the option to always run as administrator.
    Another possibility could be a corrupt font somewhere. I forgot to ask which version you are using (exact number).

  • I've installed iTunes 10.2.1 but my computer doesn't recognise the hardware certificate and denies it, and the installation isn't complete. This results in my iPod being unrecognised. Please help me! My system is a Windows XP.

    I've installed iTunes 10.2.1 but my computer doesn't recognise the hardware certificate and denies it, and the installation isn't complete. This results in my iPod being unrecognised and so, it cant synchronize with iTunes. Please help me! My system is a Windows XP.

    Malware can cause digital signing issues, I would run a malware check with the free version of MalwareBytes:
    http://www.malwarebytes.org/
    After that, the is a Microsoft fixit for:
    The software you are installing  has not passed Windows Logo testing to verify its compatibility with Windows   XP. (Tell me why this testing is important.)
    This software will not be  installed. Contact your system administrator.
    http://support.microsoft.com/kb/822798
    It might be worth trying it.

Maybe you are looking for

  • ABAP issue in FPCOPARA of FI

    Hello all              I am working as ABAP developer , on 4.6C system.  We have developed a Print work bench form (PWB) through tcode EFRM , and we use it in FPCOPARA . In the END EXIT in PWB form , i m inserting a single record in Z table. Now, (1)

  • User Exit -  EXIT_SAPLVEDA_001 program ZXVEDU13

    Hi All, I am very new to Extensions i.e user exits. there is requirement to make validations in the user exit 'EXIT_SAPLVEDA_001' program ZXVEDU13. There is a structure given for EDI and  SAP orders/contracts from which i have to to create two intern

  • How do you change the layout?

    Is it possible to change the layout in terms of its shade, font colors and size of fonts?

  • Class final project need help

    I have this final project due Monday for my java class. I'm having some trouble with this zoom slider which gives me 2 errors about "cannot find symbol". I've tried just about eveything i can think of and i cant come up with the solution... Here is m

  • I was able to hook up my macbook pro to the hdmi cable and see my desk top but it won't let me see any programs I open.

    I was able to hook up my macbook pro to my tv using an hdmi cable and all I see is my desk top but not the movie playing on Netflix.  Is there some utility I need to do on my computer?