Search found 163 matches

by adrian.oprea
Tue May 28, 2013 8:17 pm
Forum: Vertica SQL
Topic: How to simulate Subqueries in the ON Clause in Vertica
Replies: 8
Views: 17675

Re: How to simulate Subqueries in the ON Clause in Vertica

The error is :

Code: Select all

Error: [Vertica][VJDBC](4816) ERROR: Subqueries in the ON clause are not supported SQLState: 0A000 ErrorCode: 4816 
by adrian.oprea
Tue May 28, 2013 8:16 pm
Forum: Vertica SQL
Topic: How to simulate Subqueries in the ON Clause in Vertica
Replies: 8
Views: 17675

Re: How to simulate Subqueries in the ON Clause in Vertica

Hy Jim, Thank you for answering so fast. The actul code is the one here : SELECT DISTINCT DocFinanceiro.AutoId AS AutoId, DocFinanceiro.Classe AS ClasseDoc, EspecPrestador.Seq AS Sequencia, pAux.Codigo AS CodigoPrest, PessoaPrest.Nome AS NomePrestador, DocFinanceiro.CompFinanceira AS CompFinanceira,...
by adrian.oprea
Tue May 28, 2013 12:12 am
Forum: Vertica SQL
Topic: How to simulate Subqueries in the ON Clause in Vertica
Replies: 8
Views: 17675

How to simulate Subqueries in the ON Clause in Vertica

Hy everbody , i am having some trouble in transforming a query that has a set of subqueries in the ON clause. The initial code was created in SQL Server and i have changed to work on Vertica. This is the code : SELECT DISTINCT DocFinanceiro.AutoId AS AutoId, DocFinanceiro.Classe AS ClasseDoc, EspecP...
by adrian.oprea
Fri May 24, 2013 11:22 pm
Forum: Vertica SQL
Topic: " on delete cascade Constaints " - in Vertica
Replies: 0
Views: 3859

" on delete cascade Constaints " - in Vertica

Hy everybody ! How can a make use of "on delete cascade" in Vertica. I am migrating from SQL Server to Vertica and so far so good but now i am stuck !! Any ideas ? Ex: alter table BLA add constraint BLA_FK foreign key(xxx) references tab2(xxxx) on delete cascade ; - i get ROLLBACK 4229: ON DELETE ac...
by adrian.oprea
Mon May 20, 2013 3:23 pm
Forum: Vertica Database Administration
Topic: Execution time ! Accurate
Replies: 16
Views: 30245

Re: Execution time ! Accurate

I don't have any docs on performance tuning. The profiling data would give you insight into exactly where the time is being spent. Once you identify that you can consider your options - projection design, data model changes, or adding additional nodes. yes this is the way to do it !! Thx , great ad...
by adrian.oprea
Mon May 20, 2013 3:11 pm
Forum: Vertica Error Codes
Topic: Vsql error !!
Replies: 4
Views: 25654

Re: Vsql error !!

Chekc the logs , of the specific host !
Place this on the forum , or maybe you will see the error inside the log !! that is the first place you look !
by adrian.oprea
Thu May 16, 2013 10:14 pm
Forum: Vertica Database Administration
Topic: Execution time ! Accurate
Replies: 16
Views: 30245

Re: Execution time ! Accurate

If the result set is large and your application is going to process the results in batches, then it might be interesting for you to know how long the "first fetch" takes versus the entire result set. I am no sure i understand what you mean by this. But regarding QUERY_PLAN_PROFILES ,EXECUTION_ENGIN...

Go to advanced search