What is faster: DataReader or DataSet or something else?

Hi,
I need to read 250,000 records and show this information.
I am using DataReader and it takes 8 seconds. I need to raise it to 0.8 seconds atleast.
What is faster: DataReader or DataSet or something else?
Thank's
Alexei

Is it an I/O issue?  Have you tried looking at
some performance counters to see where the bottleneck might be?
Is it a query issue?  How complex is the
query?  Do you have proper indexes in place?
Adam Machanic
Pro SQL Server 2005, available now
http://www..apress.com/book/bookDisplay.html?bID=457
<[email protected]>
wrote in message news:[email protected]..Hi,
I
am using the sql server on local
machine.
Thank's
Alexei

Similar Messages

  • What to learn? Illustrator, InDesign, or something else more appropriate?

    Hello All,
    I couldn't find an appropriate place to post this discussion, but I thought I would start here as I saw a similar discussion in this forum.
    I have been a musician for a long time, running my own ensemble, but recently I have decided to pursue a path in arts administration, a sector in which I have moderate experience.
    Still going to keep my music and ensemble going, but to bolster my resume as well as my skills to help my own ensemble, I've decided to take classes and pursue certification in web/graphic design at a local Art/Design college.
    These days arts administration job postings seem to be looking for candidates that also have some digital media skills.
    I'm starting off with a basic web design classes to become familiar with Dreamweaver, HTML, CSS.
    This Art/Design College also offers courses in Illustrator, InDesign, and Photoshop. I will probably next take Photoshop, but wondering whether to take Illustrator or InDesign, or something else?
    I think I understand what the two do, but would appreciate real world advice. I could take both, but I am wondering if I would spread myself too thin?
    These arts admin jobs are probably looking for someone that can update/maintain websites, prepare images/videos/audio for websites; but also probably someone who can create simple flyers and brochures if needed. That is when I thought of InDesign. I also assume that InDesign also helps in preparation of pdf/documents for websites?
    But I am also interested in Illustrator because for my ensemble, we occasionally create moderate-sized banners as stage design elements, and as lobby displays. I often hired a designer to create some new artwork, do the layout, and prepare the files for printing on a large format printer. It would be nice to have a little more control in the whole process, so I thought I might learn Illustrator, but it seems like InDesign covers some of these tasks... ??
    I don't know if I am very much off the mark in the functionality of these two. Both seem very interesting, and both probably useful in both my marketability in the job market and my personal work. But I would probably feel more comfortable become very proficient in one rather than a novice in both. I would take both if many people here find good reason to do so.
    Any guidance would be appreciated...

    There are basically two different kinds of computer graphics: raster-based (arrays of pixels) and vector-based (stacks of mathematically-defined paths).
    Web-centric work is overwhelmingly more dependent upon simple raster images.
    Several technologies enable the web to deliver vector-based artwork. Websites which do that are generally more sophisticated.
    Photoshop (and programs like it) is for creating/editing raster images.
    Illustrator  (and programs like it) is for creating/editing vector-based graphics.
    ( By the way, you seem to have overlooked video, which is becoming as ubiquitous a content type as the other two.)
    Then, there are programs dedicated to "page assembly"; the work of combining raster artwork, vector artwork, and text into finished whole documents.
    InDesign (and programs like it) is primarily for page assembly of documents destined for commercial print.
    Dreamweaver is primarily for "page assembly" of web pages.
    However:
    Programs like InDesign and programs like Illustrator are far more similar than you'll commonly hear from conventional-wisdom. Both so-called "page layout" programs and "vector drawing" programs are what I try to explain as "object based" (not to be confused with the term 'object oriented programming', which is another thing entirely). That is, they both create documents containing stacks and arrangements of individual and independent objects. Those objects can be any combination of text objects, raster objects, and vector objects.
    The difference in that regard is this:
    Programs like InDesign are almost entirely geared toward assembly of moderate-to-high page-count "bookish" print documents containing long threaded text stories, and repetitive page layouts.
    Programs like Illustrator are ostensibly geared toward creation of vector-based artwork. But the truth of the matter is, they are really just as much intended for (and just as frequently used for) whole page design as for standalone illustration.
    The vast majority of "page layout" projects are more graphics-intensive than text-intensive, involve low-page count, and less-repetitive page-to-page design. In other words, placement ads, fliers, mailers, brochures, business cards, stationery, etc., etc. The typical freelance illustrator/designer produces far more of these types of projects in a year than the kinds of "bookish" projects which programs like InDesign expedite. And the "dirty little secret" is: It's actually more efficient to build these kinds of common whole-document design projects in a decent so-called "vector drawing" program than in a conventional-wisdom "page layout" program.
    Here's The Thing:
    The fact is, all of Adobe's core applications (Photoshop, Illustrator, InDesign) had their beginnings in the days of the desktop-publishing "revolution" of the mid-80s. They are all highly print-oriented. They have all gradually acquired over the intervening decades more "me, too" web-centric features. But the truth is, no one seriously uses Illustrator or InDesign for generating finished web pages. These programs are still primarily rooted in content creation for print. It's just that once you've created a graphic for print, it's a simple thing to dumb it down to re-purpose it for web.
    And that's actually a good thing, because…
    Here's The Other Thing:
    The vast majority of commerical enterprises which buy graphics and design do not only market themselves on the web. Despite decades-old buzzword claims to the contrary, print is very, very far from "dead." And the ugly truth is, when you are creating graphics for a both print and web delivery, it makes far, far more sense to develop for print first, web second. Understand; I said graphics.
    Here's The Other Other Thing:
    Anyone seriously involved in computer graphics in general (whether for web or print) needs to be at least well-versed and intelligently conversant in all three functions: Raster imaging, vector graphics, and page assemby, and how they relate.
    Beyond that, anyone seriously involved in print publishing also needs to be at least conversant in print-centric technicalities. Color separation. Halftoning. Process color versus spot color. Ink on paper. Color correction versus color calibration. The vast majority of print-centric content creation is done in programs like Adobe's core applications. But courses which merely teach how to use a specific graphics software, typically merely touch upon those other very important related technical subjects.
    Beyond that, anyone seriously involved in web publishing also needs to be at least conversant in web-centric technologies. Nowadays, basic HTML and CSS is not enough. It's big-yawn, archaic kid-stuff. The days of the dumb, standalone web page are numbered. Nowadays there's client-side scripting (Javascript), server-side scripting (PHP), and database back-ends (SQL) and all of these are becoming ubiquitous, even for fairly modest websites.
    Back To The Three Basics
    So the "big three" fundamental functions (raster images, vector graphics, page assembly) are just that—fundamental. For the vast majority of basic web use, creation of raster and vector graphics is much less technically demanding than for print. They are really rather mundane, and can be done with programs far less expensive and requiring far less time to learn. There exists a plethora of raster imaging and vector drawing programs. Some good and widely-used ones can be had for free (GIMP, InkScape).
    As for web page assembly, Dreamweaver is sort of "last of the dying breed" of WYSIWYG web page layout applications. These factors are at play:
    As mentioned above, even modest websites nowadays need data-driven functionality. Making a page clean and attractive is just basic design principles. Meanwhile, let's face it: There's only so many arrangements within the rectangle of a web browser window that make good sense for clean, clear, intuitive, and efficient navigation.
    Meanwhile, the average-joe web developer just doesn't have time to continually re-invent the drop-down menu wheel. There won't be anything special or innovative about it anyway (and even if it were, it would be more annoying to users than anything else). He's too busy figuring out the schema of delivering the content. 'I need this kind of data to be organized and accesible by this kind of visitor. I need this particular story to be editable by this particular in-house staffer, who knows nothing about HTML code. My customer needs to be able to routinely upload data refreshes, and he doesn't have time to know web code either.'
    Also meanwhile, people have grown weary of continually "upgrading" their WYSIWYG web editor to get a few piecemeal proprietary features, each with its own proprietary interface and learning curve.
    So the simple "practicality vaccuum" of it all has given rise to open source server-side WYSIWYG website assembly tool (Joomla, WordPress, etc.) which provide robust SQL data-driven functionality, and do it for free. These kinds of solutions are quickly supplanting the position of traditional web editors like Dreamweaver.
    Bottom line:
    If I were in your shoes, and really did intend to focus entirely on direction of web-centric advertising, marketing, and graphics, I really woudn't be all that concerned with specifically-Adobe apps anyway. There are scads of web developers out there who never touch a WYSIWYG web page editor. And creating a graphic in GIMP or InkScape is small-potatoes no-brainer. There's no reason to become immersed in Photoshop and Illustrator esoterica for creating individual web images; you can do it with most anything. I'd be focusing on web-centric technology and delivery schema. I'd also want to be conversant in database fundamentals.
    On the other hand, if I were in your shoes and intended to focus on art direction of all aspects (web and print) of a company's advertising, marketing, graphics, and information delivery, I would consider it a necessity to be converant (maybe even working-proficient) in programs like Photoshop and Illustrator. InDesign would be somewhat less important unless the business is publishing "bookish" or "magazine-like" documents.
    JET

  • What's wrong with Netscape4.7 or something else?

    Hi all,
    in my application, i used some code to launch browser(in Solaris):
    String browser= "netscape";
    String url = "";// which passed from the GUI
    Process process = Runtime.getRuntime().exec("netscape -remote 'openURL(url)'")
    int exitCode = process.waitFor();
    if (exitCode != 0) {     // if Netscape was not open
    Runtime.getRuntime().exec(new String[] { (String) browser, url });
    when there is no netscape running, i can bring a new netscape window, but if there is a netscape window running, and when i click a link in my application (for example a menu item for "help home"), it can only bring the existing browser in the top of all windows but without changing the content.
    is there any problem with the Netscape's option -remote or is there anything wrong with runtime environment?
    when i exit the application, keep a netscape window open and type :
    netscape -remote 'openURL(some other url)'
    it works.
    looks like there is difference between typed command in terminal and Runtime.getRuntime().exec();
    does anybody have any clue about it???
    Thanks for replying!
    -Frank

    Ok, this one works for UNIX.
    "netscape -remote openURL(some other url)"
    The above command line works from within an application.
    Note that you need to take out the single quotes.

  • What's Faster: 8 core 1.86GHz or 4 Core 3GHz in 2007 machine

    Hello- Thinking of buying a used Mac Pro. What's a better bet:
    upgraded machine with 8 core 1.86GHz processors (2x4)
    or
    Stock 4 core 3.0 GHz (2x2)
    Thoughts?
    Thanks!

    I don't how this applies in the world of multi core machines, but in the old single vs. double the answer was it depended upon what you wanted to do. A slower double could be faster than a faster single in a case where you were doing heavy processing that tied up the machine a lot. A multi processor computer was better at handling multiple tasks and therefore was faster simply because it did not have to wait for something else to complete before dong a simple task. If you just had one, simple task then the faster single would beat a slower multi. I don't know if this extrapolates to multi vs. multi.
    (10,000)

  • I ran a virus/trojan fix and this is what it said it could not repair something in the main library core or something like that.  What do I do?  The problem seems to be with safari?

    I ran a virus/trojan fix and this is what it said it could not repair something in the main library core or something like that.  What do I do?  The problem seems to be with safari?

    I ran the utility disk and this is what it said.
    Warning permission differ Applications/Safari drwxr-xrx they are -rwxr-xr system/livrary Cores has been modified and will not be repaired.
    Permission apllication differ on System/livrary/Pr or could be -rw-r--r-- they are rwxr-xr-x Application/iTune be droxr-xr-x they are rwxr-xr-x
    Then I hit fix permissions and it said this
    Warning SUID file Systm/Library/Core has been modified will not be repaired
    I also downloaded Bitdefender Virus Scanner and it found nothing.

  • Memory Question "4x1 Gig or 2x2 Gig?" what is faster?

    Memory Question "*4x1 Gig or 2x2 Gig*?" what is faster?
    I'm still don't know if witch to choose?
    4 times 1 gigabyte Ram Memory is cheaper but if I choose for 2 times 2 GB Ram I can always beef it it later.
    And is my memory faster if I'm using 4 slots with 1 gig over 2 slot with 2 gig?
    I'm asking this question because I think using 4 times the memory bandwidth will be faster?
    http://www.janmaartendewit.com

    Hello Jan
    Welcome to Apple Discussions
    The iMac (Late 2009): Installing or replacing memory article and your User's Guide are pretty clear, they both say that +"You can use 2 GB or 4 GB RAM SO-DIMMs of 1066MHz DDR3 SDRAM in each slot."+ and not 1GB modules. > http://support.apple.com/kb/HT3918
    To upgrade your ram you will want at least 2 more 2 or 4GB modules and add that to the current 2 x 2GB of ram. > http://eshop.macsales.com/shop/memory/iMac/DDR321.527
    Dennis

  • Numbers does not open with the main user after installing mountain lion. It works flawlessly when I use the second account on my mac. What got corrupted in the admin-account, something in the user-library? How can I fix it? I´m kinda desperate...

    Numbers does not open with the main user after installing mountain lion. It works flawlessly when I use the second account on my mac. What got corrupted in the admin-account, something in the user-library? How can I fix it? I´m kinda desperate... (the same happens with the other iWork-Apps!)
    Looking forward to hearing from somebody with a littlemore expertise than me, Chris

    you can remove preferences files by navigating to the Preferences folder for your user as follows:
    0) Quit ALL iWork apps (Keynote, Pages and Numbers)
    1) from the Finder select the menu item "Go > Go To Folder…".  This will bring up a dialog:
    2) enter the path "~/Library/Preferences" (no double quotes)
    3) find the files:
    com.apple.iWork.Keynote.plist
    com.apple.iWork.Numbers.plist
    com.apple.iWork.Pages.plist
    and move these to the trash.  I would NOT empty until later.
    4) restart Numbers

  • There is always a blue screen appears after the Apple logo during the booting process. And then everything is back to normal. What is this thing? Is there something wrong with my screen or something?

    There is always a blue screen appears after the Apple logo during the booting process. And then everything is back to normal. What is this thing? Is there something wrong with my screen or something?

    Nah - that's just the normal boot process.
    Clinton

  • This is a weird start to my question; but i went to a music festival today and I was in a mosh pit and it was hot, and my iPhone 4 turned off and I was wondering weather it was from the heat or something else? And what I could do to fix it? Thankyou :)

    this is a weird start to my question; but i went to a music festival today and I was in a mosh pit and it was hot, and my iPhone 4 turned off and I was wondering weather it was from the heat or something else? And what I could do to fix it? Thankyou

    okay, thankyou for you help anyway 

  • Hi there, I'm thinking of buying both a new MacBook Pro and a small 22 inch LED tv for my kitchen... what would I need to be able to use (wireless of course) the tv as a monitor for the new computer? Apple tv? Airport Express? something else? Thanks.

    Hi there, I'm thinking of buying both a new MacBook Pro and a small 22 inch LED tv for my kitchen... what would I need to be able to use (wireless of course) the tv as a monitor for the new computer? Apple tv? Airport Express? something else? Thanks.

    Hi a,
    http://www.mctiviausa.com/
    There has been "talk" on and off of Apple TV doing it (and people have done it with a hack), but I haven't really followed it.
    It would be a whole lot cheaper getting an adapter (as needed) and cable and simply pluggin it in when you're in the kitchen.

  • I am going to place a 30 minutes dvd film on a website for one of my clients. Before converting tje old vhs-film to dvd I must know what format will suit the needs best. HTTP, Flash, Quicktime or something else?

    I am going to place a 30 minutes dvd film on a website for one of my clients. The film was shot 15 years ago and is in vhs-format. Before I will have the film converted into a dvd-format I want to know what format will suit my needs best. HTTP, Flash, Quicktime or something else? I will make it easy for myself placering the dvd film on the site and for the vistors who wish to look att the film.

    The DVD format (MPEG-2) isn't appropriate for Web use.
    Use QuickTime and H.264 video codec with AAC audio. Size the file at 320X240 (best fit for your old file).

  • What is faster thunderbolt or usb 3.0 gigabit ethernet

    What is faster a thunderbolt to gigabit ethernet adapter or a usb 3.0 gigabit ethernet adapter?
    Thanks

    Both Thunderbolt and USB 3.0 have bandwidths that exceed gigabit ethernet so based on theoretical numbers they should perform the same. However, different product manufacturers will write different drivers and use different hardware so unless you test specific products the question can't really be answered. Probably have to wait until magazines such as MacWorld or other Mac related websites test and compare devices.

  • TS1424 I am trying to buy something from an in game store but it says your purchase cannot be completed and i would like to know whats wrong. Can it be the game it's self or something else?

    I am trying to buy something from an in game store but it says your purchase cannot be completed and i would like to know whats wrong. Can it be the game it's self or something else?

    iTunes Store Support
    http://www.apple.com/emea/support/itunes/contact.html

  • The pitch for all my music got higher and faster - I must have adjusted something wrong?

    The pitch for all my music in ITunes got higher and faster - I must have adjusted something wrong?  I went back and tried to fix all my audio, but it is still happening.

    fundamentals, Welcome to the discussion area!
    Then I went to iTunes on the Mac Pro and it showed no remote speakers.
    In iTunes->Preferences->Advanced, choose the "Look for remote speakers connected with AirTunes" checkbox to display a speakers pop-up menu at the bottom of the iTunes window.

  • What is faster, an iphone 6 or a samsung galaxy s6?

    what is faster,an iphone 6 or a samsung galaxy s6

    Hi there
    I’d be happy to help with your device question! As far as performance goes, these two devices are considered to be quite evenly matched, however in benchmark tests, the Samsung Galaxy S6 appears to outperform the iPhone 6. In normal day-to-day usage, you’d be hard pressed to be able to tell the two apart when it comes down to performance! I’d recommend visiting one of our AT&T company stores where you can test them out for yourself!
    I hope this helps!
    Charise

Maybe you are looking for

  • Not able to access webservice after migrating from 8.1 to 10.3,plz help

    Hi All, Prev our application was running in weblogic 8.1 and now we moved to 10.3 We are able to deploy our webservice in 10.3 and access the wsdl but we are not able to access the webservice from the client. Even the testclient is not comming up. Af

  • Exporting/Importing iMovie project from one iMac to another

    I have an iMac in my office and need to bring an in-progress iMovie project home to work on it over the weekend. Obviously, the iMac is not portable. : ) How do I successfully export the project from my iMac at work and import it to my iMac at home?

  • Can;'t get iTunes to recognize new iPod

    I just bought a second Nano, and when I plug it in and open iTunes, it won't recognize it at all. I just successfully updated my old Nano fo my wife, so iTunes is working. Help! Thanks.

  • Example of a custom field mapping?

    Ok, I admit it I am struggling here. I have simplified my example from what I actually have. I have a table that models a flat hierarchy ID | START_DATE | END_DATE | CLASSNAME | FIELD1 | FIELD2 | ... one of the objects in my hiearchy (CashFlow) has a

  • To diplay write  date format in an  input field

    I have written this code to get the curent date. Date  date=new  Date(System.currentTimeMillis()); *     //String dateString=date.toString();*     String dateString =date.getMonth()+"/";     String dateString1=date.getDay()+"/";     String dateString