![]() |
![]() OCAU News - Wiki - QuickLinks - Pix - Sponsors |
|
|||||||
| Notices |
|
Sign up for a free OCAU account and this ad will go away! Search our forums with Google: |
![]() |
|
|
Thread Tools |
|
|
#16 | |
|
Member
Join Date: Jan 2003
Location: Canberra
Posts: 4,342
|
Quote:
__________________
My rig i7-2600k@4.6 | Z68X-UD7| 16 GIG | GTX 690 | 120 Intel 520 | Win 7 64-Bit | D5 & XSPC W/C | 800D | 24" ASUS 120hz I am the 120fps Nazi
|
|
|
|
|
| Join OCAU to remove this ad! |
|
|
#17 | |
|
Member
Join Date: Jun 2001
Location: Canberra
Posts: 7,166
|
Quote:
__________________
We might eviscerate your arguments, but we won't hurt you. Honest! - Lucifers Mentor ⠠⠵ [#] |
|
|
|
|
|
|
#18 | ||
|
Member
Join Date: Feb 2003
Location: NSW
Posts: 6,430
|
Quote:
Quote:
![]() bugayev edit: please don't multi post.
__________________
Democracy's greatest trick was convincing man he was informed. Last edited by bugayev; 4th July 2012 at 2:01 PM. |
||
|
|
|
|
|
#19 |
|
Member
Join Date: Sep 2010
Posts: 79
|
I have worked with a 1.5gb csv file before, it can be a real pain.
If you want to open the file to browse, PFE works great. it looks crap, is really old, but works great with large files: http://www.lancs.ac.uk/staff/steveb/cpaap/pfe/ After trying every way I could think of to get the file into a database, I ended up doing the following: 1) Installed xampp (a WAMP stack). 2) Set the max php execution time to 0 in the php.ini config. 3) Wrote a (~20 line) php script that opened the file and read it line by line, dumping it into mysql line by line. To import the whole thing, it took about 6 hours on a 1.5tb 7200rpm WD drive, and about 1.5 hours on a corsair 64gb SSD. This was on the same dev machine (win7, i7 920, 12gb ram) Once in the mysql database, it worked fine (browsable via phpmyadmin, and php queries ran ok). |
|
|
|
|
|
#20 | |
|
Member
Join Date: Jun 2012
Posts: 590
|
Quote:
MS-Access is also not single user... it can happily cope with multiple user/access (well, in my extensive testing it can at least support a number of connections > 1)But yeah, with the Express edition of things available these days MS-Access is probably pointless. I'd also use PostgreSQL over MySQL any day! |
|
|
|
|
|
|
#21 |
|
Member
Join Date: Feb 2003
Location: NSW
Posts: 6,430
|
i have one company with 150 users accessing MS Access hehehe
its not ideal!
__________________
Democracy's greatest trick was convincing man he was informed. |
|
|
|
|
|
#22 |
|
Member
Join Date: Jun 2012
Posts: 590
|
|
|
|
|
|
|
#23 |
|
Member
Join Date: Feb 2003
Location: NSW
Posts: 6,430
|
I work with even bigger companies and they are worse. There is a lot of money to be made updating companies processes.
__________________
Democracy's greatest trick was convincing man he was informed. |
|
|
|
|
|
#24 | |
|
Member
Join Date: Apr 2005
Location: Brisbane
Posts: 1,314
|
Quote:
__________________
Notebook ASUS K55A|i7|16gb RAM|256gb SSD|Win 8 Storage HP N40L|6.5TB Media WDTV Live+|Samsung 40" LED SmartTV Phone Nokia Lumia 820 Cars 98 Toyota Starlet|80 Mazda 323-12abp Bikes 2009 Avanti Vivace|2010 SE Lager|2001 Norco Charger Mtb flickr | blog | photo gear | redbubble |
|
|
|
|
|
|
#25 | |
|
Member
Join Date: Nov 2002
Location: Elsewhere.
Posts: 3,636
|
Quote:
16,000 reporting measures a sec. The custom query they have to strip, transfer and dump the data is unbelievable (and written in vb!). It is actually unbelievable in every sense of the word (it's even documented! Why would you document that!) This is despite pi having one of the most elegant reporting systems I've worked with. Currently our proposed strategy is get everyone drunk and accidently spill beer on the access server then rebuild it all in reporting in about 2 days. Anyways, back to the case at point. We've done manual file manipulation in notepad++ on files around 2gb to do emergency once off edits. Not very elegant but it works. Some of the ideas in this thread are certainly interesting though. (jezza323: what is the command to load csv files directly? I'm really not a mysql guy...) |
|
|
|
|
|
|
#26 | |
|
Member
Join Date: Apr 2005
Location: Brisbane
Posts: 1,314
|
Check this out
http://dev.mysql.com/doc/refman/5.1/en/load-data.html Am working with the command atm, works fine ![]() eg from bat file im using to do some basic SQL Server -> mySQL migration for a new product im coding at work (lots of variables) Quote:
__________________
Notebook ASUS K55A|i7|16gb RAM|256gb SSD|Win 8 Storage HP N40L|6.5TB Media WDTV Live+|Samsung 40" LED SmartTV Phone Nokia Lumia 820 Cars 98 Toyota Starlet|80 Mazda 323-12abp Bikes 2009 Avanti Vivace|2010 SE Lager|2001 Norco Charger Mtb flickr | blog | photo gear | redbubble Last edited by jezza323; 6th July 2012 at 3:39 AM. |
|
|
|
|
|
|
#27 |
|
Member
Join Date: Sep 2005
Location: Gold Coast
Posts: 2,759
|
Yep, mysql is the tool you need here.
__________________
Travel & Photo Blog: http://www.dfcowell.net |
|
|
|
|
|
#28 | ||
|
Member
Join Date: Jun 2012
Posts: 590
|
Quote:
Quote:
|
||
|
|
|
|
|
#29 | |
|
Member
Join Date: Mar 2003
Location: Armadale, Melbourne
Posts: 1,653
|
Quote:
I know sometimes working IT you get impression everyone else is a complete fool and fit only for converting oxygen to CO2, but it doesn't imho generally apply on OCAU tech forums. |
|
|
|
|
|
|
#30 | |
|
Member
Join Date: Jun 2012
Posts: 590
|
Quote:
) that he was posting it for the benefit of the OP and in that case it doesn't matter that jezza knows his own data -- it's the OP's data that matter, and it's a fairly safe bet that jezza doesn't know walker's data. So, the assumptions good very well be incorrect and it's better that the OP (walker) knows about those assumptions... isn't it?
Last edited by gcflora; 8th July 2012 at 11:27 AM. Reason: fixed op's username |
|
|
|
|
![]() |
| Bookmarks |
|
Sign up for a free OCAU account and this ad will go away! |
| Thread Tools | |
|
|