12 2013 档案

摘要:备注:此两种方案,都因为oracle内部字符函数的参数长度4000限制。另外,个人测试,性能不如”将数据插入物理表再JOIN查询“或”每1000次ID做一次IN查询“的总的运行速度。 即ID的个数越多,这两种方案的总的运行效率越不好(总的耗时越多)。Solution 1: Use oracle Regexselect t1.field_01,t1.field_02 from t_XXX t1 where Exists (select 1 from(SELECT TRIM(REGEXP_SUBSTR (:v_id_list, '[^,]+', 1,rownum)) as IDFR 阅读全文
posted @ 2013-12-20 10:06 tiandong 阅读(501) 评论(0) 推荐(0)
摘要:【以下只是个人观点,欢迎交流】30行代码搞定WCF并发性能轻量级测试。1. 调用并发测试接口static void Main() { List data_list = new List(); LoginContextBase item = LoginContextBase.CreateLoginContext(AccountEnumType.Ad); //new AdLoginContext(); item.LoginAccount = "kevin.tian"; data_list.Add(item); int num = 500; ... 阅读全文
posted @ 2013-12-03 13:34 tiandong 阅读(2561) 评论(0) 推荐(2)