Home > Ask the Oracle Experts > RAC and Availability Questions & Answers > ORA-01801 error in RAC environment
Ask The Oracle Expert: Questions & Answers
EMAIL THIS

ORA-01801 error in RAC environment

Bill Cullen EXPERT RESPONSE FROM: Bill Cullen

Pose a Question
Other Oracle Categories
Meet all Oracle Experts
Become an Expert for this site


Oracle tips, scripts, and expert advice
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


>
QUESTION POSED ON: 12 March 2007

We have successfully delivered one database application to one customer, on Oracle 10gR2 server (v10.2.0.2, Unix, 64-bit).

Since this is a RAC environment and because of some problems within one stored procedure we have implemented ("ORA-01801: date format too long for internal buffer"), which happens from time to time only in the last couple of weeks, we have asked to get access rights for two admin views, V$INSTANCE and GV$INSTANCE.

My idea was that this problem can be caused by one Oracle instance (host machine) which is not properly configured and/or has a malfunction.

After checking the view GV$INSTANCE, there is only one row returned with inst_id = 1.

What does that actually mean? Is this then really a RAC environment or only a single Oracle instance? Or it is possible to limit the result of this view, in order to prevent the user to check/examine the system configuration?

Thanks in advance.


>
EXPERT RESPONSE
The GV$INSTANCE view will return one row if:

1. The instance is configured to be non-RAC

or

2. the parallel_max_servers parameter is set to 0.

You can check the PARALLEL value in the v$instance views on both nodes to determine whether the instance thinks it is part of a cluster.

You can check the parallel_max_servers parameter via the v$parameter view or by doing a show parameter command from SQL*Plus.

My guess is that the ORA-01801 is not related to RAC. If this is your only customer receving the error, I would suspect bad data first, an Oracle bug second.

Also, it is not possible to "fool" the user via the gv$instance view without hacking the data dictionary or creating a view or synonym in the users schema. I doubt this is happening.

I would advise focusing on the data manipulated in the procedure.

Good luck,
Bill


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


RELATED CONTENT
RAC and Availability
Using connection load balancing with Oracle RAC
Configure two listeners without RAC in Oracle
Difference between Oracle RAC and Data Guard
"Failed to request gap sequence" error with switchover
Oracle UDP protocol or Veritas LLT for interconnect traffic?
Can't refresh individual table with replication system
Migrating to Oracle RAC from single-instance database
Impact of changing OCR on RAC database
Switching RAC database to noarchivelog mode
Cost of two-node RAC implementation

Oracle Real Application Clusters (RAC)
Firm dumps MySQL on Red Hat for Oracle Database on Oracle Linux
How to back up archive log files in RAC
eHarmony spurns Microsoft, finds match with Oracle 10g
How to back up RAC database with RMAN
Using connection load balancing with Oracle RAC
20GB data dictionary causing performance problems
Grid computing adoption slow amid fears of complexity
DBA 102: Beyond the basics
Can I install Oracle binary files on a SAN?
Specified wrong global database name

Oracle error messages
ORA-12560 error with Oracle 10g Instant Client
Unable to view Oracle tables in NetBeans
IMP-00017 error message with Oracle import
Can't open database after failed backup export
Query on dblink returning ORA-12545 error
RMAN not working at command prompt
Unique constraint violations, "parent key not found" errors
Insufficient privileges error when creating stored procedure
IMP-00010 error with import from 10g to 9i
ORA-12801 error while loading seed data

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
Real Application Cluster  (SearchOracle.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice

HomeNewsTopicsTipsAsk the ExpertsMultimediaWhite PapersProductsBlogs
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2003 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts