CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Pre-installation Questions (Moderator: Dave Greenberg) »
  • How many fields can CiviCRM support per contact?
Pages: [1]

Author Topic: How many fields can CiviCRM support per contact?  (Read 1367 times)

AndyMG

  • I’m new here
  • *
  • Posts: 4
  • Karma: 0
  • CiviCRM version: 4.0
  • CMS version: Wordpress
  • MySQL version: 2.4
  • PHP version: 5.3
How many fields can CiviCRM support per contact?
May 08, 2013, 07:45:06 am
We want to use a Wordpress-based version of CiviCRM, however we have about 60+ different fields per contact.

Does CiviCRM support this? I was reading somewhere that it supported a max amount of 40 fields.

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: How many fields can CiviCRM support per contact?
May 08, 2013, 08:30:06 am
Hi,

I'm assuming most of the fields you have (email, first name, employer, dob...) are already part of civi and standard.

You should have far far less than 60 custom fields, I believe that about this that you saw a note of caution.

I've never experienced problems about the number of custom fields, but if you need more than a handful of them, it might be you are "abusing" civi and creating custom fields instead of using existing ones.

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

AndyMG

  • I’m new here
  • *
  • Posts: 4
  • Karma: 0
  • CiviCRM version: 4.0
  • CMS version: Wordpress
  • MySQL version: 2.4
  • PHP version: 5.3
Re: How many fields can CiviCRM support per contact?
May 08, 2013, 09:56:23 am
These are all the fields:

Date   Sources   Coder   Restricted   ID    Bar No.   Admission Date   SBM Voluntary Inactive   Born   Inception    Expiration    [Reserved]   Relationship Manager   Client Rating   MH Rating   Type    Last Name   Mailing Name   Employer   Position   Mail Line1   Mail Line2   City   County   State/Province   Postal   Country   Phone    Email   Website   EDU Law1   EDU1 Degree   Honors   EDU1 Degree Date   EDU Law/Grad2   EDU2 Degree   Major   EDU2 Degree Date   Other Law/ Graduate School   Degree   Major   Date   Undergraduate   Degree   Major   Date   Donor Pre99   Donor99   Donor00   Donor01   Donor02   Donor03   Donor04   Donor05   Donor06   Donor07-08   Donor09   Donor10   Donor11   Donor 12   Donor Rank   EDUMedia1   EDUMedia2   SuperL   Chambers   Best   dbTop   Bar/Group   Bar Assn Section   Ethnic/Affinity/Social Group   NonMich Admissions   IP   LAA-BOV   Primary Practice Area   Secondary Practice Area   Registration   Legacy   LR/MC   Coif   Key   EDU Scholarships/Honors   Past Positions   Comment   Military Service   Languages   Prior Name   Family   Representative Clients

AndyMG

  • I’m new here
  • *
  • Posts: 4
  • Karma: 0
  • CiviCRM version: 4.0
  • CMS version: Wordpress
  • MySQL version: 2.4
  • PHP version: 5.3
Re: How many fields can CiviCRM support per contact?
May 08, 2013, 09:57:21 am
Some are obviously not needed to be custom, like name and such.

Michael McAndrew

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1274
  • Karma: 55
    • Third Sector Design
  • CiviCRM version: various
  • CMS version: Nearly always Drupal
  • MySQL version: 5.5
  • PHP version: 5.3
Re: How many fields can CiviCRM support per contact?
May 08, 2013, 10:18:33 am
Hey there Adam,

How familiar are you with the way that CiviCRM stores data.  It looks like some of your fields, e.g.
Quote
Donor99   Donor00   Donor01   Donor02   Donor03   Donor04   Donor05   Donor06   Donor07-08   Donor09   Donor10   Donor11   Donor 12
might actually not be custom fields but contributions.
http://book.civicrm.org/user/current/organising-your-data/overview/
http://book.civicrm.org/user/current/organising-your-data/mapping-your-data/
and a few other chapters would be worth reading.
Also havin a look at how data is stored in the demo site might make things a bit clearer.

For each of your fields that you have, I would do a mapping that includes a description of what they are used for and the place that you think they should go in CiviCRM.  If you want to share that, people on the forums might be up for commenting / helping you out to make sure stuff is going in the right place.

In terms of how many fields CiviCRM can support the underlying restriction is mysql - it depends on what type of fields they are and how long each is. in practice, i don't think people have problems unless they have multilingual support in many languages and long fields (since you can then approach the mysql row size limit - but it doesn't happen often in practice and you can always split out your fields into different data sets, each of which corresponds to a different mysql table, if this does become a problem.
Service providers: Grow your business, build your reputation and support CiviCRM. Become a partner today

AndyMG

  • I’m new here
  • *
  • Posts: 4
  • Karma: 0
  • CiviCRM version: 4.0
  • CMS version: Wordpress
  • MySQL version: 2.4
  • PHP version: 5.3
Re: How many fields can CiviCRM support per contact?
May 08, 2013, 10:33:09 am
I was reading there was a problem with too many fields because of a limit on the maximum amount of joins in a MySQL database?

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: How many fields can CiviCRM support per contact?
May 08, 2013, 10:45:59 am
Hi,

If you encounter a problem, it's much much more likely because you're trying to store the data in the "wrong place". As michael pointed out for instance, the donorXY fields shouldn't be custom fields, but separate contribution records (and/or membership?).

The demo should give you a sense of what goes where. If you can afford it and want to save time, hiring someone to help you for that mapping would probably avoid some pitfall and let you start with a better organised CRM from the start and quicker.

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: How many fields can CiviCRM support per contact?
May 08, 2013, 11:48:00 am
Yes, although it is technically possible to add 60 custom fields in Civi, you should not do so unless you really know what you're doing. Not because of SQL limitations, but because you will be misusing your CRM and this will eventually come back to bite you in one or all of these ways: inability to generate reports, redundant data that gets out of sync, inability to search for what you need, difficulty of use for your staff.

Some other clear uses for core not custom fields I can see in your examples are:
"Family" -> relationships
"Admission Date" -> Case or Relationship start date (depending on your use and if CiviCase is a good fit)
"Mail, City, State, Email, Website, etc" -> Obvious
"Past Positions" -> Relationships (or custom data would be ok here if you really don't care about collecting info about the orgs they worked for)
"School" -> ditto for above
Try asking your question on the new CiviCRM help site.

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: How many fields can CiviCRM support per contact?
May 09, 2013, 01:23:19 am
And some others (like languages) are better solved using CiviCRM groups or tags.

So to reiterate: lost of fields possible but if you add all your fields as custom fields you are seriously misusing CiviCRM and will get into all sorts of functional issues although it is technically possible. If you feel unsure about this all, please contemplate hiring an expert?
(check http://civicrm.org/what/experts)
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Pre-installation Questions (Moderator: Dave Greenberg) »
  • How many fields can CiviCRM support per contact?

This forum was archived on 2017-11-26.