473,396 Members | 1,877 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Slow in reading large DBF data files in C#.

Hi,
I am using C# to read large FoxPro data file (DBF). Everything works
fine except it is too slow to load the file in buffer (I think).
Anybody know how to solve this
problem please instruct me how. I am new to C# so I don't
know alternative way of reading data faster from database.
Appreciate your help.

*** Sent via Developersdex http://www.developersdex.com ***
Jan 16 '08 #1
3 3800
Man Nguyen wrote:
I am using C# to read large FoxPro data file (DBF). Everything works
fine except it is too slow to load the file in buffer (I think).
Anybody know how to solve this
problem please instruct me how. I am new to C# so I don't
know alternative way of reading data faster from database.
How do you read from the DBF ?

Arne
Jan 17 '08 #2
Arne Vajhøj wrote:
Man Nguyen wrote:
>I am using C# to read large FoxPro data file (DBF). Everything works
fine except it is too slow to load the file in buffer (I think).
Anybody know how to solve this
problem please instruct me how. I am new to C# so I don't
know alternative way of reading data faster from database.

How do you read from the DBF ?

Arne
How are you reading it at the moment ?
Jan 17 '08 #3
On Jan 17, 2:53*am, Man Nguyen <nguyen_...@hotmail.comwrote:
Hi,
I am usingC#to read large FoxPro data file (DBF). *Everything works
fine except it is too slow to load the file in buffer (I think).
Anybody know how to solve this
problem please instruct me how. *I am new toC#so I don't
know alternative way of reading data faster from database.
Appreciate your help.

*** Sent via Developersdexhttp://www.developersdex.com***
Maybe you can read the DBF file directly, don't use the Data provider.
For this solution, you need know the DBF file format, I think you can
get the information from Google.
Jan 17 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Nehal | last post by:
i wanted to created a simple CGI script for uploading files to my http server, and decided to use python for it. it seems to work fine except for one issue: there is a lot of CPU overhead. after...
6
by: Matt Liverance | last post by:
I REALLY dont want to switch to oracle :( but I cant get these tables working any faster. I've got 2 dedicated servers, each with a slave, all run 32gig 15k rpm raid 5 on u320 perc raid...
7
by: ddsvi78 | last post by:
I am a complete idiot when it comes to access. Now that said, I work for a computer security company and one of our customers came to us with an access problem. They had been running fine for a...
7
by: spike | last post by:
Im writing a program to search for a string in a binary file. And it works. The problem is: It is sooo slow! how can i make it faster? It takes 27 seconds just to search a 5 meg file. I guess it...
3
by: Buddy Ackerman | last post by:
I'm trying to write files directly to the client so that it forces the client to open the Save As dialog box rather than display the file. On some occasions the files are very large (100MB+). On...
3
by: michael | last post by:
Hi, I am trying to write an ASP.NET web app, in Visual Basic.NET, using Visual Studio.NET 2004, .NET framework 1.1.4322 SP1 Running the project/app on localhost while in dev/write/debug stage ...
5
blazedaces
by: blazedaces | last post by:
Ok, so you know my problem, java is running out of memory reading with SAX, the event-based xml parser intended more-so than DOM for extremely large files. I'll try to explain what I've been doing...
8
by: =?Utf-8?B?RnJhbms=?= | last post by:
Hello all, I'm new here and I've searched a lot before posting my question, but I can't seem to find a solution to my problem. I'm working on a database program that I created myself, I created...
17
by: byte8bits | last post by:
How does C++ safely open and read very large files? For example, say I have 1GB of physical memory and I open a 4GB file and attempt to read it like so: #include <iostream> #include <fstream>...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.