LaTeX forum ⇒ GeneralCitations using apacite.

LaTeX specific issues not fitting into one of the other forums of this category.
Posts: 1
Joined: Tue Apr 26, 2016 9:04 am

Citations using apacite.

Postby Mahmoud » Tue Apr 26, 2016 9:13 am

I am using apacite package to cite in my code, but it doesn't work. They show question marks when I run it. Here's the .tex and .bib.
  1. \documentclass[a4paper,12pt]{article}
  2. \usepackage{apacite}
  3. \usepackage{pbox}
  4. \usepackage{longtable}
  5. \usepackage[a4paper]{geometry}
  6. \geometry{a4paper,tmargin=2.0cm,bmargin=2.0cm,lmargin=0.5cm,rmargin=0.5cm,headheight=3em,headsep=1.5cm,footskip=1cm}
  7. \usepackage[T1]{fontenc}
  8. \usepackage[utf8]{inputenc}
  9. \usepackage{mathptmx}
  12. \begin{document}
  13. \bibliographystyle{apacite}
  14. {\renewcommand{\arraystretch}{2}
  15. \renewcommand{\tabcolsep}{0.1cm}
  17. \begin{longtable}{|l|l|}
  19. \hline
  20. Paper Title & \parbox{15cm} {A middle layer solution to supoort ACID properties for NoSQL database }\\
  21. \hline
  24. Author(s) & \parbox{15cm} {Ayman E.Lofty, Ahmed I.Saleh, Haitham A.El-Ghareeb, and Hesham A.Ali.\\ }
  25. \\
  26. \hline
  29. Problem Solved & \parbox{14.5cm} {The problem is that both RDBMSs and NoSQL DBMSs are lacking in certain properties that could possibly expand their usage elsewhere. The most important feature that RDBMS maintains is the ACID properties in order to execute transactions ~\cite{wei2012}. Atomicity is a type of operation that ensures that the transaction is executed completely or not at all. Consistency is when a transaction is complete, it brings the database to a valid state. The isolation property ensures that as long as a transaction is not committed, no other transaction can access it. Finally, to prevent loss of data in case of a system failure, the durability property is responsible to save any committed data in its correct state. However, sometimes consistency is not always needed, the size of data is too big, or the data is to be distributed among multiple servers, which is a difficulty.On the other hand, NoSQL DBMS depends on the BASE properties. Basically Available simply means that the database is working all the time. Soft-state sees that the data base doesn't have to be consistent all the time, and Eventual consistency says that the database will be consistent eventually. These properties allow for higher horizontal scaling, which is useful for expanding a network. This means that NoSQL DBMS handle big data much better than RDMS. However, BASE properties lack data consistency compared to ACID properties, and as the data increases in size and distribution, the ability to quickly search for them decreases.\\
  30. }\\
  31. \hline
  34. Related work& \parbox{14.5cm}{Google Megastore ~\cite{baker2011} is a transactional indexed record manager on the top of Big table which supports ACID properties and blends in the scalability of NoSQL DBMS. It has been used internally by Google. Megastore handles more than 3 billion write and 20 billion transactions daily, and store a petabyte of data across global data centers. However, Megastore requires a manual partitioning of data into group, and ACID properties work only on these groups through Multi Version Concurrency Control.Scalable Transactions across Heterogeneous NoSQL KeyValue Data Stores defines a client API that provides multi-item transactions across heterogeneous distributed data stores. It depends on a client clock which could yield inaccurate results, and it has a central layer where data is available for clients to retrieve, which also is a single point of failure.CloudTPS (Wei,2012) is a middle layer between client web application and cloud storage that makes use of ACID properties. It divides each transaction further into sub-transactions, where each sub-transaction deals with one key for reading or writing. Each transaction is executed if and only if all sub-transactions are executed successfully. Otherwise, the transaction is aborted and is restarted again from the beginning. One of the problems with CloudTPS is it doesn't address the problem of deadlocks. It also doesn't have a process for ordering execution of data transactions.
  35. }\\
  36. \hline
  38. Methodology & \parbox{14.5cm}{Methodology
  39. Now, the purpose of this paper is to show if the proposed middle layer can actually retain ACID properties while proving availability. The web application issues an instruction to the middle layer. The middle layer uses a 4-Phase commit protocol which collects data, executes transaction, migrates updates, and returns data to web application. An experiment was conducted to see if this is possible. A NoSQL database was built using mongo DB, where it stored 10,000 records of students including first name, last name, and other data. The data was stored in one data server and replicated onto another data server. The experiment also included two middle layers written in c\# to maintain the ACID properties.The first experiment measured the throughput using one middle layer. The web application can issue up to 4 requests at the same time, given one request processes about 3000 transactions. Starting with one request and then increasing each times, and using performance measurements based on the ratio of read to write, and increasing the write each time as write operations take more time to process than read operations. The same goes for the second experiment, but two middle layers are used instead of one.
  40. The third experiment is done to check the availability of the system using one layer and two layers. The time where the execution of a transaction fails is calculated in ms.\\ }\\
  42. \hline
  43. Claimed Contributions & \parbox{14.5cm}{The first experiment showed that as the number of requests increase, the number of transactions executed per second (TPS) increases, and that the data are eventually consistent. However, when the ratio of writing is increased the throughput is decreased compared to using no middle layers. In the second experiment, the results showed that when the number of requests are under two requests, the throughput is higher in the first experiment. However, as the number of requests increase from two requests and above, the throughput of the second experiment is higher than the first one. Finally, the third experiment showed that the availability of the system is higher when two middle layers are used instead of one. \\
  44. }\\
  45. \hline
  47. Conclusion & \parbox{14.5cm}{In conclusion, the paper has shown what are the advantages and disadvantages of RDBMSs and NoSQL DBMSs. Also a new solution has been proposed to allow for NoSQL DBMSs to maintain the ACID properties associated with RDBMSs in the form of a middle layer which uses a 4 phase commit protocol. The results that were shown by the experiments showed that the middle layer allowed the system to enhance availability and maintaining the ACID properties. \\}\\
  48. \hline
  50. Future work & \parbox{14.5cm}{If the system uses multiple layers, it increases the computational power. Furthermore, if only one middle layer is used, it is considered as a center point of failure, which could compromise the entire system. This is the main problem that needs to be improved in the future. Another fix would be to improve the framework to be used over different kinds of NoSQL databases.\\ }\\
  51. \hline
  55. \end{longtable}
  56. \bibliography{Ref}{}
  57. \end{document}

  1. @article{wei2012,
  2. author = {Wei Zhou,
  3. Pierre Guillame,Chi Chi-Hung},
  4. title = {CloudTPS: Scalable Transactions for Web Applications in the Cloud.},
  5. journal = {IEEE Transactions on Services Computing.},
  6. volume = {},
  7. number = {},
  8. year = {2012},
  9. pages = {}
  10. }
  11. @article{baker2011,
  12. author = {Baker J., Bond C., Corbett J.C., FurmanJ., Khorlin A., Larson J., Leon J.-M., Li Y., Lloyd A., Yushprakh V.},
  13. title = {Megastore: Providing Scalable, Highly Available Storage for Interactive Services.},
  14. journal = {Proc. Conf. Innovative Data Systems Research (CIDR).},
  15. volume = {},
  16. number = {},
  17. year = {2012},
  18. pages = {}
  19. }
  20. @article{kanwar2013,
  21. author = {Kanwar Renu, Trivedi Prakriti, Singh Kuldeep,},
  22. title = {NoSQL, a Solution for Distributed Database Management System},
  23. journal = {International Journal of Computer Applications (0975–8887)},
  24. volume = {67},
  25. number = {2},
  26. year = {2012},
  27. pages = {}
  28. }


User avatar
Site Moderator
Posts: 3671
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Tue Apr 26, 2016 9:51 am


please read [url]Question marks instead of citation[/url].
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

Return to “General”

Who is online

Users browsing this forum: Baidu [Spider] and 5 guests