Preview

How Can We Move The Old File In The Movechunk Directory?

Good Essays
Open Document
Open Document
814 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
How Can We Move The Old File In The Movechunk Directory?
MongoDB Interview questions
1. Does an update fsync to disk immediately?
ANS: No, writes to disk are lazy by default. A write may hit disk a couple of seconds later. For instance if the database receives a thousand increments to an object within one second, it will only be flushed to disk once.
2. How do I do transactions/locking?
ANS: MongoDB does not use traditional locking or compound transactions with rollback, as it is planned to be lightweight and fast and predictable in its performance. It can be thought of as analogous to the MySQL MyISAM auto commit model. By keeping transaction support extremely simple, performance is improved, especially in a system that may run across many servers.
3. What makes MongoDB best? ANS: Following features of MongoDB make it best
…show more content…
If you remove an object attribute, is it deleted from the database ANS: Yes, it is deleted. Remove the attribute and then re-save() the object.
9. How can we move the old file in the moveChunk directory?
ANS: Yes, of course, to move the old file in the moveChunk directory at the time of shard balancing operations these files are made as backups and can be removed once the operation are done.
10. Explain this situation, if an index does not fit into RAM?
ANS: when an index is too big size fit into RAM, then MongoDB read the index from disk, which provide slower operation than reading from RAM. If keep in mind an index fits into RAM when your server has RAM present for the index combined with the rest of the working set.
11. Procedure of MongoDB provide concurrency?
ANS: MongoDB uses reader-writer locks that allow concurrent readers shared access to a resource, such as a database or collection, but give exclusive access to a single write operation.
12. Why MongoDB is not preferred over a 32-bit system?
ANS: When running a 32-bit build of MongoDB, the total storage size for the server, including data and indexes, is 2 GB. For this, do not deploy MongoDB to production on 32-bit

You May Also Find These Documents Helpful

  • Satisfactory Essays

    The directory and file structure is not indexed, so searching within a directory with a large amount of files can be time consuming.…

    • 297 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    - Any action that a database takes, creating objects, adding rows, changing data in rows, removing rows, and so on.…

    • 327 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Nt1310 Unit 5 Essay

    • 437 Words
    • 2 Pages

    Nothing like the main memory (RAM), ROM remembers its data even when the computer is powered off.…

    • 437 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    the first one? Because it only backed up the changes I made since the last backup. Incremental…

    • 776 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    The different processes running in the back ground, (i.e. Windows Explorer, Power Manager) all take an allotted amount of RAM to perform at optimum levels. Freer RAM means that the essential processes that are running have more priority of the space and the CPU. When you begin to run your RAM to its limits, the essential processes and even the non-essential processes begin to lag due to the overtaxing of the CPU and RAM.…

    • 356 Words
    • 1 Page
    Satisfactory Essays
  • Powerful Essays

    NT1430

    • 1192 Words
    • 5 Pages

    The EXT3 file system has the ability for an in-place upgrade from EXT2. An in-place upgrade is when one file system can be converted to another. When the conversion occurs, there is no requirement for the…

    • 1192 Words
    • 5 Pages
    Powerful Essays
  • Powerful Essays

    Pt2520 Unit 6

    • 1447 Words
    • 6 Pages

    What is data redundancy, and which characteristics of the file system can lead to it?…

    • 1447 Words
    • 6 Pages
    Powerful Essays
  • Good Essays

    Unix is a multifunctional platform capable of handling several users accessing the same applications and files at once. It accomplishes this by setting up a permissions hierarchy and assigning users into groups. As multifunctional as it is, several problems still exist. For one, it has a command line interface. There is no graphical user interface. Second, privilege changes are made either one by one or all at once. Anything else would need to be scripted.…

    • 680 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    Unit 18 - Database P1, M1

    • 995 Words
    • 4 Pages

    Every database management system should have these feature to protect and ensure the data is safe and accuracy.…

    • 995 Words
    • 4 Pages
    Powerful Essays
  • Powerful Essays

    Distributed database systems do not require complex mechanisms to manage transactions and ensure the database's consistency and integrity.…

    • 1917 Words
    • 8 Pages
    Powerful Essays
  • Good Essays

    These are basic steps towards securing the central database from attacks such as denial of service that is mainly caused by unauthorised access. The strategy is simple and less costly thus cannot cause strain on the budget.…

    • 349 Words
    • 2 Pages
    Good Essays
  • Powerful Essays

    Briefly, but precisely, explain the difference between single-valued attributes and simple attributes. Give an example of each.…

    • 960 Words
    • 4 Pages
    Powerful Essays
  • Better Essays

    Relational Database Model

    • 964 Words
    • 4 Pages

    Torres, J.T. (2003). Concurrency and transaction management in an object database. Project proposal. Retrieved on Tuesday, June 22, 2004 from the World Wide Web: http://students.depaul.edu/~jtorres4/se690/formal_project_proposal.html…

    • 964 Words
    • 4 Pages
    Better Essays
  • Powerful Essays

    Mainframes- Summary

    • 2412 Words
    • 11 Pages

    A disk is more expensive and has less data room but you don’t have to check it that much…

    • 2412 Words
    • 11 Pages
    Powerful Essays
  • Better Essays

    Upgrading Pc Memory

    • 2764 Words
    • 12 Pages

    If the motherboard memory slots are full, it may not be possible to add more Memory or it may be necessary to remove some older, low capacity memory Modules to make way for new ones.…

    • 2764 Words
    • 12 Pages
    Better Essays