DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
Building Scalable Real-Time Apps with AstraDB and Vaadin
Register Now

Trending

  • Effective Java Collection Framework: Best Practices and Tips
  • Operator Overloading in Java
  • Automating the Migration From JS to TS for the ZK Framework
  • SRE vs. DevOps

Trending

  • Effective Java Collection Framework: Best Practices and Tips
  • Operator Overloading in Java
  • Automating the Migration From JS to TS for the ZK Framework
  • SRE vs. DevOps
  1. DZone
  2. Data Engineering
  3. Databases
  4. What is New in RavenDB 3.0: Operations–Production View

What is New in RavenDB 3.0: Operations–Production View

Oren Eini user avatar by
Oren Eini
·
Oct. 08, 14 · Interview
Like (0)
Save
Tweet
Share
1.56K Views

Join the DZone community and get the full member experience.

Join For Free

one of the most challenging things to do in production is to know what is going on ? in order to facilitate that, we have dedicate some time to exposing the internal guts of ravendb to the outside world (assuming that the outside world has the appropriate permissions).

one way to look at that is to subscribe to the log stream from ravendb, you can do it like this:

image

this gives you the following:

image

note that this requires no configuration changes, or restarting the server or database. as long as your logs subscription is active, we’ll send you a live stream of all the log activity in ravendb, which should allow you to get a lot of useful insights about what exactly it is that ravendb is doing.

this is especially important if you need to do any sort of trouble shooting, because that is when you need to have logs, and restarting the server to enable them is often out of the question (it would likely resolve the issue you want to understand). and honestly, this is a feature that we need to support customers, it is going to be much easier to just say “let us look at the logs”, rather than having to go over how to configure them, etc. another thing to note is the fact that this can all be done remotely, you don’t have to have access to the physical server. it does require you to have admin permissions on the server, so not any user can do that.

another production view that is available to you is the traffic watcher:

image

this gives you the option of looking at the requests that are actually hitting the server. it is a subset of information from the logs, but it is usually a lot more interesting to watch. and again, this can be done remotely as well. you can watch all databases, or just a single one.

but most importantly from support perspective is the new debug info! package. and yes, it deserver the bang in the name. what this does is gather a lot of important information from the database, all the current stats, and a lot of stuff that we need to figure out what is going on. the idea is that if you have a problem, we won’t have to ask for a lot of separate pieces of information, you can get it all as a single shot.

oh, and we can also grab the actual stack trace information from your system, so we even know exactly what your system is doing.

in my next post, i’ll discuss one last operational concern, optimizations.


Database Production (computer science) Stream (computing) Debug (command) Subset Shooting (bridge) Requests Sort (Unix)

Published at DZone with permission of Oren Eini, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Trending

  • Effective Java Collection Framework: Best Practices and Tips
  • Operator Overloading in Java
  • Automating the Migration From JS to TS for the ZK Framework
  • SRE vs. DevOps

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com

Let's be friends: