Search found 14 matches
- Fri Nov 15, 2013 4:18 pm
- Forum: New to Vertica
- Topic: How can I hide passwords for vsql in shell scripts?
- Replies: 11
- Views: 22945
How can I hide passwords for vsql in shell scripts?
I usually place the username and password on the vsql command line in scripts. However, the "ps" command will show the command line of the process to other users, thus revealing the username and password for the account! Is it possible to hide the password from other users when they invoke "ps"?
- Wed Nov 06, 2013 12:44 pm
- Forum: New to Vertica Database Administration
- Topic: Refresh Statistics
- Replies: 3
- Views: 8527
Re: Refresh Statistics
nnani/scutter,
Thanks for the help! I'll incorporate a daily check that looks for stale and no statistics and run the analyze_statistics funcntion on tables I load during the ETL.
Thanks for the help! I'll incorporate a daily check that looks for stale and no statistics and run the analyze_statistics funcntion on tables I load during the ETL.
- Mon Nov 04, 2013 3:40 pm
- Forum: New to Vertica Database Administration
- Topic: Refresh Statistics
- Replies: 3
- Views: 8527
Refresh Statistics
Hi,
Is there a best practice for how often table statistics need to be refreshed? How can I tell which tables have out of date statistics?
Thanks!
Is there a best practice for how often table statistics need to be refreshed? How can I tell which tables have out of date statistics?
Thanks!
- Sun Oct 27, 2013 4:46 pm
- Forum: Vertica SQL Functions
- Topic: SUBSTR() vs SUBSTRING()
- Replies: 2
- Views: 19385
Re: SUBSTR() vs SUBSTRING()
Sorry, skwa, call me stupid, but I still don't understand the difference. Even after reading the documentation. Keep in mind I'm a dba just out a college so I am a newbie to the extreme (pls be gentle).
- Wed Oct 23, 2013 3:20 am
- Forum: Vertica SQL Functions
- Topic: SUBSTR() vs SUBSTRING()
- Replies: 2
- Views: 19385
SUBSTR() vs SUBSTRING()
Hello, Is there a difference between the SUBSTR() vs SUBSTRING() functions? There doesn't appear to be. dbadmin=> select substr('whatisthedifference', 10), substring('whatisthedifference', 10); substr | substring ------------+------------ difference | difference (1 row) Why do they both exist if the...
- Thu Oct 17, 2013 1:33 pm
- Forum: New to Vertica Database Administration
- Topic: Export Data as Insert Statements
- Replies: 3
- Views: 8869
Re: Export Data as Insert Statements
Thank you for responding to my question, Jim. The method of extracting the data into a flat file and then loading it later via the copy command will work for us.
You said "There isn't an easy way to export data as insert statements.", so what's the hard way
You said "There isn't an easy way to export data as insert statements.", so what's the hard way
- Wed Oct 16, 2013 8:54 pm
- Forum: New to Vertica Database Administration
- Topic: Export Data as Insert Statements
- Replies: 3
- Views: 8869
Export Data as Insert Statements
Hi,
Is it possible to export data from a table into a script in the form of insert statements? This is an nice feature in MySQL. I would like to have backup scripts that I can use to easily reload dimension tables.
Thanks!!!
Is it possible to export data from a table into a script in the form of insert statements? This is an nice feature in MySQL. I would like to have backup scripts that I can use to easily reload dimension tables.
Thanks!!!