[
https://issues.jboss.org/browse/TEIIDDES-715?page=com.atlassian.jira.plug...
]
Dan Florian commented on TEIIDDES-715:
--------------------------------------
I did some measurements using the JDBC Oracle and SQL Server importers. Imported the Books
test database using both importers. Here are some results from one of the runs:
Time to execute RelationalModelProcessorImpl.performExecute(Context, List):
- Oracle: 4953 (all results in milliseconds)
- SQL Server: 1906
- Difference: 3047
These 3 statements (each executed multiple times) account for 2389 of the 3047
difference:
- java.sql.DatabaseMetaData.getColumns(String,String,String,String) in
GetColumnsRequest.performInvocation(Response): 23% of of the 2389 difference
- java.sql.ResultSet.next() in
Response.addResults(Response,ResultSet,boolean,TupleValidator) when creating columns: 58%
of of the 2389 difference
- java.sql.DatabaseMetaData.getPrimaryKeys(String,String,String) in
GetPrimaryKeyRequest.performInvocation(Response): 19% of the 2389 difference
This indicates the time differences are attributed to the vendor's driver
implementation or in the driver default settings as Ramesh says in the description. I will
look at the driver settings next.
Oracle metadata import using Designer takes long time for large
schemas
-----------------------------------------------------------------------
Key: TEIIDDES-715
URL:
https://issues.jboss.org/browse/TEIIDDES-715
Project: Teiid Designer
Issue Type: Bug
Components: Import/Export
Affects Versions: 7.1
Reporter: Ramesh Reddy
Assignee: Dan Florian
Fix For: 7.4
Importing metadata from Oracle database seems to take longer than any other database,
when the underlying the schema is large. This may be because the default settings with
Oracle Driver tries to get lot more metadata then needed. Should explore ways to minimize
the time to take import.
Teiid in the Dynamic VDB import uses "Table Types" and "schema" name
to limit the number of tables it imports, may be we should adopt similar thing in
Designer. It is possible that Designer is already doing such settings.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira