Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Questionverion tbl data field answer id encryption
(1 viewing) (1) Guest
component
Go to bottomPage: 1
TOPIC: Questionverion tbl data field answer id encryption
#65611
Questionverion tbl data field answer id encryption 4 Years, 6 Months ago Karma: 0
Hi AriSoft

I am trying to import approximately 490 000 questions in via csv and it goes very slow. I even split the records up to do 20 000 at a time, but still it takes very long and bombs out. I did about 40 000 in one day (not sitting in front of import actually the whole time to immediately react when it terminates).

I now compiled a csv files to import directly into mysql in the proper field format according to the Question and questionversion table fields taking into account the auto-numbering and primary/foreign keys and asset number etc.

I tested it on 10 records and it is working nicely and I belief it will save me about 6 days of waiting for the import to be done through the component.

I only have one question if you don't mind. How do I generate the answer id in the #__ariquizquestionhversion.data field xml tag? e.g. answer id="5d80d96db51772.67485244"

Kind regards
Chris
getafix
What goes around comes around.
User Offline Click here to see the profile of this user
Gender: Male GetafixZA Getafix IT Solutions
Last Edit: 2019/10/05 19:40 By getafix.Reason: spelling
The administrator has disabled public write access.
 
#65615
Re:Questionverion tbl data field answer id encryption 4 Years, 6 Months ago Karma: 747
Hello,

id is generated with help uniqid() PHP function.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#65619
Re:Questionverion tbl data field answer id encryption 4 Years, 6 Months ago Karma: 0
Thank you very much. I normally feel to reply with a thank you. Or should I rather just hit the Applaud button top right of message at Karma?
getafix
What goes around comes around.
User Offline Click here to see the profile of this user
Gender: Male GetafixZA Getafix IT Solutions
The administrator has disabled public write access.
 
#65621
Re:Questionverion tbl data field answer id encryption 4 Years, 6 Months ago Karma: 747
Thank you is enough

Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 1