Search found 36 matches

by doug_harmon
Thu Nov 15, 2012 10:17 pm
Forum: Vertica Data Load
Topic: Loading data using XML file
Replies: 9
Views: 21046

Re: Loading data using XML file

No.
by doug_harmon
Thu Nov 15, 2012 3:00 pm
Forum: Vertica Data Load
Topic: Loading data using XML file
Replies: 9
Views: 21046

Re: Loading data using XML file

The Vertica blog recently posted an example.

http://www.vertica.com/2012/11/14/how-t ... nalfilter/
by doug_harmon
Fri Oct 12, 2012 2:25 am
Forum: Vertica Analytics
Topic: Excel + Vertica without MS SQL server cube
Replies: 2
Views: 18012

Re: Excel + Vertica without MS SQL server cube

I don't know of a way to speed up the need to download of all of the records without some type of intermediate caching system (Sharepoint, SSAS). Once the records are downloaded the best way to speed up the Excel analysis for smallish (< 1mm record) data sets is to use PowerPivot.
by doug_harmon
Wed Aug 01, 2012 3:59 am
Forum: ODBC
Topic: Connecting to Vertica from SAS
Replies: 1
Views: 16692

Connecting to Vertica from SAS

I was able to connect SAS to Vertica from a Windows OS. After setting up and testing the ODBC connection I used this syntax to create a SAS library. The tricky part is remembering to include the schema name. LIBNAME <VerticaLibaryName> DATASRC='<ODBCDataSourceName' USER='<UserName>' PASSWORD='<Passw...
by doug_harmon
Tue Jun 12, 2012 4:22 pm
Forum: Vertica SQL
Topic: Selecting a Random Set of Rows from a Table
Replies: 8
Views: 26242

Re: Selecting a Random Set of Rows from a Table

Try this:

Code: Select all

select A.*
from (
select random() as RandomNumber, *
from <TableNameGoesHere>  ) as A
order by RandomNumber
limit 100000;
by doug_harmon
Thu Mar 29, 2012 3:23 pm
Forum: Vertica Database Development
Topic: Tally Table
Replies: 2
Views: 7325

Re: Tally Table

Thanks for sharing, that's an elegant solution.
by doug_harmon
Wed Mar 28, 2012 4:29 pm
Forum: Vertica Database Development
Topic: Tally Table
Replies: 2
Views: 7325

Tally Table

I needed to create a tally table. Here's how I did it. #!/bin/bash # Create a Tally Table. export SQLFile=/tmp/TallyLoad.sql echo -n "" > $SQLFile export DataFile=/tmp/Tally.dat echo -n "" > $DataFile export i for i in {1..100000} do echo "${i}" >> $DataFile done echo 'DROP TABLE Tally;' >> $SQLFile...

Go to advanced search