forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Lu, Huayi <luhuayi@huawei.com> Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
33 lines
2.1 KiB
HTML
33 lines
2.1 KiB
HTML
<a name="EN-US_TOPIC_0000001772536512"></a><a name="EN-US_TOPIC_0000001772536512"></a>
|
|
|
|
<h1 class="topictitle1">MAX_ROWS</h1>
|
|
<div id="body8662426"><p id="EN-US_TOPIC_0000001772536512__en-us_topic_0000001658024770_en-us_topic_0000001385456446_en-us_topic_0214164396_p579713312318">In MySQL, <strong id="EN-US_TOPIC_0000001772536512__en-us_topic_0000001658024770_en-us_topic_0000001385456446_b149896646331659">MAX_ROWS</strong> indicates the maximum number of rows that can be stored in a table. This attribute will be deleted during migration using DSC.</p>
|
|
<p id="EN-US_TOPIC_0000001772536512__en-us_topic_0000001658024770_en-us_topic_0000001385456446_en-us_topic_0214164396_p136120543415"><strong id="EN-US_TOPIC_0000001772536512__en-us_topic_0000001658024770_en-us_topic_0000001385456446_en-us_topic_0214164396_b15676224145516">Input</strong></p>
|
|
<pre class="screen" id="EN-US_TOPIC_0000001772536512__en-us_topic_0000001658024770_en-us_topic_0000001385456446_en-us_topic_0214164396_screen14793185144311">CREATE TABLE `public`.`runoob_alter_test`(
|
|
`dataType1` int NOT NULL AUTO_INCREMENT,
|
|
`dataType2` DOUBLE(20,8),
|
|
`dataType3` TEXT NOT NULL,
|
|
PRIMARY KEY(`dataType1`)
|
|
);
|
|
|
|
ALTER TABLE runoob_alter_test MAX_ROWS 100000;
|
|
ALTER TABLE runoob_alter_test MAX_ROWS=100000;</pre>
|
|
<p id="EN-US_TOPIC_0000001772536512__en-us_topic_0000001658024770_en-us_topic_0000001385456446_en-us_topic_0214164396_p12114173518210"><strong id="EN-US_TOPIC_0000001772536512__en-us_topic_0000001658024770_en-us_topic_0000001385456446_en-us_topic_0214164396_b766312815520">Output</strong></p>
|
|
<pre class="screen" id="EN-US_TOPIC_0000001772536512__en-us_topic_0000001658024770_en-us_topic_0000001385456446_en-us_topic_0214164396_screen18955193712444">CREATE TABLE "public"."runoob_alter_test"
|
|
(
|
|
"datatype1" SERIAL NOT NULL,
|
|
"datatype2" DOUBLE PRECISION,
|
|
"datatype3" TEXT NOT NULL,
|
|
PRIMARY KEY ("datatype1")
|
|
)
|
|
WITH ( ORIENTATION = ROW, COMPRESSION = NO )
|
|
NOCOMPRESS
|
|
DISTRIBUTE BY HASH ("datatype1");</pre>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_16_0119.html">Table (Optional Parameters and Operations)</a></div>
|
|
</div>
|
|
</div>
|
|
|