Implementing CFS
After Vertica ingests documents from IDOL into flex tables, you can implement CFS to secure those documents. Implementing the security requires that the Vertica database administrator modify the CFS configuration file.
Modify the CFS configuration file
The database administrator must modify the following in the CFS configuration file to have CFS automatically index the metadata:
-
In the [Indexing] section, set the IndexerSections parameter to vertica:
[Indexing] IndexerSections=vertica IndexBathSize=1 IndexTimeInterval=30
-
Create a new section with the same name you entered in the IndexerSections parameter and enter the following parameters and keywords:
[vertica] IndexerType=Library ConnectionString=Driver=Vertica;Server=123.456.478.900;Databaswe=myDb;UID=dbadmin;PWD=password TableName=myFlexTable LibraryDirectory= ./shared_library_indexers LibraryName=VerticaIndexer
The VerticaIndexer (LibraryName
above) is part of CFS. To use this tool, you must install and configure the Vertica ODBC drivers on the same machine as CFS. CFS sends JSON-formatted data to the Flex table using ODBC.
For more information, see Installing ODBC drivers on Linux.
Query the IDOL data
To query the IDOL data in a flex table, run a simple SELECT query. In this example, idol_table is the name of the flex table:
=> SELECT * FROM idol_table;