Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] How to add index using Talend.

Hi,
I need to make my ETL process fast. So I want to first DROP the existing INDEX in tables and run the entire job and when job has finished, want to ADD INDEX again. Please suggest a way to do this.
I'm getting error 'Can not issue data manipulation statements with executeQuery()' using tMysqlInput-Output pair.
thanks
Gnyanendra
Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hi
You can use txxxRow component to execute the sql statement.
Best regards
Shong

View solution in original post

5 Replies
Anonymous
Not applicable
Author

Hi
You can use txxxRow component to execute the sql statement.
Best regards
Shong
Anonymous
Not applicable
Author

thanks! it worked 0683p000009MACn.png
Gnyanendra
Anonymous
Not applicable
Author

Hi,
What's the txxxrow? I couldn't find it in talend's 4.2.1 version.
Thanks in advance
Anonymous
Not applicable
Author

cinar,
The "xxx" depends on the database you are using. For an mssql database the component will be "tmssqlrow" for example. For tmysql it will be "tmysqlrow" etc..
Hope it helps,
Regards
Anonymous
Not applicable
Author

Hi Mpa,
Thanks for your response. But I wanna ask you one more thing. What should I type in the query area of the tOracleRow for indexing?
Can the component generate the following code If I write it in the query area of the component?
CREATE INDEX mydatabase.INDX_mytable ON mydatabase.mytable
(ID1, ID2)
NOLOGGING
TABLESPACE DETAILER_INDEX
PCTFREE 10
INITRANS 2
MAXTRANS 255
STORAGE (
INITIAL 64K
NEXT 1M
MINEXTENTS 1
MAXEXTENTS UNLIMITED
PCTINCREASE 0
BUFFER_POOL DEFAULT
)
NOPARALLEL;