[teiid-issues] [JBoss JIRA] (TEIID-5963) Teiid imported all schemas from PG

Steven Hawkins (Jira) issues at jboss.org
Wed Jun 3 10:53:01 EDT 2020


    [ https://issues.redhat.com/browse/TEIID-5963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14133915#comment-14133915 ] 

Steven Hawkins commented on TEIID-5963:
---------------------------------------

> Why if we make hibernate connection to DB we can just disable loading of all metadata, but not in teiid?

The simple answer is that hibernate is not using the getTypeInfo method in your usage scenario.  And again this is not all metadata, just type information for which the standard JDBC DatabaseMetaData interface does not provide an ability to limit per schema.

> Second, why not also try disabling the retrieving type info as suggested to see if it improves things?

That won't work.  The type fetching happens regardless of that option.

>  Can we set properties (or make beans config) in spring boot app to change this behavior?

Currently there is no solution via just properties.  As Ramesh say the only option is to capture the metadata you want to avoid the metadata fetching at startup time.



> Teiid imported all schemas from PG
> ----------------------------------
>
>                 Key: TEIID-5963
>                 URL: https://issues.redhat.com/browse/TEIID-5963
>             Project: Teiid
>          Issue Type: Bug
>          Components: JDBC Connector
>    Affects Versions: 14.0
>            Reporter: Renat Eskenin
>            Assignee: Steven Hawkins
>            Priority: Major
>
> When we started teiid spring boot app, we have long start time.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the teiid-issues mailing list