The meaning of bulk is the major portion or greater part of any size, mass, or volume.
Questions tagged [bulk]
946 questions
13
votes
3 answers
Bulk update/upsert in MongoDB?
Is it possible to do bulk update/upsert (not insert) in MongoDB?
If yes, please point me to any docs related to this?
Thanks

StackUnderflow
- 24,080
- 14
- 54
- 77
13
votes
2 answers
How to use elasticsearch.helpers.streaming_bulk
Can someone advice how to use function elasticsearch.helpers.streaming_bulk instead elasticsearch.helpers.bulk for indexing data into elasticsearch.
If I simply change streaming_bulk instead of bulk, nothing gets indexed, so I guess it needs to be…

user3292147
- 369
- 2
- 4
- 11
12
votes
1 answer
bulkWrite vs initialize(Un)orderedBulkOp
what is the differences between those 2 methods, and which should I use?
what is the diff between: initializeUnorderedBulkOp and bulkWrite with ordered: false
what is the diff between: initializeOrderedBulkOp and default…

arielorvits
- 5,235
- 8
- 36
- 61
12
votes
1 answer
Automatically forward all email addresses on one domain to another domain
I've had a good search on Google but can't find the answer sorry...
We're an Australian company who use a .com address as our primary contact point. Unfortunately sometimes people email to foo@ourdomain.com.au and so the email bounces.
I know I can…

niggles
- 1,010
- 1
- 9
- 21
12
votes
1 answer
Mongodb execute multiple queries in one round trip
Is there anything like elasticsearch Multi Search API ?
the link is : https://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html.
consider I have multiple queries and I want to give these queries to mongo and get result…

Majid Abdolhosseini
- 2,191
- 4
- 31
- 59
12
votes
1 answer
Restful PATCH on collection to update sorting parameter in bulk
We have a big list ("collection") with a number of entities ("items"). This is all managed via a RESTful interface. The items are manually sortable via an order property on the item. When queried, the database lists all items in a collection based…

Jurian Sluiman
- 13,498
- 3
- 67
- 99
12
votes
6 answers
Is there a simple way to do bulk file text substitution in place?
I've been trying to code a Perl script to substitute some text on all source files of my project. I'm in need of something like:
perl -p -i.bak -e "s/thisgoesout/thisgoesin/gi" *.{cs,aspx,ascx}
But that parses all the files of a directory…

Seiti
- 2,138
- 2
- 21
- 33
11
votes
6 answers
Is there a bulk email plugin for Rails apps?
Does anyone know of a plugin or something that can be used to send bulk emails for a Rails app?
Specifically, I'd like to be able to pass an HTML email file to a rake task or something and have it emailed out to everyone who has signed up to my site…

Micah
- 17,584
- 8
- 40
- 46
11
votes
1 answer
Using SendGrid SMTP Integration for bulk email
Is there a way to use SendGrid's SMTP Integration API for sending bulk mail?
Here's what I have in mind:
I need to send a large bulk of emails to subscribers. Since SendGrid docs recommend using SMTP Integration where possible, I would like to be…

mkvcvc
- 1,515
- 1
- 18
- 41
10
votes
3 answers
Implementing bulk record fetching
At the start of my program, I need to read data from a MS Access database (.mdb) into a drop down control. This is done so that whenever the user types in that control, the application can auto-complete.
Anyway, the reading from database took…

Anish Ramaswamy
- 2,326
- 3
- 32
- 63
9
votes
4 answers
Huge transaction in Sql Server, are there any problems?
I have a program which does many bulk operations on an SQL Server 2005 or 2008 database (drops and creates indexes, creates columns, full table updates etc), all in one transaction.
Are there any problems to be expected?
I know that the…

Stefan Steinegger
- 63,782
- 15
- 129
- 193
9
votes
2 answers
elasticsearch create or update document using python
I am using elasticsearch-py for elasticsearch operation.
I am trying for elasticsearch.helpers.bulk to create or update multiple records.
from elasticsearch import Elasticsearch
from elasticsearch import helpers
es = Elasticsearch()
data = [
{
…

Nilesh
- 20,521
- 16
- 92
- 148
9
votes
6 answers
Bulk delete (truncate vs delete)
We have a table with a 150+ million records. We need to clear/delete all rows. Delete operation would take forever due to it writing to the t-logs and we cannot change our recovery model for the whole DB. We have tested the truncate table option.…

Paulin Shah
- 91
- 1
- 2
9
votes
1 answer
How to bulk insert only new rows in PostreSQL
I have list of products (3 million items) without IDs - only titles. But I don't know which titles already exist in DB. New products (about 2.9 million items) must be added into DB. After that I must know ID for each products (new and existing).
Is…

FireShock
- 1,082
- 1
- 15
- 25
9
votes
3 answers
Implementing a periodically refreshing Cache in Java
My use case is to maintain an in-memory cache over the data stored in a persistent DB.
I use the data to populate a list/map of entries on the UI. At any given time, the data displayed on the UI should be as updated as it is possible (well this can…

Abhishek Jain
- 4,478
- 8
- 34
- 51