In the Vertica database, what does the term "namespace" mean?
I have reviewed the entire Vertica documentation and cannot find what this means.
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It only takes a minute to sign up.
Sign up to join this communityIn the Vertica database, what does the term "namespace" mean?
I have reviewed the entire Vertica documentation and cannot find what this means.
The namespace refers to a schema (select * from [schema].[tablename]). If you search the "SQL Reference guide" you will find the term used interchangeably, although, schema is used a lot more since its standard SQL.
I don't think it has to do with the schema synonym - and schemas don't have synonyms, they use search_path
that lists in order the schemas Vertica will try to resolve the full path to the object.
For example :
vertica=> select * from bla;
ERROR: relation "bla" does not exist
vertica_user1=> show search_path;
name | setting
-------------+---------------------------------------------------
search_path | "$user", public, v_catalog, v_monitor, v_internal
(1 row)
vertica_user1=> set search_path = main_wh, "$user", public, v_catalog, v_monitor, v_internal;
SET
vertica_user1=> select * from bla;;
*
-------
xxx
Hope this helped!