<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Juanitoramos on Medium]]></title>
        <description><![CDATA[Stories by Juanitoramos on Medium]]></description>
        <link>https://medium.com/@juanitoramos113?source=rss-4f0244af7324------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*4JDdVPC5nSSI8C_9</url>
            <title>Stories by Juanitoramos on Medium</title>
            <link>https://medium.com/@juanitoramos113?source=rss-4f0244af7324------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 08:56:58 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@juanitoramos113/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Vertica DB on Kubernetes: Installation Steps]]></title>
            <link>https://medium.com/@juanitoramos113/vertica-db-on-kubernetes-installation-steps-5ee952159b22?source=rss-4f0244af7324------2</link>
            <guid isPermaLink="false">https://medium.com/p/5ee952159b22</guid>
            <dc:creator><![CDATA[Juanitoramos]]></dc:creator>
            <pubDate>Mon, 23 Jun 2025 06:20:41 GMT</pubDate>
            <atom:updated>2025-06-23T06:20:41.526Z</atom:updated>
            <content:encoded><![CDATA[<p>Vertica is a powerful, massively parallel processing (MPP) analytical database management system designed for big data and high-performance analytics. Here are some key characteristics and features:</p><ul><li><strong>Columnar Storage:</strong> Unlike traditional row-based databases, Vertica stores data in columns. This offers significant performance advantages for analytical queries that typically involve aggregating and filtering large amounts of data across specific columns. Only the necessary columns are accessed, reducing I/O and improving query speed.</li><li><strong>MPP Architecture:</strong> Vertica employs a shared-nothing architecture where data is distributed across multiple independent nodes. Each node processes its portion of the data in parallel, allowing for high scalability and fast query execution, even on very large datasets (petabyte scale).</li><li><strong>Designed for Analytics:</strong> Vertica is specifically optimized for online analytical processing (OLAP) workloads. It excels at complex queries, aggregations, joins, and analytical functions.</li><li><strong>In-Database Analytics and Machine Learning:</strong> Vertica supports performing advanced analytics and even machine learning tasks directly within the database using SQL extensions. This eliminates the need to move data to separate analytics platforms.</li><li><strong>Scalability and High Availability:</strong> You can easily scale out a Vertica cluster by adding more nodes. It also offers features for high availability to ensure continuous operation.</li><li><strong>Data Compression:</strong> Vertica utilizes advanced compression techniques to reduce storage space and improve query performance by reducing the amount of data that needs to be read from disk.</li><li><strong>Integration with Ecosystem:</strong> Vertica integrates well with various data integration, business intelligence, and data science tools. It supports common data formats and loading mechanisms.</li></ul><h3><strong>Software Prerequisites</strong></h3><ul><li>Docker Desktop for Windows: (<a href="https://docs.docker.com/desktop/">https://docs.docker.com/desktop/</a>)</li><li>Enabled Kubernetes on Docker Desktop (Navigate to settings &gt; Kubernetes &gt; Click Enable Kubernetes)</li><li>Installed git command with default settings: (<a href="https://github.com/git-for-windows/git/releases/download/v2.50.0.windows.1/Git-2.50.0-64-bit.exe">https://github.com/git-for-windows/git/releases/download/v2.50.0.windows.1/Git-2.50.0-64-bit.exe</a></li></ul><h3><strong>Step-by-Step Guide</strong></h3><ol><li><strong>Chocolatey and Helm CLI Tool Installation</strong></li></ol><p><em>Run this in PowerShell as Administrator:</em></p><pre>Set-ExecutionPolicy Bypass -Scope Process -Force; `<br>[System.Net.ServicePointManager]::SecurityProtocol = `<br>[System.Net.ServicePointManager]::SecurityProtocol -bor 3072; `<br>iex ((New-Object System.Net.WebClient).DownloadString(&#39;https://community.chocolatey.org/install.ps1&#39;))</pre><p><em>Install Helm using Chocolatey:</em></p><pre>choco install kubernetes-helm</pre><p><em>To check if Chocolatey is installed:</em></p><pre>choco -v</pre><p><em>To check if Helm is installed:</em></p><pre>helm version</pre><p><strong>2. Minio Installation</strong></p><p><em>Open PowerShell as Administrator create and navigate to the </em><em>C:\Users\&lt;your_username&gt;\docker-vertica\ directory.</em></p><ul><li>mkdir docker-vertica</li><li>cd C:\Users\&lt;your_username&gt;\docker-vertica\</li></ul><p><em>Create yaml file and save it as</em>minio-deployment.yaml.</p><ul><li>@&quot; { yaml file content} &quot;@ | Out-File -Encoding UTF8 minio-deployment.yaml</li></ul><pre>apiVersion: v1<br>kind: Namespace<br>metadata:<br>  name: minio<br>---<br>apiVersion: v1<br>kind: Service<br>metadata:<br>  name: minio-service<br>  namespace: minio<br>spec:<br>  type: NodePort<br>  ports:<br>    - port: 9000<br>      targetPort: 9000<br>      nodePort: 30000<br>      name: api<br>    - port: 9001<br>      targetPort: 9001<br>      nodePort: 30001<br>      name: console<br>  selector:<br>    app: minio<br>---<br>apiVersion: apps/v1<br>kind: Deployment<br>metadata:<br>  name: minio<br>  namespace: minio<br>spec:<br>  replicas: 1<br>  selector:<br>    matchLabels:<br>      app: minio<br>  template:<br>    metadata:<br>      labels:<br>        app: minio<br>    spec:<br>      containers:<br>        - name: minio<br>          image: quay.io/minio/minio<br>          args:<br>            - server<br>            - /data<br>            - --console-address<br>            - &quot;:9001&quot;<br>          env:<br>            - name: MINIO_ROOT_USER<br>              value: minioadmin<br>            - name: MINIO_ROOT_PASSWORD<br>              value: minioadmin<br>          ports:<br>            - containerPort: 9000<br>            - containerPort: 9001<br>          volumeMounts:<br>            - name: minio-data<br>              mountPath: /data<br>      volumes:<br>        - name: minio-data<br>          emptyDir: {}</pre><p><em>Install minio by executing this PowerShell command:</em></p><pre>kubectl apply -f minio-deployment.yaml</pre><p><em>Check minio pods.</em></p><pre>kubectl get pods -n minio</pre><p><em>Access Minio UI through your browser:</em></p><p><a href="http://localhost:30001/">http://localhost:30001/</a></p><pre>User: minioadmin<br>Password: minioadmin</pre><p><em>Create a bucket. Click </em><strong><em>Create Bucket </em></strong><em>and name it </em><strong><em>vertica-data</em></strong></p><p><strong>3. Vertica DB Installation</strong></p><p><em>Create another YAML file and save it as </em>verticadb.yaml</p><ul><li>@&quot; { yaml file content} &quot;@ | Out-File -Encoding UTF8 verticadb.yaml</li></ul><pre>apiVersion: vertica.com/v1<br>kind: VerticaDB<br>metadata:<br>  name: vertica-eon<br>  namespace: vertica<br>spec:<br>  image: opentext/vertica-k8s:25.1.0-0<br>  initPolicy: Create<br>  dbName: vertdb<br>  communal:<br>    path: s3://vertica-data/<br>    credentialSecret: minio-creds<br>    endpoint: http://minio-service.minio.svc.cluster.local:9000<br>  subclusters:<br>    - name: sc<br>      size: 3<br>  volumes:<br>    - name: data<br>      emptyDir: {}</pre><p><em>Clone the vertica-kubernetes from git. Open CMD and execute the following command:</em></p><ul><li>cd C:\Users\&lt;your_username&gt;\docker-vertica\vertica-kubernetes\helm-charts\verticadb-operator\</li></ul><pre>helm repo add vertica https://vertica.github.io/charts<br>helm repo update<br>helm install vertica-operator vertica/verticadb-operator --create-namespace -n vertica</pre><p><em>Check pods</em></p><pre>kubectl get pods -n vertica</pre><p><em>Create secret minio credentials</em></p><pre>kubectl create secret generic minio-creds --from-literal=accesskey=minioadmin --from-literal=secretkey=minioadmin -n vertica</pre><p><em>Install and create vertica database</em></p><pre>kubectl apply -f verticadb.yaml</pre><p><em>Check pods</em></p><pre>kubectl get pods -n vertica -w</pre><p><em>Access the vertica database</em></p><pre>kubectl exec -it -n vertica vertica-eon-sc-0 -c server -- vsql -h 127.0.0.1 -U dbadmin -d vertdb</pre><p><em>Check running nodes. Show databases, tables, and users respectively.</em></p><pre>SELECT node_name, node_state FROM nodes;<br>\l<br>\dt<br>\du</pre><p><em>Create a sample database, insert sample data, and query it.</em></p><pre>-- Create a sample table<br>SELECT node_name, node_state FROM nodes;<br><br>-- Insert sample data<br>INSERT INTO test_table VALUES (1, &#39;Vertica&#39;), (2, &#39;Eon&#39;);<br><br>-- Query the data<br>SELECT * FROM test_table;</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5ee952159b22" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>