Mark Minasi's Reader Forum
Mark Minasi's Reader Forum
Home | Profile | Register | Active Topics | Active Polls | Members | Search | FAQ | Minasi Forum RSS Feed
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 HALP! Questions on Windows and Windows Server
 Active Directory
 Active directory "Virtual List View" is slow
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

shahzadsb
Welcome Newcomer

2 Posts
Status: offline

Posted - 04/04/2012 :  06:00:08 AM  Show Profile  Send shahzadsb an AOL message  Reply with Quote
Environment: Windows 2008 R 2
VLV Programming via System.DirectoryService / c# / .Net 4.0
Active directory "Virtual List View" is slow, even I have set search-flags for CN in AD schema to 103 value.
Reference: http://msdn.microsoft.com/en-us/library/windows/desktop/ms679765(v=vs.85).aspx
For 200,000 objects in AD, searching with (cn=user_1111*) returning 111 objects takes 1:10 (mm:ss) to 2:10 (mm:ss) Too Bad. Similarly for searching with (cn=user_11111) returning 1 objects takes 1:30 (mm:ss) Too Bad. Secondly even the count is less then 10,000, still the approximate total record count is wrong.
Looks like Indexes are not working....!!!
According to Joe Richards, if index are not found then sort is performed, that can be one reason...In my case it should not because indexes are there
Reference: http://www.winvistatips.com/re-virtual-list-view-and-critical-extension-unavailable-exception-t688822.html
Anybody have programmed VLV via c#?
Any tips on performance tuning of VLV??


shah

wkasdo
Administrator

Netherlands
7403 Posts
Status: offline

Posted - 04/04/2012 :  09:22:55 AM  Show Profile  Click to see wkasdo's MSN Messenger address  Reply with Quote
103, meaning 0x67? Basically indexed all? Not a great idea. How about using the stats control to prove that indexing is the problem? Could be something else entirely.

Make it as simple as you can, but not simpler -- Albert Einstein
Go to Top of Page

shahzadsb
Welcome Newcomer

2 Posts
Status: offline

Posted - 04/06/2012 :  09:07:43 AM  Show Profile  Send shahzadsb an AOL message  Reply with Quote
Thanks Willem for help.

Yes, 103 means all indexes.
Even when i try 65, still cn=user_1111 takes alot of time. and also the total number of count for record is always wrong.

Can i send a VLV based query command via ADFind....? i think not. so i can't verify via ADFind...!!

Any comments..

shah
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Mark Minasi's Reader Forum © 2002-2011 Mark Minasi Go To Top Of Page
This page was generated in 0.17 seconds. Snitz Forums 2000