Why is the is_system_table" column in the TABLES table?

Moderator: NorbertKrupa

Post Reply
beth
Intermediate
Intermediate
Posts: 58
Joined: Tue Oct 01, 2013 12:42 pm

Why is the is_system_table" column in the TABLES table?

Post by beth » Sun May 18, 2014 10:41 pm

Anyone know why the "is_system_table" column is in the TABLES system table? It seems like the TABLES system tables only lists user created tables. The schemas v_catalog and v_internal are not available...

Code: Select all

dbadmin=> select count(*) from tables where is_system_table;
 count
-------
     0
(1 row)

dbadmin=> select count(*) from tables where table_schema in ('v_catalog', 'v_monitor');
 count
-------
     0
(1 row)
I just found this to be a useless column and kind of weird. I am using Vertica 7 BTW.

User avatar
JimKnicely
Site Admin
Site Admin
Posts: 1825
Joined: Sat Jan 21, 2012 4:58 am
Contact:

Re: Why is the is_system_table" column in the TABLES table?

Post by JimKnicely » Mon May 19, 2014 2:45 am

Probably the same reason the "constraint_type" column is in the "primary_keys" and "foreign_keys" tables :)
Jim Knicely

Image

Note: I work for Vertica. My views, opinions, and thoughts expressed here do not represent those of my employer.

Post Reply

Return to “New to Vertica Database Administration”