473,382 Members | 1,784 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,382 software developers and data experts.

large db update

Excuseme if it isn't a strictly PHP related post...
I've a local database (ms access) wich has all the stock information
(nearly 10000 daily-changing records), and I want to keep this info on
line as well (I've an PHP-mySql on-line catalog of the same products).
What would be the best aproach to achieve this? I mean, this can't be
done with a php form-window which updates the article's quantity one by
one... (it would takes 100 years:)

Any kind of tips, advices, links,... would be apreciated

Note that I can't upload the access db and work directly with it,
beacause there is no permanent internet connection where it is placed.
The update proccess should/will be performed once a day, maybe twice...

regards - julian

Aug 17 '05 #1
2 1142
In article <11**********************@f14g2000cwb.googlegroups .com>,
"julian_m" <ju***********@gmail.com> wrote:
Excuseme if it isn't a strictly PHP related post...
I've a local database (ms access) wich has all the stock information
(nearly 10000 daily-changing records), and I want to keep this info on
line as well (I've an PHP-mySql on-line catalog of the same products).
What would be the best aproach to achieve this? I mean, this can't be
done with a php form-window which updates the article's quantity one by
one... (it would takes 100 years:)

Any kind of tips, advices, links,... would be apreciated

Note that I can't upload the access db and work directly with it,
beacause there is no permanent internet connection where it is placed.
The update proccess should/will be performed once a day, maybe twice...

regards - julian


The only way I can think of is to perform a "export" to a Tab or comma
separated file for each table and use phpMyAdmin to read the files in as
often as you need to do this. I see no way to automate this which make
this a process highly prone to errors. I'd look at changing the Access
database (put it on a network and develop some way to update the MySQL
database) or just drop the on-line MySQL altogether and rethink what
business solution you're trying to solve with it.

--
DeeDee, don't press that button! DeeDee! NO! Dee...

Aug 17 '05 #2
julian_m wrote:
Excuseme if it isn't a strictly PHP related post...
I've a local database (ms access) wich has all the stock information
(nearly 10000 daily-changing records), and I want to keep this info on
line as well (I've an PHP-mySql on-line catalog of the same products).
What would be the best aproach to achieve this? I mean, this can't be
done with a php form-window which updates the article's quantity one by
one... (it would takes 100 years:)

Any kind of tips, advices, links,... would be apreciated

Note that I can't upload the access db and work directly with it,
beacause there is no permanent internet connection where it is placed.
The update proccess should/will be performed once a day, maybe twice...

regards - julian


First off, you'll be very happy after you've gotten rid of that Access
database and done this for real, but since that's not today's project, what
can you do today?

One thing you can do if you have PHP on the Access machine is write a little
script that opens the db, pulls out the data, and submits it as a file
upload to a server routine that processes it and adds it to your 'real'
database (the PHP-mySQL system). You can then either time this process to
happen from time to time or you can have somebody do it manually.

The other way is to do it entirely from the server. Even though you don't
have 24-hour connection, you must have the connection at some point to do
whatever kind of transfer it will be, so at that point have the server
connect to the Access database via ODBC, pull the data, and put it into the
PHP-mySQL system.

Hope this helps.

--
Kenneth Downs
Secure Data Software, Inc.
(Ken)nneth@(Sec)ure(Dat)a(.com)
Aug 18 '05 #3

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

Similar topics

3
by: Chris | last post by:
When you have to read a big file (5-30MB) and throw the data into the database, ofcourse some logics inbetween (doesn't matter) which of the ADO methods is recommended. 1. read line by line and do...
6
by: Greg | last post by:
I am working on a project that will have about 500,000 records in an XML document. This document will need to be queried with XPath, and records will need to be updated. I was thinking about...
0
by: David Helgason | last post by:
I think those best practices threads are a treat to follow (might even consider archiving some of them in a sort of best-practices faq), so here's one more. In coding an game asset server I want...
5
by: Louis LeBlanc | last post by:
Hey folks. I'm new to the list, and not quite what you'd call a DB Guru, so please be patient with me. I'm afraid the lead up here is a bit verbose . . . I am working on an application that...
20
by: mike | last post by:
I help manage a large web site, one that has over 600 html pages... It's a reference site for ham radio folks and as an example, one page indexes over 1.8 gb of on-line PDF documents. The site...
2
by: =?Utf-8?B?UHJpeWE=?= | last post by:
Hi, I'm faced with a classic problem of how to update a large number of records from a web page. I;m trying to build an interface that will display recordset in the order of 3000 rows and allow...
5
by: troy | last post by:
Could someone please point me in the right direction on how to read in a large query with .net. I am trying to emulate a legacy database system so I don't know the upper bounds of the sql query....
0
by: eduardasm | last post by:
Hello, I have a problem with XML schema update for one XML column (problem exists in both SP1 and SP2 for SQL Server 2005). 1. I have a table that looks like this: CREATE TABLE .( NOT NULL...
4
by: MLH | last post by:
Suppose you're using a query to update or append many records in a large table. And suppose one of those fields is a T/D stamp table and you're using Now() to write its value. It is conceivable...
3
by: ireallyneedtoknow2007 | last post by:
hello i am using c# in visual studio 2005 and need to insert a large number of records contained in a dataset into an access database. the following is too slow. how can i update my DataAdapter...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...

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.