gpt-3.5-turbo-0301· OpenAI
WildChat-4.8M (AI2)
文件大小在mysql用size存储,然后字段类型用int还是bitint合适?
- User
文件大小在mysql用size存储,然后字段类型用int还是bitint合适?
- Assistant
在MySQL中,存储文件大小通常选择使用INT或BIGINT字段类型。BITINT可能会浪费空间,因为它可以存储更大的值,而文件大小通常不需要存储如此大的值。因此,INT通常会更加合适。此外,使用INT或BIGINT还可以更加方便地进行算术和比较操作。
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.