Jump to content
php.lv forumi

jūsu domas par šo multilanguage sistēmu ..


millers

Recommended Posts

galvenā doma manam teiktajam (sākumā) bij tieši ieraksta garuma limits innodb tabulām datubāzē (~8000 baiti).

galiigi garaam ... ieraksta garums NAV ierobezots, Bet indexa grums gan ir limiteets,

InnoDB pat pashas kopeejas tabulas izmers nav ierobezots, tas ir briivi var parsniegt standarta ~~4,3Gb, vieniigi td jadala pa atseviskjiem failiem, attieciigi Limita nav ( ir bet nu vinsh ir Ljoti liels)

MyAsm --> max tabulas lielums ir ~~~4,3Gb.

--

iespejams ka gribeji noindekseet tos text (blob) laukus.. tapeec arii dabuji shamo kljuudu ..

--

tekst laukiem ieraksta garums veidojas no : pasha ieraksta + 2 baiti garuma aprakstam (TEXT tipam)

Link to comment
Share on other sites

  • Replies 31
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

No mysql dokumentācijas:

 

'The maximum row length, except for variable-length columns (VARBINARY, VARCHAR, BLOB and TEXT), is slightly less than half of a database page. That is, the maximum row length is about 8000 bytes. LONGBLOB and LONGTEXT columns must be less than 4GB, and the total row length, including BLOB and TEXT columns, must be less than 4GB.'

 

Pārbaudei:

 

CREATE TABLE `content` (
 `content_1` TEXT,
 `content_2` TEXT,
 `content_3` TEXT,
 `content_4` TEXT,
 `content_5` TEXT,
 `content_6` TEXT,
 `content_7` TEXT,
 `content_8` TEXT,
 `content_9` TEXT,
 `content_10` TEXT,
 `content_11` TEXT
)
ENGINE = InnoDB;

 

Tagad pamēģiniet ielikt katrā laukā aptuveni 1kb tekstu, nezinu, paņemiet ziņu portālā vienu rakstu un salieciet katrā laukā, liekot 11 lauciņā būs kļūda.

Edited by Maris-S
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...