Hi,
I am joining 3 tables where 1 table has more than 1 million records and rest two have more than 100000 records. The result does not display, Vertica gets hanged. Can anyone let me know what is the maximum number of records that can be displayed by a sql query in Vertica?
Number of rows returned in Vertica
Moderator: NorbertKrupa
- JimKnicely
- Site Admin
- Posts: 1825
- Joined: Sat Jan 21, 2012 4:58 am
- Contact:
Re: Number of rows returned in Vertica
Hi,
Welcome to http://vertica-forums.com!
Which version of Vertica are you running? Can you post the query and explain plan for it?
Welcome to http://vertica-forums.com!
Which version of Vertica are you running? Can you post the query and explain plan for it?
Jim Knicely
Note: I work for Vertica. My views, opinions, and thoughts expressed here do not represent those of my employer.
Note: I work for Vertica. My views, opinions, and thoughts expressed here do not represent those of my employer.
-
- Newbie
- Posts: 4
- Joined: Sat Dec 20, 2014 2:06 pm
Re: Number of rows returned in Vertica
version 2.3.1
select m.MEMID, m.YR, m.MTH, m.REFDATE, m.MM, c.PROCDRUGDESC, c.SERVICEDATE, c.CLMTYPE, m.ELIGFROM, m.ELIGTO, e.TOTPAIDAMT,e.MEDPAIDAMT, e.RXPAIDAMT
from s0971001_B.co_mmbymempermonth m join s0971001_B.co_memexpensesbymth e
on m.MEMID = e.MEMID
join s0971001_B.co_claims c
on m.MEMID = c.MEMID
select m.MEMID, m.YR, m.MTH, m.REFDATE, m.MM, c.PROCDRUGDESC, c.SERVICEDATE, c.CLMTYPE, m.ELIGFROM, m.ELIGTO, e.TOTPAIDAMT,e.MEDPAIDAMT, e.RXPAIDAMT
from s0971001_B.co_mmbymempermonth m join s0971001_B.co_memexpensesbymth e
on m.MEMID = e.MEMID
join s0971001_B.co_claims c
on m.MEMID = c.MEMID
-
- GURU
- Posts: 527
- Joined: Tue Oct 22, 2013 9:36 pm
- Location: Chicago, IL
- Contact:
Re: Number of rows returned in Vertica
Can you please confirm your Vertica version? The one you provided doesn't sound correct. The current version is 7.1.1.
Where are you running this query? A client tool (i.e. DBVisualizer), through an application, or through vsql?
Where are you running this query? A client tool (i.e. DBVisualizer), through an application, or through vsql?
Checkout vertica.tips for more Vertica resources.
Re: Number of rows returned in Vertica
Hi!
[DELETED]
[DELETED]
Last edited by id10t on Mon May 04, 2015 9:12 pm, edited 1 time in total.
-
- Newbie
- Posts: 4
- Joined: Sat Dec 20, 2014 2:06 pm
Re: Number of rows returned in Vertica
Hi,
norbertk and id10t,
I am using vertica version - 6.1.3.
I am querying in DBeaver version - 2.3.1. I am querying in its sql editor. So DBeaver gets hanged or very slow when I join with my tables which have large number of records.
- Is there a way I can get my results in DBeaver no matter however large they maybe.
- Can I apply indexing to the tables of vertica database in DBeaver?
norbertk and id10t,
I am using vertica version - 6.1.3.
I am querying in DBeaver version - 2.3.1. I am querying in its sql editor. So DBeaver gets hanged or very slow when I join with my tables which have large number of records.
- Is there a way I can get my results in DBeaver no matter however large they maybe.
- Can I apply indexing to the tables of vertica database in DBeaver?
Re: Number of rows returned in Vertica
Hi!
[DELETED]
[DELETED]
Last edited by id10t on Mon May 04, 2015 9:08 pm, edited 1 time in total.