Oracle query is slow (or fails) from .NET app but is fast from SQL Developer

前端 未结 4 2167
陌清茗
陌清茗 2021-02-14 09:58

We use ODP.NET to perform queries on Oracle databases, and normally it works fine. There is a particular database, and a particular view in that database, though, that we just c

4条回答
  •  攒了一身酷
    2021-02-14 10:54

    On a project I was working on at my former employer, we were using odp.net to talk to a large retailing system database and we'd get connection lost errors.

    It took a lot of effort to prove, but it ended up being a corrupt index inside the Oracle database that was only being hit by our query. The DBA's eventually traced it to a coredump of the process that run on the Sun box when our query was being executed. We didn't use any sort of query hinting etc, but when we ran the same query in Toad, it didn't hit this particular index. strange??<<

提交回复
热议问题