Results 1 to 6 of 6
  1. #1
    Join Date
    Dec 2007
    Posts
    23

    Unanswered: How mant Charates ?

    I have a question. I need to define 195000 charters. I would like to define in MB clob data type. How many MB would be good?

    Any suggestions please
    Last edited by want_tobe_dba; 04-15-08 at 11:58.

  2. #2
    Join Date
    Dec 2007
    Posts
    23

  3. #3
    Join Date
    Jan 2003
    Posts
    4,292
    Provided Answers: 5
    For DB2 for LUW, the largest clob is 2 GB. I would either use that, as clobs are variable length entities.

    Andy

  4. #4
    Join Date
    Dec 2007
    Posts
    23
    I definied 1MB CLOB assumed that 195000 =1 MB

  5. #5
    Join Date
    Jan 2007
    Location
    Jena, Germany
    Posts
    2,721
    It depends on your character set. If you have 1 single byte character set, e.g. UTF-8, then a single character can take up at most 4 bytes.
    Knut Stolze
    IBM DB2 Analytics Accelerator
    IBM Germany Research & Development

  6. #6
    Join Date
    Dec 2007
    Posts
    23
    it is single charater

    195000*4 (B)=780000
    780000/1024 =761.71875 KB
    761.71875/1024=0.743865966796875 MB


    thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •