You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a colocated DB, provide an option to CREATE TABLE so that large tables can opt out of using colocated tablet and create its own set of tablets instead.
The text was updated successfully, but these errors were encountered:
Summary:
Expand grammar for create colocated db/table
```
CREATE DATABASE ... WITH colocated = true | false
CREATE TABLE ... WITH (colocated = true | false)
```
Creating a colocated database will create a dummy table and a tablet. Every table in the database will share this tablet. Creating a table in a colocated database will make this table colocated by default. User can specify colocated = false to opt out using the colocated tablet
Next step is drop flow and truncate flow.
Test Plan:
`ybd --java-test org.yb.pgsql.TestPgRegressFeature`
`ybd --cxx-test pgwrapper_pg_libpq-test --gtest_filter PgLibPqTest.TabletColocation`
`ybd --cxx-test create-table-itest --gtest_filter CreateTableITest.TabletColocationRemoteBootstrapTest`
Reviewers: neha, mihnea, hector, jason
Reviewed By: hector, jason
Subscribers: bogdan
Differential Revision: https://phabricator.dev.yugabyte.com/D7608
In a colocated DB, provide an option to
CREATE TABLE
so that large tables can opt out of using colocated tablet and create its own set of tablets instead.The text was updated successfully, but these errors were encountered: