Search found 118 matches

by becky
Wed Sep 17, 2014 1:28 am
Forum: Vertica SQL
Topic: Performance tuning a COUNT DISTINCT
Replies: 6
Views: 12267

Performance tuning a COUNT DISTINCT

Hi all,

Does anyone have any tips or best ways to handle a COUNT DISTINCT on a very large data set (> 1 million rows in a fact table). I'm seeing my queries take > 30 seconds with the COUNT DISTINCT and about 7 seconds with a simple COUNT.

Thanks!
by becky
Thu Mar 13, 2014 2:16 pm
Forum: New to Vertica Database Administration
Topic: Memory used by idle session
Replies: 3
Views: 8383

Re: Memory used by idle session

Thanks, guys! Scutter, you said: Idle sessions don’t use any memory It has to consume some memory, right? What about the session meta-data? Like the data (i.e. last_statement) in the sessions table itself. Doesn't that consume memory? If you multiply that small amount of memory usage by 100's of ina...
by becky
Wed Mar 12, 2014 8:49 pm
Forum: New to Vertica Database Administration
Topic: Memory used by idle session
Replies: 3
Views: 8383

Memory used by idle session

Hi!

Is there a way to determine the amount of a host's system resources an orphan/zombie session is wasting in the DB? It seems a reporting tool we are using isn;t closing sessions :(
by becky
Wed Feb 26, 2014 9:05 pm
Forum: New to Vertica Database Administration
Topic: Prevent Clients from Connecting from Certain Tools
Replies: 1
Views: 5071

Prevent Clients from Connecting from Certain Tools

Hi,

Is it possible to prevent users from connecting to the Vertica DB from certain client tools? For instance, say I don't want any one connecting from MS Excel or query tools like Toad.
by becky
Thu Nov 14, 2013 5:38 pm
Forum: New to Vertica Database Administration
Topic: Creating more than 1 UK on a column?
Replies: 2
Views: 6017

Creating more than 1 UK on a column?

Vertica won't let me create more than one PK constraint on a column: dbadmin=> create table s (s1 int not null); CREATE TABLE dbadmin=> alter table s add constraint pk1 primary key (s1); ALTER TABLE dbadmin=> alter table s add constraint pk2 primary key (s1); ROLLBACK 4413: Primary constraint for re...
by becky
Tue Nov 12, 2013 2:51 pm
Forum: New to Vertica Database Administration
Topic: Analyzing all tables in a schema
Replies: 2
Views: 5681

Re: Analyzing all tables in a schema

Oops, sorry, Jim... I should have searched and found that myself :oops: Thanks!
by becky
Tue Nov 12, 2013 1:46 pm
Forum: New to Vertica Database Administration
Topic: Analyzing all tables in a schema
Replies: 2
Views: 5681

Analyzing all tables in a schema

Howdy,

Is there an option on the ANALYZE_STATISTICS function that will allow me to analyze all the tables in the schema, or do I have to do each table individually?

Go to advanced search