public interface OracleStats
| Modifier and Type | Method and Description |
|---|---|
void |
analyze(float estimatePercent, java.lang.String methodOpt)
Collects statistics for this graph.
|
void |
analyze(float estimatePercent, java.lang.String methodOpt, int dop)
Collects statistics for this graph.
|
void |
analyze(int dop)
Collects statistics for this graph.
|
void |
createStatTable(java.lang.String statTableName)
This method creates a stat table using DBMS_STATS package.
|
void |
expEdgeStat(java.lang.String statTableName, java.lang.String statid)
This method exports the edge table statistics into the given stat table.
|
void |
expVertexStat(java.lang.String statTableName, java.lang.String statid)
This method exports the vertex table statistics into the given stat table.
|
void |
impEdgeStat(java.lang.String statTableName, java.lang.String statid)
This method imports the edge table statistics from the given stat table.
|
void |
impVertexStat(java.lang.String statTableName, java.lang.String statid)
This method imports the vertex table statistics from the given stat table.
|
void analyze(float estimatePercent,
java.lang.String methodOpt)
throws java.sql.SQLException
It is very important that up-to-date statistics be maintained for a graph to ensure efficient execution of query and inference. The SQL Optimizer needs accurate information to choose a good execution plan.
After a significant amount of change has been done to a graph, this method should be invoked. Notice that however, statistics collection is a time/resource consuming process, so only run it when necessary.
See Oracle documentation "PL/SQL Packages and Types Reference" for detailed explanations of the parameters.
estimatePercent - has a valid range of [0.000001,100].methodOpt - A typical value for methodOpt is "FOR ALL COLUMNS SIZE AUTO"java.sql.SQLException - when there is error generated from DBMS_STATS package.
void analyze(float estimatePercent,
java.lang.String methodOpt,
int dop)
throws java.sql.SQLException
It is very important that up-to-date statistics be maintained for a graph to ensure efficient execution of query and inference. The SQL Optimizer needs accurate information to choose a good execution plan.
After a significant amount of change has been done to a graph, this method should be invoked. Notice that however, statistics collection is a time/resource consuming process, so only run it when necessary.
See Oracle documentation "PL/SQL Packages and Types Reference" for detailed explanations of the parameters.
estimatePercent - has a valid range of [0.000001,100].methodOpt - A typical value for methodOpt is "FOR ALL COLUMNS SIZE AUTO"dop - degree of parallelism.java.sql.SQLException - when there is error generated from DBMS_STATS package.
void analyze(int dop)
throws java.sql.SQLException
It is very important that up-to-date statistics be maintained for a graph to ensure efficient execution of query and inference. The SQL Optimizer needs accurate information to choose a good execution plan.
After a significant amount of change has been done to a graph, this method should be invoked. Notice that however, statistics collection is a time/resource consuming process, so only run it when necessary.
See Oracle documentation "PL/SQL Packages and Types Reference" for detailed explanations of the parameters.
dop - degree of parallelism.java.sql.SQLException - when there is error generated from DBMS_STATS package.
void createStatTable(java.lang.String statTableName)
throws java.sql.SQLException
statTableName - name of the stat table.java.sql.SQLException - when there is error generated from DBMS_STATS package.
void expEdgeStat(java.lang.String statTableName,
java.lang.String statid)
throws java.sql.SQLException
statTableName - name of the stat table.statid - identifier of statisticsjava.sql.SQLException - when there is error generated from DBMS_STATS package.
void expVertexStat(java.lang.String statTableName,
java.lang.String statid)
throws java.sql.SQLException
statTableName - name of the stat table.statid - identifier of statisticsjava.sql.SQLException - when there is error generated from DBMS_STATS package.
void impEdgeStat(java.lang.String statTableName,
java.lang.String statid)
throws java.sql.SQLException
statTableName - name of the stat table.statid - identifier of statisticsjava.sql.SQLException - when there is error generated from DBMS_STATS package.
void impVertexStat(java.lang.String statTableName,
java.lang.String statid)
throws java.sql.SQLException
statTableName - name of the stat table.statid - identifier of statisticsjava.sql.SQLException - when there is error generated from DBMS_STATS package.Copyright © 2017, 2018 Oracle and/or its affiliates. All Rights Reserved.