First time here? Check out the FAQ!
2

populate questions
 

I want to insert large set of data to askbot site and see how it handles respect to scalability. Lets say we have stackoverflow data dump and we want to import that, to what extend is this doable. Has anyone done anything similar to populating questions and answers?

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
SocialQA's avatar
265
SocialQA
asked 11 years ago

Comments

Could you please share how it went?

Lurker's avatar Lurker (10 years ago)
see more comments

1 Answer

0

Depending on the number of posts you require you might need to create own script, possibly in SQL directly. However you could try modifying the management command askbot_add_test_content to generate more content (it will take a while to run though.)

If you need to create very large number of database rows, which would be impractical to do via python, then create an SQL script.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
answered 11 years ago
link

Comments

see more comments