Hi all,

I created a new DB from our existing DO-DB with an generated SQL-Create-Script and got the following warnings.

Warning! The maximum key length is 900 bytes. The index 'PK_Extension' has maximum length of 2048 bytes. For some combination of large values, the insert/update operation will fail.

Warning! The maximum key length is 900 bytes. The index 'PK_Assembly' has maximum length of 2048 bytes. For some combination of large values, the insert/update operation will fail.

How can i fix this, because DO generates our DB?

Thanks for every help.

Marco Leonardi

Warning description

asked Sep 13 '10 at 03:45

MarcoLeonardi's gravatar image

MarcoLeonardi
10557

edited Sep 13 '10 at 03:53

Alex%20Yakunin's gravatar image

Alex Yakunin
29713412


One Answer:

This exception means it will be impossible to insert key values longer then 450 chars to our own Metadata.Assembly and Metadata.Extension tables. On the other hand, we never do this (of course, if your assembly's file name isn't composed of ~ 300 chars).

Probably, we'll fix the warning in future version of DO.

answered Sep 13 '10 at 03:56

Alex%20Yakunin's gravatar image

Alex Yakunin
29713412

Issue 807 is created.

(Sep 13 '10 at 03:58) Alex Yakunin Alex%20Yakunin's gravatar image
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
toggle preview

powered by OSQA