Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Before i start... where are the descriptions for each forum section, i couldn't seem to find them when looking for somewhere to post this...Sorry if i posted this in the wrong place, you'd think i'd know by now eh Lee?

Anyway, here's my question, i want to know how much physical space a 30 character long text string in one record will take up on a computer.

Or in a larger scale example:

5 text fields, each roughly 30 character strings, 1,000,000 records.

Thanks

~Genx

Location: [color:orange]Main Index [color:blue]» [color:orange]Forum Index [color:blue]» [color:orange]Beyond FileMaker [color:blue]» Brain Food

[color:orange]The Left Brain

Complex calculations, advanced scripting and other mind boggling topics.

Lee

  • Author

Lol thanks lee, but um, where abouts would this fit?

Thanks again

~Genx

should be easy enough to test, no? Create an empty file. Check size. Add 30 characters to a text field, check size...

  • Author

Hmmm... That wouldn't be all that accurate though would it? ahwell, ill do it and loop a duplication for about 10000 records and divide and get the average or something

Cheers for the suggestion Wim, though i am lazy i'll do it hehe

~Genx

  • Author

Rightio for anyone who's interested i got approx 48 bytes (found by sample of 10,000 records and 5 fields of data each containing a string of 30 characters)

~Genx

IIRC fm stores each character as 2-byte unicode internally, which is why the 2GB text field limit will give you approx. 1 billion characters...

  • Author

... well how did i manage to get less than 2-byte a character?

No idea. Something else to keep in mind: if your field is indexed (or can be indexed automatically) then the size it takes will grow beyond the physical data in the field. How much depends on what indexes are build for that field.

Unicode uses (or better put, CAN use) variable length encoding.

  • Author

rightio, thanks guys

If indexing is ON for a field but there is nothing in the field, does it still take up space?

  • 1 month later...

If indexing is ON for a field but there is nothing in the field, does it still take up space?

The Zen of FileMaker, very deep. :beer:

No, the field won't take up any space in the index. It will only affect the file size in the bytes it takes to define it in the schema.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.