标签:
Salesforce select字段的多少对性能影响巨大,第1个是select 144个字段,第2个是select 5个字段, 性能相差了7倍
"select Id,IsDeleted,MasterRecordId,AccountId,IsPersonAccount,LastName,FirstName,Salutation,Name,RecordTypeId,OtherStreet,OtherCity,OtherState,
OtherPostalCode,OtherCountry,OtherLatitude,OtherLongitude,OtherAddress,MailingStreet,MailingCity,MailingState,MailingPostalCode,MailingCountry,
MailingLatitude,MailingLongitude,MailingAddress,Phone,Fax,MobilePhone,HomePhone,OtherPhone,AssistantPhone,ReportsToId,Email,Title,Department,
AssistantName,LeadSource,Birthdate,Description,CurrencyIsoCode,OwnerId,HasOptedOutOfEmail,HasOptedOutOfFax,DoNotCall,CreatedDate,CreatedById,
LastModifiedDate,LastModifiedById,SystemModstamp,LastActivityDate,LastCURequestDate,LastCUUpdateDate,LastViewedDate,LastReferencedDate,
EmailBouncedReason,EmailBouncedDate,IsEmailBounced,PhotoUrl,Jigsaw,JigsawContactId,Addway__c,AlertSet_c__c,City__c,CustomerL__c,MemberLevel__c,
States__c,Address2__c,Address3__c,Address__c,Age__c,ComOther__c,ComQQ__c,Comwechat__c,Comweibo__c,Division__c,JoinOrNot__c,Joindate__c,MainName2ID__c,
MainName2__c,MainNameID__c,MemberInteger__c,MemberNumber__c,Memo2__c,Memo__c,ExternalID__c,NextCallBack__c,OtherID__c,PostDate__c,Tel2__c,Tel3__c,
testClick__c,testautonumber__c,MemberActivties__c,EmailAddress__c,Subsidiaries__c,IsDateLoader__c,Line__c,English_Name__c,Want_Type__c,Get_Info__c,
Total_Point__c,Exchanged_Point__c,Remaining_Point__c,website__c,TWMemberLevel__c,sex__c,Identity_CardID__c,newsletter__c,Ostricare_baby__c,babecare__c,
karihome__c,Ostricare_Level__c,Babecare_Level__c,Karihome_Level__c,Ostricare_adult__c,Ostricare_adult_Level__c,A_DERMA__c,DUCRAY__c,NOV__c,BIO_OIL__c,
AgeNum__c,Others__c,Quicure__c from Contact where recordtypeId=‘012900000011oa9AAA‘ "
"select Id,LastName,FirstName,Salutation,Phone from Contact where recordtypeId=‘012900000011oa9AAA‘ "
标签:
原文地址:http://www.cnblogs.com/zitjubiz/p/salesforce_select_field.html