TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 12-04-2007, 05:24 PM   #1 (permalink)
La Vida es Sueño
Advanced Programmer Top Contributor 
 
Wildhoney's Avatar
 
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
Wildhoney is on a distinguished road
Application Notepage like application to open large MySQL files

I've long had this issue where opening large files, typically MySQL files as they get large quite quickly, but applications bundled with Windows, such as notepad and wordpad just don't cut it - I think because they read the entire file to memory before opening. Even Zend Studio is slow at opening it because it tries to add all of its fancy formatting to the MySQL document to prettify it.

Karl had the issue the other day where he wanted to open a large MySQL file, which was only around 11 megabytes, but although notepad opened it, it soon crashed when you scrolled down, and wordpad gave us a percent loaded but when it got to 100% it simply said something like "Formatting..." which we didn't wait around to see complete.

So I had myself a browse around the Internet to see what applicaions were good at opening very large MySQL files. I came across Scintilla's SCiTE which somebody had remarked on their observation that opening a ~100mb MySQL file in SCiTE took mere seconds. I didn't think that was at all possible, but I downloaded it anyway, and sure enough, SCiTE had loaded in the 11mb MySQL file, with colours as well, in a second at the very longest.

Very impressive stuff! And as I was so impressed, I decided to take a tour and found that it supports syntax highlighting in all the popular programming languages, as well as many I've never before heard of. It even has code collapsing as standard.
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
Send a message via AIM to Wildhoney Send a message via MSN to Wildhoney Send a message via Yahoo to Wildhoney
Wildhoney is offline  
Reply With Quote
Old 12-05-2007, 12:15 AM   #2 (permalink)
The Prestige
Advanced Programmer Top Contributor Good Samaritan 
 
sketchMedia's Avatar
 
Join Date: Oct 2007
Location: Manchester, UK
Posts: 854
Thanks: 32
sketchMedia is on a distinguished road
Default

yea its a pretty cool editor, i use it when im on my debian computer.
__________________
mysql> SELECT * FROM `users` WHERE `users`.`clue` > 0;
Empty set (0.00 sec)
sketchMedia is offline  
Reply With Quote
Old 12-05-2007, 01:37 AM   #3 (permalink)
bdm
The Acquainted
Good Samaritan 
 
Join Date: Nov 2007
Posts: 127
Thanks: 14
bdm is on a distinguished road
Default

I'll try it out tomorrow at work on my openSUSE 10.3 box.
bdm is offline  
Reply With Quote
Old 12-05-2007, 01:38 AM   #4 (permalink)
The Wanderer
 
Join Date: Nov 2007
Posts: 20
Thanks: 1
iisbum is on a distinguished road
Default

It's not free and Windows only, but UltraEdit is also very good at opening VERY large files.

http://www.ultraedit.com/

Mubs
iisbum is offline  
Reply With Quote
Old 12-07-2007, 09:40 AM   #5 (permalink)
Orc
The Prestige
 
Orc's Avatar
 
Join Date: Dec 2007
Posts: 1,044
Thanks: 193
Orc is on a distinguished road
Default

Why not try Notepad++ ? It just loaded a massive MySQL File and it didn't lag, or Crash.


http://notepad-plus.sourceforge.net/uk/site.htm
Orc is offline  
Reply With Quote
Old 12-07-2007, 11:21 AM   #6 (permalink)
The Frequenter
Prolific Welcomer Upcoming Programmer 
 
Join Date: Sep 2007
Posts: 360
Thanks: 24
Haris is on a distinguished road
Default

I had problem opening 2 MB file to convert MySQL from one system to another in Notepad.

Duh, had to use web interface to do that.

P.S: Downloading Scintilla's SCiTE
Haris is offline  
Reply With Quote
Old 12-07-2007, 02:18 PM   #7 (permalink)
La Vida es Sueño
Advanced Programmer Top Contributor 
 
Wildhoney's Avatar
 
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
Wildhoney is on a distinguished road
Default

Wise choice, Haris! You'll adore it, I'm sure.
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
Send a message via AIM to Wildhoney Send a message via MSN to Wildhoney Send a message via Yahoo to Wildhoney
Wildhoney is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 10:17 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design