I'll probably do it that way as that was basically what I was doing, and
then I would enter a

source table name < filename.sql

That works all the time, BUT if any of those 550,000 sql inserts have a
problem, you pull your hair out trying to find it and I don't have much
left.


On Thu, Jan 29, 2015 at 10:57 AM, Kevin Cully <[email protected]>
wrote:

> Yes, that's a good way of getting the data up to a web server on a
> sporadic basis.
> Example:
> 1. Get your data just right in your local database.
> 2. Back up the database to a (compressed) backup file.
> 3. FTP the file to your server.
> 4. Take web systems offline.
> 5. Rename existing web database.
> 6. Create new blank web database.
> 7. Restore into the new blank web database with the data from the backup
> file.
> 8. Bring web systems back online.
> 9. Test.
> 10. If all is well, then delete the old renamed web database.
> 11. Bask in the joy of successfully migrating the data.
>
> If you need better updating or performance, then you'd need to up your
> game to some sort of replication process. This opens a whole can of worms,
> but can be approached later down the line when finances dictate.
>
> -K
>
> On 01/29/2015 11:48 AM, Virgil Bierschwale wrote:
>
>> If I load mysql or maria on my box at home and do the insert there via
>> vfp,
>> and then do a backup of the mysql database, upload it to my host via
>> filezilla and do a restore on my host, will that work?
>>
>> thats what I've been thinking about doing.
>> Just haven't had time to focus on it with all the financial things going
>> wrong
>>
>>
>> On Thu, Jan 29, 2015 at 10:45 AM, Kevin Cully <
>> [email protected]>
>> wrote:
>>
>>  Hmm. 550K records means 550K insert statements.
>>>
>>> I'd probably recommend one of the upsizing tools for moving VFP data to
>>> your MySQL database.  It'll perform much better and get you to your data
>>> quicker.
>>>
>>> If you haven't installed MySQL already, give MariaDB a spin.  It is a
>>> fork
>>> of MySQL, by the original MySQL creator and team, and is more
>>> open-sourced
>>> than, and supported  by, the (now) Oracle owned MySQL.  It should have
>>> better performance as I believe that it takes better advantage of
>>> multi-cpu
>>> computers. As of now, it is fully compatible with MySQL.
>>>
>>> -K
>>>
>>> On 01/29/2015 11:29 AM, Virgil Bierschwale wrote:
>>>
>>>  thanks, the files are typically about 550,000 records and about 90 MB
>>>>
>>>> I've got one I put together sometime back, but yours might work a lot
>>>> better as it sounds like you're more familiar with it than I was.
>>>>
>>>> Virgil
>>>>
>>>>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/CAPuy6VOSzk9BnGUsTSMMdgJBPGoLrSgFDWmMb+4+PSb=oy6...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to