-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update the scaling out section #233
Update the scaling out section #233
Conversation
getting-started/scaling-out.md
Outdated
* You should already have a running PostgreSQL server on an instance | ||
that will host a data node database. The data node's database will | ||
be created when executing the `add_data_node` command on the access | ||
node and should _not_ exist prior to adding the data node. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It can exist, it will not fail, but it might be good to not encourage it.
/* Create the database with the user as owner. This command might fail
* if the database already exists, but we catch the error and continue
* with the bootstrapping if it does. */
res = remote_connection_execf(conn,
"CREATE DATABASE %s OWNER %s",
quote_identifier(dbname),
quote_identifier(username));
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Question is if we should delve into the subtleties of this here. I do say should and not must. I figure we'd keep it simple here.
getting-started/scaling-out.md
Outdated
distributed hypertables). Currently, such roles and permissions need | ||
to be created manually, although there is a [utility | ||
command][distributed_exec] that can be used to create roles and | ||
permissions across all (or a subset of) data nodes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggest to remove "all (or a subset of) ".
getting-started/scaling-out.md
Outdated
certificate authentication. Other ways of authenticating may be | ||
supported in the future. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggest to focus on what we have now, the last sentence is redundant.
getting-started/scaling-out.md
Outdated
`add_data_node` expects to be able to create a | ||
database on the remote data node and create | ||
a TimescaleDB extension within it. | ||
* Provide the host name (and optionally port) of the PostgreSQL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggest "...host name, and optionally port, of the PostgreSQL..."
* Ensure that non-superusers have `USAGE` privileges on the | ||
`timescaledb_fdw` foreign data wrapper and any | ||
data node objects they will use on the access node. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmmm.... maybe something we might consider to do automatically when adding the data node. No action here though.
getting-started/scaling-out.md
Outdated
|
||
* You should already have a running PostgreSQL server on the data node host. | ||
* You should already have a running PostgreSQL server on an instance | ||
that will host a data node database. The data node's database will |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that will host a data node database. The data node's database will | |
that will host a data node. The data node's database will |
getting-started/scaling-out.md
Outdated
Any additional users that will access a distributed hypertable currently | ||
need their own user mappings per data node with a `user` and `password` option. | ||
A user mapping can be created for a data node as follows: | ||
* Ensure that each user of a distributed hypertable have a way to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Ensure that each user of a distributed hypertable have a way to | |
* Ensure that each user of a distributed hypertable has a way to |
getting-started/scaling-out.md
Outdated
``` | ||
|
||
This will prohibit any new data to be stored on the data node. Once |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will prohibit any new data to be stored on the data node. Once | |
This will prohibit any new data from being stored on the data node. Once |
98f0af2
to
933750e
Compare
This updates the scaling out section to be up-to-date with the latest multinode APIs and functionality.
933750e
to
a29b2a3
Compare
* Ensure that the local user has `USAGE` privileges on the `timescaledb_fdw` | ||
foreign data wrapper on the access node. | ||
* Ensure that each user of a distributed hypertable has a way to | ||
[authenticate][data-node-authentication] with the data nodes they |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm assuming the page-index.js
will have been modified to accommodate this page (from the other PR)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm assuming that too :)
This updates the scaling out section to be up-to-date with the latest multinode APIs and functionality.
This updates the scaling out section to be up-to-date with the latest multinode APIs and functionality.
This updates the scaling out section to be up-to-date with the latest multinode APIs and functionality.
This updates the scaling out section to be up-to-date with the latest
multinode APIs and functionality.