<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Access Incorta's Apache Derby Database Instance in Data &amp; Schema Discussions</title>
    <link>https://community.incorta.com/t5/data-schema-discussions/access-incorta-s-apache-derby-database-instance/m-p/1937#M95</link>
    <description>&lt;P&gt;we have an on-prem instance of Incorta at our organization that uses Apache Derby Database.&lt;/P&gt;&lt;P&gt;I'm wanting to access&amp;nbsp;this DB Instance. I found a related community post below but there is a Page Not Found msg on the page.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.incorta.com/t/y7jsc7/how-do-i-query-incortas-embedded-derby-database-directly" target="_self"&gt;Query Incorta's Derby Database - Page Not Found&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any help on suggesting a solution or sharing related guidance would be very appreciated.&lt;/P&gt;</description>
    <pubDate>Tue, 14 Jun 2022 08:16:12 GMT</pubDate>
    <dc:creator>vickar</dc:creator>
    <dc:date>2022-06-14T08:16:12Z</dc:date>
    <item>
      <title>Access Incorta's Apache Derby Database Instance</title>
      <link>https://community.incorta.com/t5/data-schema-discussions/access-incorta-s-apache-derby-database-instance/m-p/1937#M95</link>
      <description>&lt;P&gt;we have an on-prem instance of Incorta at our organization that uses Apache Derby Database.&lt;/P&gt;&lt;P&gt;I'm wanting to access&amp;nbsp;this DB Instance. I found a related community post below but there is a Page Not Found msg on the page.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.incorta.com/t/y7jsc7/how-do-i-query-incortas-embedded-derby-database-directly" target="_self"&gt;Query Incorta's Derby Database - Page Not Found&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any help on suggesting a solution or sharing related guidance would be very appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2022 08:16:12 GMT</pubDate>
      <guid>https://community.incorta.com/t5/data-schema-discussions/access-incorta-s-apache-derby-database-instance/m-p/1937#M95</guid>
      <dc:creator>vickar</dc:creator>
      <dc:date>2022-06-14T08:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: Access Incorta's Apache Derby Database Instance</title>
      <link>https://community.incorta.com/t5/data-schema-discussions/access-incorta-s-apache-derby-database-instance/m-p/1939#M97</link>
      <description>&lt;P&gt;&lt;a href="https://community.incorta.com/t5/user/viewprofilepage/user-id/230"&gt;@vickar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;At times, for a variety of reasons, it can be convenient to query the metadata stored in this embedded Derby database directly.&amp;nbsp; By its design, Derby can only handle one connection at a time and if Incorta is running (you guessed it)&amp;nbsp;Incorta claims the one connection.&amp;nbsp; However, if Incorta is stopped, the following steps detail&amp;nbsp;how to connect so that the metadata can be queried or altered.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Accessing Derby DB&lt;/STRONG&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Download Apache Derby from the following URL &amp;nbsp;&lt;A href="https://db.apache.org/derby/releases/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://db.apache.org/derby/releases/&lt;/A&gt;&amp;nbsp; (Incorta embeds Derby so the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;ij&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;tool leveraged below doesn't exist in our install)&lt;/LI&gt;
&lt;LI&gt;Unzip on server where Incorta is installed&lt;/LI&gt;
&lt;LI&gt;Ensure Incorta is NOT running&lt;/LI&gt;
&lt;LI&gt;Start ij tool&amp;nbsp;&lt;/LI&gt;
&lt;/OL&gt;
&lt;LI-CODE lang="markup"&gt;$ cd ./db-derby-10.13.1.1-bin

$ java -cp "lib/*" org.apache.derby.tools.ij

ij version 10.13

ij&amp;gt; connect 'jdbc:derby:/Users/johnpelz/IncortaAnalytics/derbydb/incorta';&lt;/LI-CODE&gt;
&lt;P&gt;Example once connected to Derby:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;ij&amp;gt; show schemas;

TABLE_SCHEM

------------------------------

APP

INCORTADBUSER

NULLID

SQLJ

SYS

SYSCAT

SYSCS_DIAG

SYSCS_UTIL

SYSFUN

SYSIBM

SYSPROC

SYSSTAT


12 rows selected

ij&amp;gt; set schema INCORTADBUSER;

0 rows inserted/updated/deleted

ij&amp;gt; show tables in INCORTADBUSER;

TABLE_SCHEM         |TABLE_NAME                    |REMARKS

------------------------------------------------------------------------

INCORTADBUSER       |ACTION                        |

INCORTADBUSER       |BOOKMARK                      |

INCORTADBUSER       |CATALOG_LINK                  |

INCORTADBUSER       |COMPONENT                     |

INCORTADBUSER       |DASHBOARD                     |

INCORTADBUSER       |DASHBOARD_COMPONENT           |

INCORTADBUSER       |DATAFILE                      |

INCORTADBUSER       |DATASOURCE                    |

INCORTADBUSER       |DB_UPDATE                     |

INCORTADBUSER       |FOLDER                        |

INCORTADBUSER       |GROUP                         |

INCORTADBUSER       |GROUP_ROLE                    |

INCORTADBUSER       |GROUP_USER                    |

INCORTADBUSER       |LDR_JOB                       |

INCORTADBUSER       |LDR_JOB_DETAILS               |

INCORTADBUSER       |LDR_JOB_DETAILS_HISTORY       |

INCORTADBUSER       |LDR_JOB_HISTORY               |

INCORTADBUSER       |PERMISSION                    |

INCORTADBUSER       |QRTZ_BLOB_TRIGGERS            |

INCORTADBUSER       |QRTZ_CALENDARS                |

INCORTADBUSER       |QRTZ_CRON_TRIGGERS            |

INCORTADBUSER       |QRTZ_FIRED_TRIGGERS           |

INCORTADBUSER       |QRTZ_JOB_DETAILS              |

INCORTADBUSER       |QRTZ_LOCKS                    |

INCORTADBUSER       |QRTZ_PAUSED_TRIGGER_GRPS      |

INCORTADBUSER       |QRTZ_SCHEDULER_STATE          |

INCORTADBUSER       |QRTZ_SIMPLE_TRIGGERS          |

INCORTADBUSER       |QRTZ_SIMPROP_TRIGGERS         |

INCORTADBUSER       |QRTZ_TRIGGERS                 |

INCORTADBUSER       |ROLE                          |

INCORTADBUSER       |SCHEDULER_JOB                 |

INCORTADBUSER       |SCHEMA                        |

INCORTADBUSER       |SESSION_VARIABLE              |

INCORTADBUSER       |TENANT                        |

INCORTADBUSER       |TENANT_CONFIG                 |

INCORTADBUSER       |USER                          |

INCORTADBUSER       |USER_ROLE                     |


37 rows selected&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2022 12:36:13 GMT</pubDate>
      <guid>https://community.incorta.com/t5/data-schema-discussions/access-incorta-s-apache-derby-database-instance/m-p/1939#M97</guid>
      <dc:creator>JoeM</dc:creator>
      <dc:date>2022-06-14T12:36:13Z</dc:date>
    </item>
  </channel>
</rss>

