INSTALLATION DOCUMENTS BY RAVI

Sunday, April 19, 2020

Installation and Configuration of Oracle Analytics server



JDK Installation

1.       Download and extract the recommended JDK version.











Fusion Middleware Installation

1.       Start the Fusion middle ware installation
$JAVA_HOME/java -jar fmw_12.2.1.4.0_infrastructure.jar








In welcome screen, click on Next






















Select “Skip Auto Updates”, click on Next





















Provide “Oracle Home” path and click on Next






















Select “Fusion Middleware Infrastructure” and click on Next.





















If Prerequisite Checks completed successfully, click on Next






















Click on Install






















Click on Next





















Click on Finish






















Apply Patch set

After installing, we need to apply the 30657796 patch which was downloaded from e-delivery
Navigate to downloaded patch directory, set ORACLE_HOME and PATH environmental variables and run opatch apply command






















OAS Installation

Start Oracle Analytics Server Installation as shown below







On welcome screen, click on Next






















Select “Skip Auto Updates”, click on Next






















Provide “Oracle Home” and click on Next





















If Prerequisite Checks completed, click on Next






















Click on Install






















Click on Next






















Click on Finish






















RCU Configuration

Navigate to oracle_common/bin directory, run RCU as shown below





On Welcome screen, click on Next





















Select “Create Repository”, click on Next





















Enter the Database details and click on Next





















Click on OK





















Select Create new prefix as per “Best Practices” and select Oracle Business Intelligence. Click on Next





















Click on OK





















Enter password for newly created Schema’s, click on Next





















Click on Next





















Click on OK





















Click on OK





















Click on Create





















Click on Close





















OAS Configuration

1.       Next step is to configure OAS, for this we need to run
cd $ORACLE_HOME/bi/bin
./config.sh






On Welcome screen, click on Next






















Select below options and click on Next






















If Prerequisite checks completed, click on Next






















Provide Domain Directory details and click on Next






















Enter database schema details, click on Next






















Click on Next






















Select Clean State, click on Next






















Click on Configure






















Click on Next






















Click on Finish





















Accessing Oracle Analytics services


Weblogic console









































Fusion Middleware Control







































BI Publisher









































DV

























































Oracle Analytics Server Data Visualization Machine Learning Fails With 'Something Went Wrong' Using Insight Explain Feature or Data Flow


Oracle Analytics Server Data Visualization Machine Learning Fails With 'Something Went Wrong' Using Insight Explain Feature or Data Flow



Show Details 
Step |j| Execution failed. Status: FAILED. Message: [nQSError: 46240] Python Process exited with non 0 exit Code
[nQSError: 43224] The Dataflow "Address State Data Flow" failed during the execution.
[nQSError: 43204] Asynchronous Job Manager failed to execute the asynchronous job.

















Solution:
Login to the server
Using 'sudo' or as 'root' user, install the libgfortran package




































Restart OAS:
  • stop.sh
  • start.sh

SQL query to find top 50 tables by size

select top50.owner, top50.table_name, meg, a.num_rows
from dba_tables a,
   (Select * from (
SELECT
   owner, table_name, TRUNC(sum(bytes)/1024/1024) Meg
FROM
(SELECT segment_name table_name, owner, bytes
 FROM dba_segments
 WHERE segment_type like 'TABLE%'
 UNION ALL
 SELECT i.table_name, i.owner, s.bytes
 FROM dba_indexes i, dba_segments s
 WHERE s.segment_name = i.index_name
 AND   s.owner = i.owner
 AND   s.segment_type like 'INDEX%'
 UNION ALL
 SELECT l.table_name, l.owner, s.bytes
 FROM dba_lobs l, dba_segments s
 WHERE s.segment_name = l.segment_name
 AND   s.owner = l.owner
 AND   s.segment_type = 'LOBSEGMENT'
 UNION ALL
 SELECT l.table_name, l.owner, s.bytes
 FROM dba_lobs l, dba_segments s
 WHERE s.segment_name = l.index_name
 AND   s.owner = l.owner
 AND   s.segment_type = 'LOBINDEX')
GROUP BY table_name, owner
HAVING SUM(bytes)/1024/1024 > 10  /* Ignore small tables */
ORDER BY SUM(bytes) desc
) where rownum < 51) top50
where top50.owner =a.owner
and top50.table_name = a.table_name
order by meg desc, num_rows desc;


Note: Change 50 to any other number of tables you want to find

  Opatch reports 'Cyclic Dependency Detected' error when patching ODI   Issue: When applying a Patch Set Update (PSU) to WebLogic Se...