Posting in Oracle forum for additional review
HELP!!! I have a HUGE problem. We recently upgraded a 3rd party, packaged application and in doing so we also upgraded from Oracle 9.2 to 10g (10.2.0.1). Ever since then MANY of the application's queries are ignoring the indexes and executing full table scans.
The vendor is till researching the issue but seems to think that there is a character set issue which is causing Oracle to ignore the indexes on parameterized queries and execute full table scans. To the best of my knowledge I have verified that both the client and the server are using the same character set.
I even executed an explain plan on a query.
Once from TOAD on my PC -- indexes used.
Once from SQL+ on the application server -- indexes used.
But when similar queries are executed via the application (through w3wp.exe) the indexes are ignored.
The vendor seems to think that Microsoft IIS/ASP.NET (w3wp.exe) is receiving a request for a different character set when a connection attempt is made. Their theory here is that, since the character set doesn't match Oracle is ignoring it and therefore executing full table scans.
They seem fairly condfident as they have seen similar issuses resolved by changing the character set at other customer sites.
My question is where the heck can I see the character set being used by a background web process?
Oracle DB 10.2.0.1
Oracle Client 10.2.01
Microsoft Server 2003
IIS6
Note -- we upgraded our test environment to Oracle 10.2.0.3 -- no difference.
My second question is, what else can I check to see what the heck is going on?
-- Jason
"It's Just Ones and Zeros
HELP!!! I have a HUGE problem. We recently upgraded a 3rd party, packaged application and in doing so we also upgraded from Oracle 9.2 to 10g (10.2.0.1). Ever since then MANY of the application's queries are ignoring the indexes and executing full table scans.
The vendor is till researching the issue but seems to think that there is a character set issue which is causing Oracle to ignore the indexes on parameterized queries and execute full table scans. To the best of my knowledge I have verified that both the client and the server are using the same character set.
I even executed an explain plan on a query.
Once from TOAD on my PC -- indexes used.
Once from SQL+ on the application server -- indexes used.
But when similar queries are executed via the application (through w3wp.exe) the indexes are ignored.
The vendor seems to think that Microsoft IIS/ASP.NET (w3wp.exe) is receiving a request for a different character set when a connection attempt is made. Their theory here is that, since the character set doesn't match Oracle is ignoring it and therefore executing full table scans.
They seem fairly condfident as they have seen similar issuses resolved by changing the character set at other customer sites.
My question is where the heck can I see the character set being used by a background web process?
Oracle DB 10.2.0.1
Oracle Client 10.2.01
Microsoft Server 2003
IIS6
Note -- we upgraded our test environment to Oracle 10.2.0.3 -- no difference.
My second question is, what else can I check to see what the heck is going on?
-- Jason
"It's Just Ones and Zeros