Hi all,
I am trying to run Database Designer in Vertica 6 for specific queries. When I get to the point where it asks me what k safe level I want it won't let me enter a value of 1. If I do enter a 1 and continue then I get the error that you see in my attachment.
Does anyone know what it means?
Database Designer Issue in Vertica 6
Moderator: NorbertKrupa
Database Designer Issue in Vertica 6
- Attachments
-
- DB Designer
- designer_error.png (5.51 KiB) Viewed 11739 times
Thanks,
Juliette
Juliette
-
- Intermediate
- Posts: 149
- Joined: Mon Apr 30, 2012 10:04 pm
- Location: New York
- Contact:
Re: Database Designer Issue in Vertica 6
It looks like your system is already marked with a k-safety level that is not 1. To see the current design level, run this query.
select designed_fault_tolerance from system;
select designed_fault_tolerance from system;
Re: Database Designer Issue in Vertica 6
Thanks, foo!
Yikes! How did that happen? We have three nodes... I'm re-running a comprehensive database design now! Hopefully this will set my k-safety back to one...
Code: Select all
dbadmin=> select designed_fault_tolerance from system;
designed_fault_tolerance
--------------------------
0
(1 row)
Thanks,
Juliette
Juliette
-
- Intermediate
- Posts: 149
- Joined: Mon Apr 30, 2012 10:04 pm
- Location: New York
- Contact:
Re: Database Designer Issue in Vertica 6
You may already have the projections in place to be K-Safe 1 ... an easy way to test that is to run:
You will get one of the following messages (from doc):
If you specify a k value of one (1) or two (2), Vertica returns one of the following messages.
Success:
Marked design n-safe
Failure:
The schema does not meet requirements for K=n.
Fact table projection projection-name has insufficient "buddy" projections.
n in the message is 1 or 2 and represents the k value.
Code: Select all
select mark_design_ksafe(1);
If you specify a k value of one (1) or two (2), Vertica returns one of the following messages.
Success:
Marked design n-safe
Failure:
The schema does not meet requirements for K=n.
Fact table projection projection-name has insufficient "buddy" projections.
n in the message is 1 or 2 and represents the k value.
Re: Database Designer Issue in Vertica 6
Hi foo (hey, your username changed all of the sudden )
Anyway, you were right!
When I ran the select mark_design_ksafe(1) command there were a bunch of projections that were not k-safe. But after re-running a full admintools database designer run, I'm back to a k safety of 1!
Thanks for your help!
Anyway, you were right!
When I ran the select mark_design_ksafe(1) command there were a bunch of projections that were not k-safe. But after re-running a full admintools database designer run, I'm back to a k safety of 1!
Code: Select all
dbadmin=> select mark_design_ksafe(1);
mark_design_ksafe
----------------------
Marked design 1-safe
(1 row)
Thanks,
Juliette
Juliette
-
- Intermediate
- Posts: 149
- Joined: Mon Apr 30, 2012 10:04 pm
- Location: New York
- Contact:
Re: Database Designer Issue in Vertica 6
Glad it worked!
I changed my username to have my real name in it for peops on here ... makes it easier for some
I changed my username to have my real name in it for peops on here ... makes it easier for some