> Markdown version of [/jobs/ext/2295740-ai-data-database-engineer-modernization-ai-infrastructure](https://www.wearedevelopers.com/jobs/ext/2295740-ai-data-database-engineer-modernization-ai-infrastructure). Every page supports `.md` or `Accept: text/markdown`. Links point to the HTML versions so they work for humans too. Agent guide: [/agents.md](https://www.wearedevelopers.com/agents.md). --- # AI Data & Database Engineer - Modernization & AI Infrastructure - **Company:** WEX Inc. - **Location:** Portland, ME, United States - **Experience:** Expert - **Contract:** Permanent contract - **Skills:** Query Performance, Legacy Database, Application Programming Interfaces (APIs), Artificial Intelligence, Amazon Web Services, Business Logic, Architectural Patterns, Automation of Tests, Microsoft Azure, Batch Processing, Cloud Computing, Cloud Database, Code Generation, Code Review, Encodings, Databases, Continuous Integration, Information Engineering, Data Infrastructure, Data Integration, Data Integrity, Extract Transform Load (ETL), Data Transformation, Data Security, Data Systems, Database Analysis, Relational Databases, Cursor (Graphical User Interface Elements), Database Design, Software Debugging, DevOps, Programming Tools, PostgreSQL, Microsoft SQL Server, MongoDB, NoSQL, Operational Databases, Performance Tuning, Query Optimization, Search Technologies, Service-Oriented Architecture, SQL Stored Procedures, Data Streaming, Transact-SQL, Web Services, AI Infrastructure, GitHub Copilot, Large Language Models, Snowflake, Database Optimization, Indexer, Event Driven Architecture, Database Migration, Bicep, Apache Kafka, Cosmos DB, Data Management, Api Design, Terraform, Domain Driven Design, Code Restructuring, Software Version Control, Data Pipelines - **Published:** August 29, 2026 - **Apply:** https://wexinc.wd5.myworkdayjobs.com/WEXInc/job/Portland-ME/AI-Data---Database-Engineer---Modernization---AI-Infrastructure_R22933 ## About the Role * Strong hands-on experience with SQL Server, T-SQL, stored procedures, query optimization, and execution plans. * Proven experience modernizing legacy database systems and decomposing complex database logic into maintainable application or service architectures. * Strong understanding of relational database design, indexing, transactions, data integrity, and performance engineering. * Experience building production-grade data pipelines and integrating data through APIs, events, and batch processes. * Experience with one or more modern data platforms such as PostgreSQL, Snowflake, MongoDB, or Cosmos DB. * Practical experience with vector databases, embeddings, semantic search, RAG, or AI data pipelines. * Understanding of event-driven architectures and patterns such as CDC and transactional outbox. * Experience with cloud platforms and infrastructure-as-code, preferably AWS/Azure and Terraform. * Strong software engineering fundamentals, including version control, automated testing, CI/CD, and code review practices. * Demonstrated ability to use AI coding assistants effectively and willingness to incorporate AI into day-to-day engineering work., * Experience building data infrastructure specifically for LLM or agentic applications. * Experience with vector databases such as Pinecone, Azure AI Search, OpenSearch, pgvector, or similar technologies. * Experience with Kafka or other event-streaming platforms. * Experience developing retrieval services or RAG evaluation frameworks. * Experience creating internal AI-powered developer tools or automation. * Experience working in large-scale, distributed, cloud-native environments. How You'll Make an Impact You'll play a key role in transforming how WEX manages and uses data-from modernizing foundational SQL Server systems to building the retrieval and data infrastructure required for the next generation of AI applications. This role is ideal for an engineer who enjoys deep technical problem-solving and wants to work at the intersection of database engineering, modernization, and AI infrastructure. ## Description WEX is looking for a Senior AI Data & Database Engineer to help modernize critical SQL Server systems while building the data infrastructure that powers AI applications and agents. This is a hands-on engineering role spanning database modernization, performance engineering, data pipelines, and AI-native retrieval infrastructure. You'll work across two highly connected areas: modernizing complex legacy database systems by extracting business logic, improving performance, and enabling event-driven architectures; and building AI-ready data capabilities including embedding pipelines, vector search, RAG infrastructure, and retrieval services. We're looking for someone who enjoys solving hard data problems and is excited to use AI as an engineering accelerator. You'll use tools such as GitHub Copilot, Cursor, and Claude Code to analyze legacy code, generate and validate migration scripts, troubleshoot performance issues, and automate database engineering workflows., * Analyze complex SQL Server stored procedures and identify embedded business logic, dependencies, and data access patterns. * Refactor stored procedures using established architectural patterns to simplify data access, improve maintainability, and enable business logic to move into services. * Design and execute database migrations while maintaining data integrity, availability, and backward compatibility. * Analyze execution plans, optimize queries, and design effective indexing strategies for high-volume workloads. * Implement event-driven database patterns including CDC, outbox patterns, and event publishing. * Build automated tests and validation processes for database changes, migrations, and refactored procedures. * Create structured, AI-consumable documentation including annotated schemas, procedures, dependencies, and system context., * Build embedding pipelines covering text extraction, preprocessing, chunking, embedding generation, and vector storage. * Implement and optimize vector databases, vector indexes, semantic search, and hybrid retrieval patterns. * Build synchronization pipelines that keep vector stores aligned with source systems. * Develop retrieval APIs and services consumed by AI applications and agents. * Implement evaluation and monitoring for RAG systems, including retrieval quality, latency, relevance, and data freshness. * Partner with AI/ML engineers to improve embedding strategies, retrieval quality, and overall AI data performance., * Design and implement reliable ETL/ELT pipelines across SQL Server, PostgreSQL, Snowflake, and cloud data services. * Build API-based ingestion, event streaming, and batch-processing workflows. * Implement data quality, validation, observability, and operational monitoring for data pipelines. * Develop infrastructure-as-code for database provisioning and configuration using Terraform and ARM/Bicep. * Support NoSQL data solutions including MongoDB and Cosmos DB, with a focus on data modeling and query performance. * Design data access patterns that support domain-driven architectures, including repositories, query services, and read models. AI-Assisted Engineering * Use AI coding assistants daily to accelerate database analysis, code generation, debugging, testing, and documentation. * Develop prompts, scripts, and workflows that apply AI to database engineering and modernization challenges. * Contribute to AI-powered engineering tools such as stored procedure analyzers, schema documentation generators, and migration assistants. * Create structured context and artifacts that enable AI agents and coding tools to reason effectively about data systems. * Evaluate emerging AI tools and identify practical opportunities to improve engineering productivity. Collaboration & Engineering Excellence * Partner with application, platform, and AI/ML engineers to design scalable, reliable data solutions. * Participate in code and architecture reviews for database, data platform, and AI infrastructure changes. * Troubleshoot complex production data and performance issues and contribute to operational support as needed. * Document technical decisions, patterns, and solutions so knowledge is reusable across engineering teams. * Mentor engineers on database design, performance optimization, data engineering, and modern engineering practices. ## Related Videos - [From DevOps to Scaled DevOps: How We’re Rebuilding Continuous Delivery as a Platform](https://www.wearedevelopers.com/videos/100018-from-devops-to-scaled-devops-how-we-re-rebuilding-continuous-delivery-as-a-platform) - [Back(end) to the Future: Embracing the continuous Evolution of Infrastructure and Code](https://www.wearedevelopers.com/videos/440-back-end-to-the-future-embracing-the-continuous-evolution-of-infrastructure-and-code) - [Leveraging Real time data in FSIs](https://www.wearedevelopers.com/videos/806-leveraging-real-time-data-in-fsis) - [From Messy Queries to Scalable Systems - How Data Engineering actually works](https://www.wearedevelopers.com/videos/100203-from-messy-queries-to-scalable-systems-how-data-engineering-actually-works) - [DevOps Maturity Check – a way to balance autonomy and alignment](https://www.wearedevelopers.com/videos/58-devops-maturity-check-a-way-to-balance-autonomy-and-alignment) - [Postgres in the Age of AI (and Devin)](https://www.wearedevelopers.com/videos/1042-postgres-in-the-age-of-ai-and-devin) ## Related Articles - [Navigating the AI Shift](https://www.wearedevelopers.com/magazine/629-navigating-the-ai-shift) - [How to Become an AI Engineer](https://www.wearedevelopers.com/magazine/331-how-to-become-an-ai-engineer) - [Making Data Warehouses Fast: A Developer’s Story](https://www.wearedevelopers.com/magazine/107-making-data-warehouses-fast-a-developer-s-story) - [Coffee with Developers - Maria Apazoglou - Making AI understandable for all in production](https://www.wearedevelopers.com/magazine/475-coffee-with-developers-maria-apazoglou-making-ai-understandable-for-all-in-production) - [Graph and AI Trends 2026: Why Is AI Running but Not Yet Delivering?](https://www.wearedevelopers.com/magazine/680-graph-and-ai-trends-2026-why-is-ai-running-but-not-yet-delivering) - [Dev Digest 120 - Apple and peers](https://www.wearedevelopers.com/magazine/455-dev-digest-120-apple-and-peers)