Ask Your Question
2

populate questions

asked 2013-09-18 18:31:28 -0500

SocialQA's avatar

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?

edit retag flag offensive close merge delete

Comments

Could you please share how it went?

Lurker's avatar Lurker  ( 2014-09-06 15:11:43 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-09-23 15:35:44 -0500

Evgeny's avatar

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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2013-09-18 18:31:28 -0500

Seen: 235 times

Last updated: Sep 23 '13