XML 11 R1.htm IDEA: XBRL DOCUMENT v3.6.0.2
DOCUMENT AND ENTITY INFORMATION - shares
6 Months Ended
Nov. 30, 2016
Dec. 12, 2016
Document And Entity Information [Abstract]    
Document Type 10-Q  
Amendment Flag false  
Document Period End Date Nov. 30, 2016  
Document Fiscal Period Focus Q2  
Document Fiscal Year Focus 2017  
Trading Symbol ORCL  
Entity Registrant Name Oracle Corporation  
Entity Central Index Key 0001341439  
Current Fiscal Year End Date --05-31  
Entity Filer Category Large Accelerated Filer  
Entity Common Stock, Shares Outstanding (in shares)   4,102,353,000