Number of rows returned in Vertica

Moderator: NorbertKrupa

mavericky10
Newbie
Newbie
Posts: 4
Joined: Sat Dec 20, 2014 2:06 pm

Number of rows returned in Vertica

Post by mavericky10 » Sat Dec 20, 2014 4:25 pm

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?

User avatar
JimKnicely
Site Admin
Site Admin
Posts: 1825
Joined: Sat Jan 21, 2012 4:58 am
Contact:

Re: Number of rows returned in Vertica

Post by JimKnicely » Sat Dec 20, 2014 5:03 pm

Hi,

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

Image

Note: I work for Vertica. My views, opinions, and thoughts expressed here do not represent those of my employer.

mavericky10
Newbie
Newbie
Posts: 4
Joined: Sat Dec 20, 2014 2:06 pm

Re: Number of rows returned in Vertica

Post by mavericky10 » Sat Dec 20, 2014 5:20 pm

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

NorbertKrupa
GURU
GURU
Posts: 527
Joined: Tue Oct 22, 2013 9:36 pm
Location: Chicago, IL
Contact:

Re: Number of rows returned in Vertica

Post by NorbertKrupa » Sun Dec 21, 2014 1:15 am

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?
Checkout vertica.tips for more Vertica resources.

id10t
GURU
GURU
Posts: 732
Joined: Mon Apr 16, 2012 2:44 pm

Re: Number of rows returned in Vertica

Post by id10t » Sun Dec 21, 2014 9:23 am

Hi!

[DELETED]
Last edited by id10t on Mon May 04, 2015 9:12 pm, edited 1 time in total.

mavericky10
Newbie
Newbie
Posts: 4
Joined: Sat Dec 20, 2014 2:06 pm

Re: Number of rows returned in Vertica

Post by mavericky10 » Sun Dec 21, 2014 12:28 pm

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?

id10t
GURU
GURU
Posts: 732
Joined: Mon Apr 16, 2012 2:44 pm

Re: Number of rows returned in Vertica

Post by id10t » Sun Dec 21, 2014 12:52 pm

Hi!

[DELETED]
Last edited by id10t on Mon May 04, 2015 9:08 pm, edited 1 time in total.

Post Reply

Return to “New to Vertica”