I am very new to vertica. I have written a simple Insert into statement, but its taking hours long to execute for 1 million records.
like:
insert into abc(a,b,c)
select x,y,z from xyz
where x > 20;
is there anyway to improve the performance? there is sequencing in place for the target table.
Thanks in advance!!
Use Covered Index, it improve the performances
https://www.simple-talk.com/sql/learn-sql-server/using-covering-indexes-to-improve-query-performance/