Insert 10 million records in MySQL using PHP from CSV file

Поделиться
HTML-код
  • Опубликовано: 28 сен 2024
  • See the source code here chillyfacts.co...

Комментарии • 12

  • @mohamedmafaz8664
    @mohamedmafaz8664 Год назад

    good but have problem, if 1025 record available only its insert 1000 only rest 25 not taking, if its 100125 that time also 10000 record 125 not taking

  • @mdgaffar
    @mdgaffar 2 года назад

    Fantastic. Tell how to read 6 lakh records each day in MySQL 5.7 and store it in temp table. At month end I need to augment 30 or 31 days report with unique from temp table and produce csv report. How to achieve this ?

    • @jinujawad
      @jinujawad  2 года назад

      Once it is saved in table u can just run the select unique query

    • @mdgaffar
      @mdgaffar 2 года назад

      @@jinujawad ok
      , how to read huge number of records without hanging.

    • @anuragsarkar
      @anuragsarkar 2 года назад

      You can load huge data using CMD.

  • @ansari1129
    @ansari1129 2 года назад

    its awesome bro but i have 100045 record remaining 45 what can i do

  • @shivaarukonda2640
    @shivaarukonda2640 2 года назад

    thank you for uploading this video. and how to insert those remaining data in to table?

  • @vipinchauhan2454
    @vipinchauhan2454 Год назад

    how to add in multiple table with same file?????

  • @mabrarrubaiyatislam5653
    @mabrarrubaiyatislam5653 10 месяцев назад

    It helped. Thanks

  • @MohdAsifShah
    @MohdAsifShah Год назад

    Thanks Bro

  • @Zeee4444
    @Zeee4444 Год назад

    If I have 1,030 rows, how can we import that ?

    • @raimohaikari707
      @raimohaikari707 Год назад

      General aswer would be, that after while-loop ends, check if there is content in subquery - and run final INSERT INTO query before closing db -connection.