473,657 Members | 2,535 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

overflow during ODBC export

OK, I've been watching my DB grow and have known for a long time I
would have to move the back end, but of course I waited until I
started getting odd behavior (at about 1.92GB). So today I installed
MySQL and (after a bit too much time getting the data source working)
started exporting tables. I successfully exported eight of my nine
tables, and can view them from a linked Access front end.

But when I tried to export the final table, which is probably about
90% of the space in the DB, it chugged away for an hour or so and
finally told me "not enough space on temporary disk". Well of course
this is nonsense (there's over 200GB free space), and the JETxxx.tmp
file is almost 2GB, so I gather the real problem is that JET isn't
sending directly to the ODBC interface but rather is constructing a
temporary file, and that even the temporary file has a 2GB limit.

And this just when life seemed like it might be easy.

What's the easiest way around this? I'm sure I could use various forms
of export to flat files, selecting a subset of the table, and import
these into MySQL. That just seems so clumsy compared with the ODBC
export, which although it requires several non-obvious clicks for each
table, once I learned what those clicks were, it seems to have just
worked, though I expect I'll have to learn a bit about MySQL to clean
stuff up.

I just noticed that I can export query via ODBC. Is that going to
create a table? If so, will that table get all the properties that an
export from a table gets? This could be the easiest (just set up a
query which selects part of the table, and run it for each section),
but my operational capability on MySQL is yet very limited and so I'm
concerned that I might find something very important missing after
I've put several hours of work into it.

This is in Access 2003 under XP, if it matters.

Thanks,

Edward
Aug 16 '08 #1
3 4554
On Aug 15, 10:43*pm, Edward Reid <edw...@paleo.o rgwrote:
OK, I've been watching my DB grow and have known for a long time I
would have to move the back end, but of course I waited until I
started getting odd behavior (at about 1.92GB). So today I installed
MySQL and (after a bit too much time getting the data source working)
started exporting tables. I successfully exported eight of my nine
tables, and can view them from a linked Access front end.

But when I tried to export the final table, which is probably about
90% of the space in the DB, it chugged away for an hour or so and
finally told me "not enough space on temporary disk". Well of course
this is nonsense (there's over 200GB free space), and the JETxxx.tmp
file is almost 2GB, so I gather the real problem is that JET isn't
sending directly to the ODBC interface but rather is constructing a
temporary file, and that even the temporary file has a 2GB limit.

And this just when life seemed like it might be easy.

What's the easiest way around this? I'm sure I could use various forms
of export to flat files, selecting a subset of the table, and import
these into MySQL. That just seems so clumsy compared with the ODBC
export, which although it requires several non-obvious clicks for each
table, once I learned what those clicks were, it seems to have just
worked, though I expect I'll have to learn a bit about MySQL to clean
stuff up.

I just noticed that I can export query via ODBC. Is that going to
create a table? If so, will that table get all the properties that an
export from a table gets? This could be the easiest (just set up a
query which selects part of the table, and run it for each section),
but my operational capability on MySQL is yet very limited and so I'm
concerned that I might find something very important missing after
I've put several hours of work into it.

This is in Access 2003 under XP, if it matters.

Thanks,

Edward
Have you considered trying this using VBA (via DAO or ADO)? Might be
a bit slower, but might get past whatever problem you're having.

Bruce
Aug 18 '08 #2
Bruce wrote:
Have you considered trying this using VBA (via DAO or ADO)? Might be
a bit slower, but might get past whatever problem you're having.
Thanks. I think I could get the segmented query working faster,
assuming that method works. I'll keep VBA in mind.

I suppose probably I could export as CSV or tab-delimited and import
into MySQL from that.

Edward
Aug 18 '08 #3
I found two workable methods to solve my problem.

First method: set up a query which selects a subset of the table to be
exported (I just used a range on the artificial primary key). Export
the first half of the table to the destination table. Change the query
and export the second half of the table to a temporary destination
table. Move the rows from the temporary table to the permanent one
(insert in permtable select * from temptable) and drop the temporary
table.

Second method: Use the MySQL Migration Tool! Would not have done it
any other way if I'd discovered this first. It just did the job and
moved all the tables without intervention. It did fail on creation of
one of the tables -- don't know why, I just copied the SQL and
executed it manually and it worked and I went on. The tool is free.

I did it by the first method, discovered the second method, discarded
my initial results and used the second. Therefore I don't know what
problems I might have encountered with the first method. I figured
that a tool specifically designed to migrate a DB would likely be more
thorough.

I think the first method was a little faster, but not much and it
certainly didn't make up for the extra intervention required. I don't
think it created all the indices. The resulting DB was the same size
as the JET DB to within 1%.

I'm pretty sure the second method created all the indices on the fly,
which could account for it taking longer. The resulting DB was almost
twice as large as the JET DB. I don't know why. It's possible that it
ended up in Unicode, but that should make little difference, as very
little of the data is character. I haven't tried to figure out why,
since it doesn't matter to me. I ended up, unintentionally , with
everything in InnoDB instead of MyISAM. Doesn't matter much, probably
preferable, but that means it's all in one file and so harder to tell
how much space the indices occupy.

Thanks,

Edward
Aug 19 '08 #4

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

Similar topics

11
3750
by: Wolfgang Kaml | last post by:
Hello All, I have been working on this for almost a week now and I haven't anything up my sleeves anymore that I could test in addition or change.... Since I am not sure, if this is a Windows 2003 Server or ADO or ODBC issue, I am posting this on all of the three newsgroups. That's the setup: Windows 2003 Server with IIS and ASP.NET actiavted Access 2002 mdb file (and yes, proper rights are set on TMP paths and path,
2
5646
by: Volker Zink | last post by:
I have a problem with a 9i.2 database. During export i always get following error (its in german): .... .. Kontext-Namespaces werden exportiert .. Exportieren der Fremdfunktions-Bibliotheksnamen .. Synonyme vom Typ PUBLIC werden exportiert EXP-00008: ORACLE-Fehler 4031 gefunden ORA-04031: 4032 Bytes des gemeinsamen Speichers konnten nicht zugewiesen werden ("large pool","unknown
1
1823
by: david | last post by:
Hi I don't know if anyone can help me with this but every time I try and export reports as a 'Rich Text' file from Access 2000 the export fails and I keep getting an 'Overflow' message come up. It happens on more than one database but its only just started doing it - didn't used to! What's even stranger is that if I run the same reports from other PCs on our network then they export as RTF files just fine. I'm really puzzled as to...
6
18711
by: Andi Reisenhofer | last post by:
Hallo C# folks, Somebody know how to create a ODBC DSN dynamically in c# program. Also interesting for me would be the connectionstring for an Access Database. Thinks a lot Andreas
0
5023
by: Lewt | last post by:
I am aware of the 'hack the registry' approach. This is just not a safe way to accomplish this on a user's PC. I need to do this the right way. Is there anyone -perhaps from Microsoft - out there who can assist me on this? "Colin Stutley" wrote: > I now see your dilemma. > > Not sure of the appropiate API calls, but an alternative may be to simple > add the appropiate registry entries for the DSN. I would try; > 1) Export your...
25
6245
by: junky_fellow | last post by:
Is there any way by which the overflow during addition of two integers may be detected ? eg. suppose we have three unsigned integers, a ,b, c. we are doing a check like if ((a +b) > c) do something;
9
10206
by: Bob Sanderson | last post by:
I'm trying to export a table to an ODBC database using a VBA subroutine. I have tested the ODBC setup manually and it works fine but when I try to do it with VBA, I get a "connection failed" error. This is the code I'm using. Can anyone tell me what is wrong with it? DoCmd.TransferDatabase acExport, "ODBC Database", "ODBC;DSN=*****;UID=*****;LANGUAGE=us_english;" & "DATABASE=*****", acTable, "Test", "Test" Thanks in advance.
4
1803
by: Jeff | last post by:
I need to export MySQL data to Access. As always, there seems to be more than one way to do this. I notice that PHP has: DB.php If I was doing this in perl, there would be an ODBC driver (DBD::ODBC). Is there such a thing in PHP? Can this play well with DBO? I see some commercial driver products, but my needs are modest as I'm
0
1730
by: chago | last post by:
Hi all, I am trying to adapt a program, by transforming the output part of it, so it can export to ODBC(SAS), as previously it exported to plain text. Thus I create an SqlDataAdapter "da" by executing a rather complicated query( _sqlCommand) from a connection to an SQL Server(defined in _connection). Later I fill the table dataTable with the result from that query. That part is fine as I can see in the debug the expected result. My next...
0
8413
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8740
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8513
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7352
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6176
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4173
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4330
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1970
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1733
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.