Can i do vagrant ssh in a parallel window for a same guest machine which also currently runs a job? Will it anyway disturb the current job?How can mysql insert millions records faster?How can Vagrant forward multiple ports on the same machine?Why is Vagrant trying to SSH to Windows guest?Vagrant: How to paste text in Windows command window, when running Vagrant sshVagrant: can not ping guest machine from the hostUsing the same ssh keys for multiple Vagrant machinesVagrant access guest machine from host (windows)Vagrant: Run a script that is visible on a windows guestVagrant - Creating a windows machine and running an exeVagrant Up Error - guest machine entered an invalid state. Windows 10Cannot do Vagrant ssh after Vagrant up on windows Machine
SFINAE works with deduction but fails with substitution
Python password manager
How could a planet have most of its water in the atmosphere?
How to generate a customised histogram with pgf plots?
Why is Arya visibly scared in the library in S8E3?
Set command option with document wide newcommand
Returning the outputs of a nested structure
Can Ghost kill White Walkers or Wights?
What was the state of the German rail system in 1944?
What are the differences between credential stuffing and password spraying?
My ID is expired, can I fly to the Bahamas with my passport?
To customize a predefined symbol with different colors only with pdfLaTeX
How to get a substring from bash command
Query to categorize rows based on a "time" column without using a CASE expression
Is one octave above tonic also considered as tonic?
Enumerate Derangements
Is NMDA produced in the body?
How can I close a gap between my fence and my neighbor's that's on his side of the property line?
Why do computer-science majors learn calculus?
Junior developer struggles: how to communicate with management?
Which industry am I working in? Software development or financial services?
Are triangulations of compact manifolds PL homeomorphic?
In Endgame, why were these characters still around?
For a benzene shown in a skeletal structure, what does a substituent to the center of the ring mean?
Can i do vagrant ssh in a parallel window for a same guest machine which also currently runs a job? Will it anyway disturb the current job?
How can mysql insert millions records faster?How can Vagrant forward multiple ports on the same machine?Why is Vagrant trying to SSH to Windows guest?Vagrant: How to paste text in Windows command window, when running Vagrant sshVagrant: can not ping guest machine from the hostUsing the same ssh keys for multiple Vagrant machinesVagrant access guest machine from host (windows)Vagrant: Run a script that is visible on a windows guestVagrant - Creating a windows machine and running an exeVagrant Up Error - guest machine entered an invalid state. Windows 10Cannot do Vagrant ssh after Vagrant up on windows Machine
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
As part of my homework I need to load large data files into two MySQL tables, parsed using Python, on my guest machine that is called via Vagrant SSH.
I also then need to run a Sqoop job on one of the 2 tables so now I'm up to the point where I loaded one of the tables successfully and ran the Python script to load the second table and it's been more than 3 hours and still loading.
I was wondering whether I could complete my Sqoop job on the already loaded table instead of staring at a black screen for almost 4 hours now.
My questions are:
Is there any other way to Vagrant SSH into the same machine without doing Vagrant reload (because
--reloadeventually shuts down my virtual machine thereby killing all the current jobs running on my guests).If there is, then given that I open a parallel window to log in to the guest machine as usual and start working on my Sqoop job on the first table that already loaded; will it any way affect my current job with the second table that is still loading? Or will it have a data loss as I can't risk re-doing it as it is super large and extremely time-consuming.
python code goes like this
~~
def parser():with open('1950-sample.txt', 'r', encoding='latin_1') as input:
for line in input:....
Inserting into tables
def insert():
if (tablename == '1950_psr'):
cursor.execute("INSERT INTO 1950_psr (usaf,wban,obs_da_dt,lati,longi,elev,win_dir,qc_wind_dir, sky,qc_sky,visib,qc_visib,air_temp,qc_air_temp,dew_temp,qc_dew_temp,atm_press,qc_atm_press)VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s)",(USAF,WBAN,obs_da_dt,lati,longi,elev,win_dir,qc_wind_dir, sky,qc_sky,visib,qc_visib,air_temp,qc_air_temp,dew_temp,qc_dew_temp,atm_press,qc_atm_press))
elif (tablename == '1986_psr'):
cursor.execute("INSERT INTO 1986_psr (usaf,wban,obs_da_dt,lati,longi,elev,win_dir,qc_wind_dir, sky,qc_sky,visib,qc_visib,air_temp,qc_air_temp,dew_temp,qc_dew_temp,atm_press,qc_atm_press)VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s)",(USAF,WBAN,obs_da_dt,lati,longi,elev,win_dir,qc_wind_dir, sky,qc_sky,visib,qc_visib,air_temp,qc_air_temp,dew_temp,qc_dew_temp,atm_press,qc_atm_press))
parser()
Saving & closing
conn.commit()
conn.close()
python mysql linux vagrant sqoop
add a comment |
As part of my homework I need to load large data files into two MySQL tables, parsed using Python, on my guest machine that is called via Vagrant SSH.
I also then need to run a Sqoop job on one of the 2 tables so now I'm up to the point where I loaded one of the tables successfully and ran the Python script to load the second table and it's been more than 3 hours and still loading.
I was wondering whether I could complete my Sqoop job on the already loaded table instead of staring at a black screen for almost 4 hours now.
My questions are:
Is there any other way to Vagrant SSH into the same machine without doing Vagrant reload (because
--reloadeventually shuts down my virtual machine thereby killing all the current jobs running on my guests).If there is, then given that I open a parallel window to log in to the guest machine as usual and start working on my Sqoop job on the first table that already loaded; will it any way affect my current job with the second table that is still loading? Or will it have a data loss as I can't risk re-doing it as it is super large and extremely time-consuming.
python code goes like this
~~
def parser():with open('1950-sample.txt', 'r', encoding='latin_1') as input:
for line in input:....
Inserting into tables
def insert():
if (tablename == '1950_psr'):
cursor.execute("INSERT INTO 1950_psr (usaf,wban,obs_da_dt,lati,longi,elev,win_dir,qc_wind_dir, sky,qc_sky,visib,qc_visib,air_temp,qc_air_temp,dew_temp,qc_dew_temp,atm_press,qc_atm_press)VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s)",(USAF,WBAN,obs_da_dt,lati,longi,elev,win_dir,qc_wind_dir, sky,qc_sky,visib,qc_visib,air_temp,qc_air_temp,dew_temp,qc_dew_temp,atm_press,qc_atm_press))
elif (tablename == '1986_psr'):
cursor.execute("INSERT INTO 1986_psr (usaf,wban,obs_da_dt,lati,longi,elev,win_dir,qc_wind_dir, sky,qc_sky,visib,qc_visib,air_temp,qc_air_temp,dew_temp,qc_dew_temp,atm_press,qc_atm_press)VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s)",(USAF,WBAN,obs_da_dt,lati,longi,elev,win_dir,qc_wind_dir, sky,qc_sky,visib,qc_visib,air_temp,qc_air_temp,dew_temp,qc_dew_temp,atm_press,qc_atm_press))
parser()
Saving & closing
conn.commit()
conn.close()
python mysql linux vagrant sqoop
1
"... and run the Python script to load the second table and it's been more than 3 hours and still loading" - Please show the relevant code and state the exact problem or error. Also see How to create a Minimal, Complete, and Verifiable example and How can mysql insert millions records faster?
– jww
Mar 23 at 0:39
There is no error yet.The screen is stuck at "File Exists, opened database successfully" after i ran "python3 parser.py 1986.txt(filename 1986_psr(table name). The file itself is 2.6G.It sure has more than 600000 records.
– Preethi Vasanth
Mar 23 at 1:29
add a comment |
As part of my homework I need to load large data files into two MySQL tables, parsed using Python, on my guest machine that is called via Vagrant SSH.
I also then need to run a Sqoop job on one of the 2 tables so now I'm up to the point where I loaded one of the tables successfully and ran the Python script to load the second table and it's been more than 3 hours and still loading.
I was wondering whether I could complete my Sqoop job on the already loaded table instead of staring at a black screen for almost 4 hours now.
My questions are:
Is there any other way to Vagrant SSH into the same machine without doing Vagrant reload (because
--reloadeventually shuts down my virtual machine thereby killing all the current jobs running on my guests).If there is, then given that I open a parallel window to log in to the guest machine as usual and start working on my Sqoop job on the first table that already loaded; will it any way affect my current job with the second table that is still loading? Or will it have a data loss as I can't risk re-doing it as it is super large and extremely time-consuming.
python code goes like this
~~
def parser():with open('1950-sample.txt', 'r', encoding='latin_1') as input:
for line in input:....
Inserting into tables
def insert():
if (tablename == '1950_psr'):
cursor.execute("INSERT INTO 1950_psr (usaf,wban,obs_da_dt,lati,longi,elev,win_dir,qc_wind_dir, sky,qc_sky,visib,qc_visib,air_temp,qc_air_temp,dew_temp,qc_dew_temp,atm_press,qc_atm_press)VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s)",(USAF,WBAN,obs_da_dt,lati,longi,elev,win_dir,qc_wind_dir, sky,qc_sky,visib,qc_visib,air_temp,qc_air_temp,dew_temp,qc_dew_temp,atm_press,qc_atm_press))
elif (tablename == '1986_psr'):
cursor.execute("INSERT INTO 1986_psr (usaf,wban,obs_da_dt,lati,longi,elev,win_dir,qc_wind_dir, sky,qc_sky,visib,qc_visib,air_temp,qc_air_temp,dew_temp,qc_dew_temp,atm_press,qc_atm_press)VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s)",(USAF,WBAN,obs_da_dt,lati,longi,elev,win_dir,qc_wind_dir, sky,qc_sky,visib,qc_visib,air_temp,qc_air_temp,dew_temp,qc_dew_temp,atm_press,qc_atm_press))
parser()
Saving & closing
conn.commit()
conn.close()
python mysql linux vagrant sqoop
As part of my homework I need to load large data files into two MySQL tables, parsed using Python, on my guest machine that is called via Vagrant SSH.
I also then need to run a Sqoop job on one of the 2 tables so now I'm up to the point where I loaded one of the tables successfully and ran the Python script to load the second table and it's been more than 3 hours and still loading.
I was wondering whether I could complete my Sqoop job on the already loaded table instead of staring at a black screen for almost 4 hours now.
My questions are:
Is there any other way to Vagrant SSH into the same machine without doing Vagrant reload (because
--reloadeventually shuts down my virtual machine thereby killing all the current jobs running on my guests).If there is, then given that I open a parallel window to log in to the guest machine as usual and start working on my Sqoop job on the first table that already loaded; will it any way affect my current job with the second table that is still loading? Or will it have a data loss as I can't risk re-doing it as it is super large and extremely time-consuming.
python code goes like this
~~
def parser():with open('1950-sample.txt', 'r', encoding='latin_1') as input:
for line in input:....
Inserting into tables
def insert():
if (tablename == '1950_psr'):
cursor.execute("INSERT INTO 1950_psr (usaf,wban,obs_da_dt,lati,longi,elev,win_dir,qc_wind_dir, sky,qc_sky,visib,qc_visib,air_temp,qc_air_temp,dew_temp,qc_dew_temp,atm_press,qc_atm_press)VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s)",(USAF,WBAN,obs_da_dt,lati,longi,elev,win_dir,qc_wind_dir, sky,qc_sky,visib,qc_visib,air_temp,qc_air_temp,dew_temp,qc_dew_temp,atm_press,qc_atm_press))
elif (tablename == '1986_psr'):
cursor.execute("INSERT INTO 1986_psr (usaf,wban,obs_da_dt,lati,longi,elev,win_dir,qc_wind_dir, sky,qc_sky,visib,qc_visib,air_temp,qc_air_temp,dew_temp,qc_dew_temp,atm_press,qc_atm_press)VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s)",(USAF,WBAN,obs_da_dt,lati,longi,elev,win_dir,qc_wind_dir, sky,qc_sky,visib,qc_visib,air_temp,qc_air_temp,dew_temp,qc_dew_temp,atm_press,qc_atm_press))
parser()
Saving & closing
conn.commit()
conn.close()
python mysql linux vagrant sqoop
python mysql linux vagrant sqoop
edited Mar 23 at 1:40
Preethi Vasanth
asked Mar 22 at 21:06
Preethi VasanthPreethi Vasanth
62
62
1
"... and run the Python script to load the second table and it's been more than 3 hours and still loading" - Please show the relevant code and state the exact problem or error. Also see How to create a Minimal, Complete, and Verifiable example and How can mysql insert millions records faster?
– jww
Mar 23 at 0:39
There is no error yet.The screen is stuck at "File Exists, opened database successfully" after i ran "python3 parser.py 1986.txt(filename 1986_psr(table name). The file itself is 2.6G.It sure has more than 600000 records.
– Preethi Vasanth
Mar 23 at 1:29
add a comment |
1
"... and run the Python script to load the second table and it's been more than 3 hours and still loading" - Please show the relevant code and state the exact problem or error. Also see How to create a Minimal, Complete, and Verifiable example and How can mysql insert millions records faster?
– jww
Mar 23 at 0:39
There is no error yet.The screen is stuck at "File Exists, opened database successfully" after i ran "python3 parser.py 1986.txt(filename 1986_psr(table name). The file itself is 2.6G.It sure has more than 600000 records.
– Preethi Vasanth
Mar 23 at 1:29
1
1
"... and run the Python script to load the second table and it's been more than 3 hours and still loading" - Please show the relevant code and state the exact problem or error. Also see How to create a Minimal, Complete, and Verifiable example and How can mysql insert millions records faster?
– jww
Mar 23 at 0:39
"... and run the Python script to load the second table and it's been more than 3 hours and still loading" - Please show the relevant code and state the exact problem or error. Also see How to create a Minimal, Complete, and Verifiable example and How can mysql insert millions records faster?
– jww
Mar 23 at 0:39
There is no error yet.The screen is stuck at "File Exists, opened database successfully" after i ran "python3 parser.py 1986.txt(filename 1986_psr(table name). The file itself is 2.6G.It sure has more than 600000 records.
– Preethi Vasanth
Mar 23 at 1:29
There is no error yet.The screen is stuck at "File Exists, opened database successfully" after i ran "python3 parser.py 1986.txt(filename 1986_psr(table name). The file itself is 2.6G.It sure has more than 600000 records.
– Preethi Vasanth
Mar 23 at 1:29
add a comment |
1 Answer
1
active
oldest
votes
I don't know what's in your login scripts, and I'm not clear what that --reload flag is, but in general you can have multiple ssh sessions to the same machine. Just open another terminal and ssh into the VM.
However, in your case, that's probably not a good idea. I suspect that the second table is taking long time to load because your database is reindexing or it's waiting on a lock to be released.
Unless you are loading hundreds of meg's, I suggest you first check for locks and see what queries are pending.
Even if you are loading very large dataset and there are no constraints on the table you need for you script, you are just going to pile up on a machine that's already taxed pretty heavily...
Hi.thanks for your answer. by --reload I meant vagrant reload --provision . I usually do this before ssh to bring up the machine. And the 2nd table is still loading!!!! It is more than megs, should be in gigs.Could you please tell me how to check for locks . TIA!
– Preethi Vasanth
Mar 23 at 1:18
Oh, I see. You only need to do that the first time. Once you environment is up, you can just connect to it.
– ventsyv
Mar 23 at 17:24
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55307778%2fcan-i-do-vagrant-ssh-in-a-parallel-window-for-a-same-guest-machine-which-also-cu%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I don't know what's in your login scripts, and I'm not clear what that --reload flag is, but in general you can have multiple ssh sessions to the same machine. Just open another terminal and ssh into the VM.
However, in your case, that's probably not a good idea. I suspect that the second table is taking long time to load because your database is reindexing or it's waiting on a lock to be released.
Unless you are loading hundreds of meg's, I suggest you first check for locks and see what queries are pending.
Even if you are loading very large dataset and there are no constraints on the table you need for you script, you are just going to pile up on a machine that's already taxed pretty heavily...
Hi.thanks for your answer. by --reload I meant vagrant reload --provision . I usually do this before ssh to bring up the machine. And the 2nd table is still loading!!!! It is more than megs, should be in gigs.Could you please tell me how to check for locks . TIA!
– Preethi Vasanth
Mar 23 at 1:18
Oh, I see. You only need to do that the first time. Once you environment is up, you can just connect to it.
– ventsyv
Mar 23 at 17:24
add a comment |
I don't know what's in your login scripts, and I'm not clear what that --reload flag is, but in general you can have multiple ssh sessions to the same machine. Just open another terminal and ssh into the VM.
However, in your case, that's probably not a good idea. I suspect that the second table is taking long time to load because your database is reindexing or it's waiting on a lock to be released.
Unless you are loading hundreds of meg's, I suggest you first check for locks and see what queries are pending.
Even if you are loading very large dataset and there are no constraints on the table you need for you script, you are just going to pile up on a machine that's already taxed pretty heavily...
Hi.thanks for your answer. by --reload I meant vagrant reload --provision . I usually do this before ssh to bring up the machine. And the 2nd table is still loading!!!! It is more than megs, should be in gigs.Could you please tell me how to check for locks . TIA!
– Preethi Vasanth
Mar 23 at 1:18
Oh, I see. You only need to do that the first time. Once you environment is up, you can just connect to it.
– ventsyv
Mar 23 at 17:24
add a comment |
I don't know what's in your login scripts, and I'm not clear what that --reload flag is, but in general you can have multiple ssh sessions to the same machine. Just open another terminal and ssh into the VM.
However, in your case, that's probably not a good idea. I suspect that the second table is taking long time to load because your database is reindexing or it's waiting on a lock to be released.
Unless you are loading hundreds of meg's, I suggest you first check for locks and see what queries are pending.
Even if you are loading very large dataset and there are no constraints on the table you need for you script, you are just going to pile up on a machine that's already taxed pretty heavily...
I don't know what's in your login scripts, and I'm not clear what that --reload flag is, but in general you can have multiple ssh sessions to the same machine. Just open another terminal and ssh into the VM.
However, in your case, that's probably not a good idea. I suspect that the second table is taking long time to load because your database is reindexing or it's waiting on a lock to be released.
Unless you are loading hundreds of meg's, I suggest you first check for locks and see what queries are pending.
Even if you are loading very large dataset and there are no constraints on the table you need for you script, you are just going to pile up on a machine that's already taxed pretty heavily...
edited Mar 23 at 0:27
answered Mar 23 at 0:11
ventsyvventsyv
1,93221639
1,93221639
Hi.thanks for your answer. by --reload I meant vagrant reload --provision . I usually do this before ssh to bring up the machine. And the 2nd table is still loading!!!! It is more than megs, should be in gigs.Could you please tell me how to check for locks . TIA!
– Preethi Vasanth
Mar 23 at 1:18
Oh, I see. You only need to do that the first time. Once you environment is up, you can just connect to it.
– ventsyv
Mar 23 at 17:24
add a comment |
Hi.thanks for your answer. by --reload I meant vagrant reload --provision . I usually do this before ssh to bring up the machine. And the 2nd table is still loading!!!! It is more than megs, should be in gigs.Could you please tell me how to check for locks . TIA!
– Preethi Vasanth
Mar 23 at 1:18
Oh, I see. You only need to do that the first time. Once you environment is up, you can just connect to it.
– ventsyv
Mar 23 at 17:24
Hi.thanks for your answer. by --reload I meant vagrant reload --provision . I usually do this before ssh to bring up the machine. And the 2nd table is still loading!!!! It is more than megs, should be in gigs.Could you please tell me how to check for locks . TIA!
– Preethi Vasanth
Mar 23 at 1:18
Hi.thanks for your answer. by --reload I meant vagrant reload --provision . I usually do this before ssh to bring up the machine. And the 2nd table is still loading!!!! It is more than megs, should be in gigs.Could you please tell me how to check for locks . TIA!
– Preethi Vasanth
Mar 23 at 1:18
Oh, I see. You only need to do that the first time. Once you environment is up, you can just connect to it.
– ventsyv
Mar 23 at 17:24
Oh, I see. You only need to do that the first time. Once you environment is up, you can just connect to it.
– ventsyv
Mar 23 at 17:24
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55307778%2fcan-i-do-vagrant-ssh-in-a-parallel-window-for-a-same-guest-machine-which-also-cu%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
"... and run the Python script to load the second table and it's been more than 3 hours and still loading" - Please show the relevant code and state the exact problem or error. Also see How to create a Minimal, Complete, and Verifiable example and How can mysql insert millions records faster?
– jww
Mar 23 at 0:39
There is no error yet.The screen is stuck at "File Exists, opened database successfully" after i ran "python3 parser.py 1986.txt(filename 1986_psr(table name). The file itself is 2.6G.It sure has more than 600000 records.
– Preethi Vasanth
Mar 23 at 1:29