How can I compare performance of BerkeleyDB and MySQL with 100 milion records
My teacher give me a subject about compare performance of BerkeleyDB and Mysql. I need to write a report about that.<p>I have installed on my machine (Ubuntu 18.04 and BerkeleyDB 18.1)<p>But when I run hello world:<p>```
vv@vv-ThinkPad-T450:~&#x2F;test$ gcc hello2.cpp -o hello2 -I &#x2F;usr&#x2F;local&#x2F;berkeleydb&#x2F;include&#x2F;
&#x2F;tmp&#x2F;ccoElaRL.o: In function `main&#x27;:
hello2.cpp:(.text+0x3d): undefined reference to `Db::Db(DbEnv<i>, unsigned int)&#x27;
hello2.cpp:(.text+0x7c): undefined reference to `Db::open(DbTxn</i>, char const<i>, char const</i>, DBTYPE, unsigned int, int)&#x27;
hello2.cpp:(.text+0x8f): undefined reference to `Db::~Db()&#x27;
hello2.cpp:(.text+0xc3): undefined reference to `Db::~Db()&#x27;
hello2.cpp:(.text+0xd6): undefined reference to `__cxa_begin_catch&#x27;
hello2.cpp:(.text+0xe2): undefined reference to `__cxa_end_catch&#x27;
hello2.cpp:(.text+0xec): undefined reference to `__cxa_begin_catch&#x27;
hello2.cpp:(.text+0xf8): undefined reference to `__cxa_end_catch&#x27;
&#x2F;tmp&#x2F;ccoElaRL.o: In function `__static_initialization_and_destruction_0(int, int)&#x27;:
hello2.cpp:(.text+0x12e): undefined reference to `std::ios_base::Init::Init()&#x27;
hello2.cpp:(.text+0x143): undefined reference to `std::ios_base::Init::~Init()&#x27;
&#x2F;tmp&#x2F;ccoElaRL.o:(.data.rel.local.DW.ref._ZTI11DbException[DW.ref._ZTI11DbException]+0x0): undefined reference to `typeinfo for DbException&#x27;
&#x2F;tmp&#x2F;ccoElaRL.o:(.data.rel.local.DW.ref._ZTISt9exception[DW.ref._ZTISt9exception]+0x0): undefined reference to `typeinfo for std::exception&#x27;
&#x2F;tmp&#x2F;ccoElaRL.o:(.data.rel.local.DW.ref.__gxx_personality_v0[DW.ref.__gxx_personality_v0]+0x0): undefined reference to `__gxx_personality_v0&#x27;
collect2: error: ld returned 1 exit status<p>```<p>Folder code:<p>&#x2F;home&#x2F;test&#x2F;hello.cpp<p>and I run by command: gcc hello.cpp -o hello -I &#x2F;usr&#x2F;local&#x2F;berkeleydb&#x2F;include&#x2F;<p>Now, I dont know how to finish my home work. Pls help me.