Why Vertica not showing all data in the table after bulk load from SSIS?
I was loading 200 millions of rows from SQL Server to Vertica table using SSIS. I started running the SSIS package and left it run in the night. Morning I saw SSIS package showing all the 200 million rows exported successfully (no errors shown in SSIS package execution results). But when I query the table in Vertica, it shows only 38 million rows.
Can anybody tell me what is the issue here?0
Comments
Do you have any "exceptions filepath" and "rejected filepath" declared in your copy command string ?
I did not use COPY command, as mentioned in my post I used SSIS to move data from SQL Server to Vertica database.
As I have not used the COPY command, I did not expect any results in the first two points you mentioned in your response, but still I verified CopyErrorLogs folder which is empty and the two functions get_num_accepted_rows() and get_num_rejected_rows() returned "No single-source bulk loads have been executed in this session"
But when I checked the load_streams table it has rows with table name I imported to Vertica database.
Please let me know if you require any more information.
Hello, I ran into the same issue
Did you find a solution?
First, SELECT max(your_unique_row_id_key) FROM the data which was successfully loaded to Vertica
Then, choose few rows with a higher unique row id value from your data input and try to load only those specific rows.
To debug the reject reason, load it with Vertica COPY command which includes 'ABORT ON ERROR'
In the following example, change the WHERE clause for your specific use case to monitor the load.
Hello,
I tested the load of 200 million rows of data from source (SQL Server) to target (Vertica) and I could not find any issues in the load process. When I queried Vertica database, it showed me the exact no of rows (i.e. 203,241,461) being loaded from SQL Server to Vertica. Herewith, I have attached a document highlighting the configurations, settings and versions that I used wherein I did not face any issue.
PFA : DataLoad_SQLServerToVertica.docx
Hope this helps!
Regards/Vivek