Yoda Response: Optimized a database for high-velocity data, I have. In a project involving real-time analytics, used NoSQL database, we did, MongoDB. Employed sharding to distribute the data across multiple servers, ensuring scalability and high availability. Indexed critical fields to speed up query performance, we did. For SQL databases, normalized tables to reduce redundancy, I have, but also used denormalization in some cases to optimize read performance. Implemented partitioning to manage large datasets efficiently, we did. Regularly monitored and tuned the database performance using tools like AWS RDS Performance Insights, ensuring optimal performance even under high load.