Jump to content

huge mysql data file


sniperscope

Recommended Posts

Hello

I am facing a problem like importing huge (2.5gb) sql file into new server.

 

Super moron who create web page, saved image files into db. So first i have to import that sql file then convert image strings into image file.

The first thing i thought open sql file and insert one by one but this time i have two problem; one: db is huge so text editors cannot open it and second there is about 80.000 records in it.

How can i handle this task?

 

Regards

Link to comment
Share on other sites

2.5 GB is Massive for opening in normal text editor....

 

I had similar problem but mine was 1.5 GB of SQL file which i was able to open in Hex Editor(HxD).

Try Hex for Opening the SQL file it might help u....

 

Also Its advised not to store Image/doc in Blob format.

Edited by deepakfugo
Link to comment
Share on other sites

2.5 GB is Massive for opening in normal text editor....

 

I had similar problem but mine was 1.5 GB of SQL file which i was able to open in Hex Editor(HxD).

Try Hex for Opening the SQL file it might help u....

 

Also Its advised not to store Image/doc in Blob format.

Hello

Thanks for advice.

Personally, i never store image files into database. The someone did it who built homepage at first and now i have to clean up his mess because he used php script to display images therefor, server has load problem

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.