Fed by downstream tributaries , the San Joaquin , the second-longest river in California , flows as it meets the Sacramento River east of San Francisco , forming an enormous delta that provides water to 22 million Californians .