Monday, March 26, 2018

Skinny Tables- When/Why to use?

Skinny tables are helpful when you have Large Data Volumes (more than millions of records in object). These tables improves the ready only operations like reports, SOQL query performances. Below are pointers which explain everything about Skinny Tables:

  1. Skinny tables are custom tables (read only) created by Salesforce if enabled by customer support. These tables contains important fields information instead of storing all fields information which is present in actual object.
  2. Skinny tables can be created for Account, Contact, Opportunity, Lead, Case, and custom objects.
  3. The Force.com platform automatically synchronizes the rows between skinny table and the base object,so the data is always kept current. 
  4. Soft delete records ((i.e records in the Recycle Bin with isDeleted = true) are not present in Skinny tables which improves query output.
  5. Custom indexes are also copied if present in base table.
  6. Skinny tables support only few data types(Checkbox,Date,Date and time,Email,Number,Percent,Phone,Picklist (multi-select),Text,Text area,Text area (long),URL).
  7. The Force.com platform determines at query runtime when it would make sense to use skinny tables, so you don’t have to modify your reports or develop any Apex code or API calls
  8. You need to contact salesforce customer support in order to enable this.

Things which needs to be considered before implementing Skinny tables:

  1. Skinny tables can contain maximum of 100 fields. There are also limitation on data type as mentioned above.
  2. After creating Skinny table, if you decide to add one more field in Skinny table, then you have to contact customer support. They will delete existing skinny table and will recreate new one.
  3. If you change the data type of any field which is used in Skinny table, then Skinny table becomes invalid (unusable) and you need to contact customer support to again recreate it.
  4. Skinny tables can not refer fields from another object.
  5. Skinny tables get copied to full copy sandbox after refresh but not on other sandbox. in order copy it for other sandbox, contact customer support.
  6. Skinny tables can increase the query performance of SOQL queries not SOSL queries as SOSL search based on flat file search whereas SOQL is based on database search.

10 comments:

  1. Great blog! Really awesome I got more information from this blog. Thanks for sharing with us.

    Salesforce crm Training in Chennai

    salesforce administrator training in chennai

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete
  3. You have shared a nice article here about the Salesforce. Your article is very informative and useful for those who are looking for the Salesforce Admin Tutorial online. Thank you for sharing this article here.

    ReplyDelete
  4. Really very happy to say, your post is very interesting to read. I never stop myself to say something about skinny tables. how do you speak creole

    ReplyDelete
  5. Be clear who is poorly performing and possibly are the wrong people to take your company forward. Salesforce training in Chennai

    ReplyDelete
  6. Buy Viagra super active online It is commonly used for human to stimulate erection in body. Its known as Sildenafil commonly named Viagra.

    ReplyDelete
  7. QUICK EASY EMERGENCY URGENT LOANS LOAN OFFER EVERYONE APPLY NOW +918929509036 financialserviceoffer876@gmail.com Dr. James Eric

    ReplyDelete
  8. Browse our online store for a wide range of Pakistani wedding dresses. Find the perfect ensemble for your special day. Shop now.

    ReplyDelete