Skip to Main Content

ODP.NET

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ORA-01017 with Managed Provider 4.112.3.60. Bug with ODP on Win 2008 R2?

1022962Jul 5 2013 — edited Aug 9 2013

I'm experiencing some trouble with the manage provider and I can't seem to figure out what's causing the issue.

At first, the Managed Provider seemed to be a drop in replacement for the Unmanaged Provider.  However, when we moved some code to our testing environments, the application started failing with a 'Logon Denied' error.

Our dev machines are 64 bit Win 7 and our test machines are Win 2008 R2.  The DEV machines do not have any trouble connecting to the database with the identical connection string used in the test environment.  I can connect to the database using sql plus with the connection string used in the application.

I'm at a loss on how to trouble shoot this.

Thanks.

Jon

This post has been answered by 1031480 on Aug 7 2013
Jump to Answer

Comments

Nikolay Savvinov
Hi,

1) unless index is in an invalid or unusable state, it is very unlikely that it would ever need a rebuild
http://richardfoote.files.wordpress.com/2007/12/index-internals-rebuilding-the-truth.pdf

2) ANALYZE is obsolete, don't use it anymore
3) DBMS_STATS is the way to go (you don't necessarily have to call GATHER_INDEX_STATS explicitly, you can also use CASCADE=>true option in GATHER_TABLE_STATS)

Best regards,
Nikolay
user4295847
Thank for your reply.

Please explain me Index Rebuild ONLINE
and what is the functionality for the DBMS_STATS.GATHER_INDEX and when we need to use ?
unknown-698157
Why are you asking to rephrase what is already explained in the online documentation?

-----------
Sybrand Bakker
Senior Oracle DBA
saratpvv
Please explain me Index Rebuild ONLINE
Jonathan sir have written good article on this have a look.
http://jonathanlewis.wordpress.com/2009/06/05/online-rebuild/
Nikolay Savvinov
Hi
user4295847 wrote:
Thank for your reply.
Please explain me Index Rebuild ONLINE
and what is the functionality for the DBMS_STATS.GATHER_INDEX and when we need to use ?
Why don't we go another way: you spend a few days working through the links and online documentation, and then if you have any questions left, you ask them here.


Best regards,
Nikolay
user4295847
Yes Understand the index rebuild oniline from your link..

Please explain more about DBMS_STATS.GATHER_INDEX_STATS and when we can use ?
Fran
check:
http://docs.oracle.com/cd/B28359_01/appdev.111/b28419/d_stats.htm#i1036276
user4295847
Hi ,

I am able to understand the DBMS_STATS from this link.

Could you please give me 2 lines answers for what are the advantages if we use DBMS_STATS
Fran
Answer
In order to make good use of the cost based optimizer, you need to create statistics for the data in the database.
Marked as Answer by user4295847 · Sep 27 2020
user4295847
Thanks Fran..
1 - 10
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Sep 6 2013
Added on Jul 5 2013
33 comments
31,360 views