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:

  1. In the [Indexing] section, set the IndexerSections parameter to vertica:
    [Indexing] IndexerSections=vertica IndexBathSize=1 IndexTimeInterval=30
  1. 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;